v2.0.0-M2
Pre-releaseReactor 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 toREAD_HANDLE_FACTORY
by @violetagg in #2405 and @pderop in #2427io.netty5.channel.socket.InternetProtocolFamily
was replaced withjava.net.ProtocolFamily
by @violetagg in #2405- Adapt to the change that
DatagramChannel
is not restricted toInetSocketAddress
by @violetagg in #2405 - ❗ Support
Unix Domain Sockets
forNIO
transport by @violetagg in #2405 and #2416UdpClient#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
- Adapt to the removed
-
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
withHTTP
related configurations. This is in preparation for removingnetty5-codec-http
dependency fromreactor-netty-core
. This dependency is transitively available vianetty-handler-proxy
dependency by @violetagg in #2413 -
❗ Rename
AdvancedByteBufFormat
toAdvancedBufferFormat
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
withResource#touch
by @violetagg in #2464 -
Remove
ByteBufHolder
usage by @violetagg in #2514 and #2516 -
BufferFlux
andBufferMono
do not depend onnetty-codec-http
anymore by @violetagg in #2517 -
Enable
CodeQL
fornetty5
branch by @violetagg in #2523 -
Use
BufferAllocator#compose(...)
for creatingCompositeBuffer
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