netty-4.2.16.Final
- Document Java 9 requirement for io_uring by @jchambers in https://github.com/netty/netty/pull/16904
- Add BlockHound exception for DnsQueryIdSpace by @violetagg in https://github.com/netty/netty/pull/16896
- Fix incorrect bounds in error message of HpackDecoder.setMaxHeaderListSize by @skyguard1 in https://github.com/netty/netty/pull/16901
- Add epoch-based chunk cache purge with ring buffer for thread-local reuse by @franz1981 in https://github.com/netty/netty/pull/16766
- Use Splittable/ThreadLocalRandom to generate bulk data in tests by @chrisvest in https://github.com/netty/netty/pull/16808
- Auto-port 4.2: SingleThreadEventExecutor: document Throwable safety contract on run() by @netty-project-bot in https://github.com/netty/netty/pull/16909
- Auto-port 4.2: Make HTTP/2 frame hashCode consistent with equals by @netty-project-bot in https://github.com/netty/netty/pull/16910
- Auto-port 4.2: MQTT: Make the decodeProperties early-REPLAY check actually fire by @netty-project-bot in https://github.com/netty/netty/pull/16919
- IoUring: fix io_uring datagram writes with non-zero readerIndex by @dreamlike-ocean in https://github.com/netty/netty/pull/16905
- Exclude internal events from IoHandler.run() return value in epoll, io_uring and kqueue by @franz1981 in https://github.com/netty/netty/pull/16848
- IoUring: Pass IORING_ENTER_NO_IOWAIT to report accurate CPU usage by @wineway in https://github.com/netty/netty/pull/16739
- Avoid logging exceptions that tests ignore by @chrisvest in https://github.com/netty/netty/pull/16891
- Reject control characters at the boundary of HTTP method names by @daguimu in https://github.com/netty/netty/pull/16723
- IoUring: fix TCP Fast Open initial writes with readerIndex and composites by @dreamlike-ocean in https://github.com/netty/netty/pull/16929
- Try to fix/stabilize a number of flaky tests by @chrisvest in https://github.com/netty/netty/pull/16934
- Fix propagation of startTls for client SslContext handlers by @skyguard1 in https://github.com/netty/netty/pull/16931
- Update to latest tcnative release by @normanmaurer in https://github.com/netty/netty/pull/16936
- Move test to shared testsuite by @normanmaurer in https://github.com/netty/netty/pull/16928
- [Refactor] Useful helper method getOrDefault & cleaner abstraction by @sanjomo in https://github.com/netty/netty/pull/16927
- Make permessage-deflate server window size and memLevel configurable by @fru1tworld in https://github.com/netty/netty/pull/16809
- Return early in DnsQueryContext.writeQuery when the query ID space is exhausted by @HwangRock in https://github.com/netty/netty/pull/16950
- Fix HTTP 2 PUSH_PROMISE stream association validation by @skyguard1 in https://github.com/netty/netty/pull/16952
- Fix GZIP FEXTRA extra-field handling in JdkZlibDecoder by @daguimu in https://github.com/netty/netty/pull/16951
- Http3FrameCodec handle fragmented payloads when skipping unknown frames by @skyguard1 in https://github.com/netty/netty/pull/16960
- Add opt-in validation of mandatory pseudo-header fields for HTTP/2 by @hyperxpro in https://github.com/netty/netty/pull/16932
- Strictly validate MQTT UTF-8 Encoded String by @skyguard1 in https://github.com/netty/netty/pull/16939
- Stop DateFormatter trailing token from running past the parse end by @daguimu in https://github.com/netty/netty/pull/16958
- IpFilter: Deprecate constructor which use accept by default by @normanmaurer in https://github.com/netty/netty/pull/16961
- Add RFC 10008 QUERY Method support by @desiderantes in https://github.com/netty/netty/pull/16966
- Correctly release and fail queued traffic-shaping writes on close by @skyguard1 in https://github.com/netty/netty/pull/16959
- Reject control characters at the boundary of the HTTP version token by @HwangRock in https://github.com/netty/netty/pull/16971
- FlowControlHandler: respect auto-read when toggled while dequeueing by @schiemon in https://github.com/netty/netty/pull/16949
- Fix leak in ReferenceCountedOpenSslEngine.addCredential by @jmcrawford45 in https://github.com/netty/netty/pull/16979
- IdleStateHandler: reset firstWriter/ReaderIdleEvent in resetWriteTimeout/resetReadTimeout by @husseinvr97 in https://github.com/netty/netty/pull/16982
- Fix typo in AbstractSniHandler Javadoc by @coderbruis in https://github.com/netty/netty/pull/16988
- Fix client/server inconsistency in SslCredential support matrix by @jmcrawford45 in https://github.com/netty/netty/pull/16990
- Reconcile
AbstractCoalescingBufferQueuereadableBytes when it drains, and fail stuck HTTP/2 streams instead of spinning empty DATA frames by @gavinbunney in https://github.com/netty/netty/pull/16947 - Use Ticker in Http2MaxRstFrameListener for testability by @skyguard1 in https://github.com/netty/netty/pull/16993
- Reset UTF-8 decode state on CR in StompSubframeDecoder by @vasiliy-mikhailov in https://github.com/netty/netty/pull/16991
- FastLz: Guard decompression against truncated input by @yawkat in https://github.com/netty/netty/pull/17000
- Reject non-token characters in HTTP/2 header names by @daguimu in https://github.com/netty/netty/pull/16762
- Auto-port 4.2: Fix SelfSignCertificate initialization in tests by @netty-project-bot in https://github.com/netty/netty/pull/17029
- Enable extension of Http3ClientConnectionHandler to support higher-level protocols such as WebTransport. by @sanjomo in https://github.com/netty/netty/pull/17027
- Implement Adaptive Cumulator by @shivaspeaks in https://github.com/netty/netty/pull/16731
- Allow WebSocket extension negotiation to be disabled per response by @mkurz in https://github.com/netty/netty/pull/17030
- Support QPACK sensitivity detector for Never Indexed header fields by @skyguard1 in https://github.com/netty/netty/pull/17026
- Fix maxAllocation for brotli-encoded content in HttpContentDecompressor by @skyguard1 in https://github.com/netty/netty/pull/17037
- Pin github actions to reduce risk by @normanmaurer in https://github.com/netty/netty/pull/17043
- Update lz4-java to 1.11.1 by @yawkat in https://github.com/netty/netty/pull/17061
- Merge branches from forks by @chrisvest in https://github.com/netty/netty/pull/17063
- @HwangRock made their first contribution in https://github.com/netty/netty/pull/16950
- @desiderantes made their first contribution in https://github.com/netty/netty/pull/16966
- @husseinvr97 made their first contribution in https://github.com/netty/netty/pull/16982
- @gavinbunney made their first contribution in https://github.com/netty/netty/pull/16947
- @vasiliy-mikhailov made their first contribution in https://github.com/netty/netty/pull/16991
- @shivaspeaks made their first contribution in https://github.com/netty/netty/pull/16731
Full Changelog: https://github.com/netty/netty/compare/netty-4.2.15.Final...netty-4.2.16.Final
2.25.5
This patch release delivers certain fixes on top of 2.25.4
- Improve logging for
LinkageErrorscenarios involving the LMAX Disruptor library (#2250, #4124)
- Fix the
createOnDemandbehavior ofRollingFileAppenderto correctly defer file and directory creation until the first log event, while preserving eager creation when disabled. (#2006, #4072) - Improve documentation for locale handling in the Pattern Layout date pattern converter (#4129, #4130)
- Fix handling of non-finite numbers while encoding
MapMessageto JSON (#4163) - Fix encoding of
MSGIDandSD-IDfields ofStructuredDataMessageto XML (#4136) - Fix stack trace rendering for exceptions with identity malfunction (e.g., colliding
equals()and/orhashCode()implementations) (#3933, #4133) - Fix resource leaks in
ConfigurationSourcewhen loading configuration via URL fails (#4127) - Fix
KafkaAppenderreporting error to error handler even after a successful retry (#4125)