From 793873bdc93ca642a4984651b467d6989345defd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2025 10:22:41 +0200 Subject: [PATCH] Update Rust crate sqlx to v0.8.3 (#22867) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [sqlx](https://redirect.github.com/launchbadge/sqlx) | dev-dependencies | patch | `0.8.2` -> `0.8.3` | | [sqlx](https://redirect.github.com/launchbadge/sqlx) | dependencies | patch | `0.8.2` -> `0.8.3` | --- ### Release Notes
launchbadge/sqlx (sqlx) ### [`v0.8.3`](https://redirect.github.com/launchbadge/sqlx/blob/HEAD/CHANGELOG.md#083---2025-01-03) [Compare Source](https://redirect.github.com/launchbadge/sqlx/compare/v0.8.2...v0.8.3) 41 pull requests were merged this release cycle. ##### Added - \[[#​3418]]: parse timezone parameter in mysql connection url \[\[[@​dojiong](https://redirect.github.com/dojiong)]] - \[[#​3491]]: chore: Update async-std v1.13 \[\[[@​jayvdb](https://redirect.github.com/jayvdb)]] - \[[#​3492]]: expose relation_id and relation_attribution_no on PgColumn \[\[[@​kurtbuilds](https://redirect.github.com/kurtbuilds)]] - \[[#​3493]]: doc(sqlite): document behavior for zoned date-time types \[\[[@​abonander](https://redirect.github.com/abonander)]] - \[[#​3500]]: Add sqlite commit and rollback hooks \[\[[@​gridbox](https://redirect.github.com/gridbox)]] - \[[#​3505]]: chore(mysql): create test for passwordless auth ([#​3484](https://redirect.github.com/launchbadge/sqlx/issues/3484)) \[\[[@​abonander](https://redirect.github.com/abonander)]] - \[[#​3507]]: Add a "sqlite-unbundled" feature that dynamically links to system libsqlite3.so library \[\[[@​lilydjwg](https://redirect.github.com/lilydjwg)]] - \[[#​3508]]: doc(sqlite): show how to turn options into a pool \[\[[@​M3t0r](https://redirect.github.com/M3t0r)]] - \[[#​3514]]: Support PgHstore by default in macros \[\[[@​joeydewaal](https://redirect.github.com/joeydewaal)]] - \[[#​3550]]: Implement Acquire for PgListener \[\[[@​sandhose](https://redirect.github.com/sandhose)]] - \[[#​3551]]: Support building with rustls but native certificates \[\[[@​IlyaBizyaev](https://redirect.github.com/IlyaBizyaev)]] - \[[#​3553]]: Add support for Postgres lquery arrays \[\[[@​philipcristiano](https://redirect.github.com/philipcristiano)]] - \[[#​3560]]: Add PgListener::next_buffered(), to support batch processing of notifications \[\[[@​chanks](https://redirect.github.com/chanks)]] - \[[#​3577]]: Derive Copy where possible for database-specific types \[\[[@​veigaribo](https://redirect.github.com/veigaribo)]] - \[[#​3579]]: Reexport AnyTypeInfoKind \[\[[@​Norlock](https://redirect.github.com/Norlock)]] - \[[#​3580]]: doc(mysql): document difference between `Uuid` and `uuid::fmt::Hyphenated` \[\[[@​abonander](https://redirect.github.com/abonander)]] - \[[#​3583]]: feat: point \[\[[@​jayy-lmao](https://redirect.github.com/jayy-lmao)]] - \[[#​3608]]: Implement AnyQueryResult for Sqlite and MySQL \[\[[@​pxp9](https://redirect.github.com/pxp9)]] - \[[#​3623]]: feat: add geometry line \[\[[@​jayy-lmao](https://redirect.github.com/jayy-lmao)]] - \[[#​3658]]: feat: add Transaction type aliases \[\[[@​joeydewaal](https://redirect.github.com/joeydewaal)]] ##### Changed - \[[#​3519]]: Remove unused dependencies from sqlx-core, sqlx-cli and sqlx-postgres \[\[[@​vsuryamurthy](https://redirect.github.com/vsuryamurthy)]] - \[[#​3529]]: Box Pgconnection fields \[\[[@​joeydewaal](https://redirect.github.com/joeydewaal)]] - \[[#​3548]]: Demote `.pgpass` file warning to a debug message. \[\[[@​denschub](https://redirect.github.com/denschub)]] - \[[#​3585]]: Eagerly reconnect in `PgListener::try_recv` \[\[[@​swlynch99](https://redirect.github.com/swlynch99)]] - \[[#​3596]]: Bump thiserror to v2.0.0 \[\[[@​paolobarbolini](https://redirect.github.com/paolobarbolini)]] - \[[#​3605]]: Use `UNION ALL` instead of `UNION` in nullable check \[\[[@​Suficio](https://redirect.github.com/Suficio)]] - \[[#​3629]]: chore: remove BoxFuture's (non-breaking) \[\[[@​joeydewaal](https://redirect.github.com/joeydewaal)]] - \[[#​3632]]: Bump hashlink to v0.10 \[\[[@​paolobarbolini](https://redirect.github.com/paolobarbolini)]] - \[[#​3643]]: Roll PostgreSQL 11..=15 tests to 13..=17 \[\[[@​paolobarbolini](https://redirect.github.com/paolobarbolini)]] - \[[#​3648]]: close listener connection on TimedOut and BrokenPipe errors \[\[[@​DXist](https://redirect.github.com/DXist)]] - \[[#​3649]]: Bump hashbrown to v0.15 \[\[[@​paolobarbolini](https://redirect.github.com/paolobarbolini)]] ##### Fixed - \[[#​3528]]: fix: obey `no-transaction` flag in down migrations \[\[[@​manifest](https://redirect.github.com/manifest)]] - \[[#​3536]]: fix: using sqlx::test macro inside macro's \[\[[@​joeydewaal](https://redirect.github.com/joeydewaal)]] - \[[#​3545]]: fix: remove `sqlformat` \[\[[@​tbar4](https://redirect.github.com/tbar4)]] - \[[#​3558]]: fix: fix example code of `query_as` \[\[[@​xuehaonan27](https://redirect.github.com/xuehaonan27)]] - \[[#​3566]]: Fix: Cannot query Postgres `INTERVAL[]` \[\[[@​Ddystopia](https://redirect.github.com/Ddystopia)]] - \[[#​3593]]: fix: URL decode database name when parsing connection url \[\[[@​BenoitRanque](https://redirect.github.com/BenoitRanque)]] - \[[#​3601]]: Remove default-features = false from url \[\[[@​hsivonen](https://redirect.github.com/hsivonen)]] - \[[#​3604]]: Fix mistake in sqlx::test fixtures docs \[\[[@​andreweggleston](https://redirect.github.com/andreweggleston)]] - \[[#​3612]]: fix(mysql): percent-decode database name \[\[[@​abonander](https://redirect.github.com/abonander)]] - \[[#​3640]]: Dont use `EXPLAIN` in nullability check for QuestDB \[\[[@​Suficio](https://redirect.github.com/Suficio)]] [#​3418]: https://redirect.github.com/launchbadge/sqlx/pull/3418 [#​3478]: https://redirect.github.com/launchbadge/sqlx/pull/3478 [#​3491]: https://redirect.github.com/launchbadge/sqlx/pull/3491 [#​3492]: https://redirect.github.com/launchbadge/sqlx/pull/3492 [#​3493]: https://redirect.github.com/launchbadge/sqlx/pull/3493 [#​3500]: https://redirect.github.com/launchbadge/sqlx/pull/3500 [#​3505]: https://redirect.github.com/launchbadge/sqlx/pull/3505 [#​3507]: https://redirect.github.com/launchbadge/sqlx/pull/3507 [#​3508]: https://redirect.github.com/launchbadge/sqlx/pull/3508 [#​3514]: https://redirect.github.com/launchbadge/sqlx/pull/3514 [#​3519]: https://redirect.github.com/launchbadge/sqlx/pull/3519 [#​3528]: https://redirect.github.com/launchbadge/sqlx/pull/3528 [#​3529]: https://redirect.github.com/launchbadge/sqlx/pull/3529 [#​3536]: https://redirect.github.com/launchbadge/sqlx/pull/3536 [#​3545]: https://redirect.github.com/launchbadge/sqlx/pull/3545 [#​3548]: https://redirect.github.com/launchbadge/sqlx/pull/3548 [#​3550]: https://redirect.github.com/launchbadge/sqlx/pull/3550 [#​3551]: https://redirect.github.com/launchbadge/sqlx/pull/3551 [#​3553]: https://redirect.github.com/launchbadge/sqlx/pull/3553 [#​3558]: https://redirect.github.com/launchbadge/sqlx/pull/3558 [#​3560]: https://redirect.github.com/launchbadge/sqlx/pull/3560 [#​3566]: https://redirect.github.com/launchbadge/sqlx/pull/3566 [#​3577]: https://redirect.github.com/launchbadge/sqlx/pull/3577 [#​3579]: https://redirect.github.com/launchbadge/sqlx/pull/3579 [#​3580]: https://redirect.github.com/launchbadge/sqlx/pull/3580 [#​3583]: https://redirect.github.com/launchbadge/sqlx/pull/3583 [#​3585]: https://redirect.github.com/launchbadge/sqlx/pull/3585 [#​3593]: https://redirect.github.com/launchbadge/sqlx/pull/3593 [#​3596]: https://redirect.github.com/launchbadge/sqlx/pull/3596 [#​3601]: https://redirect.github.com/launchbadge/sqlx/pull/3601 [#​3604]: https://redirect.github.com/launchbadge/sqlx/pull/3604 [#​3605]: https://redirect.github.com/launchbadge/sqlx/pull/3605 [#​3608]: https://redirect.github.com/launchbadge/sqlx/pull/3608 [#​3612]: https://redirect.github.com/launchbadge/sqlx/pull/3612 [#​3623]: https://redirect.github.com/launchbadge/sqlx/pull/3623 [#​3629]: https://redirect.github.com/launchbadge/sqlx/pull/3629 [#​3632]: https://redirect.github.com/launchbadge/sqlx/pull/3632 [#​3640]: https://redirect.github.com/launchbadge/sqlx/pull/3640 [#​3643]: https://redirect.github.com/launchbadge/sqlx/pull/3643 [#​3648]: https://redirect.github.com/launchbadge/sqlx/pull/3648 [#​3649]: https://redirect.github.com/launchbadge/sqlx/pull/3649 [#​3658]: https://redirect.github.com/launchbadge/sqlx/pull/3658
--- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- Release Notes: - N/A Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 53 +++++++++++++++++++++++------------------------------ 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 771bd34efb626585d18af245c9f86b37fa07a1d8..4b7791e0e3abbefaa3c9ab36ac6dfa39449ac2c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5628,11 +5628,11 @@ dependencies = [ [[package]] name = "hashlink" -version = "0.9.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af" +checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.15.2", ] [[package]] @@ -10040,7 +10040,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes 1.9.0", - "heck 0.5.0", + "heck 0.4.1", "itertools 0.12.1", "log", "multimap 0.10.0", @@ -12197,9 +12197,9 @@ dependencies = [ [[package]] name = "sqlx" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93334716a037193fac19df402f8571269c84a00852f6a7066b5d2616dcd64d3e" +checksum = "4410e73b3c0d8442c5f99b425d7a435b5ee0ae4167b3196771dd3f7a01be745f" dependencies = [ "sqlx-core", "sqlx-macros", @@ -12210,32 +12210,27 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d8060b456358185f7d50c55d9b5066ad956956fddec42ee2e8567134a8936e" +checksum = "6a007b6936676aa9ab40207cde35daab0a04b823be8ae004368c0793b96a61e0" dependencies = [ - "atoi", "bigdecimal", - "byteorder", "bytes 1.9.0", "chrono", "crc", "crossbeam-queue", "either", "event-listener 5.3.1", - "futures-channel", "futures-core", "futures-intrusive", "futures-io", "futures-util", - "hashbrown 0.14.5", - "hashlink 0.9.1", - "hex", + "hashbrown 0.15.2", + "hashlink 0.10.0", "indexmap", "log", "memchr", "once_cell", - "paste", "percent-encoding", "rust_decimal", "rustls 0.23.20", @@ -12244,8 +12239,7 @@ dependencies = [ "serde_json", "sha2", "smallvec", - "sqlformat", - "thiserror 1.0.69", + "thiserror 2.0.6", "time", "tokio", "tokio-stream", @@ -12257,9 +12251,9 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cac0692bcc9de3b073e8d747391827297e075c7710ff6276d9f7a1f3d58c6657" +checksum = "3112e2ad78643fef903618d78cf0aec1cb3134b019730edb039b69eaf531f310" dependencies = [ "proc-macro2", "quote", @@ -12270,9 +12264,9 @@ dependencies = [ [[package]] name = "sqlx-macros-core" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1804e8a7c7865599c9c79be146dc8a9fd8cc86935fa641d3ea58e5f0688abaa5" +checksum = "4e9f90acc5ab146a99bf5061a7eb4976b573f560bc898ef3bf8435448dd5e7ad" dependencies = [ "dotenvy", "either", @@ -12296,9 +12290,9 @@ dependencies = [ [[package]] name = "sqlx-mysql" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64bb4714269afa44aef2755150a0fc19d756fb580a67db8885608cf02f47d06a" +checksum = "4560278f0e00ce64938540546f59f590d60beee33fffbd3b9cd47851e5fff233" dependencies = [ "atoi", "base64 0.22.1", @@ -12334,7 +12328,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 1.0.69", + "thiserror 2.0.6", "time", "tracing", "uuid", @@ -12343,9 +12337,9 @@ dependencies = [ [[package]] name = "sqlx-postgres" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fa91a732d854c5d7726349bb4bb879bb9478993ceb764247660aee25f67c2f8" +checksum = "c5b98a57f363ed6764d5b3a12bfedf62f07aa16e1856a7ddc2a0bb190a959613" dependencies = [ "atoi", "base64 0.22.1", @@ -12358,7 +12352,6 @@ dependencies = [ "etcetera", "futures-channel", "futures-core", - "futures-io", "futures-util", "hex", "hkdf", @@ -12378,7 +12371,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 1.0.69", + "thiserror 2.0.6", "time", "tracing", "uuid", @@ -12387,9 +12380,9 @@ dependencies = [ [[package]] name = "sqlx-sqlite" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5b2cf34a45953bfd3daaf3db0f7a7878ab9b7a6b91b422d24a7a9e4c857b680" +checksum = "f85ca71d3a5b24e64e1d08dd8fe36c6c95c339a896cc33068148906784620540" dependencies = [ "atoi", "chrono",