Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 dialect/sql: support capturing predicates in selectors by a8m · Pull Request #3612 · ent/ent · GitHub
Nothing Special   »   [go: up one dir, main page]

Skip to content

Conversation

a8m
Copy link
Member
@a8m a8m commented Jun 21, 2023

This allows custom predicates mutating the root querying and still respect the AND/OR/NOT semantics

@a8m a8m force-pushed the capturep branch 2 times, most recently from e20da27 to 5511038 Compare June 21, 2023 16:39
This allows custom predicates mutating the root querying and still respect the AND/OR/NOT semantics
@a8m a8m merged commit 0055559 into master Jun 21, 2023
@a8m a8m deleted the capturep branch June 21, 2023 21:08
ti-chi-bot bot referenced this pull request in PingCAP-QE/ee-apps Dec 5, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [entgo.io/ent](https://togithub.com/ent/ent) | require | patch |
`v0.12.4` -> `v0.12.5` |

---

### Release Notes

<details>
<summary>ent/ent (entgo.io/ent)</summary>

### [`v0.12.5`](https://togithub.com/ent/ent/releases/tag/v0.12.5)

[Compare Source](https://togithub.com/ent/ent/compare/v0.12.4...v0.12.5)

#### What's Changed

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

**Full Changelog**: ent/ent@v0.12.0...v0.12.5

</details>

---

### 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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/PingCAP-QE/ee-apps).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-merge-queue bot referenced this pull request in infratographer/x Apr 2, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [entgo.io/ent](https://togithub.com/ent/ent) | `v0.12.4` -> `v0.13.1`
|
[![age](https://developer.mend.io/api/mc/badges/age/go/entgo.io%2fent/v0.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/entgo.io%2fent/v0.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/entgo.io%2fent/v0.12.4/v0.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/entgo.io%2fent/v0.12.4/v0.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ent/ent (entgo.io/ent)</summary>

### [`v0.13.1`](https://togithub.com/ent/ent/compare/v0.13.0...v0.13.1)

[Compare Source](https://togithub.com/ent/ent/compare/v0.13.0...v0.13.1)

### [`v0.13.0`](https://togithub.com/ent/ent/compare/v0.12.5...v0.13.0)

[Compare Source](https://togithub.com/ent/ent/compare/v0.12.5...v0.13.0)

### [`v0.12.5`](https://togithub.com/ent/ent/releases/tag/v0.12.5)

[Compare Source](https://togithub.com/ent/ent/compare/v0.12.4...v0.12.5)

#### What's Changed

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

**Full Changelog**: ent/ent@v0.12.0...v0.12.5

</details>

---

### 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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/infratographer/x).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0