Skip to content

Commit

Permalink
Bump prisma from 5.20.0 to 6.1.0 (#37)
Browse files Browse the repository at this point in the history
Bumps [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli)
from 5.20.0 to 6.1.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>6.1.0</h2>
<p>Today we're releasing Prisma ORM version 6.1.0</p>
<p>In this version our <code>tracing</code> Preview feature is being
graduated to GA!</p>
<h2>Highlights</h2>
<h3>Tracing goes GA</h3>
<p>The <code>tracing</code> Preview feature is now stable. You now no
longer have to include <code>tracing</code> in your set of enabled
preview features.</p>
<pre lang="diff"><code>generator client {
   provider        = &quot;prisma-client-js&quot;
-  previewFeatures = [&quot;tracing&quot;]
}
</code></pre>
<p>We have also changed some of the spans generated by Prisma Client.
Previously, a trace would report the following spans:</p>
<pre><code>prisma:client:operation
prisma:client:serialize
prisma:engine
prisma:engine:connection
prisma:engine:db_query
prisma:engine:serialize
</code></pre>
<p>Now, the following are reported:</p>
<pre><code>prisma:client:operation
prisma:client:serialize
prisma:engine:query
prisma:engine:connection
prisma:engine:db_query
prisma:engine:serialize
prisma:engine:response_json_serialization
</code></pre>
<p>Additionally, we have made a few changes to our dependencies:</p>
<ul>
<li><code>@opentelemetry/api</code> is now a peer dependency instead of
a regular dependency</li>
<li><code>registerInstrumentations </code> in
<code>@opentelemetry/instrumentation</code> is now re-exported by
<code>@prisma/instrumentation</code></li>
</ul>
<p>After upgrading to Prisma ORM 6.1.0 you will need to add
<code>@opentelemetry/api</code> to your dependencies if you haven't
already:</p>
<pre><code>npm install @opentelemetry/api
</code></pre>
<p>You will also no longer need to have
<code>@opentelemetry/instrumentation</code> if you only use
<code>registerInstrumentations</code>. In this case you can import
<code>registerInstrumentations</code> from
<code>@prisma/instrumentation</code></p>
<pre lang="diff"><code>&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/prisma/prisma/commit/fdb69a2ea7e6b845e457b8e6bea3a87ea5334fcf"><code>fdb69a2</code></a>
chore(deps): update dependency dotenv to v16.4.7 (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25779">#25779</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/fd6499bb91bbad60606c38996c8ab17b0aac85f6"><code>fd6499b</code></a>
chore(deps): update dependency <code>@​swc/core</code> to v1.10.1 (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25708">#25708</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/f812bf0a7bff0bcaddbee51193f74d5e737153d6"><code>f812bf0</code></a>
chore(deps): update dependency ts-pattern to v5.6.0 (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25856">#25856</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/9826bc0b0b00977abb2dfe3cc55100bd2ecab3b8"><code>9826bc0</code></a>
chore: switch to pnpm 9 (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25610">#25610</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/4a827d4b6c11923fe90c1841b06be6f12cd90e81"><code>4a827d4</code></a>
chore(deps): update jest (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25682">#25682</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/a206aee2677da9923d7e6afa482107fb0f7a5852"><code>a206aee</code></a>
chore(deps): update esbuild packages (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25684">#25684</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/221264f13e125bdced4375958ab0063ec9e9f3e4"><code>221264f</code></a>
feat(cli): [BREAKING] remove custom yarn logic (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25457">#25457</a>)
(<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25642">#25642</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/db6991445a634053a5aac24888c3a3e9e3d7ebc0"><code>db69914</code></a>
chore!: drop Node.js 16.x support and remove obsolete code (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25609">#25609</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/52cadd3c8f6eec25183b55be90b7bc64b893735b"><code>52cadd3</code></a>
chore(deps): update devdependencies patch (non-major) (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25209">#25209</a>)</li>
<li><a
href="https://github.com/prisma/prisma/commit/85e9f0b540e25cd2fa800758c07640c078dc3c98"><code>85e9f0b</code></a>
feat(cli): add new promo survey for Prisma 5.22 (<a
href="https://github.com/prisma/prisma/tree/HEAD/packages/cli/issues/25590">#25590</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/prisma/prisma/commits/6.1.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=5.20.0&new-version=6.1.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>
  • Loading branch information
igorjs authored Jan 6, 2025
2 parents 6b2c565 + f8c5463 commit fc603d3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 38 deletions.
68 changes: 31 additions & 37 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"globals": "^15.11.0",
"jest": "^29.5.0",
"prettier": "^3.4.2",
"prisma": "^5.13.0",
"prisma": "^6.1.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.0",
Expand Down

0 comments on commit fc603d3

Please sign in to comment.