Skip to content

v1.0.3

Choose a tag to compare

@violetagg violetagg released this 11 Jan 18:19

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 Core v3.4.2, see release notes. (dba527e)
  • Depend on Netty v4.1.56.Final. (#1412, d1513ef, f6f047f)
  • 🎉 Add support for the native io_uring based transport. (#1419)
    More information about native io_uring based transport.
    Enablement of the io_uring support:
    If the conditions below are met then io_uring will be prefered instead of epoll.
  • Add warmup functionality for the servers/clients. (#560, #1023, #1425, #1426, #1455)
    The warmup:
    • initialises the event loop groups
    • initialises the host name resolver
    • loads the necessary native libraries for the transport
    • loads native libraries for the security if security is enabled
  • HttpServer access log
    • Add API for filtering the access log records. (#1417, #1421)
    • Add API for enabling and configuring the access log programatically. (#1428, #1438, #1456, 7026443)
    • Add examples for enabling and configuring the access log to the reference documentation. (#1452)
  • Add API for configuring the WebSocket version of HttpClient. (#1418, #1432)
  • When running on MacOS, the host name resolver will use MacOSDnsServerAddressStreamProvider. (#1435, 5f0fb4a, 9c67c09)
  • Add system properties for enabling Reactor Pool's SamplingAllocationStrategy. (#1454, reactor/reactor-pool#113)
    • reactor.netty.pool.getPermitsSamplingRate
    • reactor.netty.pool.returnPermitsSamplingRate.

🪲 Bug fixes

  • Ensure WebSocketCloseStatus.ABNORMAL_CLOSURE is 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 in UDS scenario, the scheme is determined by SslHandler availability in the pipeline. (#1434, #1436)
  • HttpClient: Throw WebSocketClientHandshakeException when 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 10 should be skipped by dependabot. (47d6e73, 8f20f29)
  • CodeQL workflow: git checkout HEAD^2 is no longer necessary. (54ca3bf)
  • Japicmp: Use jcenter instead of repo.spring.io/libs-release for downloading the baseline. (fbcfcbe)
  • Enable BlockHound in tests. (#750, #1427)
  • Remove mocked appender from root logger after each test in ReactorNettyLoggingHandlerTest. (#1422, #1429)
  • With JUnit5 no need to keep tests with public visibility. (0901150, 45df700)
  • Move test to reactor-netty-core. (dcca2c8)
  • Extract BaseHttpTest. (#1439)
  • Reference documentation
    • Add DNS resolver examples to the reference documentation. (#1431, #1437)
    • Update the javadoc and the reference documentation with clarification around deprecated functionality. (#1397, #1450)
  • Formatting
    • Update .editorconfig, no imports with *. (9f7ccbe)
    • Enable checkstyle as part of the build. (#1440, a276c3b)
  • Update test/build dependencies versions:
    • Apache Tomcat to version 9.0.41. (#1414)
    • netty-tcnative-boringssl-static to version 2.0.35.Final. (63b6028)
    • mockito-core to version 3.7.0. (#1451)
    • brave to version 5.13.3. (#1444)
    • jackson-databind to version 2.12.1. (#1458)

👍 Thanks to the following contributors that also participated to this release

@anilgursel