All Versions
Latest Version
Avg Release Cycle
16 days
Latest Release
1271 days ago

Changelog History
Page 1

  • v0.5.1 Changes

    November 29, 2020


    • Replace entc to ent - #989


    • ➕ Add support for table options in ent/schema (#925)
    • ➕ Add Size annotation (#947)


    • 👌 Improve perf for UpadteMany operations.


    • ➕ Add support for PostgreSQL net types
    • 👍 Allow migrations from integer columns to string
  • v0.5.0 Changes

    November 04, 2020

    🛠 This version contains multiple bug fixes and perf improvements, but also includes a major feature which is the privacy support and additional small features for ent/schema and code-generation.



    • ➕ Add the WithForeighKeys option to migrate
    • Properly handle indexes of tables with uncountable name (#828)
    • Apply size-check only if it is defined in schema (#855)


    • 🎉 Initial work for json_contains predicate


    • ➕ Add Left/Right join for the SQL builder


    • ➕ Add gen.Template for ent extensions
    • 📇 Rename generated FirstXID to FirstIDX
    • ➕ Add hook.FixedError helper


    • ➕ Add feature-flag support for code-generation (allow opt-in to specific features)
    • 👌 Support schema versioning (#852)
  • v0.4.3 Changes

    September 21, 2020

    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).


    • 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.


  • v0.4.2 Changes

    August 30, 2020

    🚀 Small release with a few bug fixes and the following schema changes:


    • ➕ Added support for setting default values for fields with a custom GoType.
    • The Enum.NamedValues method was added to replace Enum.ValueMap.
  • v0.4.1

    August 30, 2020
  • v0.4.0 Changes

    August 18, 2020

    The repository was migrated from facebookincubator to facebook organization.

  • v0.3.0 Changes

    August 05, 2020

    🛠 This version includes multiple bug fixes, changes in ent/schema, the generated-code and the database migration.

    Schema changes

    • Add schema annotations support for fields and edges. This API allows to attach metadata to fields and edges and inject them to external templates. More info can be found in the docs.
    • ➕ Add GoType support for enum fields. This change makes it possible to share the same enum type between multiple schemas.
    • ➕ Add the Unique option to UUID fields.

    Codegen changes

    • Add an API for creating bulk of entities. More info can be found in the docs.
    • ➕ Add the fail function to template functions.
    • Import codegen out (makes goimports faster).

    Migration changes

    • 🛠 Fix default value option to enum fields.
    • 🔄 Change ent_types table id type to uint64 (from int).
  • v0.2.7 Changes

    July 16, 2020

    Codegen changes

    The OnlyXID method was renamed to OnlyIDX (breaking changes).

  • v0.2.6 Changes

    July 12, 2020

    Ent changes:

    • ➕ Add OldField to the ent.Mutation interface

    Schema changes:

    • ➕ Add the Unique option to UUID fields

    SQL runtime changes:

    • 🛠 Minor bug fixes: #561, #587, etc
    • 🎉 Initial work for batch inserts

    Codegen changes:

    • 🚀 Official release for transaction hooks
    • ➕ Add singular finishers for querying primitives, e.g: .String(), .Int(), etc
    • ➕ Add condition helpers foe generated hooks
    • ➕ Add option to extend existing templates: #583
  • v0.2.5

    June 17, 2020