Unclaimed project
Are you a maintainer of ent? Claim this project to take control of your public changelog and roadmap.
Claim this projectChangelog
ent
An entity framework for Go
Back to changelogNew
v0.12.5
What's Changed
- doc: fix typos in paging.md by @a8m in https://github.com/ent/ent/pull/3458
- entsql: added OnDelete annotation by @giautm in https://github.com/ent/ent/pull/3459
- doc/md: update doc for OnDelete annotation by @giautm in https://github.com/ent/ent/pull/3460
- entc/gen: avoid ambiguous column names when joining the same table by @a8m in https://github.com/ent/ent/pull/3461
- entc/gen: rename .Order to .OrderOption by @a8m in https://github.com/ent/ent/pull/3468
- dialect/sql: skip formatting qualified columns by @a8m in https://github.com/ent/ent/pull/3469
- dialect/sql/sqlgraph: allow query edge fields with alias by @a8m in https://github.com/ent/ent/pull/3470
- dialect/sql: add method for finding selection occurrences in queries by @a8m in https://github.com/ent/ent/pull/3473
- doc: add entgql edge ordering by @a8m in https://github.com/ent/ent/pull/3482
- cmd/ent: hide the --idtype flag from generate command by @a8m in https://github.com/ent/ent/pull/3490
- dialect/sql/sqlgraph: replace id IN with EXISTS for HasNeighbors predicates by @a8m in https://github.com/ent/ent/pull/3492
- .github/workflow: added atlas-ci for examples by @giautm in https://github.com/ent/ent/pull/3496
entc/gen: load referenced foreign-keys on eager-loading by @a8m in https://github.com/ent/ent/pull/3497entc/gen: remove unnecessary type arguments by @a8m in https://github.com/ent/ent/pull/3503doc/md/ci: fix broken link for ent/contrib/ci action's repo by @Arthur1 in https://github.com/ent/ent/pull/3504doc/md: edge ordering is supported by @masseelch in https://github.com/ent/ent/pull/3506entc/gen/template: fix intercept package imports by @masseelch in https://github.com/ent/ent/pull/3507doc: add schema inspection to getting-started page by @a8m in https://github.com/ent/ent/pull/3510entc/load: report 'go mod' errors on schema loading by @a8m in https://github.com/ent/ent/pull/3511.github/workflow: sync action by @giautm in https://github.com/ent/ent/pull/3513dialect/sql/schema: allow ariga.io/atlas schema diff to be extended by @a8m in https://github.com/ent/ent/pull/3514dialect/sql/schema: support passing schema diff options by @a8m in https://github.com/ent/ent/pull/3516dialect/sql: add OrderByRand option by @a8m in https://github.com/ent/ent/pull/3518ent/privacy: move some of the generated privacy helpers to ent/privacy by @a8m in https://github.com/ent/ent/pull/3527entc/gen: avoid conflict between order by edge-count and fields end with _count by @a8m in https://github.com/ent/ent/pull/3534Fix typo in docs by @jibbolo in https://github.com/ent/ent/pull/3539dialect/sql: expose the underlying builder of UpdateSet by @a8m in https://github.com/ent/ent/pull/3541Fix go install instruction for atlas by @toshi0607 in https://github.com/ent/ent/pull/3526entc/gen: fix conflicts between fields named 'op' and Mutation.Op by @a8m in https://github.com/ent/ent/pull/3550ent: document ent.Value returned by mutations by @a8m in https://github.com/ent/ent/pull/3556entc/gen: avoid conflict between package and receiver names by @a8m in https://github.com/ent/ent/pull/3563dialect/sql/sqljson: inline boolean values by @a8m in https://github.com/ent/ent/pull/3570schema/fields: validate for slices builder by @masseelch in https://github.com/ent/ent/pull/3566entc/gen: quote index annotations in generated schemas by @a8m in https://github.com/ent/ent/pull/3578entc/gen: allow naming ent/schemas as builder by @a8m in https://github.com/ent/ent/pull/3593entc/integration: add missing license header by @a8m in https://github.com/ent/ent/pull/3594dialect/sql/sqlgraph: expose standard modifier to eager-load N neighbors by @a8m in https://github.com/ent/ent/pull/3603.github: bump go version by @a8m in https://github.com/ent/ent/pull/3609go: update ariga.io/atlas to latest version by @a8m in https://github.com/ent/ent/pull/3610dialect/sql: support capturing predicates in selectors by @a8m in https://github.com/ent/ent/pull/3612dialect/sql: add predicate to check hasprefix between columns/fields by @a8m in https://github.com/ent/ent/pull/3614doc/md: fix edge.Annotations method name typo by @Mozuha in https://github.com/ent/ent/pull/3618doc: fix new project instructions in tutorial-setup.md by @vijal-patel in https://github.com/ent/ent/pull/3622entc/gen: allow catching nested tx attempt with errors.Is by @a8m in https://github.com/ent/ent/pull/3636Remove useless wording by @willfaught in https://github.com/ent/ent/pull/3640mark field as cleared when clearing edges by @yasser-sobhy in https://github.com/ent/ent/pull/3651dialect/sql/schema: allow only table creation modification in automatic schema planning by @a8m in https://github.com/ent/ent/pull/3660doc/website/blog: vis with atlas by @rotemtam in https://github.com/ent/ent/pull/3688entc/gen: add support for MapBulkCreate by @a8m in https://github.com/ent/ent/pull/3696Feat: added nil checks to sqlgraph constraint errors by @lucvankessel in https://github.com/ent/ent/pull/3701Update 2022-05-09-versioned-migrations-sum-file.md by @gedalyah-ariga in https://github.com/ent/ent/pull/3685doc/ci - removed a reference to a hard coded go version by @dorav in https://github.com/ent/ent/pull/3732go: update ariga.io/atlas to latest version by @a8m in https://github.com/ent/ent/pull/3751doc/website: visualize ent/schema as erd by @a8m in https://github.com/ent/ent/pull/3758doc/md: fix custom predicate example by @masseelch in https://github.com/ent/ent/pull/3764Fix example in docs/crud/#create-many by @adamzapasnik in https://github.com/ent/ent/pull/3770entc/gen: nillable update setters for non-optional fields by @a8m in https://github.com/ent/ent/pull/3788dialect/entsql: add helper function for creating table annotation by @a8m in https://github.com/ent/ent/pull/3816doc/md: drop v10 support and add v15 for PostgreSQL by @oinume in https://github.com/ent/ent/pull/3806dialect/entsql: add schema to package annotation by @a8m in https://github.com/ent/ent/pull/3817dialect/sql/schema: add table schema by @a8m in https://github.com/ent/ent/pull/3818dialect/atlas: initial work for multi-schema migration using atlas by @a8m in https://github.com/ent/ent/pull/3821doc: add multi-schema migrations using atlas by @a8m in https://github.com/ent/ent/pull/3825Full Changelog: https://github.com/ent/ent/compare/v0.12.0...v0.12.5