Skip to content

Releases: reactor/reactor-netty

v1.2.0-M5

13 Aug 15:33
Compare
Choose a tag to compare
v1.2.0-M5 Pre-release
Pre-release

Reactor Netty 1.2.0-M5 is part of 2024.0.0-M5 Release Train.
Reactor Netty 1.2.0-M5 inherits all changes from the 1.0.x and 1.1.x branches at the point this release was cut.

What's Changed

⚠️ Update considerations and deprecations

✨ New features and improvements

🐞 Bug fixes

  • Do not record an exception when the request information is not available by @violetagg in #3352
  • Create on demand the response object for Expect: 100-continue by @violetagg in #3362
  • Always decode in an event loop by @violetagg in #3369

📖 Documentation

  • Polish javadoc for HttpClient#compress by @izeye in #3349

Full Changelog: v1.2.0-M4...v1.2.0-M5

v1.1.22

13 Aug 13:54
Compare
Choose a tag to compare

Reactor Netty 1.1.22 is part of 2022.0.22 and 2023.0.9 Release Train.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • Do not record an exception when the request information is not available by @violetagg in #3352
  • Create on demand the response object for Expect: 100-continue by @violetagg in #3362
  • Always decode in an event loop by @violetagg in #3369

Full Changelog: v1.1.21...v1.1.22

v1.0.48

13 Aug 13:16
Compare
Choose a tag to compare

Reactor Netty 1.0.48 is part of 2020.0.47 Release Train.
This is the last release of 1.0.x, as 2020.0.x Release Train is going out of OSS support. For the next steps, check our support policy.

What's Changed

✨ New features and improvements

🐞 Bug fixes

Full Changelog: v1.0.47...v1.0.48

v1.2.0-M4

09 Jul 13:48
24d4fde
Compare
Choose a tag to compare
v1.2.0-M4 Pre-release
Pre-release

Reactor Netty 1.2.0-M4 is part of 2024.0.0-M4 Release Train.

This milestone adds HTTP/3 client support.

Enablement of the HTTP/3 client support:

The example below shows one simple configuration for the HttpClient:

public class Application {

	public static void main(String[] args) throws Exception {
		HttpClient client =
				HttpClient.create()
				          .remoteAddress(() -> new InetSocketAddress("www.google.com", 443))
				          .protocol(HttpProtocol.HTTP3)
				          .secure()
				          .http3Settings(spec -> spec.idleTimeout(Duration.ofSeconds(5))
				                                     .maxData(10000000)
				                                     .maxStreamDataBidirectionalLocal(1000000));

		Tuple2<String, HttpHeaders> response =
				client.get()
				      .uri("/")
				      .responseSingle((res, bytes) -> bytes.asString()
				                                           .zipWith(Mono.just(res.responseHeaders())))
				      .block();

		System.out.println("Used stream ID: " + response.getT2().get("x-http3-stream-id"));
		System.out.println("Response: " + response.getT1());
	}
}

Reactor Netty 1.2.0-M4 inherits all changes from the 1.0.x and 1.1.x branches at the point this release was cut.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • Close the connection when decoding exception happens by @violetagg in #3290
  • Http2Pool: when applying acquireTimeout, check for current pending Borrowers by @violetagg in #3300
  • When an explicit EventLoopGroup is configured ensure only one connection pool is created by @violetagg in #3321

Full Changelog: v1.2.0-M3...v1.2.0-M4

v1.1.21

09 Jul 13:33
c9c6671
Compare
Choose a tag to compare

Reactor Netty 1.1.21 is part of 2022.0.21 and 2023.0.8 Release Train.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • Close the connection when decoding exception happens by @violetagg in #3290
  • Http2Pool: when applying acquireTimeout, check for current pending Borrowers by @violetagg in #3300
  • When an explicit EventLoopGroup is configured ensure only one connection pool is created by @violetagg in #3321

Full Changelog: v1.1.20...v1.1.21

v1.0.47

09 Jul 13:27
7c0da79
Compare
Choose a tag to compare

Reactor Netty 1.0.47 is part of 2020.0.46 Release Train.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • Close the connection when decoding exception happens by @violetagg in #3290
  • When an explicit EventLoopGroup is configured ensure only one connection pool is created by @violetagg in #3321

Full Changelog: v1.0.46...v1.0.47

v1.2.0-M3

11 Jun 12:27
Compare
Choose a tag to compare
v1.2.0-M3 Pre-release
Pre-release

Reactor Netty 1.2.0-M3 is part of 2024.0.0-M3 Release Train.

Reactor Netty 1.2.0-M3 inherits all changes from the 1.0.x and 1.1.x branches at the point this release was cut.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • When HttpOperations#afterMarkSentHeaders throws an error in HttpOperations#sendObject, ensure the ByteBuf is released just once by @violetagg in #3246
  • Ensure HttpClient#reactorNettyVersion() does not throw NullPointException when loaded through -javaagent under JDK 1.8 by @KyoUK4n in #3266
  • Fix HTTP/2 pool recordPendingSuccess/FailureAndLatency not recorded without timeout by @violetagg in #3252

📖 Documentation

  • Extend the documentation for the shared (default) ConnectionProvider and Event Loop Group by @violetagg in #3281

New Contributors

Full Changelog: v1.2.0-M2...v1.2.0-M3

v1.1.20

11 Jun 11:57
Compare
Choose a tag to compare

Reactor Netty 1.1.20 is part of 2022.0.20 and 2023.0.7 Release Train.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • When HttpOperations#afterMarkSentHeaders throws an error in HttpOperations#sendObject, ensure the ByteBuf is released just once by @violetagg in #3246
  • Fix HTTP/2 pool recordPendingSuccess/FailureAndLatency not recorded without timeout by @violetagg in #3252
  • Ensure HttpClient#reactorNettyVersion() does not throw NullPointException when loaded through -javaagent under JDK 1.8 by @KyoUK4n in #3266

📖 Documentation

  • Extend the documentation for the shared (default) ConnectionProvider and Event Loop Group by @violetagg in #3281

New Contributors

Full Changelog: v1.1.19...v1.1.20

v1.0.46

11 Jun 06:56
Compare
Choose a tag to compare

Reactor Netty 1.0.46 is part of 2020.0.45 Release Train.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • When HttpOperations#afterMarkSentHeaders throws an error in HttpOperations#sendObject, ensure the ByteBuf is released just once by @violetagg in #3246
  • Ensure HttpClient#reactorNettyVersion() does not throw NullPointException when loaded through -javaagent under JDK 1.8 by @KyoUK4n in #3266

New Contributors

Full Changelog: v1.0.45...v1.0.46

v1.2.0-M2

14 May 16:37
Compare
Choose a tag to compare
v1.2.0-M2 Pre-release
Pre-release

Reactor Netty 1.2.0-M2 is part of 2024.0.0-M2 Release Train.

This milestone adds HTTP/3 server support.

Enablement of the HTTP/3 server support:

The example below shows one simple configuration for the HttpServer:

public class Application {

	public static void main(String[] args) throws Exception {
		File certChainFile = new File("certificate chain file");
		File keyFile = new File("private key file");

		Http3SslContextSpec serverCtx = Http3SslContextSpec.forServer(keyFile, null, certChainFile);

		DisposableServer server =
				HttpServer.create()
				          .port(8080)
				          .protocol(HttpProtocol.HTTP3)
				          .secure(spec -> spec.sslContext(serverCtx))
				          .idleTimeout(Duration.ofSeconds(5))
				          .http3Settings(spec -> spec.maxData(10000000)
				                                     .maxStreamDataBidirectionalLocal(1000000)
				                                     .maxStreamDataBidirectionalRemote(1000000)
				                                     .maxStreamsBidirectional(100))
				          .handle((request, response) -> response.header("server", "reactor-netty")
				                                                 .sendString(Mono.just("hello")))
				          .bindNow();

		server.onDispose()
		      .block();
	}
}

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

What's Changed

⚠️ Update considerations and deprecations

  • Remove deprecated SslProvider$DefaultConfigurationSpec and SslProvider$DefaultConfigurationType by @violetagg in #3147
  • Deprecate SslContextSpec#sslContext(reactor.netty.tcp.SslProvider.ProtocolSslContextSpec) by @violetagg in #3160
  • Always add proxy.address tag for the client metrics by @violetagg in #3230

✨ New features and improvements

🐞 Bug fixes

  • Always use remote socket address for the metrics by @violetagg in #3210
  • Ensure HttpServerMetricsRecorder#recordServerConnectionInactive/Close is invoked for websockets by @violetagg in #3229
  • Ensure ConnectionProvider metrics are disposed unconditionally when graceful shutdown by @violetagg in #3235
  • Ensure ByteBuf#release is invoked for already sent HTTP/2 response by @violetagg in #3236

📖 Documentation

Full Changelog: v1.2.0-M1...v1.2.0-M2