ent v0.5.1 Release Notes

Release Date: 2020-11-29 // 11 months ago
  • 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

Previous changes from v0.5.0

  • ๐Ÿ›  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)