Repository navigation
v1.0.3
Reactor Netty 1.0.3 is part of 2020.0.3 Release Train.
This is a recommended update for all Reactor Netty 1.0.x users.
✨ New features and improvements
- Depend on
Reactor Corev3.4.2, see release notes. (dba527e) - Depend on
Nettyv4.1.56.Final. (#1412, d1513ef, f6f047f) - 🎉 Add support for the native
io_uringbased transport. (#1419)
More information about nativeio_uringbased transport.
Enablement of theio_uringsupport:
If the conditions below are met thenio_uringwill be prefered instead ofepoll.- a native transport support is enabled (by default it is enabled)
- a dependency to netty-incubator-transport-native-io_uring is specified
- there is support for
io_uringby the underlying OS
- Add
warmupfunctionality for the servers/clients. (#560, #1023, #1425, #1426, #1455)
Thewarmup:- initialises the
event loop groups - initialises the
host name resolver - loads the necessary
native libraries for the transport - loads
native libraries for the securityif security is enabled
- initialises the
HttpServeraccess log- Add API for configuring the
WebSocketversion ofHttpClient. (#1418, #1432) - When running on
MacOS, the host name resolver will useMacOSDnsServerAddressStreamProvider. (#1435, 5f0fb4a, 9c67c09) - Add system properties for enabling
Reactor Pool'sSamplingAllocationStrategy. (#1454, reactor/reactor-pool#113)reactor.netty.pool.getPermitsSamplingRatereactor.netty.pool.returnPermitsSamplingRate.
🪲 Bug fixes
- Ensure
WebSocketCloseStatus.ABNORMAL_CLOSUREis emitted when connection is closed abnormally. (#1406, #1416) - Ensure the default loop resources are not created when custom loop resources are passed with
runOn. (#1423, #1424) HttpServer: When inUDSscenario, the scheme is determined bySslHandleravailability in the pipeline. (#1434, #1436)HttpClient: ThrowWebSocketClientHandshakeExceptionwhen connection is closed before handshake is completed instead of silently terminating the channel. (#1445, #1448)- Shutdown immediately the extra event loop groups created when initialising
DefaultLoopResources. (#1453) - Add channel information to the log. (42f640c)
📖 Documentation, Tests and Build
Tomcat 10should be skipped by dependabot. (47d6e73, 8f20f29)CodeQLworkflow:git checkout HEAD^2is no longer necessary. (54ca3bf)Japicmp: Usejcenterinstead ofrepo.spring.io/libs-releasefor downloading the baseline. (fbcfcbe)- Enable
BlockHoundin tests. (#750, #1427) - Remove mocked appender from root logger after each test in
ReactorNettyLoggingHandlerTest. (#1422, #1429) - With
JUnit5no need to keep tests with public visibility. (0901150, 45df700) - Move test to
reactor-netty-core. (dcca2c8) - Extract
BaseHttpTest. (#1439) - Reference documentation
- Formatting
- Update test/build dependencies versions: