Skip to content

Update index.mdx#7087

Merged
nikolasburk merged 2 commits intomainfrom
nikolasburk-patch-6
Aug 28, 2025
Merged

Update index.mdx#7087
nikolasburk merged 2 commits intomainfrom
nikolasburk-patch-6

Conversation

@nikolasburk
Copy link
Contributor

@nikolasburk nikolasburk commented Aug 28, 2025

Summary by CodeRabbit

  • Documentation
    • Updated middleware documentation to state the feature has been removed as of v6.14.0 (previously marked deprecated since v4.16.0).
    • Clarifies recommended alternative using Prisma Client extensions and maintains existing guidance.
    • Improves accuracy and reduces confusion for users migrating from deprecated middleware.
    • No API or runtime changes.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 28, 2025

Walkthrough

Updated 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

Cohort / File(s) Summary
Docs: Prisma middleware status update
content/200-orm/200-prisma-client/300-client-extensions/500-middleware/index.mdx
Changed notice from “Deprecated in v4.16.0” to “Removed in v6.14.0; deprecated since v4.16.0.” No other edits.

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
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch nikolasburk-patch-6

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbit in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbit in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbit gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbit read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbit help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbit ignore or @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbit summary or @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbit or @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 28, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

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

View logs

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

Dangerous URL check

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

1 similar comment
@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.

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

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.

📥 Commits

Reviewing files that changed from the base of the PR and between dd77224 and cb355d2.

📒 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 $use still 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

@nikolasburk nikolasburk merged commit 5c4a19f into main Aug 28, 2025
9 of 11 checks passed
@nikolasburk nikolasburk deleted the nikolasburk-patch-6 branch August 28, 2025 13:52
jlecordier pushed a commit to jlecordier/docs-1 that referenced this pull request Sep 3, 2025
* Update index.mdx

* Update content/200-orm/200-prisma-client/300-client-extensions/500-middleware/index.mdx
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.

2 participants