Skip to content

Releases: tinystruct/tinystruct-netty-http-server

v1.0.4: Bump version to 1.0.4 and improve server lifecycle management

01 Dec 14:46

Choose a tag to compare

Version Updates:
- Bump module version from 1.0.3 to 1.0.4
- Upgrade tinystruct dependency from 1.7.10 to 1.7.12
- Upgrade central-publishing-maven-plugin from 0.7.0 to 0.8.0

Server Lifecycle Improvements:
- Add proper shutdown hook registration before server start
- Store ChannelFuture as instance variable for proper cleanup
- Improve stop() method with channel close synchronization
- Remove redundant shutdown hook and finally block
- Disable template requirement in init()

SSL Configuration Enhancement:
- Extract SSL configuration to dedicated configureSsl() method
- Add support for custom SSL certificates via configuration
- Read certificate/key paths from settings (ssl.certificate.path, ssl.key.path)
- Fall back to self-signed certificate with warning if paths not provided
- Add logging for production SSL configuration recommendations

Bug Fixes:
- Fix SSE Content-Type header from invalid "text/event-stream, application/json"
  to proper "text/event-stream; charset=utf-8"
- Simplify exceptionCaught() method signature by removing Context parameter

Code Quality:
- Add missing File import
- Improve error handling in channel close with InterruptedException handling
- Better separation of concerns with SSL configuration extraction

v1.0.3

08 Nov 16:10

Choose a tag to compare

Update the tinystruct version to be 1.7.10.

v1.0.2

06 Nov 15:47

Choose a tag to compare

Remove METHOD from context.

v1.0.1

06 Nov 15:46

Choose a tag to compare

v1.0.1 Pre-release
Pre-release
CVE-2025-58056: Fix the vulnerabiltiy for netty.

v1.0.0

28 Sep 00:43

Choose a tag to compare

Release the 1.0.0 version for netty http server support.