Skip to content

Commit

Permalink
Prepare a diesel-async 0.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Jul 19, 2024
1 parent f8d44e0 commit e28fe70
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ for Rust libraries in [RFC #1105](https:/rust-lang/rfcs/blob/master/

## [Unreleased]

## [0.5.0] - 2024-07-19

* 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
Expand Down Expand Up @@ -61,7 +63,6 @@ in the pool should be checked if they are still valid

* Fix prepared statement leak for the mysql backend implementation


## 0.1.0 - 2022-09-27

* Initial release
Expand All @@ -75,4 +76,5 @@ in the pool should be checked if they are still valid
[0.3.2]: https:/weiznich/diesel_async/compare/v0.3.1...v0.3.2
[0.4.0]: https:/weiznich/diesel_async/compare/v0.3.2...v0.4.0
[0.4.1]: https:/weiznich/diesel_async/compare/v0.4.0...v0.4.1
[Unreleased]: https:/weiznich/diesel_async/compare/v0.4.1...main
[0.5.0]: https:/weiznich/diesel_async/compare/v0.4.0...v0.5.0
[Unreleased]: https:/weiznich/diesel_async/compare/v0.5.0...main
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ sqlite = ["diesel/sqlite", "sync-connection-wrapper"]
sync-connection-wrapper = ["tokio/rt"]
async-connection-wrapper = ["tokio/net"]
r2d2 = ["diesel/r2d2"]
bb8 = ["dep:bb8"]
mobc = ["dep:mobc"]
deadpool = ["dep:deadpool"]

[[test]]
name = "integration_tests"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//!
//! * [`AsyncMysqlConnection`] (enabled by the `mysql` feature)
//! * [`AsyncPgConnection`] (enabled by the `postgres` feature)
//! * [`SyncConnectionWrapper`] (enabled by the `sync-connection-wrapper` feature)
//! * [`SyncConnectionWrapper`] (enabled by the `sync-connection-wrapper`/`sqlite` feature)
//!
//! Ordinary usage of `diesel-async` assumes that you just replace the corresponding sync trait
//! method calls and connections with their async counterparts.
Expand Down

0 comments on commit e28fe70

Please sign in to comment.