Skip to content

v2.0.0-M2

Pre-release
Pre-release
Compare
Choose a tag to compare
@violetagg violetagg released this 12 Oct 07:54
· 2372 commits to netty5 since this release
e1a3e90

Reactor Netty 2.0.0-M2 is the second milestone of the next generation Reactor Netty.
This milestone adds support for Unix Domain Sockets for NIO transport (till now only the native transports were supported)

All new features that we would like to include in Reactor Netty 2.0 can be tracked via 2.0.x Backlog and 2.0.0-M3

Reactor Netty 2.0.0-M2 inherits all changes from the 1.0.x and main branches at the point this release was cut.

What's Changed

⚠️ Update considerations and deprecations

  • Depends on Netty v5.0.0.Alpha5 by @violetagg in #2515

    • Adapt to the removed ChannelConfig by @violetagg in #2405
    • Adapt to the removed DomainSocket* interfaces by @violetagg in #2405
    • Netty ChannelOption.RECVBUF_ALLOCATOR is renamed to READ_HANDLE_FACTORY by @violetagg in #2405 and @pderop in #2427
    • io.netty5.channel.socket.InternetProtocolFamily was replaced with java.net.ProtocolFamily by @violetagg in #2405
    • Adapt to the change that DatagramChannel is not restricted to InetSocketAddress by @violetagg in #2405
    • ❗ Support Unix Domain Sockets for NIO transport by @violetagg in #2405 and #2416
      • UdpClient#runOn(reactor.netty5.resources.LoopResources, io.netty5.channel.socket.InternetProtocolFamily) is replaced with
        UdpClient#runOn(reactor.netty5.resources.LoopResources, boolean, java.net.ProtocolFamily)
      • UdpServer#runOn(reactor.netty5.resources.LoopResources, io.netty5.channel.socket.InternetProtocolFamily) is replaced with
        UdpServer#runOn(reactor.netty5.resources.LoopResources, boolean, java.net.ProtocolFamily)
    • Adapt to the changes in EventLoop API by @violetagg in #2405
    • Adapt to the changes in AbstractChannel API by @violetagg in #2405, #2424, #2434, #2449 and by @pderop in #2438
    • Adapt to the changes in CharsetUtil by @pderop in #2456
    • ❗ Adapt to the new HttpHeaders API by @pderop in #2484 and by @violetagg in #2503
    • Adapt to Netty change to drop the data when it is unexpected by @violetagg in #2505
  • Depends on Netty Proxy Handler 5.0.0.Alpha2 by @violetagg in #2519

  • Depends on Netty HAProxy Codec 5.0.0.Alpha2 by @violetagg in #2519

  • Introduce HttpClientProxyProvider with HTTP related configurations. This is in preparation for removing netty5-codec-http dependency from reactor-netty-core. This dependency is transitively available via netty-handler-proxy dependency by @violetagg in #2413

  • ❗ Rename AdvancedByteBufFormat to AdvancedBufferFormat by @violetagg in #2417

  • Do not add io.netty:netty5-resolver-dns-native-macos:osx-x86_64 as required dependency by @violetagg in #2448

  • Leak detection properties are added for the test execution by @violetagg and @pderop in #2461

  • Replace Buffer/ByteBufHolder#touch with Resource#touch by @violetagg in #2464

  • Remove ByteBufHolder usage by @violetagg in #2514 and #2516

  • BufferFlux and BufferMono do not depend on netty-codec-http anymore by @violetagg in #2517

  • Enable CodeQL for netty5 branch by @violetagg in #2523

  • Use BufferAllocator#compose(...) for creating CompositeBuffer by @violetagg and @OlegDokuka in #2524

  • Polish HttpClient/HttpServer cookies API by @violetagg and @chemicL in #2525

  • Remove deprecated Cookie encoder/decoder settings by @pderop in #2484

  • Remove deprecated ReactorNetty#toPrettyHexDump by @violetagg in #2532

Full Changelog: v2.0.0-M1...v2.0.0-M2