Releases: weiznich/diesel_async
Releases · weiznich/diesel_async
Diesel Async 0.5.2
What's Changed
- Fixed an issue around transaction cancellation that could lead to connection pools containing connections with dangling transactions
You can support the development of diesel-async by contributions or by sponsoring the project on Github.
Full Changelog: v0.5.1...v0.5.2
Diesel Async 0.5.1
What's Changed
- Add crate feature
pool
for extending connection pool implements through external crate - Implement
Deref
andDerefMut
forAsyncConnectionWrapper
to allow using it in an async context as well
New Contributors
- @korir248 made their first contribution in #180
- @fakeshadow made their first contribution in #188
- @ollyswanson made their first contribution in #189
- @Turbo87 made their first contribution in #195
Full Changelog: v0.5.0...v0.5.1
Diesel-Async 0.5.0
- 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
A special thanks goes to @momobel and Wattsense for contributing the SyncConnectionWrapper
implementation.
To support future development efforts, please consider sponsoring me on GitHub.
Full Changelog: v0.4.0...v0.5.0
Diesel-Async 0.4.1
- Add a
AsyncConnectionWrapper
type to turn adiesel_async::AsyncConnection
into adiesel::Connection
. This might be used to execute migrations viadiesel_migrations
. - Add some connection pool configurations to specify how connections
in the pool should be checked if they are still valid
Diesel-Async 0.3.2
- Fix
TinyInt
serialization - Check for open transactions before returning the connection to the pool
Diesel-async 0.3.1
- Minor readme fixes
- Implement
UpdateAndFetchResults
for pooled connections
Diesel-async 0.3.0
Compatibility with diesel 2.1
Diesel-async 0.2.2
This release updates the mysql_async dependency so that version 0.32 is allowed as well.
Diesel async 0.2.1
- Dependency updates for
mobc
andmysql-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
Diesel Async 0.2.0
- #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