Releases: weiznich/diesel_async
Releases · weiznich/diesel_async
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
Diesel Async 0.1.1
Fix prepared statement leak for the mysql backend implementation
Initial release
This marks the initial release of diesel-async. It features the general setup + two concrete pure rust connection implementations for the mysql and postgresql backend.