PageRenderTime 51ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/release-notes/3.8.3.md

https://github.com/rabbitmq/rabbitmq-server
Markdown | 305 lines | 154 code | 151 blank | 0 comment | 0 complexity | 03a62316a23a21482d7a2108f746799d MD5 | raw file
  1. ## RabbitMQ 3.8.3
  2. RabbitMQ `3.8.3` is a maintenance release.
  3. ### Erlang/OTP Compatibility Notes
  4. This release [**requires Erlang/OTP 21.3**](https://www.rabbitmq.com/which-erlang.html) or later.
  5. `22.x` series is recommended.
  6. [Provisioning Latest Erlang Releases](https://www.rabbitmq.com/which-erlang.html#erlang-repositories) explains what package repositories and tools can be used to provision latest patch versions of Erlang `21.3.x` and `22.x`.
  7. ### Compatibility Notes
  8. #### Upgrading to Erlang 21.x or Later Versions
  9. When upgrading to this release from `3.7.6` or an older version, extra care has to be taken.
  10. Since CLI tools from RabbitMQ releases older than 3.7.7 will fail on Erlang 21 or later, RabbitMQ **must be upgraded at the same time as Erlang**.
  11. Alternatively the node can be upgraded to `3.7.18` first, then Erlang 21.x or 22.x, then to RabbitMQ 3.8.x.
  12. #### Upgrade Doc Guides and Change Log
  13. See [3.8.0 release notes](https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.8.0) upgrade and compatibility notes first if upgrading from an earlier release.
  14. See the [Upgrading guide](https://www.rabbitmq.com/upgrade.html) for general documentation on upgrades and [RabbitMQ change log](https://www.rabbitmq.com/changelog.html) for release notes of other releases.
  15. ### Getting Help
  16. Any questions about this release, upgrades or RabbitMQ in general are welcome on the [RabbitMQ mailing list](https://groups.google.com/forum/#!forum/rabbitmq-users).
  17. ## Changes
  18. ### Core Server
  19. #### Bug Fixes
  20. * Reduced scheduled GC activity in connection socket writer to one run per 1 GiB of data transferred, with an option to change the value or disable scheduled run entirely.
  21. More frequent binary heap GC runs seem unneccesary on Erlang 22.
  22. Contributed by Aleksander Nycz.
  23. GitHub issue: [rabbitmq/rabbitmq-common#343](https://github.com/rabbitmq/rabbitmq-common/pull/343)
  24. * Eliminated an inefficiency in recovery of quorum queues with a backlog of messages.
  25. GitHub issue: [rabbitmq/rabbitmq-server#2260](https://github.com/rabbitmq/rabbitmq-server/pull/2260)
  26. * In a case where a node hosting a quorum queue replica went offline and was removed from the cluster,
  27. and later came back, quorum queues could enter a loop of Raft leader elections.
  28. GitHub issue: [rabbitmq/rabbitmq-server#2255](https://github.com/rabbitmq/rabbitmq-server/pull/2255)
  29. * Quorum queues with a dead lettering could fail to recover.
  30. GitHub issue: [rabbitmq/rabbitmq-server#2256](https://github.com/rabbitmq/rabbitmq-server/pull/2256)
  31. * The node now can recover even if virtual host recovery terms file was corrupted.
  32. Contributed by @tomyouyou.
  33. GitHub issue: [rabbitmq/rabbitmq-server#2195](https://github.com/rabbitmq/rabbitmq-server/pull/2195)
  34. * Autoheal could fail to finish if one of its state transitions initiated by a remote node timed out.
  35. Contributed by @tomyouyou.
  36. GitHub issue: [rabbitmq/rabbitmq-server#2209](https://github.com/rabbitmq/rabbitmq-server/pull/2209)
  37. * Syslog client is now started even when Syslog logging is configured only for some log sinks.
  38. GitHub issue: [rabbitmq/rabbitmq-server#2044](https://github.com/rabbitmq/rabbitmq-server/issues/2044)
  39. * Policies that quorum queues ignored were still listed as applied to them.
  40. GitHub issue: [rabbitmq/rabbitmq-server#2210](https://github.com/rabbitmq/rabbitmq-server/pull/2210)
  41. * If a quorum queue leader rebalancing operation timed out, CLI tools failed with an exception instead of a sensible internal API response.
  42. Contributed by Gabriele Santomaggio.
  43. GitHub issue: [rabbitmq/rabbitmq-server#2214](https://github.com/rabbitmq/rabbitmq-server/issues/2214)
  44. * Handle timeout error on the rebalance function.
  45. Contributed by Gabriele Santomaggio.
  46. GitHub issue: [rabbitmq/rabbitmq-server#2218](https://github.com/rabbitmq/rabbitmq-server/pull/2218)
  47. * Handle and raise protocol error for absent queues assumed to be alive.
  48. Contributed by Ayanda Dube.
  49. GitHub issue: [rabbitmq/rabbitmq-server#2233](https://github.com/rabbitmq/rabbitmq-server/pull/2233)
  50. #### Enhancements
  51. * Some Proxy protocol errors are now logged at debug level.
  52. This reduces log noise in environments where TCP load balancers and proxies perform health checks by opening a TCP connection but never sending any data.
  53. GitHub issue: [rabbitmq/rabbitmq-server#2204](https://github.com/rabbitmq/rabbitmq-server/pull/2204)
  54. * Quorum queue deletion operation no longer supports the "if unused" and "if empty" options.
  55. They are typically used for transient queues don't make much sense for quorum ones.
  56. GitHub issue: [rabbitmq/rabbitmq-server#2211](https://github.com/rabbitmq/rabbitmq-server/pull/2211)
  57. * Do not treat applications that do not depend on rabbit as plugins.
  58. This is especially important for applications that should not be stopped before rabbit is stopped.
  59. GitHub Issue: [rabbitmq/rabbitmq-server#2212](https://github.com/rabbitmq/rabbitmq-server/pull/2212)
  60. * RabbitMQ nodes will now gracefully shutdown when receiving a `SIGTERM` signal.
  61. Previously the runtime would invoke a default handler that terminates the VM giving RabbitMQ no chance to execute its shutdown steps.
  62. GitHub issue: [rabbitmq/rabbitmq-server#2222](https://github.com/rabbitmq/rabbitmq-server/issues/2222)
  63. * Every cluster now features a persistent internal cluster ID that can be used by core features or plugins.
  64. Unlike the human-readable cluster name, the value cannot be overriden by the user.
  65. GitHub issue: [rabbitmq/rabbitmq-server#2226](https://github.com/rabbitmq/rabbitmq-server/pull/2226)
  66. * Speedup execution of boot steps by a factor of 2N, where N is the number of attributes per step.
  67. Contributed by Ayanda Dube.
  68. GitHub issue: [rabbitmq/rabbitmq-server#2246](https://github.com/rabbitmq/rabbitmq-server/pull/2246)
  69. ### CLI Tools
  70. #### Bug Fixes
  71. * `rabbitmq-diagnostics status` failed to display the results when executed against a node that had high VM watermark set as an absolute value (using `vm_memory_high_watermark.absolute`).
  72. GitHub issue: [rabbitmq/rabbitmq-cli#395](https://github.com/rabbitmq/rabbitmq-cli/issues/395)
  73. #### Enhancements
  74. * New health checks that can be used to determine if it's a good moment to shut down a node for an upgrade.
  75. ``` sh
  76. # Exits with a non-zero code if target node hosts leader replica of at least one queue
  77. # that has out-of-sync mirror.
  78. rabbitmq-diagnostics check_if_node_is_mirror_sync_critical
  79. # Exits with a non-zero code if one or more quorum queues will lose online quorum
  80. # should target node be shut down
  81. rabbitmq-diagnostics check_if_node_is_quorum_critical
  82. ```
  83. GitHub issue: [rabbitmq/rabbitmq-cli#389](https://github.com/rabbitmq/rabbitmq-cli/issues/389)
  84. * Some proxy protocol errors are now logged at debug level.
  85. * This reduces log noise in environments where TCP load balancers and proxies perform health checks by opening a TCP connection but never sending any data.
  86. GitHub issue: [rabbitmq/rabbitmq-server#2204](https://github.com/rabbitmq/rabbitmq-server/pull/2204)
  87. ### Management and Management Agent Plugins
  88. #### Bug Fixes
  89. * Consumer section on individual page was unintentionally hidden.
  90. GitHub issue: [rabbitmq/rabbitmq-management#758](https://github.com/rabbitmq/rabbitmq-management/issues/758)
  91. * Fix queue-type select by adding unsafe-inline CSP policy.
  92. GitHub issue: [rabbitmq/rabbitmq-management#769](https://github.com/rabbitmq/rabbitmq-management/pull/769)
  93. #### Enhancements
  94. * An undocumented "automagic login" feature on the login form was removed.
  95. GitHub issue: [rabbitmq/rabbitmq-management#748](https://github.com/rabbitmq/rabbitmq-management/pull/748)
  96. * A new `POST /login` endpoint can be used by custom management UI login forms to authenticate the user and set the cookie.
  97. GitHub issue: [rabbitmq/rabbitmq-management#764](https://github.com/rabbitmq/rabbitmq-management/issues/764)
  98. * A new `POST /rebalance/queues` endpoint that is the HTTP API equivalent of `rabbitmq-queues rebalance`
  99. GitHub issue: [rabbitmq/rabbitmq-management#782](https://github.com/rabbitmq/rabbitmq-management/issues/782)
  100. * Warning about a missing `handle.exe` in `PATH` on Windows is now only logged every 10 minutes.
  101. GitHub issue: [rabbitmq/rabbitmq-management-agent#90](https://github.com/rabbitmq/rabbitmq-management-agent/issues/90)
  102. * `rabbitmqadmin declare queue` now supports a new `queue_type` parameter to simplify declaration of quorum queues.
  103. GitHub issue: [rabbitmq/rabbitmq-management#761](https://github.com/rabbitmq/rabbitmq-management/issues/761)
  104. * HTTP API request log entries now includes acting user.
  105. GitHub issue: [rabbitmq/rabbitmq-management#760](https://github.com/rabbitmq/rabbitmq-management/issues/760)
  106. * [Content Security Policy headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) are now also set for static assets such as JavaScript files.
  107. GitHub issue: [rabbitmq/rabbitmq-management#767](https://github.com/rabbitmq/rabbitmq-management/issues/767)
  108. ### Prometheus Plugin
  109. #### Enhancements
  110. * Add option to aggregate metrics for channels, queues & connections. Metrics are now aggregated by default (safe by default).
  111. This new behaviour can be disabled via `prometheus.return_per_object_metrics = true` config.
  112. GitHub issue: [rabbitmq/rabbitmq-prometheus#28](https://github.com/rabbitmq/rabbitmq-prometheus/issues/28)
  113. ### Kubernetes Peer Discovery Plugin
  114. #### Enhancements
  115. * The plugin will now notify [Kubernetes API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#event-v1-core) of node startup and peer stop/unavailability events.
  116. Contributed by Gabriele Santomaggio.
  117. GitHub issue: [rabbitmq/rabbitmq-peer-discovery-k8s#61](https://github.com/rabbitmq/rabbitmq-peer-discovery-k8s/pull/61)
  118. ### Etcd Peer Discovery Plugin
  119. #### Bug Fixes
  120. * Only run healthcheck when backend is configured.
  121. GitHub issue: [rabbitmq/rabbitmq-peer-discovery-etcd#21](https://github.com/rabbitmq/rabbitmq-peer-discovery-etcd/pull/21)
  122. ### Federation Plugin
  123. #### Bug Fixes
  124. * Use vhost to delete federated exchange.
  125. [Reported by Brett Janer](https://groups.google.com/forum/#!topic/rabbitmq-users/nfulekZc_OQ/discussion).
  126. GitHub issue: [rabbitmq/rabbitmq-federation#99](https://github.com/rabbitmq/rabbitmq-federation/pull/99)
  127. #### Enhancements
  128. * "Command" operations such as binding propagation now use a separate channel for all links, preventing latency spikes for asynchronous operations (such as message publishing) (a head-of-line blocking problem).
  129. Contributed by Grigory Starinkin.
  130. GitHub issue: [rabbitmq/rabbitmq-federation#97](https://github.com/rabbitmq/rabbitmq-federation/pull/97)
  131. ### Auth Backend OAuth 2 Plugin
  132. * Additional scopes can be fetched from a predefined JWT token field.
  133. Those scopes will be combined with the standard scopes field.
  134. Contributed by @papugamichal.
  135. GitHub issue: [rabbitmq/rabbitmq-auth-backend-oauth2#41](https://github.com/rabbitmq/rabbitmq-auth-backend-oauth2/pull/41)
  136. ### Trust Store Plugin
  137. #### Enhancements
  138. * HTTPS certificate provider will not longer terminate if upstream service response contains invalid JSON.
  139. GitHub issue: [rabbitmq/rabbitmq-trust-store#73](https://github.com/rabbitmq/rabbitmq-trust-store/issues/73)
  140. ### MQTT Plugin
  141. #### Enhancements
  142. * Avoid blocking when registering or unregistering a client ID.
  143. GitHub issue: [rabbitmq/rabbitmq-mqtt#226](https://github.com/rabbitmq/rabbitmq-mqtt/pull/226)
  144. ### AMQP 1.0 Client Plugin
  145. #### Enhancements
  146. * Handle heartbeat in `close_sent/2`.
  147. GitHub issue: [rabbitmq/rabbitmq-amqp1.0-client#44](https://github.com/rabbitmq/rabbitmq-amqp1.0-client/pull/44)
  148. ## Source code archives
  149. **Warning**: The source code archive provided by GitHub only contains the source of the broker, not the plugins or the client libraries.
  150. Please download the archive named `rabbitmq-server-3.8.3.tar.xz`.
  151. ## Dependency upgrades
  152. * observer-cli was upgraded [from v1.5.2 to v1.5.3](https://github.com/zhongwencool/observer_cli/compare/1.5.2...1.5.3)
  153. * prometheus.erl was upgraded [from v4.4.0 to v4.5.0](https://github.com/deadtrickster/prometheus.erl/compare/v4.4.0...v4.5.0)
  154. * ra was upgraded [from v1.0.5 to v1.0.8](https://github.com/rabbitmq/ra/compare/v1.0.5...v1.0.8)