|
| 1 | +## RabbitMQ 4.0.3 |
| 2 | + |
| 3 | +RabbitMQ `4.0.3` 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 `26.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 queues could run into an exception. |
| 30 | + |
| 31 | + Kudos to @netrmqdev for helping the core team reproduce this rare behavior. |
| 32 | + |
| 33 | + GitHub issue: [#12367](https://github.com/rabbitmq/rabbitmq-server/issues/12367) |
| 34 | + |
| 35 | + * [Continuous membership reconciliation](https://www.rabbitmq.com/docs/quorum-queues#replica-reconciliation) of quorum queues did not propagate a timeout error. |
| 36 | + |
| 37 | + Contributed by @SimonUnge. |
| 38 | + |
| 39 | + GitHub issue: [#12578](https://github.com/rabbitmq/rabbitmq-server/pull/12578) |
| 40 | + |
| 41 | + * Quorum queues could truncate the log too aggresively (by one entry too many). |
| 42 | + |
| 43 | + GitHub issue: [#12358](https://github.com/rabbitmq/rabbitmq-server/pull/12358) |
| 44 | + |
| 45 | + * Quorum queues failed to requeue a message with a specific workload where consumers |
| 46 | + requeued a delivery and then immediately cancelled themselves. |
| 47 | + |
| 48 | + GitHub issue: [#12442](https://github.com/rabbitmq/rabbitmq-server/pull/12442) |
| 49 | + |
| 50 | + * When a quorum queue was forced to shrink, it did not stop the replicas on the nodes that were |
| 51 | + removed from the list of replicas. In many cases this had no visible effects because the node |
| 52 | + in question is stopped or even removed entirely from the cluster. |
| 53 | + |
| 54 | + Contributed by @Ayanda-D. |
| 55 | + |
| 56 | + GitHub issue: [#12475](https://github.com/rabbitmq/rabbitmq-server/pull/12475) |
| 57 | + |
| 58 | + * AMQP 1.0 implementation now complies with the Anonymous Terminus extension (section [2.2.2 Routing Errors](https://docs.oasis-open.org/amqp/anonterm/v1.0/cs01/anonterm-v1.0-cs01.html#doc-routingerrors)). |
| 59 | + |
| 60 | + GitHub issue: [#12397](https://github.com/rabbitmq/rabbitmq-server/pull/12397) |
| 61 | + |
| 62 | + * For AMQP 1.0 clients, correct (compatible, sensible) combinations of the settle mode and a transfer's `settled` field |
| 63 | + are now enforced. |
| 64 | + |
| 65 | + GitHub issue: [#12371](https://github.com/rabbitmq/rabbitmq-server/pull/12371) |
| 66 | + |
| 67 | + * If an AMQP 1.0 client used a reserved annotation key, the connection was closed |
| 68 | + with an exception. |
| 69 | + |
| 70 | + GitHub issue: [#12527](https://github.com/rabbitmq/rabbitmq-server/pull/12527) |
| 71 | + |
| 72 | + * Messages with arrays in annotations published by AMQP 1.0 publishers and consumed by AMQP 0-9-1 consumers |
| 73 | + lead to an exception. |
| 74 | + |
| 75 | + GitHub issue: [#12572](https://github.com/rabbitmq/rabbitmq-server/pull/12572) |
| 76 | + |
| 77 | + * Quorum queues with a configured [delivery limit](https://www.rabbitmq.com/docs/quorum-queues#poison-message-handling) could run into an exception. |
| 78 | + |
| 79 | + GitHub issue: [#12405](https://github.com/rabbitmq/rabbitmq-server/pull/12405) |
| 80 | + |
| 81 | + * Publisher ID length is now validated to not exceed its internal limit of 255 bytes. |
| 82 | + |
| 83 | + GitHub issue: [#12499](https://github.com/rabbitmq/rabbitmq-server/issues/12499) |
| 84 | + |
| 85 | +#### Enhancements |
| 86 | + |
| 87 | + * Initial support for Erlang/OTP 27, starting with [`27.1.2`](https://github.com/erlang/otp/releases/tag/OTP-27.1.2). |
| 88 | + |
| 89 | + Releases prior to `2.7.1.2` are affected |
| 90 | + by several bugs that can seriously affect RabbitMQ users, in particular those using TLS for client connections. |
| 91 | + |
| 92 | + RPM and Debian packages will reflect Erlang 27 support in their metadata starting with a later patch release, `4.0.4`. |
| 93 | + |
| 94 | + GitHub issue: [#12208](https://github.com/rabbitmq/rabbitmq-server/pull/12208) (and many others, including on the Erlang/OTP side) |
| 95 | + |
| 96 | + * Delivery requeue history is now better tracked using [AMQP 1.0's Modified Outcome](https://www.rabbitmq.com/blog/2024/10/11/modified-outcome) feature. |
| 97 | + |
| 98 | + GitHub issue: [#12506](https://github.com/rabbitmq/rabbitmq-server/pull/12506) |
| 99 | + |
| 100 | + * Nodes now avoid logging potentially confusing messages about schema data store operations when |
| 101 | + querying for traces of any deprecated (or removed) features in the system. |
| 102 | + |
| 103 | + GitHub issue: [#12348](https://github.com/rabbitmq/rabbitmq-server/pull/12348) |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | +### Prometheus Plugin |
| 108 | + |
| 109 | +#### Bug Fixes |
| 110 | + |
| 111 | + * `rabbitmq_queue_exchange_messages_published_total` included a duplicate `vhost` label. |
| 112 | + |
| 113 | + Contributed by @LoisSotoLopez. |
| 114 | + |
| 115 | + GitHub issue: [#12347](https://github.com/rabbitmq/rabbitmq-server/issues/12347) |
| 116 | + |
| 117 | + |
| 118 | +### Management Plugin |
| 119 | + |
| 120 | +#### Bug Fixes |
| 121 | + |
| 122 | + * `GET /api/queues/{vhost}` and similar endpoints ran into an exception when a sorting parameter was provided and one of the |
| 123 | + queues in the result set was a quorum one. |
| 124 | + |
| 125 | + GitHub issue: [#12374](https://github.com/rabbitmq/rabbitmq-server/issues/12374) |
| 126 | + |
| 127 | + |
| 128 | +### Dependency Changes |
| 129 | + |
| 130 | + * CSV was upgraded to [`3.2.1`](https://github.com/beatrichartz/csv/blob/main/CHANGELOG.md) |
| 131 | + |
| 132 | +## Source Code Archives |
| 133 | + |
| 134 | +To obtain source code of the entire distribution, please download the archive named `rabbitmq-server-4.0.3.tar.xz` |
| 135 | +instead of the source tarball produced by GitHub. |
0 commit comments