Releases: lucacorti/lapin
2.0.0
This is a major release. Lapin itself is API compatible with 1.0, however, due to changes in the
underlying rabbitmq libraries and the elixir amqp
library there are runtime breaking changes.
This release requires Elixir 1.14+ and OTP 26+. Please note that rabbitmq does not recommend
running on OTP 27 yet.
Check amqp
release notes for more details: https://github.com/pma/amqp/wiki/4.0-Release-Notes
- Require Elixir 1.15+ and OTP 26+
- Update CI
- Rewrite the internals on
Lapin.Connection
to use:gen_statem
and removeConnection
dependency
1.0.7
- Update project and CI to Elixir 1.16 @lucacorti
- Update dependencies @lucacorti
- Fix connection close handling on broker restart @lucacorti, thanks @vermaxik for the report and testing
Updates and cleanups
- Update project and CI to OTP 26 and Elixir 1.15 @lucacorti
- Update dependencies @lucacorti
- Fix consumer callbacks @lucacorti, thanks @junjielu-tubi for the report
Dependency and CI updates
- Update dependencies
- Update CI for OTP 25
Add stack trace logging
Format exception and log it along with stacktrace in case of consumer crash, thanks to @nTraum
Update dependencies
This release updates the connection
and amqp
dependencies.
It should have no effect, but there are potentially breaking changes in https://github.com/pma/amqp 2.0.
Please check their release notes before upgrading. In particular, the part about the renaming of the :no_wait
option.
Configuration and Consumer/Producer Refactor
This is a backwards incompatible release with breaking changes.
- The configuration format has changed dramatically. Consumers and producers are now configured separately. Declarations are also handled separately from producer/consumer configuration.
- Consumer and Producer are now separate behaviours with separate callback functions.
Be sure to check the documentation and adapt your code/configuration to the new format.