Skip to content

Conversation

@AmanVarshney01
Copy link
Contributor

@AmanVarshney01 AmanVarshney01 commented Nov 18, 2025

Summary by CodeRabbit

  • Documentation
    • Added a compatibility warning about the Prisma Nuxt module with Prisma ORM 7 and custom generator setups.
    • Rewrote the Nuxt integration guide to show direct Prisma ORM usage with PostgreSQL rather than via the Nuxt module.
    • Updated database setup and examples from SQLite to PostgreSQL.
    • Updated code examples and deployment instructions to match the new direct Prisma/Postgres setup.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 18, 2025

Walkthrough

Adds a caution that @prisma/nuxt is unsupported with Prisma ORM 7 or custom generator client { output = ... }, and rewrites the Nuxt guide to use Prisma ORM directly with PostgreSQL, replacing module/Accelerate guidance with a Prisma client singleton, updated schema, seed, migration, and deployment instructions.

Changes

Cohort / File(s) Summary
Prisma Nuxt warning
content/200-orm/800-more/600-help-and-troubleshooting/900-prisma-nuxt-module.mdx
Adds a cautionary warning that @prisma/nuxt is not supported with Prisma ORM 7 or when using a custom generator client { output = ... }, and directs Prisma 7 users to the general Nuxt guide.
Nuxt guide rewrite (Prisma → Postgres)
content/800-guides/100-nuxt.mdx
Full rewrite replacing Nuxt module/Accelerate patterns with direct Prisma ORM usage: switches datasource from SQLite to PostgreSQL, introduces Prisma client singleton and adapter files (e.g., lib/prisma.ts, prisma.config.ts, prisma/seed.ts), updates schema.prisma (provider/output), migration/seed commands, example components to call prisma.user.findFirst(), and deployment/env guidance for DATABASE_URL/Vercel.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20–30 minutes

  • Verify internal consistency of code examples (singleton lib/prisma.ts, prisma.config.ts, seed script, and component usage).
  • Check schema/provider/output edits and migration commands for accuracy (Postgres vs SQLite, generator output path).
  • Confirm the deprecation warning text is accurate and not contradictory with other docs.

Possibly related PRs

Pre-merge checks

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title "Update nuxt guides" is vague and generic, failing to capture the significant architectural shift from the Nuxt module to direct Prisma ORM with PostgreSQL. Consider a more descriptive title that reflects the main changes, such as "Migrate Nuxt guide from @prisma/nuxt module to direct Prisma ORM with Postgres" or "Rework Nuxt guide to use Prisma ORM with Prisma Postgres instead of Nuxt module".
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7413b69 and e08a3f4.

📒 Files selected for processing (1)
  • content/800-guides/100-nuxt.mdx (9 hunks)
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.
📚 Learning: 2025-10-08T16:22:57.129Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.

Applied to files:

  • content/800-guides/100-nuxt.mdx
📚 Learning: 2025-10-09T21:32:50.340Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.

Applied to files:

  • content/800-guides/100-nuxt.mdx
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: All headings and titles should use sentence case (e.g., "Getting started with Prisma ORM", "Best practices for authentication"), not title case. Exception: Always preserve exact casing for product names including "Prisma Postgres", "Prisma", "Prisma ORM", and "Prisma Data Platform".

Applied to files:

  • content/800-guides/100-nuxt.mdx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Check internal links
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (9)
content/800-guides/100-nuxt.mdx (9)

1-21: Intro section looks good.

The updated title, description, and learning objectives clearly reflect the shift to direct Prisma ORM usage with PostgreSQL. Sentence case and product naming are correct.


27-27: Verify Node.js version guidance link targets Prisma 7 docs.

Line 27 links to the Prisma 6 upgrade guide. Since this guide is being updated for Prisma ORM 7, ensure the link correctly points to the Prisma 7 minimum Node.js requirements or an equivalent Prisma 7 reference.


39-48: Dependencies look correct for PostgreSQL adapter approach.

The setup properly installs @prisma/adapter-pg and pg for the PostgreSQL driver, plus tsx for the TypeScript seed script. Type dependencies (@types/pg) are also included.


54-68: Verify prisma/config API before publication.

The prisma.config.ts file uses defineConfig and env helpers from prisma/config. Please confirm these are valid and documented Prisma ORM APIs for your target version, as this pattern is not commonly referenced in standard Prisma documentation.


70-112: Schema and migration setup looks solid.

The schema correctly configures PostgreSQL as the provider with a custom generator output path (./generated). Since this guide uses direct Prisma ORM (not the @prisma/nuxt module), the custom output path is appropriate. The migration and dev server startup are properly sequenced.


173-257: Seeding implementation is well-structured.

The seed file properly instantiates the Prisma client with the PostgreSQL adapter, includes comprehensive sample data, and has proper error handling with disconnection. The npx prisma db seed command integration is correct.


259-346: Postgres setup and Vercel deployment sections are well-documented.

The instructions for creating a Prisma Postgres instance, configuring it in the app, and deploying to Vercel are clear and sequential. The .env example with the // edit-next-line comment properly indicates user action needed. Environment variable handling for deployment is appropriately emphasized.


349-351: Closing section is appropriate.

The "Considerations" section properly frames the guide as a starting point for Prisma Postgres integration with Nuxt.


119-143: Fix import/export mismatch in singleton pattern.

The lib/prisma.ts file exports prisma as a named export (line 134: export const prisma = ...), but the User.server.vue component imports it as a default export (line 142: import prisma from '~/lib/prisma'). This will cause a runtime error.

Update line 142 to use the correct named import syntax:

-      import prisma from '~/lib/prisma'
+      import { prisma } from '~/lib/prisma'
⛔ Skipped due to learnings
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

Dangerous URL check

No absolute URLs to prisma.io/docs found.
No local URLs found.

@github-actions
Copy link
Contributor

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

  • This PR does not change any pages in a way that would require a redirect.

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

Note: Links are cached for 5 minutes. Failed links (timeouts, rate limits) are retried in a second run with longer timeout.

📊 Results Overview

Status Count
🔍 Total 2233
✅ Successful 2203
⏳ Timeouts 0
🔀 Redirected 6
👻 Excluded 22
❓ Unknown 0
🚫 Errors 1
⛔ Unsupported 1

Errors per input

Errors in 200-orm/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx

  • [ERROR] file:///home/runner/work/docs/docs/content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/orm/prisma-client/client-extensions | Cannot find file: File not found. Check if file exists and path is correct

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 18, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e08a3f4
Status:🚫  Build failed.

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
content/200-orm/800-more/600-help-and-troubleshooting/900-prisma-nuxt-module.mdx (1)

14-16: Consider linking to the recommended alternative guide.

The warning helpfully directs users to "the general Nuxt guide" for Prisma 7 projects, but doesn't provide a direct link. Consider updating the warning to reference the updated Nuxt guide by name or link to ensure users can easily find the recommended approach.

content/800-guides/100-nuxt.mdx (1)

33-33: Update heading to use sentence case.

Per documentation guidelines, headings should use sentence case (only first word and proper nouns capitalized). Update line 33 from "1. Create a New Nuxt Project and install Prisma dependencies" to "1. Create a new Nuxt project and install Prisma dependencies".

Apply this diff:

-## 1. Create a New Nuxt Project and install Prisma dependencies
+## 1. Create a new Nuxt project and install Prisma dependencies
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a38e614 and 7413b69.

📒 Files selected for processing (2)
  • content/200-orm/800-more/600-help-and-troubleshooting/900-prisma-nuxt-module.mdx (1 hunks)
  • content/800-guides/100-nuxt.mdx (9 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: ankur-arch
Repo: prisma/docs PR: 7066
File: content/200-orm/200-prisma-client/700-debugging-and-troubleshooting/245-troubleshooting-binary-size-issues.mdx:8-22
Timestamp: 2025-08-11T09:40:55.237Z
Learning: When the queryCompiler preview feature is enabled in Prisma ORM (v6.7.0+), it does not require Rust engines for CLI tools like `prisma migrate` or `prisma db pull`. The previous understanding that CLI tools would still need Rust binaries even with queryCompiler enabled is incorrect.
📚 Learning: 2025-10-08T16:22:57.129Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:50-66
Timestamp: 2025-10-08T16:22:57.129Z
Learning: In `.mdx` files, do NOT flag or suggest changes for the following code quality issues even if they represent poor practices: React anti-patterns (using var instead of useState, direct DOM manipulation), missing keys in .map() iterations, non-serializable props in getServerSideProps, unused variables, missing error handling, SQL injection vulnerabilities (unless actively showing how to fix them), insecure cookie settings, missing TypeScript types, PrismaClient instantiation patterns, or any other code quality, security, or performance issues. Documentation code snippets are copied from source code and often intentionally show "before" examples or common mistakes.

Applied to files:

  • content/200-orm/800-more/600-help-and-troubleshooting/900-prisma-nuxt-module.mdx
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: Only flag code snippets for (1) exposed secrets with real-looking values that should be placeholders (e.g., API keys, database passwords, AWS credentials), or (2) blatant syntax errors like missing parentheses, brackets, braces, or mismatched delimiters. Do not flag code quality issues, anti-patterns, security vulnerabilities, missing error handling, unused variables, or any other bad practices, as documentation intentionally shows problematic code.

Applied to files:

  • content/200-orm/800-more/600-help-and-troubleshooting/900-prisma-nuxt-module.mdx
📚 Learning: 2025-10-09T21:32:50.340Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7167
File: content/900-ai/prompts/astro.mdx:84-84
Timestamp: 2025-10-09T21:32:50.340Z
Learning: The `npx prisma init` command supports the following flags: `--db` (shorthand for `--datasource-provider prisma+postgres`), `--output` (specifies output location for generated client), `--generator-provider` (defines the generator provider), `--datasource-provider`, `--url`, `--preview-feature`, and `--with-model`. These are documented valid CLI options for Prisma init command.

Applied to files:

  • content/200-orm/800-more/600-help-and-troubleshooting/900-prisma-nuxt-module.mdx
  • content/800-guides/100-nuxt.mdx
📚 Learning: 2025-10-08T16:23:00.388Z
Learnt from: aidankmcalister
Repo: prisma/docs PR: 7165
File: content/800-guides/550-test-guide.mdx:85-90
Timestamp: 2025-10-08T16:23:00.388Z
Learning: For .mdx files in the prisma/docs repository: All headings and titles should use sentence case (e.g., "Getting started with Prisma ORM", "Best practices for authentication"), not title case. Exception: Always preserve exact casing for product names including "Prisma Postgres", "Prisma", "Prisma ORM", and "Prisma Data Platform".

Applied to files:

  • content/800-guides/100-nuxt.mdx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Check internal links
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (8)
content/800-guides/100-nuxt.mdx (8)

1-22: Front matter and intro messaging are well-aligned with the guide's new direction.

The title, description, and learning objectives clearly signal the shift to direct Prisma ORM setup, which will help users understand the approach upfront.


44-46: Prisma initialization and schema configuration are well-structured.

The prisma init command and schema setup properly configure PostgreSQL as the datasource. The custom output path in the generator aligns with the intent to use direct Prisma ORM setup rather than the Nuxt module (which has limitations with custom output paths).

Also applies to: 74-102


117-136: Prisma Client singleton pattern with PostgreSQL adapter is correctly implemented.

The lib/prisma.ts file establishes the proper singleton pattern, prevents multiple client instances, and correctly integrates the PrismaPg adapter for PostgreSQL connections. The conditional preservation of the global instance is a solid practice for development environments.


138-148: Server component implementation is clean and handles the happy path and edge case well.

The User.server.vue component correctly queries the database and gracefully displays a fallback message when no user exists.


150-157: The app.vue update properly leverages Nuxt Islands for server-side rendering.


172-256: Seed script is well-structured with proper adapter usage and error handling.

The prisma/seed.ts file correctly sets up the PostgreSQL adapter, provides realistic sample data, and includes proper error handling with database disconnection. The structure aligns well with the singleton pattern established earlier in the guide.


258-346: Deployment guidance is comprehensive and includes critical safety checks.

The Prisma Postgres creation steps and Vercel deployment instructions are well-organized. The prominent warning about the DATABASE_URL environment variable being required will help prevent failed deployments. The verification steps give users confidence their setup is working.


49-67: Code is valid—prisma.config.ts with defineConfig and env is the standard approach in Prisma 7.

Prisma 7 supports a prisma.config.ts file and the defineConfig and env helpers from the prisma/config module. The configuration pattern shown in the guide is documented and correct.

- Basic knowledge of Git and Vercel deployment (helpful but not required).

## 1. Create a New Nuxt Project and set up the Prisma Nuxt module
## 1. Create a New Nuxt Project and install Prisma dependencies
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
## 1. Create a New Nuxt Project and install Prisma dependencies
## 1. Create a New Nuxt Project and install Prisma ORM dependencies

},
devtools: { enabled: true },
});
npx prisma init --datasource-provider postgresql
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not use prisma init --db

```terminal
cd hello-world
npm i @prisma/nuxt
npm install prisma @prisma/client @prisma/adapter-pg pg dotenv tsx
Copy link
Contributor

Choose a reason for hiding this comment

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

are the deps correct?

What about the type deps mentioned by Alberto?

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

Note: Links are cached for 5 minutes. Failed links (timeouts, rate limits) are retried in a second run with longer timeout.

📊 Results Overview

Status Count
🔍 Total 2234
✅ Successful 2205
⏳ Timeouts 0
🔀 Redirected 3
👻 Excluded 23
❓ Unknown 0
🚫 Errors 2
⛔ Unsupported 1

Errors per input

Errors in 200-orm/100-prisma-schema/10-overview/03-generators.mdx

Errors in 200-orm/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx

  • [ERROR] file:///home/runner/work/docs/docs/content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/orm/prisma-client/client-extensions | Cannot find file: File not found. Check if file exists and path is correct

@AmanVarshney01 AmanVarshney01 merged commit 7731181 into prisma-7 Nov 18, 2025
3 of 6 checks passed
@AmanVarshney01 AmanVarshney01 deleted the update-nuxt branch November 18, 2025 16:54
aidankmcalister pushed a commit that referenced this pull request Nov 18, 2025
* update nuxt guide

* update
@coderabbitai coderabbitai bot mentioned this pull request Nov 19, 2025
mhessdev pushed a commit that referenced this pull request Nov 19, 2025
* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* (feat) Removes Accelerate specific instructions for Prisma Postgres (#7268)

* (feat) Removes Accelerate specific instructions for Prisma Postgres

* feat: update Deno integration guide to include additional development dependencies

* Update Cloudflare D1 Guides (#7273)

* feat: update serverless driver docs (#7272)

* feat: update serverless driver docs

* feat: add connection pool defaults

* feat: add query caching steps for prisma postgres

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/index.mdx

* Update content/200-orm/050-overview/500-databases/200-database-drivers.mdx

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

* docs(): add v7 migration guide (#7249)

* docs(): add v7 migration guide

* docs(): update based on feedback

* Update content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/400-upgrading-to-prisma-7.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* docs(): update based on feedback

* docs(): update based on feedback

* docs(): update based on feedback

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* update turso guide (#7274)

* (feat) Explicitly running prisma generate after migrate dev command and import updates (#7276)

* Update nuxt guides (#7275)

* update nuxt guide

* update

* broken link fix

* broken link fixed

* fix: add SQLite notes (#7277)

* fix: add SQLite notes

* fix: update serverless driver doc

* feat: add callout

* Prisma 7 merge fix (#7278)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clear redirect loop (#7250)

* Fix typo in environment variables reference (#7193)

* Fix typo in environment variables reference

* remove duplicate can be

---------

Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* chore(): add summary sections to top pages (#7228)

* DC-6234 Getting Started Page Updates (#7254)

* arrow added

* quickstart card hover

* always copy button added

* hover effect on copy button

* spcaer added

* pointless css removed

* updaets

* fuctional

* revewrt

* fixed for mobile

* link fix

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>
Co-authored-by: Odysseus Zhang <b1fzhang@gmail.com>
Co-authored-by: Mike Hartington <mhartington@users.noreply.github.com>

* spell check words added

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* `pgcrypto` added to spellcheck

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* docs(): add note about vscode version pinning (#7279)

* docs(): add note about vscode version pinning

* Optimised images with calibre/image-actions

* Update content/250-postgres/350-integrations/500-vscode.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* docs(postgres): remove accelerate reference (#7246)

* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* docs(postgres): remove accelerate reference
Remove reference to accelerate and rework the docs to account for the new v7 changes

* Optimised images with calibre/image-actions

* docs(): update with feedback

* Optimised images with calibre/image-actions

* docs(ppg): updates

* docs(): update based on feedback

* docs(): update based on feedback

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>

* docs(metrics): remove metrics API (#7248)

* DC-5044 `prisma-client-js` deprecated (#7219)

* `prisma-client-js` deprecated

* chore: empty commit

* broken link updated

* DC-5040 Env Vars via Config (#7227)

* added env vars section to various pages

* minor coderabbit updates

* verbose removed

* test removed redirect list

* removed quickstart addition

* converted quickstarts back

* urls deprecated (#7226)

* minimum version uodated (#7234)

* DC-5043 Middleware removed from docs (#7233)

* middleware deleted

* more middleware removed

* more middleware removed

* coderabbit changes

* docs(metrics): remove metrics API

* DC-6174: Remove adapter, engine, directUrl, studio from config (#7256)

* feat: add new features

* fix: revert links

* fix: broken links

* fix: broken link

* feat: restructure getting started side nav (#7245)

* feat(docs): add youtube embeded link to blog post (#7220)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* feat(docs): add quick  section to blog after the prompt (#7221)

Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>

* DC-5242 Astro Better-Auth Guide (#7215)

* doc created

* nextjs betterauth fixed

* guide broken down into manageable steps

* image added

* Optimised images with calibre/image-actions

* image updated

* Optimised images with calibre/image-actions

* lychee only comments on broken links

* config updated

* lychee updated based on CR comment

* chore: trigger CI checks

* ignore gnu

* fix: update naming to better-auth DC-6120

* Optimised images with calibre/image-actions

* chore: shorten word

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>

* feat: restructure getting started side nav

* DC-5841 Removed Linkspector (#7231)

* removed linkspector

* retrigger

* retrigger

* retrigger

* Update label for Prisma Postgres tab (#7236)

* fix: content changes for getting started page (#7216)

* fix: content changes for getting started page

* fix: add redirects

* getting started checkpoint

* css styles fixed

* updates

---------

Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>

* DC-5820 AI Agents Served Markdown (#7237)

* ai crawler check successful

* ai crawlers checked

* update

* added anthropic

* middleware update

* improve detection

---------

Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: add prisma-orm quickstarts

* fix: update times and add proper links

* fix: instropspect changes

* feat: add get started from prisma orm page

* feat: add other orms

* fix: update other tools + ppg

* fix: add more clarity

* fix: add prisma postgres

* feat: clear migrate from early access

* fix: add to existing dbs sections

* Remove MCP server exploration tip (#7241)

Removed tip about using Cloudflare's AI Playground for MCP server exploration, as it no longer seems to reliably work.

* fix: clean-up docs files

* fix: typeorm missing urls

* fix: broken link

* fix: update titles

* fix: clear redirect loop (#7250)

* fix: add generate step + sqlite fixes

* fix: clean-up redirects file DC-6228

* fix: clean-up unnecessary file

* fix: remove unknown word

* fix: add links

---------

Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>

* feat: update .env docs DC-6204 (#7259)

* fix: clarify config file path better (#7261)

* Update ORM docs (#7260)

* update

* use pg adapter instead of accelerate

* update

* add dotenv in prisma.config.ts

* fix warning note

* update

* update

* Update guides to use prisma.config.ts (#7243)

* (feat) Update guides to use prisma.config.ts

* refactor: Updated guides for Prisma 7 changes

---------

Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>

* feat: update ppg for other dbs section (#7264)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* feat: separate the sections better

* fix: remove badges

* feat: update prisma init related changes in other parts (#7267)

* feat: add kysley

* feat: add drizzle

* feat: add typeorm

* fix: clean-up

* fix: update prisma init command changes

* feat: update prisma cli docs

* fix: clarify the usage of prisma init better

* fix: add type defs

* feat: add pg as a dependency

* fix: broken internal link

* Update docs to perform migrations with connection pooling and Prisma config (#7266)

* feat: add mentions of new Prisma Studio (#7270)

* feat: add mentions of new Prisma Studio

* feat: add note for Studio for SQLite

* Update content/100-getting-started/02-prisma-orm/100-quickstart/200-sqlite.mdx

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/200-sqlite.mdx

* fix: make prisma studio docs more accurate

* fix: add missing punctuation

* feat: add mention of mongo support coming for P7 (#7271)

* feat: add mention of mongo support coming for mongo

* fix: refinements

* Update content/100-getting-started/02-prisma-orm/200-add-to-existing-project/800-mongodb.mdx

* Restore content/200-orm/200-prisma-client/600-observability-and-logging/240-metrics.mdx

* docs(): update based on feedback

* Update content/200-orm/200-prisma-client/000-setup-and-configuration/050-databases-connections/115-connection-pool.mdx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Ankur Datta <64993082+ankur-arch@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix build errors

* fix

* Add callout for bun and sqlite (#7280)

* Add caalout for bun and sqlite

* add link to bun docs

* fix: get started path url (#7281)

* fix: clarify studio better (#7282)

* feat: add connection pooling gif (#7284)

---------

Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com>
Co-authored-by: Arthur <arthur_gamby@hotmail.fr>
Co-authored-by: Arthur Gamby <arthurgamby@Mac-002.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Petra Donka <donkapetra@gmail.com>
Co-authored-by: Aidan McAlister <aidankmcalister@gmail.com>
Co-authored-by: Mike Hartington <mikehartington@gmail.com>
Co-authored-by: Aman Varshney <amanvarshney.work@gmail.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>
Co-authored-by: Mike Hartington <mhartington@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Odysseus Zhang <b1fzhang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants