Skip to content

fix: avoid cross-version redirects - #2420

Open
danielroe wants to merge 2 commits into
mainfrom
fix/redirects
Open

danielroe wants to merge 2 commits into
mainfrom
fix/redirects

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

📚 Description

spotted these when creating #2419

@danielroe
danielroe requested a review from atinux as a code owner September 9, 2026 09:12
@vercel

vercel Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
nuxt Error Error Sep 9, 2026 9:50am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Warning

Review limit reached

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 319a069c-7cae-4720-97ac-a1d305ab4b4f

📥 Commits

Reviewing files that changed from the base of the PR and between fa4f0c2 and b2892d8.

📒 Files selected for processing (1)
  • nuxt.config.ts

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 1e79dc64-ea78-4705-9f70-e501143d8305

📥 Commits

Reviewing files that changed from the base of the PR and between 52854d7 and fa4f0c2.

📒 Files selected for processing (1)
  • nuxt.config.ts

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Updated routeRules so 5.x documentation paths redirect to matching 5.x destinations. The changes cover directory-structure and missing redirects. Removed the /docs/4.x/guide/modules/module-dependencies redirect to the 5.x destination.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Severity of issue fixed: Low

Merge Risk: ⚪ Minimal · up to fa4f0

This change keeps redirected 5.x documentation links within the 5.x documentation set and removes an obsolete cross-version redirect. No merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: preventing cross-version redirects.
Description check ✅ Passed The description is brief but relates the redirect fixes to issues found while creating PR #2419.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/redirects

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.

@nuxt-com-bundle-report

nuxt-com-bundle-report Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Production bundle

Comparing 84c73f59 with b2892d8e. Compressed sizes are calculated from the emitted production assets.

Metric Base (Brotli) PR (Brotli) Δ Brotli Δ gzip
Client JavaScript 2.54 MiB 2.54 MiB +81 B (+0.0%) +229 B (+0.0%)
Client CSS 30.3 KiB 30.3 KiB — —
Other client assets 339.3 KiB 339.3 KiB -9 B (-0.0%) -1 B (-0.0%)
Total client assets 2.90 MiB 2.90 MiB +72 B (+0.0%) +228 B (+0.0%)

Largest module increases

Module Base (Brotli) PR (Brotli) Δ Brotli
/app/pages/docs/async-data-chunk-7.js 0 B 180 B +180 B
virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Froute-rules.mjs 3.6 KiB 3.8 KiB +170 B (+4.6%)
/app/pages/docs/async-data-chunk-6.js 0 B 168 B +168 B
/app/pages/docs/[version]/errors/async-data-chunk-19.js 0 B 159 B +159 B
/app/pages/blog/async-data-chunk-23.js 0 B 144 B +144 B
/app/pages/deploy/async-data-chunk-14.js 0 B 137 B +137 B
/app/pages/blog/async-data-chunk-24.js 0 B 126 B +126 B
/app/pages/deploy/async-data-chunk-13.js 0 B 121 B +121 B
/app/pages/enterprise/agencies/async-data-chunk-5.js 0 B 120 B +120 B
/app/pages/enterprise/agencies/async-data-chunk-8.js 0 B 120 B +120 B

Module values come from Nuxt’s analyzer and are attribution estimates. This workflow is currently report-only.

Workflow run

This branch had an error being deployed

1 failed deployment
Preview — b2892d8e Deployed Sep 9, 2026 by vercel[bot]
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.

1 participant