All Versions
13
Latest Version
Avg Release Cycle
16 days
Latest Release
1243 days ago

Changelog History
Page 1

  • v0.5.1 Changes

    November 29, 2020

    cmd/ent

    • Replace entc to ent - #989

    dialect/entsql

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

    dialect/sql/sqlgraph

    • ๐Ÿ‘Œ Improve perf for UpadteMany operations.

    dialect/sql/schema

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

    schema

    dialect/sql/schema

    • โž• 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)

    dialect/sql/sqljson

    • ๐ŸŽ‰ Initial work for json_contains predicate

    dialect/sql

    • โž• Add Left/Right join for the SQL builder

    entc/gen:

    • โž• Add gen.Template for ent extensions
    • ๐Ÿ“‡ Rename generated FirstXID to FirstIDX
    • โž• Add hook.FixedError helper

    entc/internal

    • โž• 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).

    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

  • v0.4.2 Changes

    August 30, 2020

    ๐Ÿš€ Small release with a few bug fixes and the following schema changes:

    ent/schema

    • โž• 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