SeaORM v0.5.0 Release Notes
Release Date: 2022-01-01 // over 2 years ago-
๐ Fixed Issues
- โก๏ธ Why insert, update, etc return an ActiveModel instead of Model? https://github.com/SeaQL/sea-orm/issues/289
- Rework
ActiveValue
https://github.com/SeaQL/sea-orm/issues/321 - Some missing ActiveEnum utilities https://github.com/SeaQL/sea-orm/issues/338
๐ Merged PRs
- First metric and tracing implementation by @nappa85 in https://github.com/SeaQL/sea-orm/pull/373
- โก๏ธ Update sea-orm to depends on SeaQL/sea-query#202 by @billy1624 in https://github.com/SeaQL/sea-orm/pull/370
- Codegen ActiveEnum & Create Enum From ActiveEnum by @billy1624 in https://github.com/SeaQL/sea-orm/pull/348
- โก๏ธ Axum example: update to Axum v0.4.2 by @ttys3 in https://github.com/SeaQL/sea-orm/pull/383
- ๐ Fix rocket version by @Gabriel-Paulucci in https://github.com/SeaQL/sea-orm/pull/384
- โก๏ธ Insert & Update Return
Model
by @billy1624 in https://github.com/SeaQL/sea-orm/pull/339 - Rework
ActiveValue
by @billy1624 in https://github.com/SeaQL/sea-orm/pull/340 - โ Add wrapper method
ModelTrait::delete
by @billy1624 in https://github.com/SeaQL/sea-orm/pull/396 - โ Add docker create script for contributors to setup databases locally by @billy1624 in https://github.com/SeaQL/sea-orm/pull/378
- ๐ฒ Log with tracing-subscriber by @billy1624 in https://github.com/SeaQL/sea-orm/pull/399
- Codegen SQLite by @billy1624 in https://github.com/SeaQL/sea-orm/pull/386
- โ PR without clippy warnings in file changed tab by @billy1624 in https://github.com/SeaQL/sea-orm/pull/401
- ๐ Rename
sea-strum
lib back tostrum
by @billy1624 in https://github.com/SeaQL/sea-orm/pull/361
๐ฅ Breaking Changes
- โก๏ธ
ActiveModel::insert
andActiveModel::update
returnModel
instead ofActiveModel
- Method
ActiveModelBehavior::after_save
takesModel
as input instead ofActiveModel
- Rename method
sea_orm::unchanged_active_value_not_intended_for_public_use
tosea_orm::Unchanged
- ๐ Rename method
ActiveValue::unset
toActiveValue::not_set
- Rename method
ActiveValue::is_unset
toActiveValue::is_not_set
PartialEq
ofActiveValue
will also check the equality of state instead of just checking the equality of value
Full Changelog: https://github.com/SeaQL/sea-orm/compare/0.4.2...0.5.0