PackageTrack
Sign in Get early access

lapin

AMQP client library

4.10.0 12M downloads/mo #2818 most downloaded on crates.io amqp-rs/lapin

What this package is like to depend on

Last release 3 months ago

24 May 2026

Release timing varies

gaps range from 8 days to 3 months

Nearly every release is documented

notes for 158 of 160 stable releases

1 version withdrawn

withdrawn after publishing

7 years old

199 releases · first in 2019

32 releases in the last 12 months

see the full history below

Release timeline

199 releases · Apr 2019 to May 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 199
  1. 4.10.0 24 May 2026
    Release notes

    Signed-off-by: Marc-Antoine Perennou [email protected]

    Open source →
    Release notes

    Features

    • Documentation iprovements

    Misc

    • switch to event-listener for internal synchronisation
    Open source →
  2. 4.9.1 23 May 2026
    Release notes

    Signed-off-by: Marc-Antoine Perennou [email protected]

    Open source →
    Release notes

    Bug Fixes

    • Fix some doc-comments
    Open source →
  3. 4.9.0 23 May 2026
    Release notes

    Signed-off-by: Marc-Antoine Perennou [email protected]

    Open source →
    Release notes

    Features

    • Documentation overhaul
    Open source →
  4. 4.8.0 23 May 2026
    Release notes

    Signed-off-by: Marc-Antoine Perennou [email protected]

    Open source →
    Release notes

    Bug Fixes

    • Prevent possible (unlikely) race condition in notifier
    • Use saturating arithmetics as much as possible
    Open source →
  5. 4.7.4 12 May 2026
    Release notes

    Misc

    • Add some must_use annotations
    Open source →
  6. 4.7.3 11 May 2026
    Release notes

    Signed-off-by: Marc-Antoine Perennou [email protected]

    Open source →
    Release notes

    Misc

    • Misc project metadata cleanup
    Open source →
  7. 4.7.2 08 May 2026
    Release notes

    Signed-off-by: Marc-Antoine Perennou [email protected]

    Open source →
    Release notes

    Bug Fixes

    • Various build fixes with some feature combinations
    Open source →
  8. 4.7.1 03 May 2026
    Release notes

    Signed-off-by: Marc-Antoine Perennou [email protected]

    Open source →
    Release notes

    Bug Fixes

    • Properly clear dropped PublisherConfirms on channel error
    Open source →
  9. 4.7.0 01 May 2026
    Release notes

    Signed-off-by: Marc-Antoine Perennou [email protected]

    Open source →
    Release notes

    Misc

    • Added ErrorKind::FutureCompleted
    • Some internal cleanups
    Open source →
  10. 4.6.0 28 Apr 2026
    Release notes

    Features

    • Add durable/exclusive constructors on QueueDeclareOptions for better defaults.
    • Add auto_delete/passive helpers on QueueDeclareOptions to facilitate using these features.
    Open source →
  11. 4.5.0 18 Apr 2026
    Release notes

    Features

    • New rustls-platform-verifier feature (new default)
    Open source →
  12. 4.4.0 29 Mar 2026
    Release notes

    Misc

    • Reworked internal state handling during early connection steps

    Bug Fixes

    • Updated async-rs to 0.8.2 to make sure the lapin Internal RPC loop is bound to the right tokio context
    Open source →
  13. 4.3.0 10 Mar 2026
    Release notes

    Misc

    • Added ErrorKind::RuntimeShutdownError and reworked internal detection and handling
    Open source →
  14. 4.2.1 08 Mar 2026
    Release notes

    Features

    • We now use exponential backoff for retries of AMQP connection too once the TCP connection is established

    Misc

    • Added an example of semi automatic reconnection handling
    Open source →
  15. 4.2.0 07 Mar 2026
    Release notes

    Bug Fixes

    • Fixes an issue preventing us from preoperly reconnecting during a rabbitmq server restart
    Open source →
  16. 4.1.1 05 Mar 2026
    Release notes

    Bug Fixes

    • Properly handle errors emitted by tokio when reactor is shutting down
    Open source →
  17. 4.1.0 27 Feb 2026
    Release notes

    Breaking changes

    • The closure passed to ConnectionProperties::configure_backoff now needs to return the ExponentialBuilder

    Bug Fixes

    • ConnectionProperties::configure_backoff now works properly. It was previously broken due to implicit Copy behaviour.
    • We now retry several times (16 as of now) the TCP connection itself by default when recovery is enabled.
    Open source →
  18. 4.0.3 21 Feb 2026
    Release notes

    Bug Fixes

    • PublisherConfirms is now public
    Open source →
  19. 4.0.2 20 Feb 2026
    Release notes

    Features

    • ConnectionBuilder (and ConnectionProperties) now implement Debug
    Open source →
  20. 4.0.1 19 Feb 2026
    Release notes

    Features

    • New ConnectionBuilder (and DefaultConnectionBuilder) types to centralize everything related to connecting.

    Bug Fixes

    • ConnectionProperties reimplements Clone
    Open source →
  21. 4.0.0 08 Feb 2026
    Release notes

    Breaking changes

    • Make more use of protocol types in public api (mostly ShortString and LongString)
    • Automatic connection recovery is now done through ConnectionProperties::enable_auto_recover()
    • Automatic connection recovery is no longer feature-gated by the unstable feature (which has been removed)
    • Automatic channel recovery is gone. Channels will still be recovered during connection recovery, but not outside of this scenario.

    Features

    • New feature flags to control default runtime (tokio, smol)
    • Removed deprecated on_error callback setup. Use Connection::events_listener instead.
    • Runtime is now configured in the Connection::connect_with_runtime method
    • Connection::block and Connection:unblock have been removed (they were actually a protocol violation)
    • Replaced Acker::mock with Delivery::mock
    • Changed Connection::collector callback to an async fn
    • Added an AuthProvider mechanism configurable through ConnectionProperties (to support e.g. automatic oauth2 token refresh)

    Misc

    • Switched our async runtimes integration from executor-trait and reactor-trait to async-rs
    • Update amq-protocol to 10.0
    Open source →
  22. 4.0.0-rc.1 24 Sep 2025 pre-release

    Nothing published for this version

  23. 4.0.0-beta.2 17 Sep 2025 pre-release

    Nothing published for this version

  24. 4.0.0-beta.1 08 Sep 2025 pre-release

    Nothing published for this version

  25. 3.7.2 05 Nov 2025
    Release notes

    Bug Fixes

    • Fix defunct io_loop threads being kept in a deadlock on (very) early connection failure
    Open source →
  26. 3.7.1 12 Oct 2025
    Release notes

    Bug Fixes

    • Fix io_loop tracing span
    Open source →
  27. 3.7.0 23 Sep 2025
    Release notes

    Bug Fixes

    • Make sure we don't run the heartbeat loop multiple times after reconnection
    Open source →
  28. 3.6.0 15 Sep 2025
    Release notes

    Features

    • Allow configuring the backoff for TCP connection more easily
    Open source →
  29. 3.5.0 13 Sep 2025
    Release notes

    Features

    • Allow configuring exponential backoff for retrying TCP connection (using the backon crate)
    Open source →
  30. 3.4.0 02 Sep 2025
    Release notes

    Bug Fixes

    • Fix rabbit-cr-demo auth
    • Make sure we always recover on connection process errors
    Open source →
  31. 3.3.0 30 Aug 2025
    Release notes

    Features

    • Add Connection::events_listener for listening to internal events
    Open source →
  32. 3.2.1 19 Aug 2025
    Release notes

    Misc

    • Add Acker::mock() to help writing tests in external programs
    Open source →
  33. 3.2.0 11 Aug 2025
    Release notes

    Features

    • Add hickory-dns feature to use hickory-dns for domain name resolution to avoid spurious network hangs
    Open source →
  34. 3.1.1 09 Aug 2025
    Release notes

    Bug Fixes

    • Fix hang when rabbitmq server is unavailable when connecting.
    • Fix crash in tokio reactor initial usage
    Open source →
  35. 3.1.0 31 Jul 2025
    Release notes

    Features

    • Add experimental ability to recover on connection failure

    Misc

    • Drop waker-fn dependency
    Open source →
  36. 3.0.2 25 Jul 2025
    Release notes

    Bug Fixes

    • When the server closes the TCP connection, handle the ongoing frames before erroring out

    Misc

    • Several fixes related to channel automatic reconnection
    • Internal preparatory work for upcoming connection recovery
    Open source →
  37. 3.0.1 24 Jul 2025
    Release notes

    Features

    • Channel::wait_for_recovery to wait for automatic reconnection to finish (if we're in the process of reconnecting)

    Misc

    • Several fixes related to channel automatic reconnection
    • Internal preparatory work for upcoming connection recovery
    Open source →
  38. 3.0.0 12 Jun 2025
    Release notes

    Breaking changes

    • Error is now ErrorKind, wrapped in a new Error type (use Error::kind to access the previous type)
    • no more Acker::default
    • Acker::used is replaced with Acker::usable
    • Removed the topology API

    Features

    • rustls crypto backend selection through features
    • Error::is_amqp_error, Error::is_amqp_soft_error and Error::is_amqp_hard_error
    • default runtime is now optional
    • experimental feature to recover channel from AMQP soft error (behind unstable feature flag)
    • Acker::poisoned to check if underlying Channel has been invalidated (reconnection)

    Misc

    • Update to reactor-trait 2
    • Update to amq-protocol 8
    • Update to nom 8
    • Drop parking-lot dependency
    • Drop pinky-swear dependency
    • Edition 2024
    Open source →
  39. 3.0.0-beta.3 01 Apr 2025 pre-release

    Nothing published for this version

  40. 3.0.0-beta.2 17 Mar 2025 pre-release

    Nothing published for this version

  41. 3.0.0-beta.1 08 Mar 2025 pre-release

    Nothing published for this version

  42. 2.5.5 12 Oct 2025
    Release notes

    Bug Fixes

    • Fix io_loop tracing span
    Open source →
  43. 2.5.4 22 Jul 2025
    Release notes

    Features

    • Propagate current tracing span into io_loop thread
    Open source →
  44. 2.5.3 05 Apr 2025
    Release notes

    Bug Fixes

    • Fix a panic when reaching the maximum number of channels
    Open source →
  45. 2.5.2 02 Apr 2025
    Release notes

    Bug Fixes

    • Fix potential deadlock in server protocol error handling
    Open source →
  46. 2.5.1 08 Mar 2025
    Release notes

    Bug Fixes

    • Fix potential overflow (only in a log message)
    Open source →
  47. 2.5.0 27 Jul 2024
    Release notes

    Bug Fixes

    • Better handle in flight frames on io loop termination.
    Open source →
  48. 2.4.0 16 Jul 2024
    Release notes

    Bug Fixes

    • Prevent basic_publish hangs in some rare corner case
    Open source →
  49. 2.3.4 01 May 2024
    Release notes

    Features

    • Allow closing Acker and checking if already used

    Bug Fixes

    • Close connection to server in case of missing heartbeat
    Open source →
  50. 2.3.3 24 Apr 2024
    Release notes

    Misc

    • Dependencies update
    Open source →
  51. 2.3.2 23 Apr 2024
    Release notes

    Bug Fixes

    • Don't allow trying to close an already closed connection
    • Make sure heartbeats are no longer sent after a connection error
    Open source →
  52. 2.3.1 14 Jul 2023
    Release notes

    Misc

    • Simplify channels cleanup logic on connection close
    Open source →
  53. 2.3.0 14 Jul 2023
    Release notes

    Bug Fixes

    • Fix an error when finalizing the connection close duz to missing channel 0.
    • Properly cleanup heartbeat sending when connection hit an error.
    Open source →
  54. 2.2.1 19 May 2023
    Release notes

    Bug Fixes

    • Don't call the channel error hook when we get closed with a non error code
    Open source →
  55. 2.2.0 19 May 2023
    Release notes

    Features

    • Introduce Channel::on_error
    Open source →
  56. 2.1.3 19 May 2023
    Release notes

    Bug Fixes

    • Don't propagate the same error twice
    Open source →
  57. 2.1.2 18 May 2023
    Release notes

    Bug Fixes

    • Fix memory leak on connection failure
    Open source →
  58. 2.1.1 08 Apr 2022
    Release notes

    Bug Fixes

    • Fix potential race condition on connection error
    Open source →
  59. 2.1.0 23 Mar 2022
    Release notes

    Bug Fixes

    • Fix potential race condition on connection opening
    Open source →
  60. 2.0.3 25 Feb 2022
    Release notes

    Misc

    • Update amq-protocol
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive