Changelog

This commit is contained in:
Chris Tsang 2023-04-27 23:34:55 +08:00
parent a6646cdd2d
commit cd00ba371d

View File

@ -199,6 +199,13 @@ 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 * 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 * Converts any string value into `ConnectOptions` - `impl From<T> for ConnectOptions where T: Into<String>` 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<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
### Upgrades ### Upgrades
@ -282,18 +289,11 @@ CREATE TABLE users_saved_bills
### Breaking changes ### Breaking changes
* Supports for partial select of `Option<T>` model field. A `None` value will be filled when the select result does not contain the `Option<T>` field without throwing an error. https://github.com/SeaQL/sea-orm/pull/1513 * Supports for partial select of `Option<T>` model field. A `None` value will be filled when the select result does not contain the `Option<T>` field instead of throwing an error. https://github.com/SeaQL/sea-orm/pull/1513
* Replaced `sea-strum` dependency with upstream `strum` in `sea-orm`
* Added `derive` and `strum` features to `sea-orm-macros` * Added `derive` and `strum` features to `sea-orm-macros`
* Replaced `sea-strum` dependency with `strum` in `sea-orm` * The derive macro `EnumIter` is now shipped by `sea-orm-macros`
* Re-exported `sea_orm_macros::EnumIter` instead of `strum::EnumIter` on the root of `sea-orm` * Added a new variant `Many` to `Identity` https://github.com/SeaQL/sea-orm/pull/1508
* 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
* Added `Identity::Many` https://github.com/SeaQL/sea-orm/pull/1508
## 0.11.3 - 2023-04-24 ## 0.11.3 - 2023-04-24