Skip to content

Commit

Permalink
fix(deps): update prisma monorepo to v5.6.0 (#9447)
Browse files Browse the repository at this point in the history
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@prisma/client](https://www.prisma.io)
([source](https://togithub.com/prisma/prisma)) | [`5.5.2` ->
`5.6.0`](https://renovatebot.com/diffs/npm/@prisma%2fclient/5.5.2/5.6.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2fclient/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2fclient/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2fclient/5.5.2/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2fclient/5.5.2/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@prisma/internals](https://www.prisma.io)
([source](https://togithub.com/prisma/prisma)) | [`5.5.2` ->
`5.6.0`](https://renovatebot.com/diffs/npm/@prisma%2finternals/5.5.2/5.6.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2finternals/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2finternals/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2finternals/5.5.2/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2finternals/5.5.2/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [prisma](https://www.prisma.io)
([source](https://togithub.com/prisma/prisma)) | [`5.5.2` ->
`5.6.0`](https://renovatebot.com/diffs/npm/prisma/5.5.2/5.6.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prisma/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prisma/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prisma/5.5.2/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prisma/5.5.2/5.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prisma/prisma (@&#8203;prisma/client)</summary>

### [`v5.6.0`](https://togithub.com/prisma/prisma/releases/tag/5.6.0)

[Compare
Source](https://togithub.com/prisma/prisma/compare/5.5.2...5.6.0)

🌟 **Help us spread the word about Prisma by starring the repo or
[tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@&#8203;prisma%20release%20v5.6.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.6.0)
about the release.** 🌟

##### Highlights

##### Driver adapters improvements (Preview)

In version
[5.4.0](https://togithub.com/prisma/prisma/releases/tag/5.4.0), we
released `driverAdapters` into Preview. The `driverAdapters` feature
enables Prisma Client to access your database using JavaScript or
Serverless database drivers.

In this release, we fixed many bugs for the existing driver adapters. We
appreciate all the community feedback that has helped us improve this
feature!

##### PlanetScale serverless driver adapter improvements

This release also introduces a small breaking change to the
`@prisma/adapter-planetscale` package to improve its stability and
performance. The serverless driver adapter will now use a connection
pool instead of a single connection from PlanetScale’s serverless
driver.

In case you’re using the `@prisma/adapter-planetscale`, update your
Prisma Client instance with the following:

```diff
-import { connect } from '@&#8203;planetscale/database'
+import { Client } from '@&#8203;planetscale/database'
import { PrismaPlanetScale } from '@&#8203;prisma/adapter-planetscale'
import { PrismaClient } from '@&#8203;prisma/client'
import { fetch as undiciFetch } from 'undici';

-const connection = connect({ url: connectionString, fetch: undiciFetch })
+const client = new Client({ url: connectionString, fetch: undiciFetch })

-const adapter = new PrismaPlanetScale(connection)
+const adapter = new PrismaPlanetScale(client)

const prisma = new PrismaClient({ adapter })
```

##### Request for feedback

We encourage you to try out the driver adapters and share your feedback
to help us move it to General Availability in either of the following
GitHub discussions:

-   [Neon](https://togithub.com/prisma/prisma/discussions/21346)
-   [PlanetScale](https://togithub.com/prisma/prisma/discussions/21347)
-
[Turso](https://togithub.com/prisma/prisma/releases#:~:text=Let%20us%20know%20what%20you%20think)

Refer to [our
docs](https://www.prisma.io/docs/concepts/components/database-drivers#driver-adapters)
to learn more about driver adapters.

##### New `prisma debug` command

This release introduces a new command: `prisma debug`. The command
provides debugging information such as environment variables that Prisma
Client, Prisma Migrate, Prisma CLI, and Prisma Studio use. The command
is also useful when creating a bug report as the information complements
the output of the `prisma -v` command.

You can learn more about the command in our
[docs](https://www.prisma.io/docs/reference/api-reference/command-reference#debug).

##### Read replicas extension improvements

We also released [version
0.3.0](https://togithub.com/prisma/extension-read-replicas/releases/tag/v0.3.0)
of the `@prisma/extension-read-replicas` package that contains the
following improvements:

- A new `$replica()` method that explicitly enables you to use a replica
for your query.

For example, by default, the `queryRaw` and `executeRaw` methods are
forwarded to the primary database, as they could try to write to the
database. You can use the `$replica()` method with either of the `*Raw`
methods to explicitly execute your query against a replica instead of
your primary database.

-   Validation for when there’s an empty list of replicas.

-   Webpack bundling fixes

We want to thank you, our community members, for your contributions! 🙏

You can find additional information on the changes in the [extension’s
release](https://togithub.com/prisma/extension-read-replicas/releases/tag/v0.3.0).
You can learn more about the extension in the [announcement blog
post](https://www.prisma.io/blog/read-replicas-prisma-client-extension-f66prwk56wow).

##### Package provenance

npm has introduced [provenance
statements](https://docs.npmjs.com/generating-provenance-statements) to
improve supply-chain security and transparency of packages. This allows
developers to verify where and how packages are built.

Starting with the 5.6.0 release, all npm packages for Prisma ORM will be
published with provenance statements. If you maintain a Prisma Client
extension or generator, we encourage you to enable provenance statements
when publishing to npm.

##### Fixes and improvements

##### Prisma Migrate

- [Weird error message on `db push` with invalid connection string:
Connection string redacted, weird
grammar](https://togithub.com/prisma/prisma/issues/20230)
- [Regression for MongoDB introspection in
5.4.0](https://togithub.com/prisma/prisma/issues/21441)
- [Inconsistent datetime column data importing to
Turso](https://togithub.com/prisma/prisma/issues/21552)
- [`db pull --url=...` logs full connection string on `P4001 The
introspected database was
empty`](https://togithub.com/prisma/prisma/issues/21733)

##### Prisma Client

- [`prisma_pool_connections_idle` reports misleading
number](https://togithub.com/prisma/prisma/issues/21221)
- [Update and read issues with
`@prisma/adapter-planetscale`](https://togithub.com/prisma/prisma/issues/21592)
- [5.5.0 regression: typescript error when trying to pass
`PrismaPlanetScale` adapter to the
constructor](https://togithub.com/prisma/prisma/issues/21613)
- [5.5.0/1: `Error: sha256 checksum of
https://binaries.prisma.sh/all_commits/475c616176945d72f4330c92801f0c5e6398dc0f/windows/query_en
gine.dll.node.gz (zipped) should be
748d039badd0919d022fff7d554b66b6937b79035861a6ae9a80c5a95eee76f5 but is
b867ad335ee6f58c6a38f665dd641c95e6adff3061f92b7613c62cae1c3362bb`](https://togithub.com/prisma/prisma/issues/21616)

##### Prisma CLI

-   [`prisma debug`](https://togithub.com/prisma/prisma/issues/21619)

##### Credits

Huge thanks to [@&#8203;onichandame](https://togithub.com/onichandame),
[@&#8203;LucianBuzzo](https://togithub.com/LucianBuzzo),
[@&#8203;RobertCraigie](https://togithub.com/RobertCraigie),
[@&#8203;fqazi](https://togithub.com/fqazi),
[@&#8203;KhooHaoYit](https://togithub.com/KhooHaoYit),
[@&#8203;alencardc](https://togithub.com/alencardc),
[@&#8203;Oreilles](https://togithub.com/Oreilles),
[@&#8203;christianledgard](https://togithub.com/christianledgard),
[@&#8203;skyzh](https://togithub.com/skyzh),
[@&#8203;alula](https://togithub.com/alula),
[@&#8203;luxaritas](https://togithub.com/luxaritas),
[@&#8203;Nasfame](https://togithub.com/Nasfame),
[@&#8203;lukahartwig](https://togithub.com/lukahartwig),
[@&#8203;steebchen](https://togithub.com/steebchen),
[@&#8203;icanipa](https://togithub.com/icanipa) for helping!

##### Miscellaneous

##### Prisma Accelerate is now Generally Available

We're excited to share that [Prisma
Accelerate](https://pris.ly/accelerate-home-orm-release) is now
Generally Available. Prisma Accelerate is a global database cache that's
available in over 280 locations and provides scalable connection pooling
for serverless and edge applications.

Learn more in the [announcement blog
post](https://pris.ly/accelerate-ga-post-orm-release). Sign up and try
out [Prisma Accelerate](https://pris.ly/pdp-console-orm-release)

##### 💼 We’re hiring!

If you're interested in joining our growing team to help empower
developers to build data-intensive applications, Prisma is the place for
you.

We're hiring for an [Engineering Manager: Prisma Data
Platform](https://boards.greenhouse.io/prisma/jobs/7009408002).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates 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/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
  • Loading branch information
renovate[bot] authored Nov 15, 2023
1 parent 0566695 commit 018494f
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 96 deletions.
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@babel/runtime-corejs3": "7.23.2",
"@prisma/client": "5.5.2",
"@prisma/client": "5.6.0",
"@whatwg-node/fetch": "0.9.9",
"core-js": "3.33.2",
"humanize-string": "2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-packages/dataMigrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"yargs": "17.7.2"
},
"devDependencies": {
"@prisma/client": "5.5.2",
"@prisma/client": "5.6.0",
"@types/fs-extra": "11.0.1",
"@types/yargs": "17.0.24",
"esbuild": "0.19.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@opentelemetry/resources": "1.15.2",
"@opentelemetry/sdk-trace-node": "1.15.2",
"@opentelemetry/semantic-conventions": "1.15.2",
"@prisma/internals": "5.5.2",
"@prisma/internals": "5.6.0",
"@redwoodjs/api-server": "6.0.7",
"@redwoodjs/cli-helpers": "6.0.7",
"@redwoodjs/fastify": "6.0.7",
Expand Down Expand Up @@ -69,7 +69,7 @@
"pluralize": "8.0.0",
"portfinder": "1.0.32",
"prettier": "2.8.8",
"prisma": "5.5.2",
"prisma": "5.6.0",
"prompts": "2.4.2",
"rimraf": "5.0.5",
"semver": "7.5.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
},
"dependencies": {
"@babel/runtime-corejs3": "7.23.2",
"@prisma/client": "5.5.2",
"@prisma/client": "5.6.0",
"@redwoodjs/project-config": "6.0.7",
"core-js": "3.33.2"
},
"devDependencies": {
"@babel/cli": "7.23.0",
"@babel/core": "^7.22.20",
"@prisma/internals": "5.5.2",
"@prisma/internals": "5.6.0",
"esbuild": "0.19.5",
"jest": "29.7.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/structure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@babel/runtime-corejs3": "7.23.2",
"@iarna/toml": "2.2.5",
"@prisma/internals": "5.5.2",
"@prisma/internals": "5.6.0",
"@redwoodjs/project-config": "6.0.7",
"@types/line-column": "1.0.0",
"camelcase": "6.3.0",
Expand Down
Loading

0 comments on commit 018494f

Please sign in to comment.