Skip to content
Tatsuya Ono edited this page Aug 26, 2021 · 9 revisions

amqp 3.x requires amqp_client 3.9.x. We welcome this amqp_client update - it comes some nice features like logging mechanism improvement and lager dependency drop as well as OTP24 support. This allows us drop some workarounds required for logging.

Also check out RabbitMQ's release note

Breaking changes and upgrade guide

:lager configuration is no longer needed

If you have :lager section in your config file for amqp, you can remove the entry with this version.

# remove me
config :lager,
  error_logger_redirect: false,
  handlers: [level: :critical]

:lager is no longer needed to be in extra_application

If you have :lager in extra_applications only for amqp, remove it on your mix.exs file.

extra_applications: [:lager, :logger, :amqp]

can be just...

extra_applications: [:logger]

amqp_client is no longer noisy by default

If you have the following configuration because amqp_client is noisy on logging, you can remove the entry.

# remove me
config :logger, handle_otp_reports: false

AMQP.Application.disable_progress_report/0 and AMQP.Application.enable_progress_report/0 have been removed

Erlang library no longer enables the progress report by default. Therefore these functions were removed from the library.

enable_progress_report config section has been removed

Likewise the config section for progress report no longer work so remove the entry.

# remove me
config :amqp, enable_progress_report: true

Minimum requirement

We follow RabbitMQ 3.9's requirements.

  • OTP > 23.2
  • Elixir > 1.10.3