This is a release candidate: documentation, examples and other surrounding material is not ready yet. Feel free to try it out and provide early feedback
New Features
- [sea-orm-cli]
sea migrate generate
to generate a new, empty migration file #656
Enhancements
- Add
max_connections
option to CLI #670 - Derive
Eq
,Clone
forDbErr
#677 - Add
is_changed
toActiveModelTrait
#683
Bug Fixes
- Fix
DerivePrimaryKey
with custom primary key column name #694 - Fix
DeriveEntityModel
macros 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::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 #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