Write a compatibility policy for the prisma CLI and Composer

未关闭 适合新手
#416 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
documentation

调研方向

阅读 docs/architecture/adrs/0007-no-second-copy-of-a-product.md,并找出 CLI.SECOND_PACKAGE_COPY 建议的定义位置。在 docs/ 中编写一项策略,说明每个 prisma 发行版使用哪些 ORM 和 Composer 版本、用户如何找到匹配的 CLI 发行版,以及补丁发行版是否可以更改这些版本。策略回答了全部三个问题,且该建议指向此策略后,任务即告完成。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
26
派生
4
平均合并
12 小时 11 分钟
30 天内合并 PR
38

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

prisma/prisma-cli 的其他 Issue

查看 prisma/prisma-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。