Conversation
WalkthroughUpdated middleware documentation to state middleware removal in v6.14.0 and prior deprecation since v4.16.0; content otherwise unchanged. No code, API, or runtime changes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. ✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
content/200-orm/200-prisma-client/300-client-extensions/500-middleware/index.mdx
Outdated
Show resolved
Hide resolved
…ddleware/index.mdx
Deploying docs with
|
| Latest commit: |
cb355d2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1437fedd.docs-51g.pages.dev |
| Branch Preview URL: | https://nikolasburk-patch-6.docs-51g.pages.dev |
Dangerous URL checkNo absolute URLs to prisma.io/docs found. |
1 similar comment
Dangerous URL checkNo absolute URLs to prisma.io/docs found. |
Redirect checkThis PR probably requires the following redirects to be added to static/_redirects:
|
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
content/200-orm/200-prisma-client/300-client-extensions/500-middleware/index.mdx (1)
2-5: Frontmatter should reflect removal status (title/meta).Rename the page to “Legacy” and update SEO text to avoid implying current support.
-title: 'Middleware' -metaTitle: 'Middleware (Reference)' -metaDescription: 'Prisma Client middleware allows you to perform actions before or after any query on any model with the prisma.$use method.' +title: 'Middleware (Legacy)' +metaTitle: 'Middleware (Legacy) — Removed in v6.14.0' +metaDescription: 'Prisma Client middleware was removed in v6.14.0 (deprecated since v4.16.0). Use Prisma Client extensions instead.'Removal in v6.14.0 is documented publicly. (prisma.io)
🧹 Nitpick comments (2)
content/200-orm/200-prisma-client/300-client-extensions/500-middleware/index.mdx (2)
11-11: Tweak wording and add release date for precision.Suggest minor editorial changes and include the public release date.
-**Middleware has been removed in [v6.14.0](https://pris.ly/release/6.14.0)** and had been deprecated since [v4.16.0](https://github.com/prisma/prisma/releases/tag/4.16.0). +**Middleware was removed in [v6.14.0](https://pris.ly/release/6.14.0) (August 13, 2025)** and was deprecated in [v4.16.0](https://github.com/prisma/prisma/releases/tag/4.16.0).The removal and date are confirmed in the v6.14.0 release blog. (prisma.io)
19-21: Consider gating legacy samples to reduce confusion for v6.14+ readers.Optional: Move code samples under a “Legacy usage (≤ v6.13.x)” section or a collapsible, and add a one-line pointer to Client Extensions at the top of Samples. This helps readers on current versions avoid using
$use. (prisma.io)Also applies to: 34-45, 102-153
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
content/200-orm/200-prisma-client/300-client-extensions/500-middleware/index.mdx(1 hunks)
⏰ 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). (4)
- GitHub Check: Check internal links
- GitHub Check: runner / linkspector
- GitHub Check: Lost Pixel
- GitHub Check: Cloudflare Pages
🔇 Additional comments (1)
content/200-orm/200-prisma-client/300-client-extensions/500-middleware/index.mdx (1)
19-19: Verify cross-references to$usestill resolve post-removal.The links to “prisma.$use” and related anchors might change after removal. Please double-check they still resolve correctly or add version context.
If helpful, I can follow up with fixes/redirects once you confirm the target URLs.
Also applies to: 53-53
* Update index.mdx * Update content/200-orm/200-prisma-client/300-client-extensions/500-middleware/index.mdx
Summary by CodeRabbit