📚 Subject area/topic
Backend guide
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/guides/backend/prisma-postgres/
📋 Description of content that is out-of-date or incorrect
It seems the Prisma Postgres guide in Astro Docs is using Prisma v7 (if not v6?). The default Prisma version is now 8.
When following the "Install dependencies and initialize Prisma" section, we start getting errors:
npx prisma init --db --output ./generated
✘ [CLI.INVALID_ARGUMENTS] No flag registered for --db, did you mean --yes?
The command is no longer available in v8, only in Prisma v7.
A quick fix could be to add "Prisma 7" to the prerequisites and pinning the version when installing the packages but... Prisma v8 is currently a release candidate and will reach the "final release" status in October 2026. This means Prisma v7 will only be supported for the next 18 months after the v8 release.
So, a better fix would be to check and update the guide so users can follow it with the latest Prisma version. Any help is appreciated.
The Prisma guide might be a good starting point to update our guide: https://www.prisma.io/docs/guides/frameworks/astro
(looking at their GitHub repo, this seems maintained/up-to-date: https://github.com/prisma/web/commits/main/apps/docs/content/docs/guides/frameworks/astro.mdx)
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
📚 Subject area/topic
Backend guide
📋 Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/guides/backend/prisma-postgres/
📋 Description of content that is out-of-date or incorrect
It seems the Prisma Postgres guide in Astro Docs is using Prisma v7 (if not v6?). The default Prisma version is now 8.
When following the "Install dependencies and initialize Prisma" section, we start getting errors:
The command is no longer available in v8, only in Prisma v7.
A quick fix could be to add "Prisma 7" to the prerequisites and pinning the version when installing the packages but... Prisma v8 is currently a release candidate and will reach the "final release" status in October 2026. This means Prisma v7 will only be supported for the next 18 months after the v8 release.
So, a better fix would be to check and update the guide so users can follow it with the latest Prisma version. Any help is appreciated.
The Prisma guide might be a good starting point to update our guide: https://www.prisma.io/docs/guides/frameworks/astro
(looking at their GitHub repo, this seems maintained/up-to-date: https://github.com/prisma/web/commits/main/apps/docs/content/docs/guides/frameworks/astro.mdx)
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response