Skip to content

Commit 6512ca9

Browse files
renovate[bot]jtoar
andauthored
fix(deps): update prisma monorepo to v5 (major) (#8891)
[![Mend Renovate](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)) | [`4.16.2` -> `5.0.0`](https://renovatebot.com/diffs/npm/@prisma%2fclient/4.16.2/5.0.0) | [![age](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/5.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/5.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/5.0.0/compatibility-slim/4.16.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@prisma%2fclient/5.0.0/confidence-slim/4.16.2)](https://docs.renovatebot.com/merge-confidence/) | | [@prisma/internals](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`4.16.2` -> `5.0.0`](https://renovatebot.com/diffs/npm/@prisma%2finternals/4.16.2/5.0.0) | [![age](https://badges.renovateapi.com/packages/npm/@prisma%2finternals/5.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@prisma%2finternals/5.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@prisma%2finternals/5.0.0/compatibility-slim/4.16.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@prisma%2finternals/5.0.0/confidence-slim/4.16.2)](https://docs.renovatebot.com/merge-confidence/) | | [prisma](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`4.16.2` -> `5.0.0`](https://renovatebot.com/diffs/npm/prisma/4.16.2/5.0.0) | [![age](https://badges.renovateapi.com/packages/npm/prisma/5.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/prisma/5.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/prisma/5.0.0/compatibility-slim/4.16.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/prisma/5.0.0/confidence-slim/4.16.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prisma/prisma (@&#8203;prisma/client)</summary> ### [`v5.0.0`](https://togithub.com/prisma/prisma/releases/tag/5.0.0) [Compare Source](https://togithub.com/prisma/prisma/compare/4.16.2...5.0.0) We’re excited to share the `5.0.0` release today 🎉 Prisma `5.0.0` contains a lot of changes that improve Prisma’s performance, especially in serverless environments. As this is a major release, it includes a few breaking changes that might affect a small group of our users. Before upgrading, we recommend that you check out our [upgrade guide](https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-5) to understand the impact on your application. 🌟 **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.0.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.0.0) about the release.** 🌟 ##### Highlights Here’s a summary of the changes: - Preview features moved to General Availability - `jsonProtocol`: improves communication between Prisma Client and the query engine, makes Prisma faster by default. - `fieldReference`: adds support for comparing columns of the same table. - `extendedWhereUnique`: adds support for non-unique columns inside `where` clauses for queries that operate on unique records. - General improvements and breaking changes - Dependency version changes - Minimum Node.js version change to 16.13.0 - Minimum TypeScript version change to 4.7 - Minimum PostgreSQL version change to 9.6 - Prisma Client embedded SQLite version upgrade to 3.41.2 - Main Changes - Removal of `rejectOnNotFound` property - Removal of some array shortcuts - `cockroachdb` provider is now required when connecting to a CockroachDB database - Removed `runtime/index.js` from the generated Prisma Client - Other Changes - Removal of deprecated flags in the Prisma CLI - Removal of the `beforeExit` hook from the library engine - Removal of deprecated `prisma2` executable - Removal of deprecated `experimentalFeatures` generator property in the Prisma schema - Renamed `migration-engine` to `schema-engine` ##### A JSON-based protocol that improves Prisma’s performance We’re thrilled to announce that the `jsonProtocol` Preview feature is now Generally Available. You can now remove the Preview feature flag from your schema after upgrading. We made the JSON-based wire protocol the **default protocol** used for communication between Prisma Client and the query engine. We introduced this feature in version [4.11.0](https://togithub.com/prisma/prisma/releases/tag/4.11.0) to improve Prisma’s performance. Previously, Prisma used a GraphQL-like protocol to communicate between Prisma Client and the query engine. Applications with larger schemas had higher CPU and memory consumption compared to smaller schemas which created a performance bottleneck. The JSON-based wire protocol improves efficiency when Prisma Client is communicating with the query engine. ##### Removal of array shortcuts We took the opportunity to remove some array shortcuts to make our typings more consistent and logical. These shortcuts were a way to add a single element as a value to an array-based operator instead of wrapping a single element in an array. We will now require array values for the following: - `OR` operator shortcuts - `in` and `notIn` operator shortcuts - PostgreSQL JSON `path` field shortcut - Scalar list shortcuts - MongoDB Composite types list shortcuts Here’s an example query using the `OR` operator shortcut for a single element; ```diff await prisma.user.findMany({ where: { - OR: { email: 'alice@prisma.io' } + OR: [{ email: 'alice@prisma.io' }] } }) ``` We recommend taking a look at the [upgrade guide](https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-5#removal-of-array-shortcuts#removal-of-array-shortcuts) to learn how you can update your queries to work in Prisma 5. ##### Support for comparing multiple columns We’re excited to announce that the `fieldReference` Preview feature is now stable and Generally Available. This means you can use this feature without the Preview feature flag in your Prisma schema. We first introduced this feature in [4.5.0](https://togithub.com/prisma/prisma/releases/tag/4.5.0) to add the ability to compare columns on the same table. For example, the following query returns records where the `quantity` value is less than the `warnQuantity` of a product: ```tsx await prisma.product.findMany({ where: { quantity: { lte: prisma.product.fields.warnQuantity } }, }) ``` To learn more about this feature, refer to our [documentation](https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#compare-columns-in-the-same-table). ##### Support for filtering non-unique columns in queries for a unique record We’re excited to announce the `extendedWhereUnique` Preview feature is now Generally Available. This means you can use the feature without the Preview feature flag in the Prisma schema. We first introduced this feature in version 4.5.0 to add support for non-unique columns inside `where` clauses for queries that operate on unique records, such as `findUnique`, `update`, and `delete`, which was previously not possible. For example, consider the following model: ```groovy model Article { id Int @&#8203;id @&#8203;default(autoincrement()) content String version Int } ``` You can filter on non-unique columns such as the `version` field as follows: ```tsx await prisma.article.findUnique({ where: { id: 5, version: 1 // filter on the `version` field was not available before Prisma 4.5.0 }, }); ``` To learn more about this feature, refer to our [documentation](https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#filter-on-non-unique-fields-with-userwhereuniqueinput). ##### Minimum Node.js version change to 16.13.0 The minimum version of Node.js Prisma supports is `16.13.0`. If you're using an earlier version of Node.js, you will need to upgrade your Node.js version. Refer to our [system requirements](https://www.prisma.io/docs/reference/system-requirements) for the minimum versions Prisma requires. ##### Minimum TypeScript version change to 4.7 The minimum version of TypeScript Prisma supports is 4.7. If your project is using an earlier version of TypeScript, you will need to upgrade your TypeScript version. Refer to our [system requirements](https://www.prisma.io/docs/reference/system-requirements) for the minimum versions Prisma requires. ##### Minimum PostgreSQL version change to 9.6 The minimum version of PostgreSQL Prisma supports is version 9.6. If you’re either using 9.4 or 9.5, you will need to update your PostgreSQL version to at least 9.6. Refer to our [system requirements](https://www.prisma.io/docs/reference/database-reference/supported-databases) for the minimum database versions Prisma requires. ##### Prisma Client embedded SQLite version upgrade We upgraded the embedded version of SQLite from 3.35.4 to 3.41.2. We do not anticipate any breaking changes or changes needed in projects using SQLite. However, if you’re using SQLite, especially with raw queries that might go beyond Prisma's functionality, make sure to check [the SQLite changelog](https://www.sqlite.org/changes.html). ##### Removal of `rejectOnNotFound` property In version 5.0.0, we removed the `rejectOnNotFound` parameter from Prisma Client that was deprecated in version 4.0.0. We removed this feature to provide better type-safety using the `findUniqueOrThrow` and `findFirstOrThrow` methods as well have a consistent API. If you are using the `rejectOnNotFound` parameter we recommend either: - Replacing your queries with the `findFirstOrThrow` or `findUniqueOrThrow` methods if enabled at a *query-level* - Using a [Prisma Client extension](https://www.prisma.io/docs/concepts/components/prisma-client/client-extensions) to overload the `findFirstOrThrow` and `findUniqueOrThrow` model methods with your custom error handling if enabled at the *client-level* We recommend taking a look at the [upgrade guide](https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-5#removal-of-array-shortcuts#removal-of-rejectonnotfound-parameter) for more information on how to adapt your application if you’re using `rejectOnNotFound`. ##### `cockroachdb` provider is now required when connecting to a CockroachDB database Prior to adding explicit support for CockroachDB with the `cockroachdb` provider in [3.9.0](https://togithub.com/prisma/prisma/releases/tag/3.9.0), it was possible to use the PostgreSQL provider when working with CockroachDB databases. We’re now making it mandatory to use the CockroachDB connector when working with CockroachDB databases. CockroachDB and PostgreSQL have a few differences such as the available native types which impact the generated migrations. If you were using the PostgreSQL connector to work with CockroachDB, take a look at the [upgrade guide](https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-5#cockroachdb-provider-is-now-required-when-connecting-to-a-cockroachdb-database) to learn how you can update your connector. ##### Removal of the generated `runtime/index.js` file from Prisma Client With Prisma 5, we removed the `runtime/index.js` file from Prisma Client. If you were using APIs from `runtime/index.js`, such as `Decimal` , `PrismaClientKnownRequestError`,  `NotFoundError`,  `PrismaClientUnknownRequestError`, we recommend updating your imports: ```diff - import { Decimal } from '@&#8203;prisma/client/runtime' + import { Prisma } from '@&#8203;prisma/client' // Usage update of Prisma Client's utilities - Decimal + Prisma.Decimal ``` We recommend taking a look at the [upgrade guide](https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-5#removal-of-array-shortcuts#removal-of-runtimeindexjs-from-generated-client) to learn how you can migrate to Prisma 5 ##### Removal of the `beforeExit` hook from the `library` query engine We removed the `beforeExit` hook from the default `library` Query Engine. We recommend using the built-in Node.js exit events. ```diff -prisma.$on('beforeExit', () => { /* your code */ }) // Replacements process.on('beforeExit', () => { /* your code */ }) process.on('exit', exitHandler) process.on('SIGINT', exitHandler) process.on('SIGTERM', exitHandler) process.on('SIGUSR2', exitHandler) ``` We recommend taking a look at the [upgrade guide](https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-5#removal-of-the-beforeexit-hook-from-the-library-engine) to learn how you can migrate to Prisma 5. ##### Removal of deprecated `prisma2` executable When we released Prisma 2, the `prisma2` executable was used to differentiate it from Prisma 1. In a later release, the `prisma2` CLI took over the `prisma` executable name. The `prisma2` executable has been deprecated for a while and will now be removed. If you’re using `prisma2` in your scripts, replace it with `prisma`. ##### Removal of deprecated flags in the Prisma CLI We removed the following deprecated flags in the Prisma CLI: - **`--preview-feature`**: used in the `prisma db execute`, `prisma db seed`, and `prisma migrate diff` commands - **`--experimental`** and **`--early-access-feature`**: used in the `prisma migrate` commands such as `prisma migrate dev` - **`--force`**: for `prisma db push`. The `--force` flag was replaced by `--accept-data-loss` in version 2.17.0 - **`--experimental-reintrospection`** and **`--clean`**: for `prisma db pull` In the event you’re using one of these flags, we recommend removing the flags. ##### Removal of deprecated `experimentalFeatures` generator property In this release, we removed the `experimentalFeatures` property that used to be in the generator property in the Prisma schema but has been renamed to `previewFeatures` for a long time now. If you’re still using this property, you can either manually rename it to `previewFeatures` or use the VS Code action to rename it if you’re using the latest version of the Prisma VS Code extension. ##### Renamed `migration-engine` to `schema-engine` In this release, we renamed the `migration-engine`, responsible for running introspection and migration commands, to `schema-engine` . For the majority of our users, no changes will be required. However, if you explicitly include or exclude the engine files you will need to update your code references. Refer to the [upgrade guide](https://www.prisma.io/docs/guides/upgrade-guides/upgrading-versions/upgrading-to-prisma-5#migration-engine-renamed-to-schema-engine) for more information. ##### Fixes and improvements ##### Prisma Client - [Getting a string '(array)' in the generator config instead of the expected value when array is used](https://togithub.com/prisma/prisma/issues/9511) - [Misleading error message from `create` call](https://togithub.com/prisma/prisma/issues/11425) - [Client extensions incorrect typings when defined both specific model and all models methods](https://togithub.com/prisma/prisma/issues/17458) - [UncheckedUpdateManyInput types lead to conflicting names](https://togithub.com/prisma/prisma/issues/18534) - [`<Model>RelationFilterInput` does not take nullability into account](https://togithub.com/prisma/prisma/issues/18585) - [Full text search query with `OR` broke after opting in to `jsonProtocol` feature.](https://togithub.com/prisma/prisma/issues/18885) - [Prisma Client: remove list shorthands (for `jsonProtocol`)](https://togithub.com/prisma/prisma/issues/19303) - [Remove outdated preview feature aliases (transactionApi, aggregateApi)](https://togithub.com/prisma/prisma/issues/19305) - [Prisma Client generator: remove creation of a package.json](https://togithub.com/prisma/prisma/issues/19306) - [Prisma Client: make `jsonProtocol` GA ](https://togithub.com/prisma/prisma/issues/19310) - [Only upload engines files to `binaries.prisma.sh/all_commits/`](https://togithub.com/prisma/prisma/issues/19311) - [Prisma Client: remove "beforeExit" hook from LibraryEngine/DataProxyEngine](https://togithub.com/prisma/prisma/issues/19312) - [Prisma Client: remove `rejectOnNotFound`](https://togithub.com/prisma/prisma/issues/19315) - [Prisma Client: remove `runtime/index.js` bundle from client](https://togithub.com/prisma/prisma/issues/19316) - [Prisma CLI: remove non-existing `prisma dev` command](https://togithub.com/prisma/prisma/issues/19318) - [Prisma Client: remove legacy `photonResolver` and `provider=photonjs` handling](https://togithub.com/prisma/prisma/issues/19319) - [Prisma Client: make `fieldReference` GA](https://togithub.com/prisma/prisma/issues/19379) - [Prisma Client: make `extendedWhereUnique` GA](https://togithub.com/prisma/prisma/issues/19380) - [Remove backward compatibility for Prisma Client < 2.20 and Prisma CLI >= 2.20](https://togithub.com/prisma/prisma/issues/19417) - [Prisma CLI: remove `prisma2` "executable"](https://togithub.com/prisma/prisma/issues/19438) - [Query in findMany in prisma extends returns a wrong type](https://togithub.com/prisma/prisma/issues/19854) - [Can't specify $queryRawUnsafe return type after extending prisma client](https://togithub.com/prisma/prisma/issues/19862) - [FindMany returns wrong type after extending prisma client](https://togithub.com/prisma/prisma/issues/19864) - [4.16.x cannot wrap `$extend` in factory function when `compilerOptions.composite` is `true`](https://togithub.com/prisma/prisma/issues/19866) - [4.16: (MongoDB) Generated types for list composites are incorrect](https://togithub.com/prisma/prisma/issues/19880) - [Prisma Client Extensions: $allModels: { $allOperations } sets `query` type to `never`](https://togithub.com/prisma/prisma/issues/19888) - [Prisma Schema Type inside a Type not generating a right Payload](https://togithub.com/prisma/prisma/issues/19890) - [Field references are not available on extended clients](https://togithub.com/prisma/prisma/issues/19892) - [Prisma Client fluent API does not work with extends anymore on 4.16.1](https://togithub.com/prisma/prisma/issues/19921) - [Prisma not generating correct payload for types in models for MongoDB for 4.16.1 ](https://togithub.com/prisma/prisma/issues/19933) - [Prisma requires to install bun when generating client library ](https://togithub.com/prisma/prisma/issues/19945) - [Getting wrong types with prisma client extensions](https://togithub.com/prisma/prisma/issues/19958) - [Prisma Client: updating to 4.16.0 or 4.16.1 breaks Cloudflare worker, it errors with `The package "path" wasn't found on the file system but is built into node`](https://togithub.com/prisma/prisma/issues/19972) - [Result types are incorrectly inferred when `undefined` explicitly passed to `select`/`include`](https://togithub.com/prisma/prisma/issues/19997) - [Migrating to release: 4.16.2 throws typescript error: "TS1005: '?' expected".](https://togithub.com/prisma/prisma/issues/20024) ##### Prisma Migrate - [Make connecting to a cockroachdb database with `provider = "postgresql"` an error](https://togithub.com/prisma/prisma/issues/13222) - [Remove the deprecated `experimentalFeatures` generator property](https://togithub.com/prisma/prisma/issues/16294) - [Remove support for PostgreSQL 9.4 and 9.5](https://togithub.com/prisma/prisma/issues/19300) - [Upgrade embedded SQLite version](https://togithub.com/prisma/prisma/issues/19301) - [Drop support for Node.js v14](https://togithub.com/prisma/prisma/issues/19304) - [`db pull`: Remove the version checker from introspection](https://togithub.com/prisma/prisma/issues/19314) - [Prisma CLI: remove undocumented `doctor` command](https://togithub.com/prisma/prisma/issues/19317) - [Rename migration-engine to schema-engine](https://togithub.com/prisma/prisma/issues/19321) - [Prisma CLI: remove deprecated flags, arguments and "old migrate" logic](https://togithub.com/prisma/prisma/issues/19448) - [Remove obsolete `experimentalFeatures` generator property](https://togithub.com/prisma/prisma/issues/19540) - [Remove usage / mention of `experimentalFeatures`](https://togithub.com/prisma/prisma/issues/19541) ##### Language tools (e.g. VS Code) - [Mark `experimentalFeatures` as obsolete](https://togithub.com/prisma/language-tools/issues/1435) ##### Credits Huge thanks to [@&#8203;michaelpoellath](https://togithub.com/michaelpoellath), [@&#8203;RobertCraigie](https://togithub.com/RobertCraigie), [@&#8203;Coder246](https://togithub.com/Coder246), [@&#8203;RDIL](https://togithub.com/RDIL), [@&#8203;oohwooh](https://togithub.com/oohwooh), [@&#8203;rqres](https://togithub.com/rqres), [@&#8203;zhiyan114](https://togithub.com/zhiyan114), [@&#8203;spudly](https://togithub.com/spudly), [@&#8203;hayes](https://togithub.com/hayes), [@&#8203;boennemann](https://togithub.com/boennemann), [@&#8203;DongGunYoon](https://togithub.com/DongGunYoon) for helping! ##### 📺 Join us for another "What's new in Prisma" live stream Learn about the latest release and other news from the Prisma community by joining us for another ["What's new in Prisma"](https://youtube.com/playlist?list=PLn2e1F9Rfr6l1B9RP0A9NdX7i7QIWfBa7) live stream. The stream takes place [on YouTube](https://youtu.be/6rlKp_eBdZA) on **Thursday, July 13** at **5 pm Berlin | 8 am San Francisco**. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
1 parent de8ac90 commit 6512ca9

6 files changed

Lines changed: 85 additions & 82 deletions

File tree

packages/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"dependencies": {
3434
"@babel/runtime-corejs3": "7.22.6",
35-
"@prisma/client": "4.16.2",
35+
"@prisma/client": "5.0.0",
3636
"@whatwg-node/fetch": "0.9.7",
3737
"core-js": "3.31.1",
3838
"humanize-string": "2.1.0",

packages/cli/__mocks__/fs.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ fs.__getMockFiles = () => {
4646
fs.readFileSync = (path) => {
4747
// In prisma v4.3.0, prisma format uses a Wasm module. See https://github.com/prisma/prisma/releases/tag/4.3.0.
4848
// We shouldn't mock this, so we'll use the real fs.readFileSync.
49-
if (path.includes('prisma_fmt_build_bg.wasm')) {
49+
// Prisma v5.0.0 seems to have added the schema_build Wasm module.
50+
if (
51+
path.includes('prisma_fmt_build_bg.wasm') ||
52+
path.includes('prisma_schema_build_bg.wasm')
53+
) {
5054
return jest.requireActual('fs').readFileSync(path)
5155
}
5256

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@opentelemetry/resources": "1.14.0",
3636
"@opentelemetry/sdk-trace-node": "1.14.0",
3737
"@opentelemetry/semantic-conventions": "1.14.0",
38-
"@prisma/internals": "4.16.2",
38+
"@prisma/internals": "5.0.0",
3939
"@redwoodjs/api-server": "5.0.0",
4040
"@redwoodjs/cli-helpers": "5.0.0",
4141
"@redwoodjs/fastify": "5.0.0",
@@ -70,7 +70,7 @@
7070
"pluralize": "8.0.0",
7171
"portfinder": "1.0.32",
7272
"prettier": "2.8.8",
73-
"prisma": "4.16.2",
73+
"prisma": "5.0.0",
7474
"prompts": "2.4.2",
7575
"rimraf": "5.0.1",
7676
"secure-random-password": "0.2.3",

packages/record/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
},
2929
"dependencies": {
3030
"@babel/runtime-corejs3": "7.22.6",
31-
"@prisma/client": "4.16.2",
31+
"@prisma/client": "5.0.0",
3232
"@redwoodjs/project-config": "5.0.0",
3333
"core-js": "3.31.1"
3434
},
3535
"devDependencies": {
3636
"@babel/cli": "7.22.9",
3737
"@babel/core": "7.22.9",
38-
"@prisma/internals": "4.16.2",
38+
"@prisma/internals": "5.0.0",
3939
"esbuild": "0.18.11",
4040
"jest": "29.5.0"
4141
},

packages/structure/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"@babel/runtime-corejs3": "7.22.6",
3434
"@iarna/toml": "2.2.5",
35-
"@prisma/internals": "4.16.2",
35+
"@prisma/internals": "5.0.0",
3636
"@redwoodjs/project-config": "5.0.0",
3737
"@types/line-column": "1.0.0",
3838
"camelcase": "6.3.0",

yarn.lock

Lines changed: 74 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -6707,87 +6707,87 @@ __metadata:
67076707
languageName: node
67086708
linkType: hard
67096709

6710-
"@prisma/client@npm:4.16.2":
6711-
version: 4.16.2
6712-
resolution: "@prisma/client@npm:4.16.2"
6710+
"@prisma/client@npm:5.0.0":
6711+
version: 5.0.0
6712+
resolution: "@prisma/client@npm:5.0.0"
67136713
dependencies:
6714-
"@prisma/engines-version": 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81
6714+
"@prisma/engines-version": 4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584
67156715
peerDependencies:
67166716
prisma: "*"
67176717
peerDependenciesMeta:
67186718
prisma:
67196719
optional: true
6720-
checksum: c8d9518150ff6e55a9b8e7ec84874a2d32cc88fb7b84396457046aac79a6ac21a58cf873bff1df7354e9ff4b61f108199979cce29dd29d314a9f895b3910e55a
6720+
checksum: 3a7398c329964de9935c5e35aea8539d29147d78c70511691f8f0e6203d446118381372536d1a3c7851d17347596b8b9fcf673e7456c865e27fd9f832574c61e
67216721
languageName: node
67226722
linkType: hard
67236723

6724-
"@prisma/debug@npm:4.16.2":
6725-
version: 4.16.2
6726-
resolution: "@prisma/debug@npm:4.16.2"
6724+
"@prisma/debug@npm:5.0.0":
6725+
version: 5.0.0
6726+
resolution: "@prisma/debug@npm:5.0.0"
67276727
dependencies:
67286728
"@types/debug": 4.1.8
67296729
debug: 4.3.4
67306730
strip-ansi: 6.0.1
6731-
checksum: 27b60989109f226fd4ea02656cb8f4b69642ad27304e0d6b2787f1fae8327bc55d46b62176f0d9ce35a0827a938a914b9b0c46fbc757ee65ece026373bb53a11
6731+
checksum: 311aade51d9950c4751b39562e2e1ec88740b7c729da6a86e28dc662c8641fcc0002028a90f14790287dfaf24b318ee6a60cbf57bc01a135d3f8691c4ddaf615
67326732
languageName: node
67336733
linkType: hard
67346734

6735-
"@prisma/engines-version@npm:4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81":
6736-
version: 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81
6737-
resolution: "@prisma/engines-version@npm:4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81"
6738-
checksum: abbc2a14be5ca49d86306fd4087d89c65e2190c99012d54f797b48ff0c4e13ab27dd69aecdd2bf94c2c93f7b09b47dce301ec57ad32123344243118015b60d76
6735+
"@prisma/engines-version@npm:4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584":
6736+
version: 4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584
6737+
resolution: "@prisma/engines-version@npm:4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584"
6738+
checksum: 21ad9877ecd1d5a6763a33a354aeec9b41a0d7972679bd881fde7c2a3bf99269a4f6b41705c262fd2041d35045639150004d71eb4b4d95e864390e185c0b3756
67396739
languageName: node
67406740
linkType: hard
67416741

6742-
"@prisma/engines@npm:4.16.2":
6743-
version: 4.16.2
6744-
resolution: "@prisma/engines@npm:4.16.2"
6745-
checksum: 4f854a0b989b4bbbae0067311d126b20451be35df3569171e0d309b7a87962e5bf98480ded2065720a9246696df0bcf5f146a20ace9d0d7a62d0b35cddf6ad18
6742+
"@prisma/engines@npm:5.0.0":
6743+
version: 5.0.0
6744+
resolution: "@prisma/engines@npm:5.0.0"
6745+
checksum: 97d21ddca460910e9405f8a7de12354b0576c974abe5cf422774d960c92a30e076614aaad91fd3026db728be28edadb321f9b8e530e6010b5d849405c47e083d
67466746
languageName: node
67476747
linkType: hard
67486748

6749-
"@prisma/fetch-engine@npm:4.16.2":
6750-
version: 4.16.2
6751-
resolution: "@prisma/fetch-engine@npm:4.16.2"
6749+
"@prisma/fetch-engine@npm:5.0.0":
6750+
version: 5.0.0
6751+
resolution: "@prisma/fetch-engine@npm:5.0.0"
67526752
dependencies:
6753-
"@prisma/debug": 4.16.2
6754-
"@prisma/get-platform": 4.16.2
6753+
"@prisma/debug": 5.0.0
6754+
"@prisma/get-platform": 5.0.0
67556755
execa: 5.1.1
67566756
find-cache-dir: 3.3.2
67576757
fs-extra: 11.1.1
67586758
hasha: 5.2.2
67596759
http-proxy-agent: 7.0.0
67606760
https-proxy-agent: 7.0.0
67616761
kleur: 4.1.5
6762-
node-fetch: 2.6.11
6762+
node-fetch: 2.6.12
67636763
p-filter: 2.1.0
67646764
p-map: 4.0.0
67656765
p-retry: 4.6.2
67666766
progress: 2.0.3
67676767
rimraf: 3.0.2
67686768
temp-dir: 2.0.0
67696769
tempy: 1.0.1
6770-
checksum: a1b4694df8b5ded6045fd03d6395f89277313b53b928c326e561a8d8ca8f1d1098f1c7e505a6268f7220356f7c6cb213bf46e349bf8a9a5031dc0afcfe7207ba
6770+
checksum: 1e405a1d71d2ce014c8247a4dcd60ad4cfc705033eff2a7cd11846ad7f1b667a65f2d0d4e9f89782fd3408c77374f5c822b8ee5b616567aec85dad6be08db1bc
67716771
languageName: node
67726772
linkType: hard
67736773

6774-
"@prisma/generator-helper@npm:4.16.2":
6775-
version: 4.16.2
6776-
resolution: "@prisma/generator-helper@npm:4.16.2"
6774+
"@prisma/generator-helper@npm:5.0.0":
6775+
version: 5.0.0
6776+
resolution: "@prisma/generator-helper@npm:5.0.0"
67776777
dependencies:
6778-
"@prisma/debug": 4.16.2
6778+
"@prisma/debug": 5.0.0
67796779
"@types/cross-spawn": 6.0.2
67806780
cross-spawn: 7.0.3
67816781
kleur: 4.1.5
6782-
checksum: f9d67dcdf0c52d1987c753ccc9a3a3eb8c586d0733e27345b8d7dbcda23257a4df644d52b6520da1ce17c8a21879481508366805192c594b13414abe4ea98249
6782+
checksum: 6283443d434ce7a323e6350459ec97d1749fb80a599c09a2127e464187a57f8eafc05ee2fb0dacb548e462abdb240fb4627a532762576ae49cc6ed8e4568b3c0
67836783
languageName: node
67846784
linkType: hard
67856785

6786-
"@prisma/get-platform@npm:4.16.2":
6787-
version: 4.16.2
6788-
resolution: "@prisma/get-platform@npm:4.16.2"
6786+
"@prisma/get-platform@npm:5.0.0":
6787+
version: 5.0.0
6788+
resolution: "@prisma/get-platform@npm:5.0.0"
67896789
dependencies:
6790-
"@prisma/debug": 4.16.2
6790+
"@prisma/debug": 5.0.0
67916791
escape-string-regexp: 4.0.0
67926792
execa: 5.1.1
67936793
fs-jetpack: 5.1.0
@@ -6797,22 +6797,22 @@ __metadata:
67976797
tempy: 1.0.1
67986798
terminal-link: 2.1.1
67996799
ts-pattern: 4.3.0
6800-
checksum: c89a6160b7ac9ca659833c96511ce959c6f471cd1b26d8e2179dd6d9a32f92f486e3c981553cc10a2fe3a3a40478d2f285a411d70e40c214ef360cecfe8d5e25
6800+
checksum: ec3b0edb5b3c29c18ef57ddc7b1d2126f00192a2e0bea3435fd0ae7e2936a381787f9d1ae9d9c1cb1b3bc92078987a2998ad244a6202ef87889604af12ab2f03
68016801
languageName: node
68026802
linkType: hard
68036803

6804-
"@prisma/internals@npm:4.16.2":
6805-
version: 4.16.2
6806-
resolution: "@prisma/internals@npm:4.16.2"
6804+
"@prisma/internals@npm:5.0.0":
6805+
version: 5.0.0
6806+
resolution: "@prisma/internals@npm:5.0.0"
68076807
dependencies:
68086808
"@antfu/ni": 0.21.4
68096809
"@opentelemetry/api": 1.4.1
6810-
"@prisma/debug": 4.16.2
6811-
"@prisma/engines": 4.16.2
6812-
"@prisma/fetch-engine": 4.16.2
6813-
"@prisma/generator-helper": 4.16.2
6814-
"@prisma/get-platform": 4.16.2
6815-
"@prisma/prisma-fmt-wasm": 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81
6810+
"@prisma/debug": 5.0.0
6811+
"@prisma/engines": 5.0.0
6812+
"@prisma/fetch-engine": 5.0.0
6813+
"@prisma/generator-helper": 5.0.0
6814+
"@prisma/get-platform": 5.0.0
6815+
"@prisma/prisma-schema-wasm": 4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584
68166816
archiver: 5.3.1
68176817
arg: 5.0.2
68186818
checkpoint-client: 1.1.24
@@ -6831,7 +6831,7 @@ __metadata:
68316831
is-wsl: 2.2.0
68326832
kleur: 4.1.5
68336833
new-github-issue-url: 0.2.1
6834-
node-fetch: 2.6.11
6834+
node-fetch: 2.6.12
68356835
npm-packlist: 5.1.3
68366836
open: 7.4.2
68376837
p-map: 4.0.0
@@ -6848,14 +6848,14 @@ __metadata:
68486848
terminal-link: 2.1.1
68496849
tmp: 0.2.1
68506850
ts-pattern: 4.3.0
6851-
checksum: f808d08aa8740ea9d8a9e31a5df8e8da3fd4a1c6fb78dd8470bd16237d8f971404f566a972453a18eff991db88b8a0959f2637f7c95c233367b55cf0ed0d8329
6851+
checksum: 6046553337c4dac017c5935211eea2f66342a8187f37ba77e32f321d85b90e10e873851d997bf2167d2e50052a33e3bbc8ff3632ad8c6a7f29ee31992d34d6b3
68526852
languageName: node
68536853
linkType: hard
68546854

6855-
"@prisma/prisma-fmt-wasm@npm:4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81":
6856-
version: 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81
6857-
resolution: "@prisma/prisma-fmt-wasm@npm:4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81"
6858-
checksum: e603949032bc44341371a9a99799e0a91e41285c39588cbb0d445a0a0f1155199dcb74af5a94ae7c724d58d0097621cd9f77ea265cd1c562ab923677cf22415c
6855+
"@prisma/prisma-schema-wasm@npm:4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584":
6856+
version: 4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584
6857+
resolution: "@prisma/prisma-schema-wasm@npm:4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584"
6858+
checksum: 42792448e9b0ed687a828e9dc76d614aa67f6ccf62a822033f5e8fb206656f49b8e9a1a709cda27ecb597a2dfead58eaf779e175e059eb95a64dd0ab4a31d53d
68596859
languageName: node
68606860
linkType: hard
68616861

@@ -7057,7 +7057,7 @@ __metadata:
70577057
"@babel/cli": 7.22.9
70587058
"@babel/core": 7.22.9
70597059
"@babel/runtime-corejs3": 7.22.6
7060-
"@prisma/client": 4.16.2
7060+
"@prisma/client": 5.0.0
70617061
"@types/aws-lambda": 8.10.119
70627062
"@types/jsonwebtoken": 9.0.2
70637063
"@types/memjs": 1
@@ -7607,7 +7607,7 @@ __metadata:
76077607
"@opentelemetry/resources": 1.14.0
76087608
"@opentelemetry/sdk-trace-node": 1.14.0
76097609
"@opentelemetry/semantic-conventions": 1.14.0
7610-
"@prisma/internals": 4.16.2
7610+
"@prisma/internals": 5.0.0
76117611
"@redwoodjs/api-server": 5.0.0
76127612
"@redwoodjs/cli-helpers": 5.0.0
76137613
"@redwoodjs/fastify": 5.0.0
@@ -7644,7 +7644,7 @@ __metadata:
76447644
pluralize: 8.0.0
76457645
portfinder: 1.0.32
76467646
prettier: 2.8.8
7647-
prisma: 4.16.2
7647+
prisma: 5.0.0
76487648
prompts: 2.4.2
76497649
rimraf: 5.0.1
76507650
secure-random-password: 0.2.3
@@ -8027,8 +8027,8 @@ __metadata:
80278027
"@babel/cli": 7.22.9
80288028
"@babel/core": 7.22.9
80298029
"@babel/runtime-corejs3": 7.22.6
8030-
"@prisma/client": 4.16.2
8031-
"@prisma/internals": 4.16.2
8030+
"@prisma/client": 5.0.0
8031+
"@prisma/internals": 5.0.0
80328032
"@redwoodjs/project-config": 5.0.0
80338033
core-js: 3.31.1
80348034
esbuild: 0.18.11
@@ -8066,7 +8066,7 @@ __metadata:
80668066
"@babel/core": 7.22.9
80678067
"@babel/runtime-corejs3": 7.22.6
80688068
"@iarna/toml": 2.2.5
8069-
"@prisma/internals": 4.16.2
8069+
"@prisma/internals": 5.0.0
80708070
"@redwoodjs/project-config": 5.0.0
80718071
"@types/fs-extra": 11.0.1
80728072
"@types/line-column": 1.0.0
@@ -24137,6 +24137,20 @@ __metadata:
2413724137
languageName: node
2413824138
linkType: hard
2413924139

24140+
"node-fetch@npm:2.6.12, node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.7, node-fetch@npm:^2.6.9":
24141+
version: 2.6.12
24142+
resolution: "node-fetch@npm:2.6.12"
24143+
dependencies:
24144+
whatwg-url: ^5.0.0
24145+
peerDependencies:
24146+
encoding: ^0.1.0
24147+
peerDependenciesMeta:
24148+
encoding:
24149+
optional: true
24150+
checksum: 10372e4b5ee07acadc15e6b2bc6fd8940582eea7b9b2a331f4e3665fdcd968498c1656f79f2fa572080ebb37ea80e1474a6478b3b36057ef901b63f4be8fd899
24151+
languageName: node
24152+
linkType: hard
24153+
2414024154
"node-fetch@npm:2.6.7":
2414124155
version: 2.6.7
2414224156
resolution: "node-fetch@npm:2.6.7"
@@ -24162,20 +24176,6 @@ __metadata:
2416224176
languageName: node
2416324177
linkType: hard
2416424178

24165-
"node-fetch@npm:^2.0.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12, node-fetch@npm:^2.6.7, node-fetch@npm:^2.6.9":
24166-
version: 2.6.12
24167-
resolution: "node-fetch@npm:2.6.12"
24168-
dependencies:
24169-
whatwg-url: ^5.0.0
24170-
peerDependencies:
24171-
encoding: ^0.1.0
24172-
peerDependenciesMeta:
24173-
encoding:
24174-
optional: true
24175-
checksum: 10372e4b5ee07acadc15e6b2bc6fd8940582eea7b9b2a331f4e3665fdcd968498c1656f79f2fa572080ebb37ea80e1474a6478b3b36057ef901b63f4be8fd899
24176-
languageName: node
24177-
linkType: hard
24178-
2417924179
"node-forge@npm:^1, node-forge@npm:^1.3.1":
2418024180
version: 1.3.1
2418124181
resolution: "node-forge@npm:1.3.1"
@@ -26401,15 +26401,14 @@ __metadata:
2640126401
languageName: node
2640226402
linkType: hard
2640326403

26404-
"prisma@npm:4.16.2":
26405-
version: 4.16.2
26406-
resolution: "prisma@npm:4.16.2"
26404+
"prisma@npm:5.0.0":
26405+
version: 5.0.0
26406+
resolution: "prisma@npm:5.0.0"
2640726407
dependencies:
26408-
"@prisma/engines": 4.16.2
26408+
"@prisma/engines": 5.0.0
2640926409
bin:
2641026410
prisma: build/index.js
26411-
prisma2: build/index.js
26412-
checksum: 7568a9e6006eeba35e3a909bec3613fc70c2e1d2b7f40596eff36980532e8d4dec882feaa9d26e4a5746c4860dbe6592d5c82c32c189456acd3967265cfa2bf2
26411+
checksum: b3abfba634c86ac1d6be8b9d2ecce193d7e7224d94140902364e46cc5cc2309da225e5be21c17077c189f2a1fe7fb30aca461a164f18c9b43d7c5eba4f5c49c7
2641326412
languageName: node
2641426413
linkType: hard
2641526414

0 commit comments

Comments
 (0)