CHANGELOG

This commit is contained in:
Billy Chan 2023-04-13 11:04:15 +08:00
parent 6833529441
commit 473b769386
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -47,6 +47,8 @@ assert_eq!(migration.name(), "m20220118_000002_create_fruit_table");
assert_eq!(migration.status(), MigrationStatus::Pending); 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 * 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<T, Value> where T: Into<String>` https://github.com/SeaQL/sea-orm/pull/1439
* Converts any string value into `ConnectOptions` - `impl From<T> for ConnectOptions where T: Into<String>` https://github.com/SeaQL/sea-orm/pull/1439
### Upgrades ### Upgrades
@ -101,6 +103,12 @@ pub enum StringValueVariant {
* Replaced `sea-strum` dependency with `strum` in `sea-orm` * Replaced `sea-strum` dependency with `strum` in `sea-orm`
* Re-exported `sea_orm_macros::EnumIter` instead of `strum::EnumIter` on the root of `sea-orm` * Re-exported `sea_orm_macros::EnumIter` instead of `strum::EnumIter` on the root of `sea-orm`
* The Variant Enum generated by `DeriveActiveEnum` will properly escape non-UAX#31 compliant characters * 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<String>` 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<String>` 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<Item = Value>, T: Into<String>` 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<Item = Value>, T: Into<String>` 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<String>` 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
## 0.11.3 - Pending ## 0.11.3 - Pending