build(deps): bump entgo.io/ent from 0.10.1 to 0.11.2
Bumps entgo.io/ent from 0.10.1 to 0.11.2.
Release notes
Sourced from entgo.io/ent's releases.
v0.11.0
We're very happy to announce the release of the next version of Ent: v0.11 🎊
This release contains several bug fixes, many small features, and improvements to the ent/schema, ent runtime, and ent codegen. There are 3 major features that were added to the framework: Edge Schemas, GraphQL Schema Generator and a completely new infrastructure for generating schema migrations using Atlas. Please, visit these links to learn more about these new functionalities.
In the next version, we plan to start experimenting with generics to reduce the amount of generated code and may consider exposing new generics-based extensions. Additional tasks that are on our list are query interceptors, polymorphic edges, a toolset for executing migrations safely, and a list of small runtime improvements that exist in our issue tracker.
You are welcome to join our Discord Server, Slack channel and subscribe to the Ent newsletter to get updates on the new features, proposal discussions, and content we release.
What's Changed
- dialect/sql/schema: add name to versioned migration files by
@​imhuytqin ent/ent#2375- schema/field: expose RType.Implements method by
@​a8min ent/ent#2379- entc/gen: set Ref and Inverse for edge contains both From and To by
@​a8min ent/ent#2380- dialect/sql/schema: add method to create a named versioned migration … by
@​masseelchin ent/ent#2385- entc/integration: additional schema changes for migration by
@​a8min ent/ent#2403- dialect/sql/schema: upgrade atlas and disable sum file creation by
@​masseelchin ent/ent#2400- dialect/sql: avoid passing bool arguments on bool predicates by
@​a8min ent/ent#2405- entc/gen: move column default quoting to template by
@​a8min ent/ent#2406- dialect/sql: without foreign keys option for atlas by
@​zeevmoneyin ent/ent#2404- all: drop 1.16 support and run CI on 1.17 and 1.18 by
@​masseelchin ent/ent#2411- entc/gen: move select and group builders' scan functions to shared struct by
@​a8min ent/ent#2412- Update schema-def to use proper method by
@​fgmin ent/ent#2416- Update getting-started.md by
@​fgmin ent/ent#2414- entc/gen: use join for loading m2m relationship by
@​a8min ent/ent#2417- entc/integration/custom_id: update atlas and fix issue in integration tests by
@​a8min ent/ent#2424- dialect/sql/schema: skip creating unique key for primary keys by
@​a8min ent/ent#2425- dialect/sql: add support for window functions by
@​a8min ent/ent#2431- dialect/sql/schema: prefix sqlite unique indexes with table name by
@​a8min ent/ent#2433- entc/gen: allow adding extra fields to the generated edges by
@​a8min ent/ent#2437- update example import by
@​cjraain ent/ent#2432- Fix incorrect Go code in GoType() doc comments by
@​fgmin ent/ent#2441- dialect/sql: support for order by expressions in window functions by
@​a8min ent/ent#2442- entc/gen: block Optional on the ID field by
@​giautmin ent/ent#2443- gen/entc/template: add option to process nodes after query using external templates by
@​a8min ent/ent#2444- dialect/sql/schema: init db version before executing diff by
@​CharlesGe129in ent/ent#2440- entc/gen: add the sql/execquery feature flag by
@​a8min ent/ent#2447- entc/integration/migrate: update atlas and test custom time precision by
@​a8min ent/ent#2462- dialect/sql/schema: option to enable atlas sum file by
@​masseelchin ent/ent#2470- entc/gen: expose config on generated filters by
@​a8min ent/ent#2473- entc/gen: skip
Table()predicate and warn about reserved schema name (Client) by@​masseelchin ent/ent#2486- entc/integration/migrate: add example for renaming columns by
@​a8min ent/ent#2496- entc/integration/json: add example for using interfaces in JSON fields by
@​a8min ent/ent#2497- gen/template: allow overriding of client struct and initialization by
@​masseelchin ent/ent#2503- dialect/sql: add New method to pass in a river without opening a *sql… by
@​masseelchin ent/ent#2504- dialect/sql: support string based pk for mysql56 indexes (prevent err… by
@​masseelchin ent/ent#2506- entc/gen/template/sql/feature: add comment to feature field on config… by
@​masseelchin ent/ent#2515- Fix propagating post-save mutations by
@​booleangatein ent/ent#2525- dialect/sql/schema: respect sumfile when present and do not operate on checksum mismatch by
@​masseelchin ent/ent#2522- Sub queries by
@​crossworthin ent/ent#2509- entc/gen: add conditional-write option to external templates by
@​a8min ent/ent#2542
... (truncated)
Commits
0066eb9entc/gen: extend sql/modify to UPDATE statements0fd6413dialect/sql/sqlgraph: support custom modifiers in UPDATE commands9f481d8dialect/sql: support setting ORDER BY for UPDATE statements4797277go: bump go/packages version ci to 1.18+1.19 (#2832)89007ecentc/gen: fixed privacy filter for M2M edges (#2828)22c2f3abuild(deps): bump aws-actions/configure-aws-credentials (#2825)c7de2ecdoc/versioned-migration: add atlas import for code example (#2819)26e07c9dialect/sql/sqlgraph: support edgeschema in entgql (#2817)ea3aa8cdoc/md: remove entgql annotation from crud step (#2816)3f04b0fdoc/md: update grpc tutorial for List and BatchCreate methods (#2518)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)