Skip to content

0.7.0

Compare
Choose a tag to compare
@tyt2y3 tyt2y3 released this 26 Mar 11:32

https://www.sea-ql.org/blog/2022-03-26-whats-new-in-0.7.0/

New Features

Enhancements

Bug Fixes

Breaking changes

  • Exclude mock from default features by @billy1624 #562
  • create_table_from_entity will no longer create index for MySQL, please use the new method create_index_from_entity

Documentations

Fixed Issues

  • orm-cli generated incorrect type for #[sea_orm(primary_key)]. Should be u64. Was i64. #295
  • how to update dynamicly from json value #346
  • Make DatabaseConnection Clone with the default features enabled #438
  • Updating mutiple fields in a Model by passing a reference #460
  • SeaORM CLI not adding serde derives to Enums #461
  • sea-orm-cli generates wrong datatype for nullable blob #490
  • Support the time crate in addition (instead of?) chrono #499
  • PaginatorTrait for SelectorRaw #500
  • sea_orm::DatabaseConnection should implement Clone by default #517
  • How do you seed data in migrations using ActiveModels? #522
  • Datetime fields are not serialized by .into_json() on queries #530
  • Update / Delete by id #552
  • #[sea_orm(indexed)] only works for MySQL #554
  • sea-orm-cli generate --with-serde does not work on Postegresql custom type #581
  • sea-orm-cli generate --expanded-format panic when postgres table contains enum type #614
  • UUID fields are not serialized by .into_json() on queries #619

New Contributors

Full Changelog: 0.6.0...0.7.0