https://www.sea-ql.org/blog/2022-05-15-whats-new-in-0.8.0/
New Features
- [sea-orm-cli]
sea migrate generateto generate a new, empty migration file #656
Enhancements
- Add
max_connectionsoption to CLI #670 - Derive
Eq,CloneforDbErr#677 - Add
is_changedtoActiveModelTrait#683
Bug Fixes
- Fix
DerivePrimaryKeywith custom primary key column name #694 - Fix
DeriveEntityModelmacros override column name #695 - Fix Insert with no value supplied using
DEFAULT#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::preludeshould be replaced bysea_orm_migration::preludein all migration files
Upgrades
- Upgrade
sea-queryto 0.24.x,sea-schemato 0.8.x - Upgrade example to Actix Web 4, Actix Web 3 remains #638
- Added Tonic gRPC example #659
- Upgrade GraphQL example to use axum 0.5.x
- Upgrade axum example to 0.5.x
Fixed Issues
- Failed to insert row with only default values #420
- Reduce database connections to 1 during codegen #511
- Column names with single letters separated by underscores are concatenated #630
- Update Actix Web examples #639
- Lower function missing #672
- is_changed on active_model #674
- Failing find_with_related with column_name attribute #693
New Contributors
- @niuhuan made their first contribution in #636
- @Chaostheorie made their first contribution in #638
- @giripriyadarshan made their first contribution in #659
- @fairingrey made their first contribution in #667
- @mibes404 made their first contribution in #673
- @benluelo made their first contribution in #670
- @SebastienGllmt made their first contribution in #677
- @viktorbahr made their first contribution in #656
- @kirawi made their first contribution in #683
Full Changelog: 0.7.1...0.8.0