Skip to content

Commit ff6d3af

Browse files
authored
Merge pull request #12669 from rabbitmq/add-feature-flags-improvements-to-release-notes
`release-notes/4.1.0.md`: Document feature flags improvements
2 parents 7cbf64f + 2f9edf1 commit ff6d3af

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

release-notes/4.1.0.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,26 @@ This feature:
1818
This feature allows operators to gain insights into the message sizes being published to RabbitMQ, such as average message size, number of messages per pre-defined bucket (which can both be computed accurately), and percentiles (which will be approximated).
1919
Each metric is labelled by protocol (AMQP 1.0, AMQP 0.9.1, MQTT 5.0, MQTT 3.1.1, and MQTT 3.1).
2020

21+
### Feature flags quality of life improvements
22+
23+
The introduction of required feature flags several minor versions ago showed the poor user experience around them. Therefore, several improvements were made to the subsystem and the management UI to improve the general usage:
24+
25+
* Required feature flags have now a soft/hard requirement attribute.
26+
27+
Hard required feature flags are the ones already in use: the user has to enable a feature flag before upgrading to a version that requires it, otherwise the node will refuse to start.
28+
29+
Soft required feature flags are the new kind: when the user upgrades to a version that requires a feature flag that is not enabled yet, the feature flag will be enabled automatically during startup. To achieve that, some compatibility code is kept with a soft required feature flag, unlike a hard required one. In the future, RabbitMQ will use soft required feature flags as much as possible. This is only a measure to help users that did not follow recommendations. The recommendations is still that feature flags should always be enabled at the best time for the workload.
30+
31+
See [#12466](https://github.com/rabbitmq/rabbitmq-server/pull/12466).
32+
33+
* The management UI now shows if a feature flag has a migration function (in other words, it may take time to be enabled), if it is experimental and whether it is supported or not. To enable an experimental feature flag, a user has to tick checkboxes to confirm they know what they are doing. The feature flags UI has other fixes under the hood; the most important one is that a feature flag that takes time to be enabled will not freeze the browser tab anymore (the HTTP request was synchronous and executed from the browser main thread before). See [#12643](https://github.com/rabbitmq/rabbitmq-server/pull/12643).
34+
35+
* Required feature flags are hidden from the CLI and the management UI because there is nothing a user can do about them. See [#12447](https://github.com/rabbitmq/rabbitmq-server/pull/12447).
36+
37+
* Logging was made less verbose. See [#12444](https://github.com/rabbitmq/rabbitmq-server/pull/12444).
38+
39+
See the [full GitHub project](https://github.com/orgs/rabbitmq/projects/4/views/1) for the complete list of improvements and fixes.
40+
2141
## New Features
2242

2343
### Support for Multiple Routing Keys in AMQP 1.0 via `x-cc` Message Annotation

0 commit comments

Comments
 (0)