ent v0.4.3 Release Notes

Release Date: 2020-09-21 // about 2 years ago
  • entc/gen (codegen)

    • โž• Add an option for clearing non-unique edges.
    • โž• Add validators on group-by and order-by arguments.
    • โž• Add templates for supporting custom predicates in codegen (#758).
    • ๐Ÿ‘Œ Improve API for custom templates (add an option for passing template.FuncMap for template execution).

    dialect/sql

    • Add an experiment package for supporting JSON predicates at runtime named sqljson. In the future, JSON predicates will be added to the generated predicates.

    schema migration

    • ๐Ÿ”„ Change the WithFixture default value to be false. It's likely to be removed in the upcoming versions. Users that migrate from v0.0.1, directly to v0.4.3, should pass WithFixture(true) on migration.

    misc