chore(plugin-prisma): accept generator-helper 8.x and document Prisma 8 - #1655
Closed
hayes wants to merge 1 commit into
Closed
chore(plugin-prisma): accept generator-helper 8.x and document Prisma 8#1655hayes wants to merge 1 commit into
hayes wants to merge 1 commit into
Conversation
Prisma 8 (prisma@latest) is Prisma Next, a rewrite with its own client and no schema.prisma generators or @prisma/client, so the plugin cannot target it. Prisma ORM 7 continues on Prisma's v7 branch; the plugin is verified against that branch's current builds, and the generator-helper range is widened so an 8.x release of the classic packages does not install a second copy. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KbY4nojGaaVYDzhr21QfFw
🦋 Changeset detectedLatest commit: 092336c The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@pothos/core
@pothos/plugin-add-graphql
@pothos/plugin-complexity
@pothos/plugin-dataloader
@pothos/plugin-directives
@pothos/plugin-drizzle
@pothos/plugin-errors
@pothos/plugin-example
@pothos/plugin-federation
@pothos/plugin-grafast
@pothos/plugin-mocks
@pothos/plugin-prisma
@pothos/plugin-prisma-utils
@pothos/plugin-relay
@pothos/plugin-scope-auth
@pothos/plugin-simple-objects
@pothos/plugin-smart-subscriptions
@pothos/plugin-sub-graph
@pothos/plugin-tracing
@pothos/plugin-validation
@pothos/plugin-with-input
@pothos/plugin-zod
@pothos/tracing-newrelic
@pothos/tracing-opentelemetry
@pothos/tracing-sentry
@pothos/tracing-xray
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Investigated what "Prisma 8 support" means for the Prisma plugins. Short version: Prisma 8 is not a version bump the plugin can follow, and nothing in the plugin needs to change to keep working with the ORM it targets.
prisma@latest, currently8.0.0-rc.10) is Prisma Next — a from-scratch, contract-first rewrite with its owndb.orm.<Model>client. It has noschema.prismagenerators, no DMMF, and no@prisma/client; the unifiedprisma@8CLI has nogeneratecommand at all (CLI.UNKNOWN_COMMAND). There is nothing forprisma-pothos-typesto plug into.@prisma/client, generators) continues on thev7branch, published under theprevdist-tag, with a new@prisma/prisma7CLI wrapper andprisma7.config.tsfor running side by side with Prisma 8.plugin-prisma,plugin-prisma-utils,plugin-scope-auth,plugin-with-input) against thev7branch's current dev builds (8.1.0-dev.1ofprisma,@prisma/client,@prisma/generator-helper, adapters, runtime-utils): generate, typecheck, and tests all pass with no code changes.Changes
@prisma/generator-helperto^7.7.0 || ^8.0.0inplugin-prismaandplugin-prisma-utils. Thev7branch is already publishing8.xdev builds of the classic generator packages; without this, an 8.x classic release would install a second copy ofgenerator-helpernext to the user's.^7/@prisma/prisma7.Dev dependencies are left on stable
^7.7.0; the8.1.0-dev.1verification was local only.Test plan
plugin-prisma: generate,tsc, 89/89 tests — against both7.7.0and8.1.0-dev.1plugin-scope-auth(108/108) andplugin-with-input(3/3) — against8.1.0-dev.1plugin-prisma-utils: generate +tscagainst both; DB tests need Postgres, so relying on CIbiome checkon changed files🤖 Generated with Claude Code
https://claude.ai/code/session_01KbY4nojGaaVYDzhr21QfFw