github ent/ent v0.4.3

latest releases: v0.13.1, v0.13.0, v0.12.5...
3 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

Don't miss a new ent release

NewReleases is sending notifications on new releases.