diff --git a/CHANGELOG.md b/CHANGELOG.md index c03c190c..742ab01c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -117,13 +117,13 @@ assert_eq!( .join(" ") ); ``` -* Implemented `IntoIdentity` for `Identity` https://github.com/SeaQL/sea-orm/pull/1508 -* `Identity` supports up to identity tuple of `DynIden` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 -* Implemented `IntoIdentity` for tuple of `IdenStatic` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 -* Implemented `IdentityOf` for tuple of `ColumnTrait` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 -* Implemented `TryGetableMany` for tuple of `TryGetable` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 -* Implemented `TryFromU64` for tuple of `TryFromU64` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 * Supports entity with composite primary key of length 12 https://github.com/SeaQL/sea-orm/pull/1508 + * Implemented `IntoIdentity` for `Identity` https://github.com/SeaQL/sea-orm/pull/1508 + * `Identity` supports up to identity tuple of `DynIden` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 + * Implemented `IntoIdentity` for tuple of `IdenStatic` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 + * Implemented `IdentityOf` for tuple of `ColumnTrait` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 + * Implemented `TryGetableMany` for tuple of `TryGetable` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 + * Implemented `TryFromU64` for tuple of `TryFromU64` with length up to 12 https://github.com/SeaQL/sea-orm/pull/1508 ```rs use sea_orm::entity::prelude::*; @@ -197,15 +197,15 @@ assert_eq!(migration.name(), "m20220118_000002_create_fruit_table"); assert_eq!(migration.status(), MigrationStatus::Pending); ``` * The `postgres-array` feature will be enabled when `sqlx-postgres` backend is selected https://github.com/SeaQL/sea-orm/pull/1565 -* Implements `IntoMockRow` for any `BTreeMap` that is indexed by string `impl IntoMockRow for BTreeMap where T: Into` https://github.com/SeaQL/sea-orm/pull/1439 -* Converts any string value into `ConnectOptions` - `impl From for ConnectOptions where T: Into` https://github.com/SeaQL/sea-orm/pull/1439 -* The Variant Enum generated by `DeriveActiveEnum` will properly escape non-UAX#31 compliant characters -* Changed the parameter of method `ConnectOptions::new(T) where T: Into` to takes any string SQL https://github.com/SeaQL/sea-orm/pull/1439 -* Changed the parameter of method `Statement::from_string(DbBackend, T) where T: Into` to takes any string SQL https://github.com/SeaQL/sea-orm/pull/1439 -* Changed the parameter of method `Statement::from_sql_and_values(DbBackend, T, I) where I: IntoIterator, T: Into` to takes any string SQL https://github.com/SeaQL/sea-orm/pull/1439 -* Changed the parameter of method `Transaction::from_sql_and_values(DbBackend, T, I) where I: IntoIterator, T: Into` to takes any string SQL https://github.com/SeaQL/sea-orm/pull/1439 -* Changed the parameter of method `ConnectOptions::set_schema_search_path(T) where T: Into` to takes any string https://github.com/SeaQL/sea-orm/pull/1439 -* Changed the parameter of method `ColumnTrait::like()`, `ColumnTrait::not_like()`, `ColumnTrait::starts_with()`, `ColumnTrait::ends_with()` and `ColumnTrait::contains()` to takes any string https://github.com/SeaQL/sea-orm/pull/1439 +* Replace `String` parameters in API with `Into` https://github.com/SeaQL/sea-orm/pull/1439 + * Implements `IntoMockRow` for any `BTreeMap` that is indexed by string `impl IntoMockRow for BTreeMap where T: Into` + * Converts any string value into `ConnectOptions` - `impl From for ConnectOptions where T: Into` + * Changed the parameter of method `ConnectOptions::new(T) where T: Into` to takes any string SQL + * Changed the parameter of method `Statement::from_string(DbBackend, T) where T: Into` to takes any string SQL + * Changed the parameter of method `Statement::from_sql_and_values(DbBackend, T, I) where I: IntoIterator, T: Into` to takes any string SQL + * Changed the parameter of method `Transaction::from_sql_and_values(DbBackend, T, I) where I: IntoIterator, T: Into` to takes any string SQL + * Changed the parameter of method `ConnectOptions::set_schema_search_path(T) where T: Into` to takes any string + * Changed the parameter of method `ColumnTrait::like()`, `ColumnTrait::not_like()`, `ColumnTrait::starts_with()`, `ColumnTrait::ends_with()` and `ColumnTrait::contains()` to takes any string ### Upgrades