TanStack/router
 Watch   
 Star   
 Fork   
21 hours ago
router

Release 2026-09-09 21:48

Release 2026-09-09 21:48

Changes

Fix

  • harden URL handling across Router and Start (#8308) (9c1871ccc8) by @Sheraff
  • router-core: reload documents for cross-origin rewrites (#8287) (0654c0a1a4) by @Sheraff

Performance

  • router-core: avoid empty query serializer allocations (#8313) (f9836f16f0) by @schiller-manuel
  • react-router: avoid redundant Link state prop allocations (#8311) (9aec5a7012) by @schiller-manuel
  • router-core: index cache membership checks per commit (#8288) (9871c06258) by @LadyBluenotes
  • start-plugin-core: skip unused manifest build data (#8261) (919c397149) by @LadyBluenotes
  • react-router: avoid unnecessary composed handlers (#8279) (aee42c6b64) by @Sheraff

Chore

  • refresh Router and Start dependencies (#8300) (49bcd4db74) by @LadyBluenotes

Packages

  • @tanstack/history@1.162.3
  • @tanstack/nitro-v2-vite-plugin@1.155.2
  • @tanstack/react-router@1.170.34
  • @tanstack/react-start@1.168.51
  • @tanstack/react-start-client@1.168.32
  • @tanstack/react-start-rsc@0.1.50
  • @tanstack/react-start-server@1.167.39
  • @tanstack/router-cli@1.167.35
  • @tanstack/router-core@1.171.29
  • @tanstack/router-generator@1.167.35
  • @tanstack/router-plugin@1.168.37
  • @tanstack/router-utils@1.162.3
  • @tanstack/router-vite-plugin@1.167.37
  • @tanstack/solid-router@1.170.32
  • @tanstack/solid-start@1.168.49
  • @tanstack/solid-start-client@1.168.31
  • @tanstack/solid-start-server@1.167.38
  • @tanstack/start-client-core@1.170.29
  • @tanstack/start-plugin-core@1.171.41
  • @tanstack/start-server-core@1.169.33
  • @tanstack/start-static-server-functions@1.167.34
  • @tanstack/start-storage-context@1.167.31
  • @tanstack/vue-router@1.170.31
  • @tanstack/vue-start@1.168.48
  • @tanstack/vue-start-client@1.167.34
  • @tanstack/vue-start-server@1.167.38
21 hours ago
router

@tanstack/start-plugin-core@1.171.41

Patch Changes

  • #8300 49bcd4d - Refresh compatible build and runtime dependencies.

  • #8308 9c1871c - Validate navigation and redirect destinations, keep ambiguous relative URLs on the current origin, and constrain prerender requests and output paths. Prevent redirect headers from appearing in serialized server function response bodies.

    Preserve native form HTTP redirects, route error handling and masks for document redirects, and per-navigation destinations for shared loader redirects. Avoid redundant origin parsing and reduce link styling and server-rendering work. Configured origins must already be normalized.

    Keep blocked-link inactive props consistent during React hydration, honor explicit redirect Location headers before checking route options, and refresh Vue link state when destinations become internal. Reuse the protocol-relative URL check while parsing redirect schemes once.

    Reduce React link bundle size by sharing pathname comparisons, state-prop selection, and element creation.

    Share normalized pathname comparisons in Solid and Vue links to reduce bundle size.

  • #8261 919c397 - Avoid unused build indexes and skip CSS content capture when inline CSS is disabled in Vite and Rsbuild.

  • Updated dependencies [f9836f1, 49bcd4d, 9c1871c, 9871c06, 0654c0a]:

    • @tanstack/router-core@1.171.29
    • @tanstack/router-plugin@1.168.37
    • @tanstack/router-generator@1.167.35
    • @tanstack/router-utils@1.162.3
    • @tanstack/start-server-core@1.169.33
21 hours ago
router

@tanstack/history@1.162.3

Patch Changes

  • #8308 9c1871c - Validate navigation and redirect destinations, keep ambiguous relative URLs on the current origin, and constrain prerender requests and output paths. Prevent redirect headers from appearing in serialized server function response bodies.

    Preserve native form HTTP redirects, route error handling and masks for document redirects, and per-navigation destinations for shared loader redirects. Avoid redundant origin parsing and reduce link styling and server-rendering work. Configured origins must already be normalized.

    Keep blocked-link inactive props consistent during React hydration, honor explicit redirect Location headers before checking route options, and refresh Vue link state when destinations become internal. Reuse the protocol-relative URL check while parsing redirect schemes once.

    Reduce React link bundle size by sharing pathname comparisons, state-prop selection, and element creation.

    Share normalized pathname comparisons in Solid and Vue links to reduce bundle size.

  • #8287 0654c0a - Use full-document navigation when an output rewrite produces a cross-origin destination, including the public URL of a route mask.

    Respect registered history blockers during document navigation, passing history locations and the requested push or replace action.

21 hours ago
router

@tanstack/vue-start-client@1.167.34

Patch Changes

  • Updated dependencies [f9836f1, 9c1871c, 9871c06, 0654c0a]:
    • @tanstack/router-core@1.171.29
    • @tanstack/vue-router@1.170.31
    • @tanstack/start-client-core@1.170.29
21 hours ago
router

@tanstack/vue-router@1.170.31

Patch Changes

  • #8308 9c1871c - Validate navigation and redirect destinations, keep ambiguous relative URLs on the current origin, and constrain prerender requests and output paths. Prevent redirect headers from appearing in serialized server function response bodies.

    Preserve native form HTTP redirects, route error handling and masks for document redirects, and per-navigation destinations for shared loader redirects. Avoid redundant origin parsing and reduce link styling and server-rendering work. Configured origins must already be normalized.

    Keep blocked-link inactive props consistent during React hydration, honor explicit redirect Location headers before checking route options, and refresh Vue link state when destinations become internal. Reuse the protocol-relative URL check while parsing redirect schemes once.

    Reduce React link bundle size by sharing pathname comparisons, state-prop selection, and element creation.

    Share normalized pathname comparisons in Solid and Vue links to reduce bundle size.

  • Updated dependencies [f9836f1, 9c1871c, 9871c06, 0654c0a]:

    • @tanstack/router-core@1.171.29
    • @tanstack/history@1.162.3
21 hours ago
router

@tanstack/start-client-core@1.170.29

Patch Changes

21 hours ago
router

@tanstack/start-server-core@1.169.33

Patch Changes

  • #8308 9c1871c - Validate navigation and redirect destinations, keep ambiguous relative URLs on the current origin, and constrain prerender requests and output paths. Prevent redirect headers from appearing in serialized server function response bodies.

    Preserve native form HTTP redirects, route error handling and masks for document redirects, and per-navigation destinations for shared loader redirects. Avoid redundant origin parsing and reduce link styling and server-rendering work. Configured origins must already be normalized.

    Keep blocked-link inactive props consistent during React hydration, honor explicit redirect Location headers before checking route options, and refresh Vue link state when destinations become internal. Reuse the protocol-relative URL check while parsing redirect schemes once.

    Reduce React link bundle size by sharing pathname comparisons, state-prop selection, and element creation.

    Share normalized pathname comparisons in Solid and Vue links to reduce bundle size.

  • Updated dependencies [f9836f1, 9c1871c, 9871c06, 0654c0a]:

    • @tanstack/router-core@1.171.29
    • @tanstack/history@1.162.3
    • @tanstack/start-client-core@1.170.29
    • @tanstack/start-storage-context@1.167.31
21 hours ago
router

@tanstack/vue-start@1.168.48

Patch Changes

  • Updated dependencies [49bcd4d, 9c1871c, 919c397]:
    • @tanstack/start-plugin-core@1.171.41
    • @tanstack/vue-router@1.170.31
    • @tanstack/start-server-core@1.169.33
    • @tanstack/start-client-core@1.170.29
    • @tanstack/vue-start-client@1.167.34
    • @tanstack/vue-start-server@1.167.38
21 hours ago
router

@tanstack/start-storage-context@1.167.31

Patch Changes

21 hours ago
router

@tanstack/vue-start-server@1.167.38

Patch Changes

  • Updated dependencies [f9836f1, 9c1871c, 9871c06, 0654c0a]:
    • @tanstack/router-core@1.171.29
    • @tanstack/vue-router@1.170.31
    • @tanstack/start-server-core@1.169.33