Changelog

This commit is contained in:
Chris Tsang 2022-07-23 15:05:43 +08:00
parent 12d3e602f2
commit db538917f1

View File

@ -67,6 +67,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Breaking changes
* `SelectTwoMany::one()` has been dropped https://github.com/SeaQL/sea-orm/pull/813, you can get `(Entity, Vec<RelatedEntity>)` by first querying a single model from Entity, then use [`ModelTrait::find_related`] on the model.
* #### Feature flag revamp
We now adopt the [weak dependency](https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html#new-syntax-for-cargo-features) syntax in Cargo. That means the flags `["sqlx-json", "sqlx-chrono", "sqlx-decimal", "sqlx-uuid", "sqlx-time"]` are not needed and now removed. Instead, `with-time` will enable `sqlx?/time` only if `sqlx` is already enabled. Also, now the flags `with-json`, `with-chrono`, `with-rust_decimal`, `with-uuid`, `with-time` has to be specified manually.
## sea-orm-migration 0.8.3