Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update diesel-async requirement from 0.4.1 to 0.5.0 #606

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2024

Updates the requirements on diesel-async to permit the latest version.

Release notes

Sourced from diesel-async's releases.

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: weiznich/diesel_async@v0.4.0...v0.5.0

Changelog

Sourced from diesel-async's changelog.

[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
  • 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

[0.4.1] - 2023-09-01

  • Fixed feature flags for docs.rs

[0.4.0] - 2023-09-01

  • 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

[0.3.2] - 2023-07-24

  • Fix TinyInt serialization
  • Check for open transactions before returning the connection to the pool

[0.3.1] - 2023-06-07

  • Minor readme fixes
  • Add a missing UpdateAndFetchResults impl

[0.3.0] - 2023-05-26

  • Compatibility with diesel 2.1

[0.2.2] - 2023-04-14

  • Dependency updates for mysql-async to allow newer versions

[0.2.1] - 2023-03-08

  • 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

[0.2.0] - 2022-12-16

  • #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

... (truncated)

Commits
  • acc20f4 Bump version
  • 7acd826 Merge pull request #173 from weiznich/prepare/0.5
  • e28fe70 Prepare a diesel-async 0.5 release
  • f8d44e0 Merge pull request #172 from weiznich/feature/expose_sqlite_methods
  • a893571 Merge pull request #154 from dullbananas/patch-3
  • 622fa21 Expose the Sqlite immediate_transaction and exclusive_transaction functio...
  • 09dc1ad Remove unwanted default feature
  • 1ddc2df Drive by clippy fixes
  • ff0ccf3 Some more cleanup
  • 3d8b5a5 Merge remote-tracking branch 'origin/main' into patch-3
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [diesel-async](https://github.com/weiznich/diesel_async) to permit the latest version.
- [Release notes](https://github.com/weiznich/diesel_async/releases)
- [Changelog](https://github.com/weiznich/diesel_async/blob/main/CHANGELOG.md)
- [Commits](weiznich/diesel_async@v0.4.1...v0.5.0)

---
updated-dependencies:
- dependency-name: diesel-async
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file skip-changelog The PR will not appear in the release changelogs labels Aug 1, 2024
Copy link
Member

@curquiza curquiza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors merge

Copy link
Contributor

meili-bors bot commented Aug 1, 2024

@meili-bors meili-bors bot merged commit 35f1bd5 into main Aug 1, 2024
7 checks passed
@meili-bors meili-bors bot deleted the dependabot/cargo/diesel-async-0.5.0 branch August 1, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file skip-changelog The PR will not appear in the release changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant