keystone icon indicating copy to clipboard operation
keystone copied to clipboard

fix(deps): update prisma monorepo to v4 (major)

Open renovate[bot] opened this issue 3 years ago • 4 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@prisma/client (source) 3.14.0 -> 4.2.1 age adoption passing confidence
@prisma/generator-helper (source) 3.14.0 -> 4.2.1 age adoption passing confidence
@prisma/migrate (source) 3.14.0 -> 4.2.1 age adoption passing confidence
prisma (source) 3.14.0 -> 4.2.1 age adoption passing confidence

Configuration

📅 Schedule: Branch creation - "before 7am on Tuesday,before 7am on Wednesday" in timezone Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Jun 28 '22 14:06 renovate[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
keystone-next-docs ✅ Ready (Inspect) Visit Preview Aug 22, 2022 at 4:58AM (UTC)

vercel[bot] avatar Jun 28 '22 14:06 vercel[bot]

🦋 Changeset detected

Latest commit: b01c3ead4c23f675635756b83b7dc9e7a1f1ba15

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 39 packages
Name Type
@keystone-6/core Major
@keystone-6/example-assets-local Patch
@keystone-6/example-assets-s3 Patch
@keystone-6/example-auth Patch
@keystone-6/example-app-basic Patch
@keystone-6/example-blog Patch
@keystone-6/example-custom-admin-ui-logo Patch
@keystone-6/example-custom-admin-ui-navigation Patch
@keystone-6/example-custom-admin-ui-pages Patch
@keystone-6/example-custom-field-view Patch
@keystone-6/example-custom-field Patch
@keystone-6/example-with-custom-session-validation Patch
@keystone-6/example-default-values Patch
@keystone-6/example-document-field Patch
@keystone-6/example-ecommerce Patch
@keystone-6/example-embedded-nextjs Patch
@keystone-6/example-extend-graphql-schema-graphql-ts Patch
@keystone-6/example-extend-graphql-schema-nexus Patch
@keystone-6/example-extend-graphql-schema Patch
@keystone-6/example-extend-graphql-subscriptions Patch
@keystone-6/example-graphql-api-endpoint Patch
@keystone-6/example-json-field Patch
@keystone-6/example-rest-api Patch
@keystone-6/example-roles Patch
@keystone-6/example-task-manager Patch
@keystone-6/example-testing Patch
@keystone-6/example-virtual-field Patch
@keystone-6/example-with-auth Patch
@keystone-6/auth Major
@keystone-6/cloudinary Major
@keystone-6/fields-document Major
@keystone-6/session-store-redis Major
@keystone-6/benchmarks-legacy Patch
@keystone-6/test-projects-basic Patch
@keystone-6/test-projects-crud-notifications Patch
@keystone-6/test-projects-live-reloading Patch
@keystone-6/sandbox Patch
@keystone-6/generate-artifacts-for-projects Patch
@keystone-6/website Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Jun 28 '22 14:06 changeset-bot[bot]

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b01c3ead4c23f675635756b83b7dc9e7a1f1ba15:

Sandbox Source
@keystone-6/sandbox Configuration

codesandbox-ci[bot] avatar Jun 28 '22 14:06 codesandbox-ci[bot]

Breaking Changes

This pull request changes the return type for resolveInput hook for json fields.

Previously you used 'DbNull' or 'JsonNull' as the respective null magic values when interacting with Prisma. With this change, you can now use a Javascript null value, which is mapped by Keystone to a Prisma.DbNull.

If you need a Prisma.JsonNull, you can import your Prisma client directly and provide that yourself. You can additionally return an explicit Prisma.DbNull if you prefer.

The cautionary warning for upgrading, is that the strings 'DbNull' and 'JsonNull' are now actual values that may be stored.

dcousens avatar Aug 01 '22 03:08 dcousens