File: 3.9.4.md

package info (click to toggle)
rabbitmq-server 4.0.5-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 37,948 kB
  • sloc: erlang: 257,835; javascript: 22,466; sh: 2,796; makefile: 2,517; python: 1,966; xml: 646; cs: 335; java: 244; ruby: 212; php: 100; perl: 63; awk: 13
file content (81 lines) | stat: -rw-r--r-- 3,478 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
RabbitMQ `3.9.4` is a maintenance release in the `3.9.x` release series.

Please refer to the **Upgrading to 3.9** section from [v3.9.0 release notes](https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.9.0) if upgrading from a version prior to 3.9.0.

This release requires at least Erlang 23.2, and supports the latest Erlang 24 version, 24.0.5 at the time of release. [RabbitMQ and Erlang/OTP Compatibility Matrix](https://www.rabbitmq.com/which-erlang.html) has more details on Erlang version requirements for RabbitMQ.


## Changes Worth Mentioning

Release notes are kept under [rabbitmq-server/release-notes](https://github.com/rabbitmq/rabbitmq-server/tree/v3.9.x/release-notes).
Contributors are encouraged to update them together with their changes.  This helps with release automation and more
consistent release schedule.

### Core Server

#### Enhancements

 * Nodes will now use four more environment variables, if set: `RABBITMQ_DEFAULT_USER` (overrides `default_user` in `rabbitmq.conf`), `RABBITMQ_DEFAULT_PASS` (overrides `default_pass`), `RABBITMQ_DEFAULT_VHOST` (overrides `default_vhost`) and `RABBITMQ_ERLANG_COOKIE` (sets [shared authentication secret value](https://www.rabbitmq.com/clustering.html#erlang-cookie)).
   These variables **are not recommended to be used in production** but can be the only realistic option in some environment, such as service containers, ECS, and so on.
   Most users should continue using `rabbitmq.conf` and a securely generated local cookie file.

   GitHub issue: [#3299](https://github.com/rabbitmq/rabbitmq-server/pull/3299)

 * Definitions now can be imported from different sources, including those provided by plugins. Original local filesystem source is still supported in a backwards-compatible way.

   The following `rabbitmq.conf` example uses a local file as the source:
   
   ``` ini
   # equivalent to the classic load_definitions configuration key   
   definitions.import_backend = local_filesystem

   definitions.local.path = /path/to/definitions.json
   ```
   
   This `rabbitmq.conf` example uses a local directory with definition files:
   
   ``` ini
   # equivalent to the classic load_definitions configuration key   
   definitions.import_backend = local_filesystem

   definitions.local.path = /path/to/rabbitmq/definitions.d
   ```

   In this example config file, definitions are loaded from a URL accessible over HTTPS:
   
   ``` ini
   # downloads definitions over HTTPS
   definitions.import_backend = https

   definitions.https.url = https://rabbitmq.eng.megacorp.local/env-1/definitions.json

   # client-side TLS options for definition import   
   definitions.tls.versions.1 = tlsv1.2
   definitions.tls.log_level  = error
   ```

   GitHub issue: [#3249](https://github.com/rabbitmq/rabbitmq-server/issues/3249)


### Prometheus Plugin

#### Enhancements

 * New Prometheus metrics for alarms:
   * `rabbitmq_alarms_file_descriptor_limit` 1|0
   * `rabbitmq_alarms_free_disk_space_watermark` 1|0
   * `rabbitmq_alarms_memory_used_watermark` 1|0
   
   While some of the alarms have cluster-wide effect, these metrics are node-local.

   GitHub issue: [#2653](https://github.com/rabbitmq/rabbitmq-server/pull/2653)


## Dependency Upgrades

No dependency changes in this release.


## Source Code Archives

To obtain source code of the entire distribution, please download the archive named `rabbitmq-server-3.9.4.tar.xz` instead of the source tarball produced by GitHub.