Skip to content

Releases: weiznich/diesel_async

Diesel-Async 0.5.0

19 Jul 11:41
v0.5.0
acc20f4
Compare
Choose a tag to compare
  • 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

01 Sep 10:18
v0.4.1
ec38eca
Compare
Choose a tag to compare
  • 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

Diesel-Async 0.3.2

24 Jul 13:44
v0.3.2
5ba4375
Compare
Choose a tag to compare
  • Fix TinyInt serialization
  • Check for open transactions before returning the connection to the pool

Diesel-async 0.3.1

07 Jun 14:13
v0.3.1
b95650f
Compare
Choose a tag to compare
  • Minor readme fixes
  • Implement UpdateAndFetchResults for pooled connections

Diesel-async 0.3.0

26 May 08:43
v0.3.0
c61deaf
Compare
Choose a tag to compare

Compatibility with diesel 2.1

Diesel-async 0.2.2

14 Apr 15:01
v0.2.2
aad33c6
Compare
Choose a tag to compare

This release updates the mysql_async dependency so that version 0.32 is allowed as well.

Diesel async 0.2.1

08 Mar 20:23
v0.2.1
a7bd93f
Compare
Choose a tag to compare
  • 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

Diesel Async 0.2.0

16 Dec 08:17
v0.2.0
de4dcd4
Compare
Choose a tag to compare
  • #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

19 Oct 18:52
v0.1.1
b9ad3ad
Compare
Choose a tag to compare

Fix prepared statement leak for the mysql backend implementation

Initial release

28 Sep 06:15
v0.1.0
9221da1
Compare
Choose a tag to compare

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.