Skip to content

Releases: reactor/reactor-netty

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

v1.1.19

14 May 16:35
Compare
Choose a tag to compare

Reactor Netty 1.1.19 is part of 2022.0.19 and 2023.0.6 Release Train.

What's Changed

⚠️ Update considerations and deprecations

  • 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

Full Changelog: v1.1.18...v1.1.19

v1.0.45

14 May 16:33
Compare
Choose a tag to compare

Reactor Netty 1.0.45 is part of 2020.0.44 Release Train.

What's Changed

✨ 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

Full Changelog: v1.0.44...v1.0.45

v1.2.0-M1

10 Apr 07:15
9a20945
Compare
Choose a tag to compare
v1.2.0-M1 Pre-release
Pre-release

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

This milestone migrates the reference documentation to Antora.

Reactor Netty 1.2.0-M1 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

  • Do not add IdleTimeoutHandler while processing pipelined requests by @violetagg in #3124

📖 Documentation, Tests

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

v1.1.18

10 Apr 06:56
1ecce9b
Compare
Choose a tag to compare

Reactor Netty 1.1.18 is part of 2022.0.18 Release Train and 2023.0.5 Release Train.

This is a recommended update for all Reactor Netty 1.1.x users.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • Do not add IdleTimeoutHandler while processing pipelined requests by @violetagg in #3124

📖 Documentation

  • Clarify maximum websocket frame length configuration by @violetagg in #3116

Full Changelog: v1.1.17...v1.1.18

v1.0.44

10 Apr 06:35
38188f2
Compare
Choose a tag to compare

Reactor Netty 1.0.44 is part of 2020.0.43 Release Train.

This is a recommended update for all Reactor Netty 1.0.x users.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • Do not add IdleTimeoutHandler while processing pipelined requests by @violetagg in #3124

Full Changelog: v1.0.43...v1.0.44

v1.1.17

12 Mar 10:48
Compare
Choose a tag to compare

Reactor Netty 1.1.17 is part of 2022.0.17 Release Train and 2023.0.4 Release Train.

This is a recommended update for all Reactor Netty 1.1.x users.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • Ensure remoteAddress metrics tag is always the real remote address regardless whether there is proxy by @violetagg in #3074
  • When metrics are enabled and responseTimeout is configured, ensure the correct order for ChannelHandlers by @violetagg in #3090

📖 Documentation

Full Changelog: v1.1.16...v1.1.17

v1.0.43

12 Mar 08:52
Compare
Choose a tag to compare

Reactor Netty 1.0.43 is part of 2020.0.42 Release Train.

This is a recommended update for all Reactor Netty 1.0.x users.

What's Changed

✨ New features and improvements

🐞 Bug fixes

  • Ensure remoteAddress metrics tag is always the real remote address regardless whether there is proxy by @violetagg in #3074
  • When metrics are enabled and responseTimeout is configured, ensure the correct order for ChannelHandlers by @violetagg in #3090

📖 Documentation

Full Changelog: v1.0.42...v1.0.43

v1.1.16

15 Feb 00:51
Compare
Choose a tag to compare

Reactor Netty 1.1.16 is part of 2022.0.16 Release Train and 2023.0.3 Release Train.

This is a recommended update for all Reactor Netty 1.1.x users.

What's Changed

⚠️ Update considerations and deprecations

  • Ensure cookies can be added by BiConsumer provided with HttpClient#followRedirect by @violetagg in #3039

✨ New features and improvements

🐞 Bug fixes

  • Ensure ChannelHandlerContext.isRemoved is called only when in event loop by @violetagg in #3031
  • Ensure websocket compression is enabled when server is configured with HttpProtocol.H2C and HttpProtocol.HTTP1.1 by @violetagg in #3037

📖 Documentation, Tests and Build

🆙 Build/Test Dependency Upgrades

Full Changelog: v1.1.15...v1.1.16

v1.0.42

15 Feb 00:49
Compare
Choose a tag to compare

Reactor Netty 1.0.42 is part of 2020.0.41 Release Train.

This is a recommended update for all Reactor Netty 1.0.x users.

What's Changed

⚠️ Update considerations and deprecations

  • Ensure cookies can be added by BiConsumer provided with HttpClient#followRedirect by @violetagg in #3039

✨ New features and improvements

🐞 Bug fixes

  • Ensure ChannelHandlerContext.isRemoved is called only when in event loop by @violetagg in #3031
  • Ensure websocket compression is enabled when server is configured with HttpProtocol.H2C and HttpProtocol.HTTP1.1 by @violetagg in #3037

📖 Documentation, Tests and Build

🆙 Build/Test Dependency Upgrades

Full Changelog: v1.0.41...v1.0.42