Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump the prisma group with 2 updates (#2400)
Bumps the prisma group with 2 updates: [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) and [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli). Updates `@prisma/client` from 5.12.1 to 5.13.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prisma/prisma/releases"><code>@prisma/client</code>'s releases</a>.</em></p> <blockquote> <h2>5.13.0</h2> <p>Today, we are excited to share the <code>5.13.0</code> stable release 🎉</p> <p>🌟 <strong>Help us spread the word about Prisma by starring the repo or <a href="https://twitter.com/intent/post?text=Check%20out%20the%20latest%20%40prisma%20release%20v5.13.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps%3A%2F%2Fgithub.com%2Fprisma%2Fprisma%2Freleases%2Ftag%2F5.13.0">posting on X</a> about the release.</strong></p> <h2>Highlights</h2> <h3><code>omit</code> fields from Prisma Client queries (Preview)</h3> <p>We’re excited to announce Preview support for the <code>omit</code> option within the Prisma Client query options. The <a href="https://redirect.github.com/prisma/prisma/issues/5042">highly-requested</a> <code>omit</code> feature now allows you to exclude fields that you don’t want to retrieve from the database on a <strong><em>per-query basis</em>.</strong></p> <p>By default, when a query returns records, the result includes all scalar fields of the models defined in the Prisma schema. <a href="https://www.prisma.io/docs/orm/reference/prisma-client-reference#select"><code>select</code></a> can be used to return specific fields, while <code>omit</code> can now be used to exclude specific fields. <code>omit</code> lives at the same API level and works on all of the same <a href="https://www.prisma.io/docs/orm/reference/prisma-client-reference#model-queries">Prisma Client model queries</a> as <code>select</code>. Note, however, that <code>omit</code> and <code>select</code> are mutually exclusive. In other words, you can’t use both in the same query.</p> <p>To get started using <code>omit</code>, enable the <code>omitApi</code> Preview feature in your Prisma schema:</p> <pre lang="prisma"><code>// schema.prisma generator client { provider = "prisma-client-js" previewFeatures = ["omitApi"] } </code></pre> <p>Be sure to re-generate Prisma Client afterwards:</p> <pre lang="bash"><code>npx prisma generate </code></pre> <p>Here is an example of using <code>omit</code>:</p> <pre lang="ts"><code>// Includes all fields except password await prisma.user.findMany({ omit: { password: true }, }) </code></pre> <p>Here is an example of using <code>omit</code> with <code>include</code>:</p> <pre lang="ts"><code>// Includes all user fields except user's password and title of user's posts await prisma.user.findMany({ omit: { password: true }, include: { posts: { </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prisma/prisma/commit/781ddb2682c11abe45b67fb9f17c7cea08256530"><code>781ddb2</code></a> chore(deps): update engines to 5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b...</li> <li><a href="https://github.com/prisma/prisma/commit/cb7784e019ad49f29a6742fd78dd0ae578a1d8c8"><code>cb7784e</code></a> chore: unexclude sqlite createMany tests (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/23689">#23689</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/0e3f95f0a8faa7e47dcd17b8e5035c84a2ed4ac2"><code>0e3f95f</code></a> feat: React Native support (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/23637">#23637</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/183c14d2aa6059fc3c00c95363887e8941b3d911"><code>183c14d</code></a> chore(deps): update engines to 5.13.0-22.3364458a783b65fd18b9ccc7fe4acfa87fba...</li> <li><a href="https://github.com/prisma/prisma/commit/47e2430371d09fed5af6440422ae0014349bcd55"><code>47e2430</code></a> feat(client): Add <code>omit</code> option to the queries (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/23770">#23770</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/67d503404aaa80c06aff3465d5cc4f778e216bbb"><code>67d5034</code></a> chore(deps): update engines to 5.13.0-21.b339b9da56f3d53fccd4fb229effb0118721...</li> <li><a href="https://github.com/prisma/prisma/commit/cb7aa393338d60f63241a2e4b36d24d45c4fffb0"><code>cb7aa39</code></a> chore(deps): update engines to 5.13.0-16.6d35870e9578a3e7406168f61f89f84e78c1...</li> <li><a href="https://github.com/prisma/prisma/commit/e2d19061786f6af7abbcea83be552ff342790887"><code>e2d1906</code></a> chore(deps): update engines to 5.13.0-15.8b36be322cc78c7e156e98b8966fb34e5ea0...</li> <li><a href="https://github.com/prisma/prisma/commit/0e209dc66c8494d6c4b68881ec8ac7d9c33f6a08"><code>0e209dc</code></a> chore(deps): update dependency wrangler to v3.49.0 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/23821">#23821</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/4954f351af3e8d3bd739f800ad9aef0344fda626"><code>4954f35</code></a> chore(deps): update dependency <code>@types/node</code> to v16.18.96 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/23801">#23801</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prisma/prisma/commits/5.13.0/packages/client">compare view</a></li> </ul> </details> <br /> Updates `prisma` from 5.12.1 to 5.13.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prisma/prisma/releases">prisma's releases</a>.</em></p> <blockquote> <h2>5.13.0</h2> <p>Today, we are excited to share the <code>5.13.0</code> stable release 🎉</p> <p>🌟 <strong>Help us spread the word about Prisma by starring the repo or <a href="https://twitter.com/intent/post?text=Check%20out%20the%20latest%20%40prisma%20release%20v5.13.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps%3A%2F%2Fgithub.com%2Fprisma%2Fprisma%2Freleases%2Ftag%2F5.13.0">posting on X</a> about the release.</strong></p> <h2>Highlights</h2> <h3><code>omit</code> fields from Prisma Client queries (Preview)</h3> <p>We’re excited to announce Preview support for the <code>omit</code> option within the Prisma Client query options. The <a href="https://redirect.github.com/prisma/prisma/issues/5042">highly-requested</a> <code>omit</code> feature now allows you to exclude fields that you don’t want to retrieve from the database on a <strong><em>per-query basis</em>.</strong></p> <p>By default, when a query returns records, the result includes all scalar fields of the models defined in the Prisma schema. <a href="https://www.prisma.io/docs/orm/reference/prisma-client-reference#select"><code>select</code></a> can be used to return specific fields, while <code>omit</code> can now be used to exclude specific fields. <code>omit</code> lives at the same API level and works on all of the same <a href="https://www.prisma.io/docs/orm/reference/prisma-client-reference#model-queries">Prisma Client model queries</a> as <code>select</code>. Note, however, that <code>omit</code> and <code>select</code> are mutually exclusive. In other words, you can’t use both in the same query.</p> <p>To get started using <code>omit</code>, enable the <code>omitApi</code> Preview feature in your Prisma schema:</p> <pre lang="prisma"><code>// schema.prisma generator client { provider = "prisma-client-js" previewFeatures = ["omitApi"] } </code></pre> <p>Be sure to re-generate Prisma Client afterwards:</p> <pre lang="bash"><code>npx prisma generate </code></pre> <p>Here is an example of using <code>omit</code>:</p> <pre lang="ts"><code>// Includes all fields except password await prisma.user.findMany({ omit: { password: true }, }) </code></pre> <p>Here is an example of using <code>omit</code> with <code>include</code>:</p> <pre lang="ts"><code>// Includes all user fields except user's password and title of user's posts await prisma.user.findMany({ omit: { password: true }, include: { posts: { </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prisma/prisma/commit/f73ba0f95e894531ee8dd2e4bf53e80499c258c8"><code>f73ba0f</code></a> chore: new promo message in main help (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23918">#23918</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/2c2e4840b92c0f24ca924e12d4c4435031b23c0b"><code>2c2e484</code></a> chore(deps): update dependency global-dirs to v4 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23578">#23578</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/523f386b63606b04ecdf6f9a32ca86159465b757"><code>523f386</code></a> chore(deps): update definitelytyped (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23800">#23800</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/89dda02d14fa00116d85d840cd43a5e13b2368a3"><code>89dda02</code></a> test: Fix jest snapshot drifts (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23735">#23735</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/1a4f3618f7381ece356667b11af579ce81248d74"><code>1a4f361</code></a> perf(cli): CLI startup time improvement (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23622">#23622</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/c93714ae2c557af5700acfd3c52f40c03b22b7d5"><code>c93714a</code></a> fix(migrate): fix --from/to-local-d1 & --local-d1 on Windows (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23700">#23700</a>) <a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23725">#23725</a> ...</li> <li><a href="https://github.com/prisma/prisma/commit/cb9ce1407ce49dc76174dc15c9647e77dd17f90f"><code>cb9ce14</code></a> chore(deps): update studio to 0.500.0 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23686">#23686</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/6e3b532450a7a52f196f0cc50cc2471840abf037"><code>6e3b532</code></a> chore(deps): update dependency ts-pattern to v5.1.0 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23677">#23677</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/5d6f5f47d6ab93e05265d42d187f3afc7eb38e6a"><code>5d6f5f4</code></a> chore(deps): update devdependencies patch (non-major) (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23552">#23552</a>)</li> <li><a href="https://github.com/prisma/prisma/commit/891d47b1b32242ce54a5b8162171f2b8d11c50a5"><code>891d47b</code></a> chore(deps): update dependency esbuild to v0.20.2 (<a href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/23551">#23551</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prisma/prisma/commits/5.13.0/packages/cli">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information