Skip to content

Commit

Permalink
Merge #606
Browse files Browse the repository at this point in the history
606: Update diesel-async requirement from 0.4.1 to 0.5.0 r=curquiza a=dependabot[bot]

Updates the requirements on [diesel-async](https://github.com/weiznich/diesel_async) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/weiznich/diesel_async/releases">diesel-async's releases</a>.</em></p>
<blockquote>
<h2>Diesel-Async 0.5.0</h2>
<ul>
<li>Added type <code>diesel_async::pooled_connection::mobc::PooledConnection</code></li>
<li>MySQL/MariaDB now use <code>CLIENT_FOUND_ROWS</code> capability to allow consistent behaviour with PostgreSQL regarding return value of UPDATe commands.</li>
<li>The minimal supported rust version is now 1.78.0</li>
<li>Add a <code>SyncConnectionWrapper</code> type that turns a sync connection into an async one. This enables SQLite support for diesel-async</li>
<li>Add support for <code>diesel::connection::Instrumentation</code> to support logging and other instrumentation for any of the provided connection impls.</li>
<li>Bump minimal supported mysql_async version to 0.34</li>
</ul>
<p>A special thanks goes to <a href="https://github.com/momobel"><code>`@​momobel</code></a>`  and <a href="https://www.wattsense.com/">Wattsense</a> for contributing the <code>SyncConnectionWrapper</code> implementation.</p>
<p>To support future development efforts, please consider <a href="https://github.com/sponsors/weiznich/">sponsoring me on GitHub</a>.</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/weiznich/diesel_async/compare/v0.4.0...v0.5.0">https://github.com/weiznich/diesel_async/compare/v0.4.0...v0.5.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/weiznich/diesel_async/blob/main/CHANGELOG.md">diesel-async's changelog</a>.</em></p>
<blockquote>
<h2>[0.5.0] - 2024-07-19</h2>
<ul>
<li>Added type <code>diesel_async::pooled_connection::mobc::PooledConnection</code></li>
<li>MySQL/MariaDB now use <code>CLIENT_FOUND_ROWS</code> capability to allow consistent behaviour with PostgreSQL regarding return value of UPDATe commands.</li>
<li>The minimal supported rust version is now 1.78.0</li>
<li>Add a <code>SyncConnectionWrapper</code> type that turns a sync connection into an async one. This enables SQLite support for diesel-async</li>
<li>Add support for <code>diesel::connection::Instrumentation</code> to support logging and other instrumentation for any of the provided connection impls.</li>
<li>Bump minimal supported mysql_async version to 0.34</li>
</ul>
<h2>[0.4.1] - 2023-09-01</h2>
<ul>
<li>Fixed feature flags for docs.rs</li>
</ul>
<h2>[0.4.0] - 2023-09-01</h2>
<ul>
<li>Add a <code>AsyncConnectionWrapper</code> type to turn a <code>diesel_async::AsyncConnection</code> into a <code>diesel::Connection</code>. This might be used to execute migrations via <code>diesel_migrations</code>.</li>
<li>Add some connection pool configurations to specify how connections
in the pool should be checked if they are still valid</li>
</ul>
<h2>[0.3.2] - 2023-07-24</h2>
<ul>
<li>Fix <code>TinyInt</code> serialization</li>
<li>Check for open transactions before returning the connection to the pool</li>
</ul>
<h2>[0.3.1] - 2023-06-07</h2>
<ul>
<li>Minor readme fixes</li>
<li>Add a missing <code>UpdateAndFetchResults</code> impl</li>
</ul>
<h2>[0.3.0] - 2023-05-26</h2>
<ul>
<li>Compatibility with diesel 2.1</li>
</ul>
<h2>[0.2.2] - 2023-04-14</h2>
<ul>
<li>Dependency updates for <code>mysql-async</code> to allow newer versions</li>
</ul>
<h2>[0.2.1] - 2023-03-08</h2>
<ul>
<li>Dependency updates for <code>mobc</code> and <code>mysql-async</code> to allow newer versions as well</li>
<li>Extend the README</li>
<li>Improve the version constraint for diesel so that we do not end up using a newer
diesel version that's incompatible</li>
</ul>
<h2>[0.2.0] - 2022-12-16</h2>
<ul>
<li><a href="https://redirect.github.com/weiznich/diesel_async/pull/38">#38</a> Relax the requirements for borrowed captures in the transaction closure</li>
<li><a href="https://redirect.github.com/weiznich/diesel_async/pull/41">#41</a> Remove GAT workarounds from various traits (Raises the MSRV to 1.65)</li>
<li><a href="https://redirect.github.com/weiznich/diesel_async/pull/42">#42</a> Add an additional <code>AsyncDieselConnectionManager</code> constructor that allows to specify a custom connection setup method to allow setting up postgres TLS connections</li>
<li>Relicense the crate under the MIT or Apache 2.0 License</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/weiznich/diesel_async/commit/acc20f43223bd035a654cd4cf58d5b08057dc4bc"><code>acc20f4</code></a> Bump version</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/7acd8264e70d22ac6404eb20bbba514fef9d33f0"><code>7acd826</code></a> Merge pull request <a href="https://redirect.github.com/weiznich/diesel_async/issues/173">#173</a> from weiznich/prepare/0.5</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/e28fe7048ae8c3ce0519bc32cccd0b7fd301ba1f"><code>e28fe70</code></a> Prepare a diesel-async 0.5 release</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/f8d44e04b6461eee737db74e14975b5c3a43d3e1"><code>f8d44e0</code></a> Merge pull request <a href="https://redirect.github.com/weiznich/diesel_async/issues/172">#172</a> from weiznich/feature/expose_sqlite_methods</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/a8935713b2153a6cb637dbe860c9cf753a35fdf6"><code>a893571</code></a> Merge pull request <a href="https://redirect.github.com/weiznich/diesel_async/issues/154">#154</a> from dullbananas/patch-3</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/622fa21cdc9e85a4c0c4833a5c09334af03fcf90"><code>622fa21</code></a> Expose the Sqlite <code>immediate_transaction</code> and <code>exclusive_transaction</code> functio...</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/09dc1ad7a5679657b55aac5af8f2127384a9987b"><code>09dc1ad</code></a> Remove unwanted default feature</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/1ddc2dfdb1e60b336de03ecc04ba3bb15b596e17"><code>1ddc2df</code></a> Drive by clippy fixes</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/ff0ccf397a918c92dddc20f5867263db1bb19181"><code>ff0ccf3</code></a> Some more cleanup</li>
<li><a href="https://github.com/weiznich/diesel_async/commit/3d8b5a525146050c0ab13088e133e157e0447cfb"><code>3d8b5a5</code></a> Merge remote-tracking branch 'origin/main' into patch-3</li>
<li>Additional commits viewable in <a href="https://github.com/weiznich/diesel_async/compare/v0.4.1...v0.5.0">compare view</a></li>
</ul>
</details>
<br />


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

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and dependabot[bot] authored Aug 1, 2024
2 parents c673c8d + adfaf38 commit 35f1bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/web_app_graphql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ actix-web = "4.4.0"
async-graphql = "6.0.11"
async-graphql-actix-web = "6.0.11"
diesel = { version = "2.1.4", features = ["postgres"] }
diesel-async = { version = "0.4.1", features = ["postgres", "deadpool"] }
diesel-async = { version = "0.5.0", features = ["postgres", "deadpool"] }
diesel_migrations = "2.1.0"
dotenvy = "0.15.7"
env_logger = "0.11.3"
Expand Down

0 comments on commit 35f1bd5

Please sign in to comment.