|
| 1 | +## RabbitMQ 4.2.2 |
| 2 | + |
| 3 | +RabbitMQ `4.2.2` is a maintenance release in the `4.2.x` [release series](https://www.rabbitmq.com/release-information). |
| 4 | + |
| 5 | +It is **strongly recommended** that you read [4.2.0 release notes](https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.0) |
| 6 | +in detail if upgrading from a version prior to `4.2.0`. |
| 7 | + |
| 8 | +### Minimum Supported Erlang Version |
| 9 | + |
| 10 | +[RabbitMQ and Erlang/OTP Compatibility Matrix](https://www.rabbitmq.com/docs/which-erlang) has more details on Erlang version requirements for RabbitMQ. |
| 11 | + |
| 12 | +Nodes **will fail to start** on older Erlang releases. |
| 13 | + |
| 14 | + |
| 15 | +## Changes Worth Mentioning |
| 16 | + |
| 17 | +Release notes can be found on GitHub at [rabbitmq-server/release-notes](https://github.com/rabbitmq/rabbitmq-server/tree/v4.2.x/release-notes). |
| 18 | + |
| 19 | +### Core Server |
| 20 | + |
| 21 | +#### Bug Fixes |
| 22 | + |
| 23 | + * Fixes a binding deletion-related memory leak in Khepri. |
| 24 | + |
| 25 | + This leak primarily affected systems with high binding churn. |
| 26 | + |
| 27 | + GitHub issue: [#15024](https://github.com/rabbitmq/rabbitmq-server/issues/15024) |
| 28 | + |
| 29 | + * AMQP 1.0 link error frames did not have settlement set in certain failure scenarios, |
| 30 | + namely when attaching a link failed due to a missing source (queue or stream). |
| 31 | + |
| 32 | + GitHub issue: [#15004](https://github.com/rabbitmq/rabbitmq-server/pull/15004) |
| 33 | + |
| 34 | + * AMQP 1.0 clients that publish messages without a body now get a clearer error message. |
| 35 | + Messages without a body explicitly violate the AMQP 1.0 specification. |
| 36 | + |
| 37 | + GitHub issue: [#15048](https://github.com/rabbitmq/rabbitmq-server/pull/15048) |
| 38 | + |
| 39 | + * Default operator policy pre-configuration in `rabbitmq.conf` were unintentionally missing a key, |
| 40 | + `default_policies.operator.$id.apply_to`, for controlling what objects the policy applies to. |
| 41 | + |
| 42 | + GitHub issue: [#14988](https://github.com/rabbitmq/rabbitmq-server/pull/14988) |
| 43 | + |
| 44 | +#### Enhancements |
| 45 | + |
| 46 | + * Removed a cool down delay between stream chunk redelivery attempts. |
| 47 | + |
| 48 | + GitHub issue: [#14766](https://github.com/rabbitmq/rabbitmq-server/pull/14766) |
| 49 | + |
| 50 | + * Stream data directory can now be configured via `rabbitmq.conf`. |
| 51 | + |
| 52 | + GitHub issue: [#15014](https://github.com/rabbitmq/rabbitmq-server/pull/15014) |
| 53 | + |
| 54 | + * Stream replication: IP address family (IPv4 or IPv6) can now be configured via `rabbitmq.conf`. |
| 55 | + |
| 56 | + GitHub issue: [#15012](https://github.com/rabbitmq/rabbitmq-server/pull/15012) |
| 57 | + |
| 58 | + |
| 59 | +### Management Plugin |
| 60 | + |
| 61 | +#### Bug Fixes |
| 62 | + |
| 63 | + * `GET /api/deprecated-features/used` no longer returns an empty `state` field. |
| 64 | + |
| 65 | + GitHub issue: [#14340](https://github.com/rabbitmq/rabbitmq-server/issues/14340) |
| 66 | + |
| 67 | + * Feature flag icons now contrast well when the dark mode is used in the UI. |
| 68 | + |
| 69 | + GitHub issue: [#14620](https://github.com/rabbitmq/rabbitmq-server/issues/14620) |
| 70 | + |
| 71 | + * Corrected an invalid `apply_to` value (`classic_queue` instead of `classic_queues`) |
| 72 | + on the policy declaration form. |
| 73 | + |
| 74 | + Declaring a policy "directly" via the HTTP API was not affected. |
| 75 | + |
| 76 | + GitHub issue: [#15054](https://github.com/rabbitmq/rabbitmq-server/pull/15054) |
| 77 | + |
| 78 | +#### Enhancements |
| 79 | + |
| 80 | + * Queue declaration form fields were reordered so that the queue type dropdown comes before |
| 81 | + the virtual host. |
| 82 | + |
| 83 | + GitHub issue: [#15017](https://github.com/rabbitmq/rabbitmq-server/pull/15017) |
| 84 | + |
| 85 | + |
| 86 | +### Prometheus Plugin |
| 87 | + |
| 88 | +#### Enhancements |
| 89 | + |
| 90 | + * `GET /metrics/per-object` responses on systems with thousands of objections now takes 20-30% less time. |
| 91 | + |
| 92 | + GitHub issue: [#15035](https://github.com/rabbitmq/rabbitmq-server/pull/15035) |
| 93 | + |
| 94 | + * Prometheus scraping endpoint responses are now streamed instead of being fully buffered before transmission. |
| 95 | + This reduces memory peak footprint and improves response times for nodes with a larger number of objects. |
| 96 | + |
| 97 | + GitHub issue: [#15018](https://github.com/rabbitmq/rabbitmq-server/pull/15018) |
| 98 | + |
| 99 | +#### Bug Fixes |
| 100 | + |
| 101 | + * Fixed a dependency loading issue with `ddskerl` (a Prometheus library dependency) |
| 102 | + that could cause `stop_app` to fail. |
| 103 | + |
| 104 | + GitHub issue: [#15027](https://github.com/rabbitmq/rabbitmq-server/pull/15027) |
| 105 | + |
| 106 | + |
| 107 | +### CLI Tools |
| 108 | + |
| 109 | +#### Bug Fixes |
| 110 | + |
| 111 | + * `rabbitmq-queues quorum_status` could run into an exception when a quorum queue member dies before recording any metrics. |
| 112 | + |
| 113 | + GitHub issue: [#15003](https://github.com/rabbitmq/rabbitmq-server/pull/15003) |
| 114 | + |
| 115 | + |
| 116 | +### Web MQTT Plugin |
| 117 | + |
| 118 | +#### Bug Fixes |
| 119 | + |
| 120 | + * The plugin now supports the `mqttv3.1` WebSocket subprotocol in addition to `mqtt`, |
| 121 | + improving compatibility with older MQTT clients. |
| 122 | + |
| 123 | + GitHub issue: [#15009](https://github.com/rabbitmq/rabbitmq-server/pull/15009) |
| 124 | + |
| 125 | + |
| 126 | +### AWS Peer Discovery Plugin |
| 127 | + |
| 128 | +#### Bug Fixes |
| 129 | + |
| 130 | + * The plugin now uses IPv6 discovery endpoints in IPv6-only environments. |
| 131 | + |
| 132 | + GitHub issue: [#14974](https://github.com/rabbitmq/rabbitmq-server/issues/14974) |
| 133 | + |
| 134 | + |
| 135 | +### Tracing Plugin |
| 136 | + |
| 137 | +#### Bug Fixes |
| 138 | + |
| 139 | + * Trace files served via the management UI now include proper UTF-8 charset specification. |
| 140 | + |
| 141 | + GitHub issue: [#14970](https://github.com/rabbitmq/rabbitmq-server/pull/14970) |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | +### Dependency Changes |
| 146 | + |
| 147 | + * `khepri` was upgraded to [`0.17.3`](https://github.com/rabbitmq/khepri/releases/tag/v0.17.3) |
| 148 | + * `seshat` was upgraded to [`1.0.1`](https://github.com/rabbitmq/seshat/releases/tag/v1.0.1) |
0 commit comments