SeaORM v0.8.0 Release Notes
Release Date: 2022-05-10 // about 2 years ago-
๐ New Features
- [sea-orm-cli]
sea migrate generate
to generate a new, empty migration file https://github.com/SeaQL/sea-orm/pull/656
โจ Enhancements
- โ Add
max_connections
option to CLI https://github.com/SeaQL/sea-orm/pull/670 - ๐ฏ Derive
Eq
,Clone
forDbErr
https://github.com/SeaQL/sea-orm/pull/677 - โ Add
is_changed
toActiveModelTrait
https://github.com/SeaQL/sea-orm/pull/683
๐ Bug Fixes
- ๐ Fix
DerivePrimaryKey
with custom primary key column name https://github.com/SeaQL/sea-orm/pull/694 - ๐ Fix
DeriveEntityModel
macros override column name https://github.com/SeaQL/sea-orm/pull/695 - ๐ Fix Insert with no value supplied using
DEFAULT
https://github.com/SeaQL/sea-orm/pull/589
๐ฅ Breaking changes
- Migration utilities are moved from sea-schema to sea-orm repo, under a new sub-crate
sea-orm-migration
.sea_schema::migration::prelude
should be replaced bysea_orm_migration::prelude
in all migration files
โฌ๏ธ Upgrades
- โฌ๏ธ Upgrade
sea-query
to 0.24.x,sea-schema
to 0.8.x - โฌ๏ธ Upgrade example to Actix Web 4, Actix Web 3 remains https://github.com/SeaQL/sea-orm/pull/638
- โ Added Tonic gRPC example https://github.com/SeaQL/sea-orm/pull/659
- โฌ๏ธ Upgrade GraphQL example to use axum 0.5.x
- โฌ๏ธ Upgrade axum example to 0.5.x
๐ Fixed Issues
- 0๏ธโฃ Failed to insert row with only default values https://github.com/SeaQL/sea-orm/issues/420
- โฌ๏ธ Reduce database connections to 1 during codegen https://github.com/SeaQL/sea-orm/issues/511
- Column names with single letters separated by underscores are concatenated https://github.com/SeaQL/sea-orm/issues/630
- โก๏ธ Update Actix Web examples https://github.com/SeaQL/sea-orm/issues/639
- Lower function missing https://github.com/SeaQL/sea-orm/issues/672
- ๐ is_changed on active_model https://github.com/SeaQL/sea-orm/issues/674
- Failing find_with_related with column_name attribute https://github.com/SeaQL/sea-orm/issues/693
Full Changelog: https://github.com/SeaQL/sea-orm/compare/0.7.1...0.8.0
- [sea-orm-cli]