Skip to content

Commit

Permalink
Bump prisma from 4.11.0 to 4.13.0 in /website (#2884)
Browse files Browse the repository at this point in the history
Bumps [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli)
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">prisma'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/d29c126eb04ca44f14a93087cee85f85c4ea95b2"><code>d29c126</code></a>
docs(cli): add --generator option to the help hint (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/18592">#18592</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/e50b0e260a9ed2ab0c5d55a2f609eba575303da7"><code>e50b0e2</code></a>
chore(deps): update studio to v0.484.0 (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/18636">#18636</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/047fda88f3a6ec39ccf66b480b86addcbc1aad5e"><code>047fda8</code></a>
chore(deps): update engines to
4.13.0-15.f8f78f335fd86dea323d7fbc581fdf500d74...</li>
<li><a
href="https://github.com/prisma/prisma/commit/906d265aacae8f08e177d8c807e91513f074f1f2"><code>906d265</code></a>
chore: Remove unused variables and enable no-unused-vars rule (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/18584">#18584</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/5acfc5240a257657f3a4973bdbed6497406cb486"><code>5acfc52</code></a>
fix(client): throw error on caching platforms (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/18437">#18437</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/efab78e7b2c85b8615f3b0858b21dd653cc7b490"><code>efab78e</code></a>
fix(cli): Exclude source maps from bundled client (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/18571">#18571</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/12af01fbfd411841f20d9481cd46b81c5e2f9172"><code>12af01f</code></a>
refactor: remove unused imports from Generate.ts (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/18486">#18486</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/fb51d432cd20f376355ca426cae9bdf34a251597"><code>fb51d43</code></a>
refactor: rename variants of BinaryType enum (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/18455">#18455</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/92d87a6ab40b99c5a2f9990fe47c4eba7eb02233"><code>92d87a6</code></a>
chore(deps): update jest to v29.4.3 (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/17802">#17802</a>)</li>
<li>See full diff in <a
href="https://github.com/prisma/prisma/commits/4.13.0/packages/cli">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prisma&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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Apr 25, 2023
1 parent e3910f3 commit c9d4b91
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"msw-storybook-addon": "^1.8.0",
"path-browserify": "^1.0.1",
"prettier": "2.8.1",
"prisma": "^4.11.0",
"prisma": "^4.13.0",
"storybook": "^7.0.5",
"ts-essentials": "^9.3.1",
"ts-node": "^10.9.1",
Expand Down

0 comments on commit c9d4b91

Please sign in to comment.