Skip to content

0.26.0

Compare
Choose a tag to compare
@woylie woylie released this 18 Aug 01:23
· 67 commits to main since this release
051526e

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 of Flop.Schema.field_info/2.

Fixed

  • Fixed a compatibility issue with Ecto 3.12 related to the initialization of
    the Ecto.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
+    ]
  ]
}