|
| 1 | +## RabbitMQ 4.0.7 |
| 2 | + |
| 3 | +RabbitMQ `4.0.7` is a maintenance release in the `4.0.x` [release series](https://www.rabbitmq.com/release-information). |
| 4 | + |
| 5 | +Starting June 1st, 2024, community support for this series will only be provided to [regularly contributing users](https://github.com/rabbitmq/rabbitmq-server/blob/main/COMMUNITY_SUPPORT.md) and those |
| 6 | +who hold a valid [commercial support license](https://tanzu.vmware.com/rabbitmq/oss). |
| 7 | + |
| 8 | +It is **strongly recommended** that you read [4.0 release notes](https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.0.1) |
| 9 | +in detail if upgrading from a version prior to `4.0.0`. |
| 10 | + |
| 11 | + |
| 12 | +### Minimum Supported Erlang Version |
| 13 | + |
| 14 | +This release requires Erlang 26 and supports Erlang versions up to `27.2.x`. |
| 15 | +[RabbitMQ and Erlang/OTP Compatibility Matrix](https://www.rabbitmq.com/docs/which-erlang) has more details on |
| 16 | +Erlang version requirements for RabbitMQ. |
| 17 | + |
| 18 | +Nodes **will fail to start** on older Erlang releases. |
| 19 | + |
| 20 | + |
| 21 | +## Changes Worth Mentioning |
| 22 | + |
| 23 | +Release notes can be found on GitHub at [rabbitmq-server/release-notes](https://github.com/rabbitmq/rabbitmq-server/tree/v4.0.x/release-notes). |
| 24 | + |
| 25 | +### Core Broker |
| 26 | + |
| 27 | +#### Bug Fixes |
| 28 | + |
| 29 | + * Classic queue message store did not remove segment files with large messages (over 4 MB) in some cases. |
| 30 | + |
| 31 | + GitHub issue: [#13430](https://github.com/rabbitmq/rabbitmq-server/pull/13430) |
| 32 | + |
| 33 | + * A node with Khepri enabled would fail to start if its metadata store contained an exclusive queue |
| 34 | + with at least one binding. |
| 35 | + |
| 36 | + GitHub issuew: [#13352](https://github.com/rabbitmq/rabbitmq-server/issues/13352), [#13394](https://github.com/rabbitmq/rabbitmq-server/pull/13394) |
| 37 | + |
| 38 | +#### Enhancements |
| 39 | + |
| 40 | + * Reduced memory usage and GC pressure for workloads where large (4 MB or greater) messages were published to classic queues. |
| 41 | + |
| 42 | + Contributed by @gomoripeti. |
| 43 | + |
| 44 | + GitHub issue: [#13375](https://github.com/rabbitmq/rabbitmq-server/pull/13375) |
| 45 | + |
| 46 | + |
| 47 | +### CLI Tools |
| 48 | + |
| 49 | +#### Deprecations |
| 50 | + |
| 51 | + * `rabbitmq-streams set_stream_retention_policy` is now a no-op. |
| 52 | + |
| 53 | + It was a leftover from the early days of streams. The modern and optimal way of configuring |
| 54 | + stream retention is [via a policy](https://www.rabbitmq.com/docs/streams#retention). |
| 55 | + |
| 56 | + GitHub issue: [#13358](https://github.com/rabbitmq/rabbitmq-server/pull/13358) |
| 57 | + |
| 58 | + |
| 59 | +### Prometheus Plugin |
| 60 | + |
| 61 | +#### Enhancements |
| 62 | + |
| 63 | + * New labels make it possible to differentiate between the metrics with the same name scraped from the aggregated |
| 64 | + metric endpoint and the [per-object metric endpoint](https://www.rabbitmq.com/docs/prometheus#metric-aggregation). |
| 65 | + |
| 66 | + GitHub issue: [#13239](https://github.com/rabbitmq/rabbitmq-server/pull/13239) |
| 67 | + |
| 68 | + |
| 69 | +### Management Plugin |
| 70 | + |
| 71 | +#### Bug Fixes |
| 72 | + |
| 73 | + * Who help tooltips were not updated for 4.0.x. |
| 74 | + |
| 75 | + GitHub issue: [#13357](https://github.com/rabbitmq/rabbitmq-server/pull/13357) |
| 76 | + |
| 77 | +#### Enhancements |
| 78 | + |
| 79 | + * Consumer count is a new column that can be enabled for the channels table on the tab of the same name. |
| 80 | + |
| 81 | + Contributed by @gomoripeti. |
| 82 | + |
| 83 | + GitHub issue: [#13258](https://github.com/rabbitmq/rabbitmq-server/pull/13258) |
| 84 | + |
| 85 | + |
| 86 | +### Caching Authentication and Authorization Backend Plugin |
| 87 | + |
| 88 | +#### Enhancements |
| 89 | + |
| 90 | + * `rabbitmqctl clear_auth_backend_cache` is a new command that clears the [cache maintained by the plugin](https://www.rabbitmq.com/docs/auth-cache-backend). |
| 91 | + |
| 92 | + |
| 93 | +### Dependency Changes |
| 94 | + |
| 95 | + * `ra` was upgraded to [`2.15.2`](https://github.com/rabbitmq/ra/releases) |
| 96 | + |
| 97 | + |
| 98 | +## Source Code Archives |
| 99 | + |
| 100 | +To obtain source code of the entire distribution, please download the archive named `rabbitmq-server-4.0.7.tar.xz` |
| 101 | +instead of the source tarball produced by GitHub. |
0 commit comments