1.4 KiB
1.4 KiB
Release Notes: SeaORM 2.0.0-rc.20
(since 2.0.0-rc.19)
New Features
Allow more stringy newtypes in DeriveValueType (#2831)
- Produce syntax-aware attribute errors in
DeriveValueTypemacro - Allow
value_typeattr for named field structs inDeriveValueType - Assume no derive attributes means
DeriveValueTypeStruct
Many-to-many self-referencing relation (#2823)
- Add primary_key check to
DeriveEntityModel - Support
RelatedSelfViaandself_refin dense entity format - Support
self_refon compact_model and in reverse - Loader support for self via in reverse
ActiveModelEx: support self_ref
ActiveModelEx now supports self-referencing relations.
Add nullable column types
Support for nullable column types added.
Bug Fixes
Fix missing casts when returning one (#2825)
Fixed missing type casts when using returning_one / returning_all.
Temp fix MySQL JSON equals
Workaround for MySQL JSON equality comparison issues.
Automatically convert eq(None) to IS NULL (#2826)
eq(None) is now correctly translated to IS NULL in SQL.
Fix compile error when postgres-vector is enabled (#2821)
Resolved compilation failure with the postgres-vector feature.
Improvements
- Entity Loader: move
EntityLoaderWithParamtrait to be owned by user for better blanket impl support - Built with SeaORM: Add FirstLook.gg (#2828)