Skip to content
Tatsuya Ono edited this page Nov 3, 2024 · 1 revision

amqp 4.x officially now supports RabbitMQ 4.x.x 🎉

Breaking changes

There are no breaking changes, but please check the version's compatibility below.

Notes

Although the major version number currently matches, please note that each library's versioning is independent. This library uses Erlang amqp_client under the hood. You can control its version by specifying it in your mix.exs file. For example, if you want to stick to version 4.0.x for some reason, you can specify:

  defp deps do
    [
      {:amqp, "~> 4.0"},
      {:amqp_client, "~> 4.0.0"},
      ...

According to RabbitMQ team, amqp_client 4.x will stay compatible with RabbitMQ 3.x. However, it is not something we (the amqp maintenance team) can ensure. We recommend you keep the server and client versions aligned in general.

Version compatibility

amqp 4.x requires:

  • OTP: 26+
  • Elixir: 1.14+

As of November 2024, the RabbitMQ team doesn't recommend running RabbitMQ on OTP 27.

https://www.rabbitmq.com/blog/2024/05/23/erlang27-support

They are currently working with the Erlang Core team to address the issue. If you run this library with OTP 27, please monitor the performance regression.

Clone this wiki locally