All Versions
13
Latest Version
Avg Release Cycle
16 days
Latest Release
1509 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.5.1 Changes
November 29, 2020cmd/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
-
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
- โ 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)
-
v0.4.3 Changes
September 21, 2020entc/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 befalse
. It's likely to be removed in the upcoming versions. Users that migrate from v0.0.1, directly to v0.4.3, should passWithFixture(true)
on migration.
misc
- โ Add the GraphQL integration to ent-contrib, and create a page for it in https://entgo.io/docs/graphql.
-
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 replaceEnum.ValueMap
.
-
v0.4.1
August 30, 2020 -
v0.4.0 Changes
August 18, 2020The 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
(fromint
).
-
v0.2.7 Changes
July 16, 2020Codegen changes
The OnlyXID method was renamed to OnlyIDX (breaking changes).
-
v0.2.6 Changes
July 12, 2020Ent changes:
- โ Add
OldField
to theent.Mutation
interface
Schema changes:
- โ Add the Unique option to UUID fields
SQL runtime changes:
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
- โ Add
-
v0.2.5
June 17, 2020