Skip to content

Commit c51ab05

Browse files
4.0.6 release notes
(cherry picked from commit e413907)
1 parent 552daaa commit c51ab05

File tree

1 file changed

+169
-0
lines changed

1 file changed

+169
-0
lines changed

Diff for: release-notes/4.0.6.md

+169
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
## RabbitMQ 4.0.6
2+
3+
RabbitMQ `4.0.6` 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+
* When a quorum queue leader has changed, followers were not always notified of
30+
unapplied [for/by them] log commands.
31+
32+
GitHub issue: [#13095](https://github.com/rabbitmq/rabbitmq-server/pull/13095)
33+
34+
* Default cluster formation timeout with [Khepri](https://www.rabbitmq.com/docs/metadata-store) now matches that of Mnesia (5 minutes by default).
35+
36+
Discovered and reported by @evolvedlight.
37+
38+
GitHub issue: [#13195](https://github.com/rabbitmq/rabbitmq-server/pull/13195)
39+
40+
* When stream consumer was cancelled, an [internal event]() was not emitted.
41+
42+
GitHub issues: [#13085](https://github.com/rabbitmq/rabbitmq-server/pull/13085), [#9356](https://github.com/rabbitmq/rabbitmq-server/pull/9356), [#13097](https://github.com/rabbitmq/rabbitmq-server/pull/13097)
43+
44+
* Stream consumer metrics were not cleared when its respective connection was closed.
45+
46+
GitHub issue: [#13086](https://github.com/rabbitmq/rabbitmq-server/pull/13086)
47+
48+
* Quorum queues could return a list of members (replicas) with duplicates in some cases.
49+
50+
GitHub issue: [#13168](https://github.com/rabbitmq/rabbitmq-server/pull/13168)
51+
52+
* Classic queues with priorities could run into an exception.
53+
54+
GitHub issue: [#13088](https://github.com/rabbitmq/rabbitmq-server/pull/13088)
55+
56+
* Corrected a log message.
57+
58+
GitHub issue: [#13155](https://github.com/rabbitmq/rabbitmq-server/pull/13155)
59+
60+
#### Enhancements
61+
62+
* A new mechanism for protecting a virtual host from deletion using metadata.
63+
64+
GitHub issues: [#12772](https://github.com/rabbitmq/rabbitmq-server/issues/12772), [#13017](https://github.com/rabbitmq/rabbitmq-server/pull/13017)
65+
66+
67+
### CLI Tools
68+
69+
#### Bug Fixes
70+
71+
* `rabbitmqctl import_definitions` hanged when definitions were provided via the standard input
72+
instead of a file.
73+
74+
GitHub issue: [#13157](https://github.com/rabbitmq/rabbitmq-server/issues/13157)
75+
76+
#### Enhancements
77+
78+
* [`rabbitmqadmin` v2](https://www.rabbitmq.com/docs/management-cli) has matured enough to recommend
79+
it over the original version of the tool
80+
81+
* `rabbitmq-diagnostics ` CLI documentation was improved to clarify that all certificates
82+
discovered will be checked for expiration.
83+
84+
GitHub issue: [#13038](https://github.com/rabbitmq/rabbitmq-server/pull/13038)
85+
86+
* New health checks for [metadata store](https://www.rabbitmq.com/docs/metadata-store) initialization:
87+
88+
1. `rabbitmq-diagnostics check_if_metadata_store_is_initialized`
89+
2. `rabbitmq-diagnostics check_if_metadata_store_is_initialized_with_data`
90+
91+
GitHub issue: [#13169](https://github.com/rabbitmq/rabbitmq-server/pull/13169)
92+
93+
94+
### Prometheus Plugin
95+
96+
#### Bug Fixes
97+
98+
* Improved metric description.
99+
100+
GitHub issue: [#13178](https://github.com/rabbitmq/rabbitmq-server/pull/13178)
101+
102+
103+
### Management Plugin
104+
105+
#### Bug Fixes
106+
107+
* Pagination-related sections of the HTTP API reference were clarified to explain
108+
that the maximum page size cannot exceed 500.
109+
110+
GitHub issue: [#13042](https://github.com/rabbitmq/rabbitmq-server/issues/13042)
111+
112+
* Empty `channel_details` objects are now serialized as empty objects and not empty arrays.
113+
114+
GitHub issue: [#13091](https://github.com/rabbitmq/rabbitmq-server/pull/13091)
115+
116+
#### Enhancements
117+
118+
* New health checks for [metadata store](https://www.rabbitmq.com/docs/metadata-store) initialization:
119+
120+
1. GET `/api/health/checks/metadata-store/initialized`
121+
2. GET `/api/health/checks/metadata-store/initialized/with-data`
122+
123+
GitHub issue: [#13169](https://github.com/rabbitmq/rabbitmq-server/pull/13169)
124+
125+
#### Deprecations
126+
127+
* The original HTTP API One True Health Check™ is now a no-op. A comparable "mega health check"
128+
has long been deprecated in CLI tools and was made a no-op in `4.0.0`.
129+
130+
This endpoint was using a [deprecated feature](https://www.rabbitmq.com/docs/deprecated-features): a classic non-exclusive transient (non-durable) queue.
131+
132+
See [Health Checks](https://www.rabbitmq.com/docs/monitoring#health-checks) for modern focused alternatives.
133+
134+
GitHub issue: [#13047](https://github.com/rabbitmq/rabbitmq-server/issues/13047)
135+
136+
137+
### Peer Discovery Consul Plugin
138+
139+
#### Enhancements
140+
141+
* `` is a new configuration setting that allows the backend to skip registration.
142+
143+
This is useful when Consul is used for peer discovery but a different tool such as Nomad
144+
is used to keep track of the services and their registration, unregistration.
145+
146+
Contributed by @frederikbosch.
147+
148+
GitHub issue: [#13201](https://github.com/rabbitmq/rabbitmq-server/pull/13201)
149+
150+
151+
### Erlang AMQP 1.0 Client
152+
153+
#### Bug Fixes
154+
155+
* Purging an non-existing queue now returns a 404 response.
156+
157+
GitHub issue: [#13148](https://github.com/rabbitmq/rabbitmq-server/pull/13148)
158+
159+
160+
### Dependency Changes
161+
162+
* `ra` was upgraded to [`2.15.1`](https://github.com/rabbitmq/ra/releases)
163+
* `observer_cli` was upgraded to [`1.8.2`](https://github.com/zhongwencool/observer_cli/releases)
164+
165+
166+
## Source Code Archives
167+
168+
To obtain source code of the entire distribution, please download the archive named `rabbitmq-server-4.0.6.tar.xz`
169+
instead of the source tarball produced by GitHub.

0 commit comments

Comments
 (0)