Skip to content

Note current route-protection guidance in Core 2 upgrade guide#3408

Open
jacekradko wants to merge 1 commit into
jacek/deprecate-createroutematcher-astrofrom
jacek/deprecate-createroutematcher-upgrade
Open

Note current route-protection guidance in Core 2 upgrade guide#3408
jacekradko wants to merge 1 commit into
jacek/deprecate-createroutematcher-astrofrom
jacek/deprecate-createroutematcher-upgrade

Conversation

@jacekradko

@jacekradko jacekradko commented May 29, 2026

Copy link
Copy Markdown
Member

Stacked on #3407. The Core 2 Next.js upgrade guide documents the historical authMiddleware to clerkMiddleware migration, so this just adds a note that middleware-based auth checks have since been deprecated and points readers at the current protect-pages guidance. The historical examples are left as-is on purpose.

@jacekradko jacekradko requested a review from a team as a code owner May 29, 2026 21:26
@vercel

vercel Bot commented May 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-docs Ready Ready Preview Jun 5, 2026 3:36am

Request Review

@jacekradko jacekradko force-pushed the jacek/deprecate-createroutematcher-astro branch from e656171 to 5c87cc3 Compare June 5, 2026 02:15
@jacekradko jacekradko force-pushed the jacek/deprecate-createroutematcher-upgrade branch from c101a3d to 741cda4 Compare June 5, 2026 02:16
@jacekradko jacekradko force-pushed the jacek/deprecate-createroutematcher-astro branch from 5c87cc3 to 2f4f3bb Compare June 5, 2026 03:06
@jacekradko jacekradko force-pushed the jacek/deprecate-createroutematcher-upgrade branch from 741cda4 to 0e3a3fa Compare June 5, 2026 03:06
@jacekradko jacekradko force-pushed the jacek/deprecate-createroutematcher-astro branch from 2f4f3bb to 7370b57 Compare June 5, 2026 03:22
@jacekradko jacekradko force-pushed the jacek/deprecate-createroutematcher-upgrade branch from 0e3a3fa to 64b671c Compare June 5, 2026 03:22
…grade guide

The Core 2 Next.js upgrade guide documents the historical authMiddleware -> clerkMiddleware migration. Adds a note that middleware-based auth checks have since been deprecated, pointing to the current protect-pages guidance, without rewriting the historical examples.
@jacekradko jacekradko force-pushed the jacek/deprecate-createroutematcher-astro branch from 7370b57 to 36599b3 Compare June 5, 2026 03:35
@jacekradko jacekradko force-pushed the jacek/deprecate-createroutematcher-upgrade branch from 64b671c to 3aa8cb6 Compare June 5, 2026 03:35
@jacekradko

Copy link
Copy Markdown
Member Author

Heads up: this PR is part of the createRouteMatcher deprecation stack, which is being re-stacked on top of #3426.

#3426 carries a reframed, positive-recommendation version of the shared middleware-auth-deprecation partial plus the reworked Next.js protect-pages guidance, and is intended to merge to main first. Once it lands, this stack will be rebased onto it and pared down to the deltas it doesn't already cover.

Keeping do not merge until the rebase, no action needed here yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant