## 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 `DeriveValueType` macro - Allow `value_type` attr for named field structs in `DeriveValueType` - Assume no derive attributes means `DeriveValueTypeStruct` **Many-to-many self-referencing relation** (#2823) - Add primary_key check to `DeriveEntityModel` - Support `RelatedSelfVia` and `self_ref` in dense entity format - Support `self_ref` on 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 `EntityLoaderWithParam` trait to be owned by user for better blanket impl support - Built with SeaORM: Add FirstLook.gg (#2828)