Skip to content

Commit

Permalink
chore: Bump @prisma/client from 4.11.0 to 4.13.0 (#1966)
Browse files Browse the repository at this point in the history
Bumps
[@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client)
from 4.11.0 to 4.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>4.13.0</h2>
<p>🌟 <strong>Help us spread the word about Prisma by starring the repo
or <a
href="https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@prisma%20release%20v4.13.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/4.13.0">tweeting</a>
about the release.</strong> 🌟</p>
<h2>Highlights</h2>
<h3>Introspection stopgaps</h3>
<p>The Prisma Schema Language (PSL) currently doesn't support all
database features and functionality of <a
href="https://www.prisma.io/docs/reference/database-reference/supported-databases">our
target databases</a>. The PSL is an abstraction over SQL and will keep
evolving to address gaps in our <a
href="https://www.prisma.io/docs/reference/database-reference/database-features">database
feature matrix</a>.</p>
<p>Before this release, <code>prisma db pull</code> did not pick up the
unsupported features in a database. It was easy to lose them when
running <code>prisma migrate dev</code> based on an existing Prisma
schema if not included in a migration file using custom migrations.</p>
<p>To avoid this, we added <em>Introspection Stopgaps</em> that surface
the existence of these features in your database and link to our
documentation on how to manually work around the Prisma Schema with
unsupported database features (”Stopgaps” as we will remove them as soon
as we implement full support for these features).</p>
<p>In this release, we added stopgaps for the following features:</p>
<ul>
<li><a
href="https://redirect.github.com/prisma/prisma/issues/1708">Partitioned
tables</a></li>
<li><a
href="https://redirect.github.com/prisma/prisma/issues/12735">PostgreSQL
Row Level Security</a></li>
<li><a
href="https://redirect.github.com/prisma/prisma/issues/15466">Index sort
order, <code>NULLS FIRST</code> / <code>NULLS LAST</code></a></li>
<li><a
href="https://redirect.github.com/prisma/prisma/issues/13982">CockroachDB
row-level TTL</a></li>
<li><a
href="https://redirect.github.com/prisma/prisma/issues/8703">Comments</a></li>
<li><a
href="https://redirect.github.com/prisma/prisma/issues/8807">PostgreSQL
deferred constraints</a></li>
</ul>
<p>Prisma CLI will output warnings on introspection (<code>prisma db
pull</code>) and add comments to your Prisma schema. In the coming
releases, we will expand this to many more <a
href="https://github.com/prisma/prisma/issues?q=is%3Aopen+label%3A%22topic%3A+database-functionality%22+label%3Ateam%2Fschema+sort%3Aupdated-desc+">features
labeled with <code>topic: database-functionality</code> on
GitHub</a>.</p>
<h3>Improved support for Netlify and Vercel build process</h3>
<p>Netlify and Vercel cache project dependencies during the build
process and reuse that cache until dependencies change. While this helps
speed up the build process, any <code>postinstall</code> scripts of
these dependencies will not be executed.</p>
<p>Prisma uses a <code>postinstall</code> script in its package to
automatically trigger the customized generation of Prisma Client for
your Prisma Schema. When a dependency cache is used, that generation
process is not triggered, and an outdated Prisma Client may be used in
your application.</p>
<p>When you update your Prisma Schema but not your dependencies, Prisma
Client will not be generated for the new schema. For example, columns
you added recently to one of your models will not be present in the
Prisma Client API - causing errors.</p>
<p>This problem can be avoided by:</p>
<ol>
<li>Adding a custom <code>postinstall</code> script in your
<code>package.json</code> file</li>
<li>Manually adding a <code>prisma generate</code> step to the “Build”
scripts of Vercel and Netlify.</li>
</ol>
<p>We now added detection of this scenario and will prevent a build
without an additional <code>prisma generate</code>. This will ensure
you're aware of the problem early and get guidance on how to fix this
problem. You can read more on how to do this in our docs — <a
href="https://prisma.io/docs/guides/other/troubleshooting-orm/help-articles/vercel-caching-issue">Vercel
caching troubleshooting</a>, <a
href="https://prisma.io/docs/guides/other/troubleshooting-orm/help-articles/netlify-caching-issue">Netlify
caching troubleshooting</a>.</p>
<h3>Better support for pnpm as a package manager</h3>
<p>Before this release, Prisma only used npm scripts which would lead to
undesirable behavior for a project using a different package manager
such as pnpm and yarn. This release improves the detection of the
package managers in your project by using <a
href="https://github.com/antfu/ni"><code>ni</code></a>. If you're still
running into this problem, let us know by creating a <a
href="https://github.com/prisma/prisma/issues/new?assignees=&amp;labels=kind/bug&amp;template=bug_report.yml">GitHub
issue</a>.</p>
<h3>Segmentation fault and TLS connection error fix</h3>
<p>In this release, we've fixed a TLS connection error segmentation
fault. This mostly affected users running on Node.js 17 or later with
OpenSSL 1.1 when using TLS to connect to their database.</p>
<h3>JSON protocol Preview feature feedback</h3>
<p>We have fixed multiple bugs for the <code>jsonProtocol</code> Preview
feature and are close to making it Generally Available. We are still
looking for feedback about its usage to ensure it is ready and works as
expected for everyone.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/prisma/prisma/commit/d14eeff229886164ddfc6d7c6a57c2e9ba292334"><code>d14eeff</code></a>
chore(deps): update engines to
4.13.0-50.1e7af066ee9cb95cf3a403c78d9aab3e6b04...</li>
<li><a
href="https://github.com/prisma/prisma/commit/84af70ed5c85e239888302689847c4bef6968ec9"><code>84af70e</code></a>
fix(client): add console error log for caching on top of error (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/18759">#18759</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/f3c08d9239118fdeda66b7ffea219d6bc3db4235"><code>f3c08d9</code></a>
chore(deps): update engines to
4.13.0-42.745dcc4b3aa8b8a153cf4fa46478871befdf...</li>
<li><a
href="https://github.com/prisma/prisma/commit/c0334cf011026b1266edfba564a555d61e6688d4"><code>c0334cf</code></a>
chore(client): Add test for <a
href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/18598">#18598</a>
and simplify serialization code (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/18756">#18756</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/fcc6d008fdc08cfdc5b7a1844df3950a516ab893"><code>fcc6d00</code></a>
chore(deps): update engines to
4.13.0-40.5a83cdfb84729117ca82344e1c7359783ded...</li>
<li><a
href="https://github.com/prisma/prisma/commit/d452662d6a76d3cb8650cb82ce10c6dc91ff416b"><code>d452662</code></a>
fix(client, cli): client auto-install for pnpm (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/18646">#18646</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/bf64679b318dc43f1c820f80ef492d22568e06b4"><code>bf64679</code></a>
chore(deps): update engines to
4.13.0-37.36b8399dd5f1338f3240a853c5ff70f98458...</li>
<li><a
href="https://github.com/prisma/prisma/commit/c6e615efc95d24aa2d729fe6504f5e9923260e32"><code>c6e615e</code></a>
chore(deps): update engines to
4.13.0-35.b7a219819742333ebd961a4511cbb4efd76a...</li>
<li><a
href="https://github.com/prisma/prisma/commit/878c84f5992ecef99e5922e8986dfcd058147171"><code>878c84f</code></a>
chore: fix eslint errors (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/client/issues/18587">#18587</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/647bd20b568874660293e6121ad38a2cfdb40799"><code>647bd20</code></a>
chore(deps): update engines to
4.13.0-33.5af5b01cc5d77d6887ef748cf6b9564be909...</li>
<li>Additional commits viewable in <a
href="https://github.com/prisma/prisma/commits/4.13.0/packages/client">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@prisma/client&package-manager=npm_and_yarn&previous-version=4.11.0&new-version=4.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 ignore this major version` will 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 version` will 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 dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Apr 23, 2023
1 parent 87879e4 commit 850bee9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@nozomuikuta/h3-cors": "^0.2.2",
"@pinia/nuxt": "^0.4.9",
"@popperjs/core": "^2.11.7",
"@prisma/client": "^4.11.0",
"@prisma/client": "^4.13.0",
"@variantjs/core": "^0.0.90",
"@variantjs/vue": "^0.0.22",
"@vee-validate/zod": "^4.8.6",
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4239,24 +4239,24 @@ __metadata:
languageName: node
linkType: hard

"@prisma/client@npm:^4.11.0":
version: 4.11.0
resolution: "@prisma/client@npm:4.11.0"
"@prisma/client@npm:^4.13.0":
version: 4.13.0
resolution: "@prisma/client@npm:4.13.0"
dependencies:
"@prisma/engines-version": 4.11.0-57.8fde8fef4033376662cad983758335009d522acb
"@prisma/engines-version": 4.13.0-50.1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a
peerDependencies:
prisma: "*"
peerDependenciesMeta:
prisma:
optional: true
checksum: ca8d8f820caaf4a76b94674f88207d5bb14f57a9682d37d2f79c56378f259cd3b14b30a110ab59a97647fcf3c46f896e7a2d20ded2777e09b835d7accd70cf1d
checksum: 74e2ede6308d6f70dc6244c34d13cf5f6c8da4f1a1ffe42a26192675ecac02733cb5482518d2a37fa057f160873fe8d42f5e3a08fc45d52b1eb386522bdbec0b
languageName: node
linkType: hard

"@prisma/engines-version@npm:4.11.0-57.8fde8fef4033376662cad983758335009d522acb":
version: 4.11.0-57.8fde8fef4033376662cad983758335009d522acb
resolution: "@prisma/engines-version@npm:4.11.0-57.8fde8fef4033376662cad983758335009d522acb"
checksum: f040b93d09b21feaef193080eed22142fa26b3cf86d089ebb4286f5f45ed17a98e030a8bb55c0bec2892e15880a697f6754c6966b7795cf7ba4553f59fb387e7
"@prisma/engines-version@npm:4.13.0-50.1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a":
version: 4.13.0-50.1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a
resolution: "@prisma/engines-version@npm:4.13.0-50.1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a"
checksum: cc583fe956b65fd4548082917f14ccf1c3c54d6b26623583f5e63298a8b4b5a492ba90597123af1fc272115621cb7340e2d708d5b5e252f59139b35f0df00abe
languageName: node
linkType: hard

Expand Down Expand Up @@ -13863,7 +13863,7 @@ __metadata:
"@nuxtjs/tailwindcss": 6.6.6
"@pinia/nuxt": ^0.4.9
"@popperjs/core": ^2.11.7
"@prisma/client": ^4.11.0
"@prisma/client": ^4.13.0
"@storybook/core-server": ^7.0.6
"@storybook/vue3": ^7.0.6
"@storybook/vue3-vite": 7.0.6
Expand Down

0 comments on commit 850bee9

Please sign in to comment.