TanStack/router
 Watch   
 Star   
 Fork   
17 hours ago
router

Release 2026-10-10 07:30

Release 2026-10-10 07:30

Changes

Fix

  • start: preserve dev SSR CSS order (#7830) (41916400b9) by @schiller-manuel
  • keep server-rendered pending UI of no-SSR routes through hydration (#8643) (ff9f753c09) by @Sheraff
  • router-core: avoid null bytes in dehydrated SSR match ids (#7654) (663282b0eb) by @VihaanAgarwal
  • router: cancel pending link preload before navigation (#8579) (d35aab425b) by @Sheraff

Performance

  • solid-router: let mergeProps memoize the Link's own props (#8619) (e7ab1570ec) by @Sheraff
  • router: skip Link work for routes a navigation leaves (#8602) (efc2042c2d) by @Sheraff
  • router-core, history: small parsing and bundle-size cleanups (#8605) (dfe3dea88a) by @Sheraff
  • react-router: reduce component nesting per route match (#8594) (2413cc0098) by @Sheraff

Chore

  • add AI contribution guidance to GitHub templates (#8641) (17a3121ff4) by @Sheraff
  • react-start-rsc: upgrade Rspack to 2.2.7 (#8542) (1f0f20a320) by @LadyBluenotes

Packages

  • @tanstack/history@1.162.5
  • @tanstack/react-router@1.170.42
  • @tanstack/react-start@1.168.61
  • @tanstack/react-start-client@1.168.40
  • @tanstack/react-start-rsc@0.1.60
  • @tanstack/react-start-server@1.167.47
  • @tanstack/router-cli@1.167.41
  • @tanstack/router-core@1.171.35
  • @tanstack/router-generator@1.167.41
  • @tanstack/router-plugin@1.168.43
  • @tanstack/router-vite-plugin@1.167.43
  • @tanstack/solid-router@1.170.39
  • @tanstack/solid-start@1.168.58
  • @tanstack/solid-start-client@1.168.38
  • @tanstack/solid-start-server@1.167.45
  • @tanstack/start-client-core@1.170.35
  • @tanstack/start-plugin-core@1.171.50
  • @tanstack/start-server-core@1.169.40
  • @tanstack/start-static-server-functions@1.167.40
  • @tanstack/start-storage-context@1.167.37
  • @tanstack/vue-router@1.170.38
  • @tanstack/vue-start@1.168.57
  • @tanstack/vue-start-client@1.167.41
  • @tanstack/vue-start-server@1.167.45
17 hours ago
router

@tanstack/start-client-core@1.170.35

Patch Changes

17 hours ago
router

@tanstack/start-server-core@1.169.40

Patch Changes

17 hours ago
router

@tanstack/vue-start-server@1.167.45

Patch Changes

17 hours ago
router

@tanstack/start-static-server-functions@1.167.40

Patch Changes

  • Updated dependencies []:
    • @tanstack/start-client-core@1.170.35
    • @tanstack/react-start@1.168.61
    • @tanstack/solid-start@1.168.58
17 hours ago
router

@tanstack/start-plugin-core@1.171.50

Patch Changes

  • #7830 4191640 - Fix dev SSR style collection to preserve CSS order without duplicating imported styles, while retaining styles from code-split routes. Keep layered imports from inline styles out of the global dev stylesheet. In bundled development, collect styles from a complete client bundle and load compiler dependencies through the bundler to avoid restarting client plugins. Preserve client hydration and reload SSR modules on file changes instead of clearing them on every request.

    Support newer Vite bundled dev versions by loading their separate client runtime before hydration and awaiting the client build through the updated environment API.

  • Updated dependencies [dfe3dea, efc2042, efc2042, dfe3dea, 663282b]:

    • @tanstack/router-core@1.171.35
    • @tanstack/start-server-core@1.169.40
    • @tanstack/router-generator@1.167.41
    • @tanstack/router-plugin@1.168.43
17 hours ago
router

@tanstack/history@1.162.5

Patch Changes

  • #8605 dfe3dea - Drop a duplicated current-location flag and a redundant createHref wrapper.

  • #8605 dfe3dea - Avoid temporary arrays when reading hash-history locations.

  • #8605 dfe3dea - Keep a leading query or fragment out of the parsed pathname, so hash-history URLs like /#?x=1 no longer repeat the query in the router location.

  • #8602 efc2042 - Fixed Link destinations that resolve to a route mask are now reused across navigations instead of being rebuilt every time. A mounted Link now follows changes to its href and reloadDocument props, and React Links no longer each subscribe to a hydration flag.

  • #8605 dfe3dea - Use slice instead of substring where the bounds are always ordered and non-negative.

17 hours ago
router

@tanstack/vue-start-client@1.167.41

Patch Changes

17 hours ago
router

@tanstack/vue-start@1.168.57

Patch Changes

  • Updated dependencies [4191640, efc2042, d35aab4, efc2042]:
    • @tanstack/start-plugin-core@1.171.50
    • @tanstack/vue-router@1.170.38
    • @tanstack/start-server-core@1.169.40
    • @tanstack/start-client-core@1.170.35
    • @tanstack/vue-start-client@1.167.41
    • @tanstack/vue-start-server@1.167.45
17 hours ago
router

@tanstack/vue-router@1.170.38

Patch Changes

  • #8602 efc2042 - Links of a route that the pending navigation leaves skip deriving the destination location, and clicks and preloads follow the href a Link displays. buildLocation now builds mask and routeMasks locations from the same _fromLocation as the destination.

  • #8579 d35aab4 - Cancel pending link preload timers when starting navigation to avoid redundant preloading while the destination is loading.

  • #8602 efc2042 - Solid and Vue Links reuse the router's built destination across navigations and derive their state through fewer reactive nodes. Solid Links call a user ref once per element and create no reactive nodes on the server.

  • Updated dependencies [dfe3dea, dfe3dea, dfe3dea, efc2042, efc2042, dfe3dea, 663282b]:

    • @tanstack/history@1.162.5
    • @tanstack/router-core@1.171.35