Skip to content

0.5.0

Compare
Choose a tag to compare
@tyt2y3 tyt2y3 released this 06 Feb 16:55
· 1 commit to 58d636cdee9bb9daeff550742a57c4d07b0ec749 since this release

https://www.sea-ql.org/blog/2022-01-01-whats-new-in-0.5.0/

Fixed Issues

  • Why insert, update, etc return a ActiveModel instead of Model? #289
  • Rework ActiveValue #321
  • Some missing ActiveEnum utilities #338

Merged PRs

Breaking Changes

  • ActiveModel::insert and ActiveModel::update return Model instead of ActiveModel
  • Method ActiveModelBehavior::after_save takes Model as input instead of ActiveModel
  • Rename method sea_orm::unchanged_active_value_not_intended_for_public_use to sea_orm::Unchanged
  • Rename method ActiveValue::unset to ActiveValue::not_set
  • Rename method ActiveValue::is_unset to ActiveValue::is_not_set
  • PartialEq of ActiveValue will also check the equality of state instead of just checking the equality of value

New Contributors

Full Changelog: 0.4.2...0.5.0