0.26.0
Removed
- The previously deprecated tuple syntax for defining join fields has been
removed in favor of a keyword list. - The previously deprecated function
Flop.Schema.field_type/2
was removed in
favor ofFlop.Schema.field_info/2
.
Fixed
- Fixed a compatibility issue with Ecto 3.12 related to the initialization of
theEcto.Enum
type.
Upgrade Guide
Replace the tuple syntax for join fields with a keyword list.
@derive {
Flop.Schema,
join_fields: [
- owner_name: {:owner, :name}
+ owner_name: [
+ binding: :owner,
+ field: :name
+ ]
]
}