Repository navigation
- Added
#[rename]attribute to rename any table or column to be different from
the Rust struct or field. - Optimized migrations to never load all rows at once.
- Fixed a bug where a custom primary key name was not used when decorrelating nested queries.
- Fixed a migration bug with custom primary keys.
- Fixed missing unraw on column and struct names (the
r#prefix would previously be kept).
Breaking
-
Changed
TransactionMigrate::migrate_optionalto returnMigratedOptional.Migrated::map_fk_erris replaced byMigratedOptional::map_fk_err.- Schema generic is removed from
Migratedtype. - Changed generics on
TransactionMigratemethods to the new table type.
-
Added
TransactionScopeto handle mutable table rows without aDropimpl.
This means that theMutabletype will now automatically have a non lexical lifetime, which
makes it easier to use.- The
Transaction::mutableandTransaction::mutable_vechave moved toTransactionScope. Mutable::into_table_rowis renamed toMutable::table_rowand takes self by reference.
- The