ent v0.5.0 Release Notes

Release Date: 2020-11-04 // almost 2 years ago
  • ๐Ÿ›  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)