Skip to content

perf(router-core): buildLocation optimizations - #8117

Merged
Sheraff merged 1 commit into
mainfrom
perf-router-core-build-location-changesets
Aug 19, 2026
Merged

perf(router-core): buildLocation optimizations#8117
Sheraff merged 1 commit into
mainfrom
perf-router-core-build-location-changesets

Conversation

@Sheraff

@Sheraff Sheraff commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

once again i forgot the changesets for my PRs

optimize buildLocation path resolution #8108
skip building search validation when disabled #8112
skip location state sharing when impossible #8110
fix cache hits for mask resolution when entry is null #8111

Summary by CodeRabbit

  • Performance Improvements

    • Improved route resolution speed during navigation.
    • Reduced unnecessary search validation in applicable scenarios.
  • Bug Fixes

    • Improved sharing of navigation location state.
    • Fixed an issue that could cause incorrect handling of cached route-mask results.

@Sheraff
Sheraff merged commit 3e016ac into main Aug 19, 2026
8 of 9 checks passed
@Sheraff
Sheraff deleted the perf-router-core-build-location-changesets branch August 19, 2026 09:28
@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 15ef21f1-8c21-497c-8d61-351590b366c7

📥 Commits

Reviewing files that changed from the base of the PR and between 92749ab and 8e37bb7.

📒 Files selected for processing (1)
  • .changeset/shiny-radios-read.md

📝 Walkthrough

Walkthrough

The pull request adds a patch changeset for @tanstack/router-core. It documents four fixes and optimizations related to location building, search validation, location state sharing, and mask-resolution cache handling.

Changes

Router core release notes

Layer / File(s) Summary
Document router-core fixes
.changeset/shiny-radios-read.md
Adds a patch changeset that lists four router-core fixes and optimizations.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch perf-router-core-build-location-changesets

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.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Changeset Version Preview

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

🟩 Patch bumps

Package Version Reason
@tanstack/router-core 1.171.25 → 1.171.26 Changeset
@tanstack/react-router 1.170.30 → 1.170.31 Dependent
@tanstack/react-start 1.168.47 → 1.168.48 Dependent
@tanstack/react-start-client 1.168.28 → 1.168.29 Dependent
@tanstack/react-start-rsc 0.1.46 → 0.1.47 Dependent
@tanstack/react-start-server 1.167.35 → 1.167.36 Dependent
@tanstack/router-cli 1.167.31 → 1.167.32 Dependent
@tanstack/router-generator 1.167.31 → 1.167.32 Dependent
@tanstack/router-plugin 1.168.33 → 1.168.34 Dependent
@tanstack/router-vite-plugin 1.167.33 → 1.167.34 Dependent
@tanstack/solid-router 1.170.28 → 1.170.29 Dependent
@tanstack/solid-start 1.168.45 → 1.168.46 Dependent
@tanstack/solid-start-client 1.168.27 → 1.168.28 Dependent
@tanstack/solid-start-server 1.167.34 → 1.167.35 Dependent
@tanstack/start-client-core 1.170.25 → 1.170.26 Dependent
@tanstack/start-plugin-core 1.171.37 → 1.171.38 Dependent
@tanstack/start-server-core 1.169.29 → 1.169.30 Dependent
@tanstack/start-static-server-functions 1.167.30 → 1.167.31 Dependent
@tanstack/start-storage-context 1.167.27 → 1.167.28 Dependent
@tanstack/vue-router 1.170.27 → 1.170.28 Dependent
@tanstack/vue-start 1.168.44 → 1.168.45 Dependent
@tanstack/vue-start-client 1.167.30 → 1.167.31 Dependent
@tanstack/vue-start-server 1.167.34 → 1.167.35 Dependent

@github-actions github-actions Bot mentioned this pull request Aug 19, 2026
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