morning-night-guild / platform-app

MIT License
3 stars 0 forks source link

Update module entgo.io/ent to v0.14.1 #306

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
entgo.io/ent v0.12.3 -> v0.14.1 age adoption passing confidence

Release Notes

ent/ent (entgo.io/ent) ### [`v0.14.1`](https://redirect.github.com/ent/ent/compare/v0.14.0...v0.14.1) [Compare Source](https://redirect.github.com/ent/ent/compare/v0.14.0...v0.14.1) ### [`v0.14.0`](https://redirect.github.com/ent/ent/releases/tag/v0.14.0) [Compare Source](https://redirect.github.com/ent/ent/compare/v0.13.1...v0.14.0) #### What's Changed - ent: support schema views by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4157](https://redirect.github.com/ent/ent/pull/4157) - dialect/entsql: add Skip annotation by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4156](https://redirect.github.com/ent/ent/pull/4156) - examples/migration: add column with default value by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3960](https://redirect.github.com/ent/ent/pull/3960) - Update data-migrations.mdx by [@​max-yue](https://redirect.github.com/max-yue) in [https://github.com/ent/ent/pull/3973](https://redirect.github.com/ent/ent/pull/3973) - example/ent: add example for adding enums not at the end by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3980](https://redirect.github.com/ent/ent/pull/3980) - chore: fix function names by [@​sunxunle](https://redirect.github.com/sunxunle) in [https://github.com/ent/ent/pull/3979](https://redirect.github.com/ent/ent/pull/3979) - doc/md: fix some broken links caused by trailing slash by [@​luantranminh](https://redirect.github.com/luantranminh) in [https://github.com/ent/ent/pull/3990](https://redirect.github.com/ent/ent/pull/3990) - ent: export all generated query operations by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4001](https://redirect.github.com/ent/ent/pull/4001) - entc/gen: use query ops in generated code by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4005](https://redirect.github.com/ent/ent/pull/4005) - build(deps): bump golangci/golangci-lint-action from 3 to 5 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/ent/ent/pull/4033](https://redirect.github.com/ent/ent/pull/4033) - Update predicates.md by [@​max-yue](https://redirect.github.com/max-yue) in [https://github.com/ent/ent/pull/3970](https://redirect.github.com/ent/ent/pull/3970) - doc/website: add skiptx option to graphql by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4042](https://redirect.github.com/ent/ent/pull/4042) - dialect/sql/sqlgraph: replace IN with EXISTS in HasNeighbors/With predicates by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4060](https://redirect.github.com/ent/ent/pull/4060) - entc/gen: add SetID to predefined mutation methods by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4061](https://redirect.github.com/ent/ent/pull/4061) - entc/gen: fix conflict between set_id edge field and mutation fields by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4062](https://redirect.github.com/ent/ent/pull/4062) - schema/field: add support for ValueScanner on field.Bytes() by [@​masseelch](https://redirect.github.com/masseelch) in [https://github.com/ent/ent/pull/4067](https://redirect.github.com/ent/ent/pull/4067) - entc/gen/template: improve goimports time by adding missing imports by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4103](https://redirect.github.com/ent/ent/pull/4103) - entc/gen: concurrent gofmt by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4104](https://redirect.github.com/ent/ent/pull/4104) - schema/field: support annotating fields as deprecated by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4132](https://redirect.github.com/ent/ent/pull/4132) - doc: explain how to use domain types properly by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4134](https://redirect.github.com/ent/ent/pull/4134) - doc/website: fix ui build by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4135](https://redirect.github.com/ent/ent/pull/4135) - doc: explain how to use composite types properly by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4136](https://redirect.github.com/ent/ent/pull/4136) - doc: explain how to use enum types properly by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4137](https://redirect.github.com/ent/ent/pull/4137) - doc: explain how to use triggers in migrations by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4138](https://redirect.github.com/ent/ent/pull/4138) - doc: explain how to use extensions in migrations by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4140](https://redirect.github.com/ent/ent/pull/4140) - doc: explain how to use policies in migrations by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4141](https://redirect.github.com/ent/ent/pull/4141) - doc: minor fixes to rls page by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4142](https://redirect.github.com/ent/ent/pull/4142) - doc/md: update enum doc by [@​hilakashai](https://redirect.github.com/hilakashai) in [https://github.com/ent/ent/pull/4145](https://redirect.github.com/ent/ent/pull/4145) - doc: update project description by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4146](https://redirect.github.com/ent/ent/pull/4146) - update go doc to match the method name by [@​cpanato](https://redirect.github.com/cpanato) in [https://github.com/ent/ent/pull/4083](https://redirect.github.com/ent/ent/pull/4083) - doc: explain how to use functional indexes in migrations by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4149](https://redirect.github.com/ent/ent/pull/4149) - doc: explain how to use functional indexes in migrations by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/4150](https://redirect.github.com/ent/ent/pull/4150) - Getting Started MDX Improvements by [@​marakomer](https://redirect.github.com/marakomer) in [https://github.com/ent/ent/pull/4151](https://redirect.github.com/ent/ent/pull/4151) #### New Contributors - [@​max-yue](https://redirect.github.com/max-yue) made their first contribution in [https://github.com/ent/ent/pull/3973](https://redirect.github.com/ent/ent/pull/3973) - [@​sunxunle](https://redirect.github.com/sunxunle) made their first contribution in [https://github.com/ent/ent/pull/3979](https://redirect.github.com/ent/ent/pull/3979) - [@​luantranminh](https://redirect.github.com/luantranminh) made their first contribution in [https://github.com/ent/ent/pull/3990](https://redirect.github.com/ent/ent/pull/3990) - [@​cpanato](https://redirect.github.com/cpanato) made their first contribution in [https://github.com/ent/ent/pull/4083](https://redirect.github.com/ent/ent/pull/4083) - [@​marakomer](https://redirect.github.com/marakomer) made their first contribution in [https://github.com/ent/ent/pull/4151](https://redirect.github.com/ent/ent/pull/4151) **Full Changelog**: https://github.com/ent/ent/compare/v0.13.1...v0.14.0 ### [`v0.13.1`](https://redirect.github.com/ent/ent/compare/v0.13.0...v0.13.1) [Compare Source](https://redirect.github.com/ent/ent/compare/v0.13.0...v0.13.1) ### [`v0.13.0`](https://redirect.github.com/ent/ent/compare/v0.12.5...v0.13.0) [Compare Source](https://redirect.github.com/ent/ent/compare/v0.12.5...v0.13.0) ### [`v0.12.5`](https://redirect.github.com/ent/ent/releases/tag/v0.12.5) [Compare Source](https://redirect.github.com/ent/ent/compare/v0.12.4...v0.12.5) #### What's Changed - doc: fix typos in paging.md by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3458](https://redirect.github.com/ent/ent/pull/3458) - entsql: added OnDelete annotation by [@​giautm](https://redirect.github.com/giautm) in [https://github.com/ent/ent/pull/3459](https://redirect.github.com/ent/ent/pull/3459) - doc/md: update doc for OnDelete annotation by [@​giautm](https://redirect.github.com/giautm) in [https://github.com/ent/ent/pull/3460](https://redirect.github.com/ent/ent/pull/3460) - entc/gen: avoid ambiguous column names when joining the same table by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3461](https://redirect.github.com/ent/ent/pull/3461) - entc/gen: rename .Order to .OrderOption by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3468](https://redirect.github.com/ent/ent/pull/3468) - dialect/sql: skip formatting qualified columns by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3469](https://redirect.github.com/ent/ent/pull/3469) - dialect/sql/sqlgraph: allow query edge fields with alias by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3470](https://redirect.github.com/ent/ent/pull/3470) - dialect/sql: add method for finding selection occurrences in queries by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3473](https://redirect.github.com/ent/ent/pull/3473) - doc: add entgql edge ordering by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3482](https://redirect.github.com/ent/ent/pull/3482) - cmd/ent: hide the --idtype flag from generate command by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3490](https://redirect.github.com/ent/ent/pull/3490) - dialect/sql/sqlgraph: replace id IN with EXISTS for HasNeighbors predicates by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3492](https://redirect.github.com/ent/ent/pull/3492) - .github/workflow: added atlas-ci for examples by [@​giautm](https://redirect.github.com/giautm) in [https://github.com/ent/ent/pull/3496](https://redirect.github.com/ent/ent/pull/3496) - entc/gen: load referenced foreign-keys on eager-loading by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3497](https://redirect.github.com/ent/ent/pull/3497) - entc/gen: remove unnecessary type arguments by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3503](https://redirect.github.com/ent/ent/pull/3503) - doc/md/ci: fix broken link for ent/contrib/ci action's repo by [@​Arthur1](https://redirect.github.com/Arthur1) in [https://github.com/ent/ent/pull/3504](https://redirect.github.com/ent/ent/pull/3504) - doc/md: edge ordering is supported by [@​masseelch](https://redirect.github.com/masseelch) in [https://github.com/ent/ent/pull/3506](https://redirect.github.com/ent/ent/pull/3506) - entc/gen/template: fix intercept package imports by [@​masseelch](https://redirect.github.com/masseelch) in [https://github.com/ent/ent/pull/3507](https://redirect.github.com/ent/ent/pull/3507) - doc: add schema inspection to getting-started page by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3510](https://redirect.github.com/ent/ent/pull/3510) - entc/load: report 'go mod' errors on schema loading by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3511](https://redirect.github.com/ent/ent/pull/3511) - .github/workflow: sync action by [@​giautm](https://redirect.github.com/giautm) in [https://github.com/ent/ent/pull/3513](https://redirect.github.com/ent/ent/pull/3513) - dialect/sql/schema: allow ariga.io/atlas schema diff to be extended by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3514](https://redirect.github.com/ent/ent/pull/3514) - dialect/sql/schema: support passing schema diff options by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3516](https://redirect.github.com/ent/ent/pull/3516) - dialect/sql: add OrderByRand option by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3518](https://redirect.github.com/ent/ent/pull/3518) - ent/privacy: move some of the generated privacy helpers to ent/privacy by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3527](https://redirect.github.com/ent/ent/pull/3527) - entc/gen: avoid conflict between order by edge-count and fields end with \_count by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3534](https://redirect.github.com/ent/ent/pull/3534) - Fix typo in docs by [@​jibbolo](https://redirect.github.com/jibbolo) in [https://github.com/ent/ent/pull/3539](https://redirect.github.com/ent/ent/pull/3539) - dialect/sql: expose the underlying builder of UpdateSet by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3541](https://redirect.github.com/ent/ent/pull/3541) - Fix go install instruction for atlas by [@​toshi0607](https://redirect.github.com/toshi0607) in [https://github.com/ent/ent/pull/3526](https://redirect.github.com/ent/ent/pull/3526) - entc/gen: fix conflicts between fields named 'op' and Mutation.Op by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3550](https://redirect.github.com/ent/ent/pull/3550) - ent: document ent.Value returned by mutations by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3556](https://redirect.github.com/ent/ent/pull/3556) - entc/gen: avoid conflict between package and receiver names by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3563](https://redirect.github.com/ent/ent/pull/3563) - dialect/sql/sqljson: inline boolean values by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3570](https://redirect.github.com/ent/ent/pull/3570) - schema/fields: validate for slices builder by [@​masseelch](https://redirect.github.com/masseelch) in [https://github.com/ent/ent/pull/3566](https://redirect.github.com/ent/ent/pull/3566) - entc/gen: quote index annotations in generated schemas by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3578](https://redirect.github.com/ent/ent/pull/3578) - entc/gen: allow naming ent/schemas as builder by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3593](https://redirect.github.com/ent/ent/pull/3593) - entc/integration: add missing license header by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3594](https://redirect.github.com/ent/ent/pull/3594) - dialect/sql/sqlgraph: expose standard modifier to eager-load N neighbors by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3603](https://redirect.github.com/ent/ent/pull/3603) - .github: bump go version by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3609](https://redirect.github.com/ent/ent/pull/3609) - go: update ariga.io/atlas to latest version by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3610](https://redirect.github.com/ent/ent/pull/3610) - dialect/sql: support capturing predicates in selectors by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3612](https://redirect.github.com/ent/ent/pull/3612) - dialect/sql: add predicate to check hasprefix between columns/fields by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3614](https://redirect.github.com/ent/ent/pull/3614) - doc/md: fix edge.Annotations method name typo by [@​Mozuha](https://redirect.github.com/Mozuha) in [https://github.com/ent/ent/pull/3618](https://redirect.github.com/ent/ent/pull/3618) - doc: fix new project instructions in tutorial-setup.md by [@​vijal-patel](https://redirect.github.com/vijal-patel) in [https://github.com/ent/ent/pull/3622](https://redirect.github.com/ent/ent/pull/3622) - entc/gen: allow catching nested tx attempt with errors.Is by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3636](https://redirect.github.com/ent/ent/pull/3636) - Remove useless wording by [@​willfaught](https://redirect.github.com/willfaught) in [https://github.com/ent/ent/pull/3640](https://redirect.github.com/ent/ent/pull/3640) - mark field as cleared when clearing edges by [@​yasser-sobhy](https://redirect.github.com/yasser-sobhy) in [https://github.com/ent/ent/pull/3651](https://redirect.github.com/ent/ent/pull/3651) - dialect/sql/schema: allow only table creation modification in automatic schema planning by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3660](https://redirect.github.com/ent/ent/pull/3660) - doc/website/blog: vis with atlas by [@​rotemtam](https://redirect.github.com/rotemtam) in [https://github.com/ent/ent/pull/3688](https://redirect.github.com/ent/ent/pull/3688) - entc/gen: add support for MapBulkCreate by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3696](https://redirect.github.com/ent/ent/pull/3696) - Feat: added nil checks to sqlgraph constraint errors by [@​lucvankessel](https://redirect.github.com/lucvankessel) in [https://github.com/ent/ent/pull/3701](https://redirect.github.com/ent/ent/pull/3701) - Update 2022-05-09-versioned-migrations-sum-file.md by [@​gedalyah-ariga](https://redirect.github.com/gedalyah-ariga) in [https://github.com/ent/ent/pull/3685](https://redirect.github.com/ent/ent/pull/3685) - doc/ci - removed a reference to a hard coded go version by [@​dorav](https://redirect.github.com/dorav) in [https://github.com/ent/ent/pull/3732](https://redirect.github.com/ent/ent/pull/3732) - go: update ariga.io/atlas to latest version by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3751](https://redirect.github.com/ent/ent/pull/3751) - doc/website: visualize ent/schema as erd by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3758](https://redirect.github.com/ent/ent/pull/3758) - doc/md: fix custom predicate example by [@​masseelch](https://redirect.github.com/masseelch) in [https://github.com/ent/ent/pull/3764](https://redirect.github.com/ent/ent/pull/3764) - Fix example in docs/crud/#create-many by [@​adamzapasnik](https://redirect.github.com/adamzapasnik) in [https://github.com/ent/ent/pull/3770](https://redirect.github.com/ent/ent/pull/3770) - entc/gen: nillable update setters for non-optional fields by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3788](https://redirect.github.com/ent/ent/pull/3788) - dialect/entsql: add helper function for creating table annotation by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3816](https://redirect.github.com/ent/ent/pull/3816) - doc/md: drop v10 support and add v15 for PostgreSQL by [@​oinume](https://redirect.github.com/oinume) in [https://github.com/ent/ent/pull/3806](https://redirect.github.com/ent/ent/pull/3806) - dialect/entsql: add schema to package annotation by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3817](https://redirect.github.com/ent/ent/pull/3817) - dialect/sql/schema: add table schema by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3818](https://redirect.github.com/ent/ent/pull/3818) - dialect/atlas: initial work for multi-schema migration using atlas by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3821](https://redirect.github.com/ent/ent/pull/3821) - doc: add multi-schema migrations using atlas by [@​a8m](https://redirect.github.com/a8m) in [https://github.com/ent/ent/pull/3825](https://redirect.github.com/ent/ent/pull/3825) **Full Changelog**: https://github.com/ent/ent/compare/v0.12.0...v0.12.5 ### [`v0.12.4`](https://redirect.github.com/ent/ent/compare/v0.12.3...v0.12.4) [Compare Source](https://redirect.github.com/ent/ent/compare/v0.12.3...v0.12.4)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

codecov-commenter commented 11 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.49%. Comparing base (6f95374) to head (8134af1).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #306 +/- ## ========================================== - Coverage 71.71% 69.49% -2.22% ========================================== Files 75 76 +1 Lines 3482 3593 +111 ========================================== Hits 2497 2497 - Misses 890 1001 +111 Partials 95 95 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

renovate[bot] commented 5 months ago

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

Details:

Package Change
go 1.20 -> 1.23.0
ariga.io/atlas v0.12.0 -> v0.19.1-0.20240203083654-5948b60a8e43
github.com/google/go-cmp v0.5.9 -> v0.6.0
golang.org/x/mod v0.10.0 -> v0.20.0
golang.org/x/sync v0.3.0 -> v0.8.0
golang.org/x/sys v0.10.0 -> v0.23.0
golang.org/x/text v0.11.0 -> v0.13.0