PackageTrack
Sign in Get early access

diesel-async

An async extension for Diesel the safe, extensible ORM and Query Builder

0.9.2 12M downloads/mo #2869 most downloaded on crates.io weiznich/diesel_async

What this package is like to depend on

Last release 2 months ago

19 Jun 2026

Release timing varies

gaps range from 2 weeks to 11 months

Nearly every release is documented

notes for 24 of 24 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

24 releases · first in 2022

9 releases in the last 12 months

see the full history below

Release timeline

24 releases · Sep 2022 to Jun 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 24
  1. 0.9.2 19 Jun 2026
    Release notes

    Fixed

    • Improve the check if a connection is still working in our connection pool implementation by actually loading the response
    • Improve mapping of SQL error states to diesel database error kinds for PostgreSQL 18 and newer

    New Contributors

    Full Changelog: v0.9.1...v0.9.2

    You can support the development of Diesel by:

    • Contributing Code, Documentation or Guides. Checkout the planing for Diesel 2.4 for open tasks.
    • Providing knowledge and help to maintain the MySQL/MariaDB backend. This is currently the only in-tree backend that is not used by any maintainers, so having someone around that actually uses this backend would be very helpful for the Diesel project.
    • Answering questions in our discussion forum
    • Reporting bugs in our issue tracker
    • Helping triaging issues in our issue tracker
    • Sponsoring the maintainers.
    Open source →
    Release notes
    • Improve the check if a connection is still working in our connection pool implementation by actually loading the response
    • Improve mapping of SQL error states to diesel database error kinds for PostgreSQL 18 and newer
    Open source →
  2. 0.9.1 05 Jun 2026
    Release notes

    Fixed

    • Correctly check if a connection is a broken state (e.g. has an open transaction) for the mobc pool implementation

    Full Changelog: v0.9.1...v0.9.1

    You can support the development of Diesel by:

    • Contributing Code, Documentation or Guides. Checkout the planing for Diesel 2.4 for open tasks.
    • Providing knowledge and help to maintain the MySQL/MariaDB backend. This is currently the only in-tree backend that is not used by any maintainers, so having someone around that actually uses this backend would be very helpful for the Diesel project.
    • Answering questions in our discussion forum
    • Reporting bugs in our issue tracker
    • Helping triaging issues in our issue tracker
    • Sponsoring the maintainers.
    Open source →
    Release notes
    • Correctly check if a connection is a broken state (e.g. has an open transaction) for the mobc pool implementation
    Open source →
  3. 0.9.0 30 Apr 2026
    Release notes

    Changes

    • Change all transaction related functions to accept an real async closure instead of
      the scoped boxed variant. This change requires adujsting all call sides of transaction
      based functions from conn.transaction(|conn| async move {/* your code */}.scoped_boxed())
      to conn.transaction(async |conn| /* your code */)

    Fixed

    • Fixed an unsound access to padding values while deserializing Date/Time values in the mysql backend
      Thanks to @paolobarbolini for finding this issue.

    You can support the development of Diesel by:

    • Contributing Code, Documentation or Guides. Checkout the planing for Diesel 2.4 for open tasks.
    • Providing knowledge and help to maintain the MySQL/MariaDB backend. This is currently the only in-tree backend that is not used by any maintainers, so having someone around that actually uses this backend would be very helpful for the Diesel project.
    • Answering questions in our discussion forum
    • Reporting bugs in our issue tracker
    • Helping triaging issues in our issue tracker
    • Sponsoring the maintainers.

    Full Changelog: v0.8.0...v0.9.0

    Open source →
    Release notes
    • Change all transaction related functions to accept an real async closure instead of the scoped boxed variant. This change requires adujsting all call sides of transaction based functions from conn.transaction(|conn| async move {/* your code */}.scoped_boxed()) to conn.transaction(async |conn| /* your code */)
    • Fixed an unsound access to padding values while deserializing Date/Time values in the mysql backend Thanks to Paolo Barbolini for finding this issue.
    Open source →
  4. 0.8.0 20 Mar 2026
    Release notes

    What's Changed

    • Added support for UpdateAndFetchResults for SyncConnectionWrapper, allowing to use save_changes
    • Bumped supported deadpool version to 0.13
    • Fixed a bug with postgres query pipelining that can cause panics
    • Fixed a bug with the SyncConnectionWrapper that can cause panics if the future is dropped before completion

    You can support the development of Diesel by:

    • Contributing Code, Documentation or Guides. Checkout the planing for Diesel 2.4 for open tasks.
    • Providing knowledge and help to maintain the MySQL/MariaDB backend. This is currently the only in-tree backend that is not used by any maintainers, so having someone around that actually uses this backend would be very helpful for the Diesel project.
    • Answering questions in our discussion forum
    • Reporting bugs in our issue tracker
    • Helping triaging issues in our issue tracker
    • Sponsoring the maintainers.

    New Contributors

    Full Changelog: v0.7.4...v0.8.0

    Open source →
    Release notes
    • Added support for UpdateAndFetchResults for SyncConnectionWrapper, allowing to use save_changes
    • Bumped supported deadpool version to 0.13
    • Fixed a bug with postgres query pipelining that can cause panics
    • Fixed a bug with the SyncConnectionWrapper that can cause panics if the future is dropped before completion
    Open source →
  5. 0.7.4 07 Nov 2025
    Release notes

    What's Changed

    Full Changelog: v0.7.3...v0.7.4

    You can support the development of Diesel by:

    • Contributing Code, Documentation or Guides. Checkout the planing for Diesel 2.4 for open tasks.
    • Providing knowledge and help to maintain the MySQL/MariaDB backend. This is currently the only in-tree backend that is not used by any maintainers, so having someone around that actually uses this backend would be very helpful for the Diesel project.
    • Answering questions in our discussion forum
    • Reporting bugs in our issue tracker
    • Helping triaging issues in our issue tracker
    • Sponsoring the maintainers.
    Open source →
    Release notes
    • Fixed an issue with dropping uncached mysql statements
    Open source →
  6. 0.7.3 05 Oct 2025
    Release notes

    Full Changelog: v0.7.2...v0.7.3

    Open source →
    Release notes
    • Another docs.rs build fix
    Open source →
  7. 0.7.2 02 Oct 2025
    Release notes
    • Fix versions shown in the readme

    Full Changelog: v0.7.1...v0.7.2

    Open source →
    Release notes
    • Fix versions in the Readme
    Open source →
  8. 0.7.1 02 Oct 2025
    Release notes
    • Fix the docs.rs build
    Open source →
    Release notes
    • Fix the docs.rs build
    Open source →
  9. 0.7.0 02 Oct 2025
    Release notes

    New features

    • Support for diesel 2.3
    • Added support for running migrations via AsyncMigrationHarness
    • Improved ergonomics of using query pipelining with AsyncPgConnection
    • Added the ability to cancel queries using AsyncMysqlConnection::cancel_token

    I would like to sincerely thank all my generous sponsors who have contributed to make this release possible.

    Nevertheless is the Diesel project always looking for support. You can help by:

    • Contributing Code, Documentation or Guides. Checkout the planing for Diesel 2.4 for open tasks.
    • Providing knowledge and help to maintain the MySQL/MariaDB backend. This is currently the only in-tree backend that is not used by any maintainers, so having someone around that actually uses this backend would be very helpful for the Diesel(-async) project.
    • Answering questions in our discussion forum
    • Reporting bugs in our issue tracker
    • Helping triaging issues in our issue tracker
    • Sponsoring the maintainers.

    Full Changelog: v0.6.0...v0.7.0

    Open source →
    Release notes
    • Support for diesel 2.3
    • Added support for running migrations via AsyncMigrationHarness
    • Improved ergonomics of using query pipelining with AsyncPgConnection
    • Added the ability to cancel queries using AsyncMysqlConnection::cancel_token
    Open source →
  10. 0.6.1 03 Jul 2025
    Release notes

    What's Changed

    • Fix building with different feature combinations

    You can support the development of diesel-async by contributions or by sponsoring the project on GitHub.

    Full Changelog: v0.6.0...v0.6.1

    Open source →
    Release notes
    • Fix features for some dependencies
    Open source →
  11. 0.6.0 02 Jul 2025
    Release notes
    • Allow to control the statement cache size
    • Minimize dependencies features
    • Bump minimal supported mysql_async version to 0.36.0
    • Fixing a bug in how we tracked open transaction that could lead to dangling transactions is specific cases
    Open source →
  12. 0.5.2 26 Nov 2024
    Release notes
    • Fixed an issue around transaction cancellation that could lead to connection pools containing connections with dangling transactions
    Open source →
  13. 0.5.1 01 Nov 2024
    Release notes
    • Add crate feature pool for extending connection pool implements through external crate
    • Implement Deref and DerefMut for AsyncConnectionWrapper to allow using it in an async context as well
    Open source →
  14. 0.5.0 19 Jul 2024
    Release notes
    • Added type diesel_async::pooled_connection::mobc::PooledConnection
    • MySQL/MariaDB now use CLIENT_FOUND_ROWS capability to allow consistent behaviour with PostgreSQL regarding return value of UPDATe commands.
    • The minimal supported rust version is now 1.78.0
    • Add a SyncConnectionWrapper type that turns a sync connection into an async one. This enables SQLite support for diesel-async
    • Add support for diesel::connection::Instrumentation to support logging and other instrumentation for any of the provided connection impls.
    • Bump minimal supported mysql_async version to 0.34
    Open source →
  15. 0.4.1 01 Sep 2023
    Release notes
    • Fixed feature flags for docs.rs
    Open source →
  16. 0.4.0 01 Sep 2023
    Release notes
    • Add a AsyncConnectionWrapper type to turn a diesel_async::AsyncConnection into a diesel::Connection. This might be used to execute migrations via diesel_migrations.
    • Add some connection pool configurations to specify how connections in the pool should be checked if they are still valid
    Open source →
  17. 0.3.2 24 Jul 2023
    Release notes
    • Fix TinyInt serialization
    • Check for open transactions before returning the connection to the pool
    Open source →
  18. 0.3.1 07 Jun 2023
    Release notes
    • Minor readme fixes
    • Add a missing UpdateAndFetchResults impl
    Open source →
  19. 0.3.0 26 May 2023
    Release notes
    • Compatibility with diesel 2.1
    Open source →
  20. 0.2.2 14 Apr 2023
    Release notes
    • Dependency updates for mysql-async to allow newer versions
    Open source →
  21. 0.2.1 08 Mar 2023
    Release notes
    • Dependency updates for mobc and mysql-async to allow newer versions as well
    • Extend the README
    • Improve the version constraint for diesel so that we do not end up using a newer diesel version that's incompatible
    Open source →
  22. 0.2.0 16 Dec 2022
    Release notes
    • #38 Relax the requirements for borrowed captures in the transaction closure
    • #41 Remove GAT workarounds from various traits (Raises the MSRV to 1.65)
    • #42 Add an additional AsyncDieselConnectionManager constructor that allows to specify a custom connection setup method to allow setting up postgres TLS connections
    • Relicense the crate under the MIT or Apache 2.0 License
    Open source →
  23. 0.1.1 19 Oct 2022
    Release notes

    Fixes

    • Fix prepared statement leak for the mysql backend implementation
    Open source →
  24. 0.1.0 27 Sep 2022
    Release notes
    • Initial release
    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