github SeaQL/sea-orm 0.8.0

latest releases: 1.0.1, 1.1.0-rc.1, 1.0.0...
pre-release2 years ago

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 for DbErr #677
  • Add is_changed to ActiveModelTrait #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 by sea_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

Full Changelog: 0.7.1...0.8.0

Don't miss a new sea-orm release

NewReleases is sending notifications on new releases.