From 1732cdb90aba33d360b7501c6b4209870ea4fe1f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 08:13:25 +0000 Subject: [PATCH] Update Rust crate sea-orm to v1.1.6 (#25696) 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 | |---|---|---|---| | [sea-orm](https://www.sea-ql.org/SeaORM) ([source](https://redirect.github.com/SeaQL/sea-orm)) | dev-dependencies | patch | `1.1.5` -> `1.1.6` | | [sea-orm](https://www.sea-ql.org/SeaORM) ([source](https://redirect.github.com/SeaQL/sea-orm)) | dependencies | patch | `1.1.5` -> `1.1.6` | --- ### Release Notes
SeaQL/sea-orm (sea-orm) ### [`v1.1.6`](https://redirect.github.com/SeaQL/sea-orm/blob/HEAD/CHANGELOG.md#116---2025-02-24) [Compare Source](https://redirect.github.com/SeaQL/sea-orm/compare/1.1.5...1.1.6) ##### New Features - Support PgVector [https://github.com/SeaQL/sea-orm/pull/2500](https://redirect.github.com/SeaQL/sea-orm/pull/2500) - Added `Insert::exec_with_returning_keys` & `Insert::exec_with_returning_many` (Postgres only) ```rust assert_eq!( Entity::insert_many([ ActiveModel { id: NotSet, name: Set("two".into()) }, ActiveModel { id: NotSet, name: Set("three".into()) }, ]) .exec_with_returning_many(db) .await .unwrap(), [ Model { id: 2, name: "two".into() }, Model { id: 3, name: "three".into() }, ] ); assert_eq!( cakes_bakers::Entity::insert_many([ cakes_bakers::ActiveModel { cake_id: Set(1), baker_id: Set(2), }, cakes_bakers::ActiveModel { cake_id: Set(2), baker_id: Set(1), }, ]) .exec_with_returning_keys(db) .await .unwrap(), [(1, 2), (2, 1)] ); ``` - Added `DeleteOne::exec_with_returning` & `DeleteMany::exec_with_returning` [https://github.com/SeaQL/sea-orm/pull/2432](https://redirect.github.com/SeaQL/sea-orm/pull/2432) ##### Enhancements - Expose underlying row types (e.g. `sqlx::postgres::PgRow`) [https://github.com/SeaQL/sea-orm/pull/2265](https://redirect.github.com/SeaQL/sea-orm/pull/2265) - \[sea-orm-cli] Added `acquire-timeout` option [https://github.com/SeaQL/sea-orm/pull/2461](https://redirect.github.com/SeaQL/sea-orm/pull/2461) - \[sea-orm-cli] Added `with-prelude` option [https://github.com/SeaQL/sea-orm/pull/2322](https://redirect.github.com/SeaQL/sea-orm/pull/2322) - \[sea-orm-cli] Added `impl-active-model-behavior` option [https://github.com/SeaQL/sea-orm/pull/2487](https://redirect.github.com/SeaQL/sea-orm/pull/2487) ##### Bug Fixes - Fixed `seaography::register_active_enums` macro [https://github.com/SeaQL/sea-orm/pull/2475](https://redirect.github.com/SeaQL/sea-orm/pull/2475) ##### House keeping - Remove `futures` crate, replace with `futures-util` [https://github.com/SeaQL/sea-orm/pull/2466](https://redirect.github.com/SeaQL/sea-orm/pull/2466)
--- ### 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 | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fe816aca404719233d84cb346076b4221ad6f2f7..4e4cbf10b61e91e3a697d6a8a1b4063c27a28eb4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1807,7 +1807,7 @@ dependencies = [ "bitflags 2.8.0", "cexpr", "clang-sys", - "itertools 0.12.1", + "itertools 0.10.5", "lazy_static", "lazycell", "log", @@ -1830,7 +1830,7 @@ dependencies = [ "bitflags 2.8.0", "cexpr", "clang-sys", - "itertools 0.12.1", + "itertools 0.10.5", "log", "prettyplease", "proc-macro2", @@ -7269,7 +7269,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -9756,6 +9756,15 @@ dependencies = [ "indexmap", ] +[[package]] +name = "pgvector" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0e8871b6d7ca78348c6cd29b911b94851f3429f0cd403130ca17f26c1fb91a6" +dependencies = [ + "serde", +] + [[package]] name = "phf" version = "0.11.2" @@ -10380,7 +10389,7 @@ checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ "bytes 1.10.0", "heck 0.5.0", - "itertools 0.12.1", + "itertools 0.10.5", "log", "multimap 0.10.0", "once_cell", @@ -10413,7 +10422,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", - "itertools 0.12.1", + "itertools 0.10.5", "proc-macro2", "quote", "syn 2.0.90", @@ -11820,17 +11829,18 @@ dependencies = [ [[package]] name = "sea-orm" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00733e5418e8ae3758cdb988c3654174e716230cc53ee2cb884207cf86a23029" +checksum = "13fba7b2c749b2d0a00303d5cb13e6761e39a4172554bdf930852cac4e7aeabd" dependencies = [ "async-stream", "async-trait", "bigdecimal", "chrono", - "futures 0.3.31", + "futures-util", "log", "ouroboros", + "pgvector", "rust_decimal", "sea-orm-macros", "sea-query", @@ -11848,9 +11858,9 @@ dependencies = [ [[package]] name = "sea-orm-macros" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a98408f82fb4875d41ef469a79944a7da29767c7b3e4028e22188a3dd613b10f" +checksum = "2568cff8d35d5150b4276cc0dd766192a587f64b6ece60ae3706e0872c4eb209" dependencies = [ "heck 0.4.1", "proc-macro2",