Skip to content

prisma, prisma-engines: 6.19.0 -> 7.0.1 - #472380

Merged
happysalada merged 10 commits into
NixOS:masterfrom
jnsgruk:prisma-7
Dec 20, 2025
Merged

happysalada merged 10 commits into
NixOS:masterfrom
jnsgruk:prisma-7

Conversation

@jnsgruk

@jnsgruk jnsgruk commented Dec 19, 2025 •

Copy link
Copy Markdown
Member

This PR updates prisma and prisma-engines from 6.19.0 -> 7.0.1.

Because this is a breaking change, and some packages have yet to migrate to Prisma 7, this PR does the following:

  • Renames the existing prisma -> prisma_6
  • Renames the existing prisma-engines -> prisma-engines_6
  • Introduces prisma_7 and prisma-engines_7
  • Creates an alias prisma -> prisma_7
  • Creates an alias prisma-engines -> prisma-engines_7

As a drive-by, prisma_6 is also updated from 6.19.0 -> 6.19.1.

This is a follow-on from #467188, with thanks to @mahmoudajawad for the original work on Prisma 7.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@jnsgruk
jnsgruk force-pushed the prisma-7 branch 2 times, most recently from 27d9a9f to e8cdc89 Compare December 19, 2025 13:36
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment labels Dec 19, 2025
@jnsgruk
jnsgruk force-pushed the prisma-7 branch 3 times, most recently from f20dc1e to b43bcdc Compare December 19, 2025 13:55
@jnsgruk jnsgruk changed the title treewide: rename prisma -> prisma_6, prisma-engines -> `prisma-… prisma, prisma-engines: 6.19.0 -> 7.0.1 Dec 19, 2025
@nixpkgs-ci nixpkgs-ci Bot removed the 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment label Dec 19, 2025
@jnsgruk

jnsgruk commented Dec 19, 2025

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 472380
Commit: d2cb87074d81fe8c6fc4e3eb5a650d7535d5469f


x86_64-linux

✅ 9 packages built:
  • documenso
  • ghostfolio
  • linkwarden
  • prisma-engines_6
  • prisma-engines_7
  • prisma_6
  • prisma_7
  • umami
  • zipline

@jnsgruk
jnsgruk marked this pull request as ready for review December 19, 2025 14:31
@jnsgruk
jnsgruk requested a review from aqrln December 19, 2025 14:32
@jnsgruk

jnsgruk commented Dec 19, 2025

Copy link
Copy Markdown
Member Author

@Daste745 @mahmoudajawad I opened this as a successor to #467188

@jnsgruk

jnsgruk commented Dec 19, 2025

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 472380
Commit: c6508a8c664a774eec9f707328526c23503e7a7a


x86_64-linux

✅ 9 packages built:
  • documenso
  • ghostfolio
  • linkwarden
  • prisma-engines_6
  • prisma-engines_7
  • prisma_6
  • prisma_7
  • umami
  • zipline

@jnsgruk
jnsgruk requested a review from aqrln December 19, 2025 15:43

@diogotcorreia diogotcorreia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Umami diff LGTM

@jnsgruk

jnsgruk commented Dec 19, 2025

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 472380
Commit: 312848e061354d892094e1ca564e4e49738c17fd


x86_64-linux

✅ 9 packages built:
  • documenso
  • ghostfolio
  • linkwarden
  • prisma-engines_6
  • prisma-engines_7
  • prisma_6
  • prisma_7
  • umami
  • zipline

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ghostfolio diff LGTM, thank you!

@diogotcorreia diogotcorreia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran umami tests, everything works, thanks!

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 472380 --additional-package umami.tests
Commit: 312848e061354d892094e1ca564e4e49738c17fd


x86_64-linux

✅ 10 packages built:
  • documenso
  • ghostfolio
  • linkwarden
  • prisma-engines_6
  • prisma-engines_7
  • prisma_6
  • prisma_7
  • umami
  • umami.tests.umami
  • zipline

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Dec 19, 2025
@jnsgruk
jnsgruk requested a review from aqrln December 19, 2025 19:25

@happysalada happysalada left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diff looks good

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Dec 19, 2025
Later versions of Prisma 6 seem to require internet
access on the first run of `prisma init` to fetch
updates to the subcommand.

This fails in the test environment, but since we
are already sketching out the test schema structure
manually, we can drop that in favour of just creating
the prisma/ directory.
@jnsgruk

jnsgruk commented Dec 20, 2025

Copy link
Copy Markdown
Member Author

Fixed the CLI tests for Prisma 6 :)

prisma-7 prisma-7 4m0s
connect-dev-env ❯ nix build -L .#prisma_7.tests.cli

prisma-7 prisma-7
connect-dev-env ❯ echo $status
0

prisma-7 prisma-7
connect-dev-env ❯ nix build -L .#prisma_6.tests.cli

prisma-7 prisma-7
connect-dev-env ❯ echo $status
0

I think this is ready to go now 👍🏻

@aqrln aqrln left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. and removed 12.approvals: 2 This PR was reviewed and approved by two persons. labels Dec 20, 2025
@happysalada
happysalada added this pull request to the merge queue Dec 20, 2025
Merged via the queue into NixOS:master with commit aba1806 Dec 20, 2025
@jnsgruk

jnsgruk commented Dec 20, 2025

Copy link
Copy Markdown
Member Author

Thanks folks!

@jnsgruk
jnsgruk deleted the prisma-7 branch December 20, 2025 12:31
@diogotcorreia

Copy link
Copy Markdown
Member

Does it make sense to backport this, but keep the alias as prisma{,-engines} -> prisma{,-engines}_6?
At some point apps are going to update to require Prisma 7 and it's also useful for local development.

If no one opposes I don't mind opening a PR soon.

@diogotcorreia diogotcorreia added the 8.has: port to stable This PR already has a backport to the stable release. label Feb 19, 2026
@diogotcorreia diogotcorreia mentioned this pull request Feb 19, 2026
2 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants