Skip to content

0.11.3

Compare
Choose a tag to compare
@billy1624 billy1624 released this 24 Apr 13:29
· 559 commits to master since this release

Enhancements

  • Re-export sea_orm::ConnectionTrait in sea_orm_migration::prelude #1577
  • Support generic structs in FromQueryResult derive macro #1464, #1603
#[derive(FromQueryResult)]
struct GenericTest<T: TryGetable> {
    foo: i32,
    bar: T,
}
trait MyTrait {
    type Item: TryGetable;
}

#[derive(FromQueryResult)]
struct TraitAssociateTypeTest<T>
where
    T: MyTrait,
{
    foo: T::Item,
}

Bug Fixes

  • Fixed #1608 by pinning the version of tracing-subscriber dependency to 0.3.17 #1609