Skip to content

chore(router-plugin): require Vite 6 or later in the peer range - #8851

Merged
Sheraff merged 1 commit into
mainfrom
router-plugin/vite-6-peer
Nov 3, 2026
Merged

Sheraff merged 1 commit into
mainfrom
router-plugin/vite-6-peer

Conversation

@Sheraff

@Sheraff Sheraff commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Split out of #8817 so the big PR can shrink.

Narrows the vite peer range of @tanstack/router-plugin from >=5.0.0 || >=6.0.0 || >=7.0.0 || >=8.0.0 to >=6.0.0. Vite 5 is no longer supported.

Nothing in the workspace uses Vite 5, and the lockfile stays the same. A changeset (minor) is included.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Compatibility
    • @tanstack/router-plugin now requires Vite 6.0.0 or later; Vite 5 is no longer supported.

@changeset-bot

changeset-bot Bot commented Nov 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c4923b0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@tanstack/router-plugin Minor
@tanstack/router-vite-plugin Patch
@tanstack/start-plugin-core Patch
@tanstack/react-start-rsc Patch
@tanstack/react-start Patch
@tanstack/solid-start Patch
@tanstack/vue-start Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nx-cloud

nx-cloud Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit c4923b0

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded 11m 20s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 25s View ↗

☁️ Nx Cloud last updated this comment at 2026-11-03 14:48:53 UTC

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The router plugin now declares Vite >=6.0.0 as its peer dependency. A minor changeset states that Vite 5 is no longer supported.

Changes: Vite peer requirement

Layer / File(s) Summary
Update Vite peer requirement
packages/router-plugin/package.json, .changeset/router-plugin-vite-6-peer.md
The package metadata sets the Vite peer dependency to >=6.0.0. The changeset records that Vite 5 is no longer supported.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested labels: package: router-plugin

Suggested reviewers: ladybluenotes

Merge Risk: Minimal · up to c4923

No actionable merge-blocking risk remains.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the peer dependency change, motivation, testing context, changeset, and AI assistance. It does not use the required Changes, Checklist, and Release Impact headings or provide … Update the description to use the repository template. Add the Changes, Checklist, and Release Impact sections, and mark the applicable checklist items.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: requiring Vite 6 or later for the router plugin peer dependency.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

Full details: Description check

Explanation

The description explains the peer dependency change, motivation, testing context, changeset, and AI assistance. It does not use the required Changes, Checklist, and Release Impact headings or provide the required checklist selections.

Resolution

Update the description to use the repository template. Add the Changes, Checklist, and Release Impact sections, and mark the applicable checklist items.

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between f723f3b and c4923b0.

Files selected for processing: 2
  • .changeset/router-plugin-vite-6-peer.md
  • packages/router-plugin/package.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

1 package(s) bumped directly, 6 bumped as dependents.

🟨 Minor bumps

Package Version Reason
@tanstack/router-plugin 1.168.48 → 1.169.0 Changeset

🟩 Patch bumps

Package Version Reason
@tanstack/react-start 1.169.4 → 1.169.5 Dependent
@tanstack/react-start-rsc 0.1.65 → 0.1.66 Dependent
@tanstack/router-vite-plugin 1.167.48 → 1.167.49 Dependent
@tanstack/solid-start 1.169.4 → 1.169.5 Dependent
@tanstack/start-plugin-core 1.171.55 → 1.171.56 Dependent
@tanstack/vue-start 1.169.4 → 1.169.5 Dependent

@pkg-pr-new

pkg-pr-new Bot commented Nov 3, 2026

Copy link
Copy Markdown
More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/@tanstack/arktype-adapter@8851

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@8851

@tanstack/eslint-plugin-start

npm i https://pkg.pr.new/@tanstack/eslint-plugin-start@8851

@tanstack/history

npm i https://pkg.pr.new/@tanstack/history@8851

@tanstack/react-router

npm i https://pkg.pr.new/@tanstack/react-router@8851

@tanstack/react-router-devtools

npm i https://pkg.pr.new/@tanstack/react-router-devtools@8851

@tanstack/react-router-ssr-query

npm i https://pkg.pr.new/@tanstack/react-router-ssr-query@8851

@tanstack/react-start

npm i https://pkg.pr.new/@tanstack/react-start@8851

@tanstack/react-start-client

npm i https://pkg.pr.new/@tanstack/react-start-client@8851

@tanstack/react-start-rsc

npm i https://pkg.pr.new/@tanstack/react-start-rsc@8851

@tanstack/react-start-server

npm i https://pkg.pr.new/@tanstack/react-start-server@8851

@tanstack/router-cli

npm i https://pkg.pr.new/@tanstack/router-cli@8851

@tanstack/router-core

npm i https://pkg.pr.new/@tanstack/router-core@8851

@tanstack/router-devtools

npm i https://pkg.pr.new/@tanstack/router-devtools@8851

@tanstack/router-devtools-core

npm i https://pkg.pr.new/@tanstack/router-devtools-core@8851

@tanstack/router-generator

npm i https://pkg.pr.new/@tanstack/router-generator@8851

@tanstack/router-plugin

npm i https://pkg.pr.new/@tanstack/router-plugin@8851

@tanstack/router-ssr-query-core

npm i https://pkg.pr.new/@tanstack/router-ssr-query-core@8851

@tanstack/router-utils

npm i https://pkg.pr.new/@tanstack/router-utils@8851

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/@tanstack/router-vite-plugin@8851

@tanstack/solid-router

npm i https://pkg.pr.new/@tanstack/solid-router@8851

@tanstack/solid-router-devtools

npm i https://pkg.pr.new/@tanstack/solid-router-devtools@8851

@tanstack/solid-router-ssr-query

npm i https://pkg.pr.new/@tanstack/solid-router-ssr-query@8851

@tanstack/solid-start

npm i https://pkg.pr.new/@tanstack/solid-start@8851

@tanstack/solid-start-client

npm i https://pkg.pr.new/@tanstack/solid-start-client@8851

@tanstack/solid-start-server

npm i https://pkg.pr.new/@tanstack/solid-start-server@8851

@tanstack/start-client-core

npm i https://pkg.pr.new/@tanstack/start-client-core@8851

@tanstack/start-fn-stubs

npm i https://pkg.pr.new/@tanstack/start-fn-stubs@8851

@tanstack/start-plugin-core

npm i https://pkg.pr.new/@tanstack/start-plugin-core@8851

@tanstack/start-server-core

npm i https://pkg.pr.new/@tanstack/start-server-core@8851

@tanstack/start-static-server-functions

npm i https://pkg.pr.new/@tanstack/start-static-server-functions@8851

@tanstack/start-storage-context

npm i https://pkg.pr.new/@tanstack/start-storage-context@8851

@tanstack/valibot-adapter

npm i https://pkg.pr.new/@tanstack/valibot-adapter@8851

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/@tanstack/virtual-file-routes@8851

@tanstack/vue-router

npm i https://pkg.pr.new/@tanstack/vue-router@8851

@tanstack/vue-router-devtools

npm i https://pkg.pr.new/@tanstack/vue-router-devtools@8851

@tanstack/vue-router-ssr-query

npm i https://pkg.pr.new/@tanstack/vue-router-ssr-query@8851

@tanstack/vue-start

npm i https://pkg.pr.new/@tanstack/vue-start@8851

@tanstack/vue-start-client

npm i https://pkg.pr.new/@tanstack/vue-start-client@8851

@tanstack/vue-start-server

npm i https://pkg.pr.new/@tanstack/vue-start-server@8851

@tanstack/zod-adapter

npm i https://pkg.pr.new/@tanstack/zod-adapter@8851

commit: c4923b0

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Benchmarks

This pull request does not affect bundle size in any measured scenario.

@codspeed

codspeed Bot commented Nov 3, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 3.39%

2 warnings

⚠️ 48 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ 2 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚡ 2 improved benchmarks
✅ 192 untouched benchmarks
⏩ 3 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ Memory mem client navigation-churn (solid) 112.8 KB 108.9 KB +3.57%
⚡ Memory mem client unique-location-churn (solid) 70 KB 67.8 KB +3.2%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing router-plugin/vite-6-peer (c4923b0) with main (f723f3b)

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@Sheraff
Sheraff merged commit d250819 into main Nov 3, 2026
30 checks passed
@Sheraff
Sheraff deleted the router-plugin/vite-6-peer branch November 3, 2026 15:28
@github-actions github-actions Bot mentioned this pull request Nov 3, 2026
Sheraff added a commit that referenced this pull request Nov 3, 2026
Main landed parts of this PR separately against the old compiler
(#8851, #8852, #8853, #8855, #8856) and re-enabled the router-utils unit
tests (#8849): the PR already has each of them. The old-compiler files
main edited stay deleted; the entries keep the PR's implementation (same
esbuild error message). Main's changesets stay; the duplicated bullets
leave the PR's router-plugin, route generator and compiler core
changesets. The router plugin skill takes main's esbuild wording.

#8857 (route-group layouts typed with full path '/'): the PR's generator
already types them '/'. Main's test that a childless `_auth.tsx` next to
the index route conflicts is dropped: SPEC J1.15 makes that pair valid
here (route-paths.test.ts checks it through the router).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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