ent v0.5.1 Release Notes
Release Date: 2020-11-29 // over 4 years ago-
cmd/ent
- Replace
entc
toent
- #989
dialect/entsql
dialect/sql/sqlgraph
- ๐ Improve perf for
UpadteMany
operations.
dialect/sql/schema
- โ Add support for PostgreSQL net types
- ๐ Allow migrations from integer columns to string
- Replace
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
- โ Add support for privacy policy
- โ Add support for schema annotations
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
toFirstIDX
- โ Add
hook.FixedError
helper
entc/internal
- โ Add feature-flag support for code-generation (allow opt-in to specific features)
- ๐ Support schema versioning (#852)