Update sea-orm requirement from 0.12.15 to 1.1.0
Updates the requirements on sea-orm to permit the latest version.
Release notes
Sourced from sea-orm's releases.
0.12.15
Enhancements
DerivePartialModel
macro attributeentity
now supportssyn::Type
SeaQL/sea-orm#2137#[derive(DerivePartialModel)] #[sea_orm(entity = "<entity::Model as ModelTrait>::Entity")] struct EntityNameNotAIdent { #[sea_orm(from_col = "foo2")] _foo: i32, #[sea_orm(from_col = "bar2")] _bar: String, }
- Added
RelationDef::from_alias()
SeaQL/sea-orm#2146assert_eq!( cake::Entity::find() .join_as( JoinType::LeftJoin, cake_filling::Relation::Cake.def().rev(), cf.clone() ) .join( JoinType::LeftJoin, cake_filling::Relation::Filling.def().from_alias(cf) ) .build(DbBackend::MySql) .to_string(), [ "SELECT `cake`.`id`, `cake`.`name` FROM `cake`", "LEFT JOIN `cake_filling` AS `cf` ON `cake`.`id` = `cf`.`cake_id`", "LEFT JOIN `filling` ON `cf`.`filling_id` = `filling`.`id`", ] .join(" ") );
Changelog
Sourced from sea-orm's changelog.
0.12.15 - 2024-03-15
Enhancements
DerivePartialModel
macro attributeentity
now supportssyn::Type
SeaQL/sea-orm#2137#[derive(DerivePartialModel)] #[sea_orm(entity = "<entity::Model as ModelTrait>::Entity")] struct EntityNameNotAIdent { #[sea_orm(from_col = "foo2")] _foo: i32, #[sea_orm(from_col = "bar2")] _bar: String, }
- Added
RelationDef::from_alias()
SeaQL/sea-orm#2146assert_eq!( cake::Entity::find() .join_as( JoinType::LeftJoin, cake_filling::Relation::Cake.def().rev(), cf.clone() ) .join( JoinType::LeftJoin, cake_filling::Relation::Filling.def().from_alias(cf) ) .build(DbBackend::MySql) .to_string(), [ "SELECT `cake`.`id`, `cake`.`name` FROM `cake`", "LEFT JOIN `cake_filling` AS `cf` ON `cake`.`id` = `cf`.`cake_id`", "LEFT JOIN `filling` ON `cf`.`filling_id` = `filling`.`id`", ] .join(" ") );
0.12.14 - 2024-02-05
- Added feature flag
sqlite-use-returning-for-3_35
to use SQLite's returning SeaQL/sea-orm#2070- Added Loco example SeaQL/sea-orm#2092
0.12.12 - 2024-01-22
Bug Fixes
- [sea-orm-cli] Fix entity generation for non-alphanumeric enum variants SeaQL/sea-orm#1821
- [sea-orm-cli] Fix entity generation for relations with composite keys SeaQL/sea-orm#2071
... (truncated)
Commits
- See full diff in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts