Skip to content

5.38.0

Latest

Choose a tag to compare

@acogoluegnes acogoluegnes released this 17 Nov 16:25
· 2101 commits to main since this release

Changes between 5.37.1 and 5.38.0

This is a minor release with breaking changes, a new feature, bug fixes, and dependency upgrades. It introduces two narrowly scoped breaking changes compared to 5.37.1. They should not affect many applications, if any. All users are encouraged to upgrade.

The RabbitMQ team normally maintains strict backward compatibility in minor versions. However, this release includes exceptional breaking changes that were necessary to close security gaps and enforce secure-by-default behavior.

Breaking changes:

  • Hostname verification is now enabled when an SSLSocketFactory is passed to ConnectionFactory#setSocketFactory(SocketFactory). This only affects applications that do so with blocking IO and connect to a broker whose certificate does not match the host name. See #2186 for details and the workaround.
  • JsonRpcServer no longer sends exception details (message, stack trace, cause chain) in JSON-RPC error responses. This only affects installations that use the JSON-RPC support classes. See #2192 for details and how to restore the previous behavior.

Enable hostname verification for SSLSocketFactory in setSocketFactory

GitHub PR: #2186

Do not send exception details in JSON-RPC error responses

GitHub PR: #2192

Add opt-in URL encoding for OAuth 2 client credentials

GitHub issue: #2162

Publish sequence number is used up when basicPublish fails before sending

GitHub issue: #2171

Do not drop frames when a Netty frame write is interrupted

GitHub PR: #2176

Limit nesting depth in (deprecated) JSON reader

GitHub PR: #2188

Fix JSON-RPC error parsing in JacksonJsonRpcMapper

GitHub PR: #2190

Bump dependencies

GitHub issue: #2157

Dependency

Maven

<dependency>
  <groupId>com.rabbitmq</groupId>
  <artifactId>amqp-client</artifactId>
  <version>5.38.0</version>
</dependency>

Gradle

compile 'com.rabbitmq:amqp-client:5.38.0'