Skip to content

v1.5.8

Choose a tag to compare

@IvanRublev IvanRublev released this 11 Sep 22:16
· 17 commits to master since this release
  • Support validation of the following Ecto.Schema types: belongs_to(t), has_one(t), has_many(t), many_to_many(t), embeds_one(t), and embeds_many(t).
  • The validate_type/2 function for changesets:
    • validates required fields automatically for the given Ecto schema.
    • doesn't validate fields of Ecto.Schema types are listed above, so the user can explicitly call cast_assoc/2/3 for these fields.
  • Validates any combination of the term() with other types as the term().
  • Domo generated constructor functions new!/1/0 and new/2/1/0 become overridable.