Write a compatibility policy for the prisma CLI and Composer

Open Beginner friendly
#416 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
documentation

Research direction

Read docs/architecture/adrs/0007-no-second-copy-of-a-product.md and find where CLI.SECOND_PACKAGE_COPY advice is defined. Write a policy in docs/ that answers which ORM and Composer versions each prisma release uses, how users find a matching CLI release, and whether patch releases may change those versions. Done when the policy answers all three and the advice points to it.

Written by the indexing model from the issue text.

Description

The ORM has a written policy for what stays compatible across releases. The prisma CLI and Composer have none.

Since the second-copy check (decision record docs/architecture/adrs/0007-no-second-copy-of-a-product.md), prisma refuses an ORM or Composer command unless the project's packages are the very copy it uses. So the open question is not which versions work together at run time. It is what a user is promised when they update:

  • which prisma release uses which ORM and Composer versions, and where a user can read that;
  • how a user finds the prisma release that matches their project's ORM version;
  • whether prisma may move its ORM or Composer version in a patch release.

Done when: a written policy answers these, in docs/, and the CLI.SECOND_PACKAGE_COPY advice can point at it.

Raised by Will Madden on 2026-11-30 during the GA compatibility work.

Dominant language
TypeScript
Stars
26
Forks
4
Avg merge
12h 11m
Merged PRs (30d)
38

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from prisma/prisma-cli

All issues in prisma/prisma-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.