Skip to content

Releases: TanStack/router

v1.121.0-alpha.28

12 Aug 17:51
Compare
Choose a tag to compare
v1.121.0-alpha.28 Pre-release
Pre-release

Version 1.121.0-alpha.28 - 8/12/25, 5:49 PM

Changes

Feat

  • restructure query-integration (#4643) (90adfe9) by Manuel Schiller
  • react-router: add disableGlobalCatchBoundary option (#4765) (e831993) by Jaen
  • pass in router instance in client function middleware (#4723) (f9dfb31) by Manuel Schiller
  • optional path params (#4597) (a2424c0) by Tanner Linsley
  • use seroval for SSR (#4600) (6475b35) by Manuel Schiller
  • custom vite react/solid plugins (#4609) (d4ddeb5) by Manuel Schiller
  • ssr setting per route (#4565) (d728d69) by Manuel Schiller
  • Add style to HeadContent (#4559) (ceec4f2) by Felipe Stanzani
  • add forcePending to router.invalidate() (#4545) (8276c5f) by Manuel Schiller
  • add optional shellComponent to root route (#4528) (eb28ad0) by Manuel Schiller
  • Merge alpha to main (#4365) (8b5accb) by Manuel Schiller
  • start-plugin-core: load all environment variables for dev (#4262) (a02afb6) by Sean Cassiere
  • server-functions-plugin: make the manifest output path configurable (#4232) (baf6a52) by Sean Cassiere
  • start-server-core: resolve relative requests to the same origin (#4183) (f430560) by Sean Cassiere
  • shell mode (273c4c1) by Tanner Linsley
  • react-start: Wrap default client entry with <StrictMode> (#4159) (4e0638b) by @ryanagillie
  • router-core: type level parsing of path params (#4144) (9f63d40) by Christopher Horobin

Fix

  • RELEASE_ALL (#4896) (d063dd6) by Manuel Schiller
  • publish package (#4895) (36f3253) by Manuel Schiller
  • do not pre-decodeURI before passing to createMemoryHistory (#4893) (e755316) by Tanner Linsley
  • router-generator: use the tmpDir when genearting a temporary filename (#4882) (2cfadef) by Ali Idrizi
  • do not create temp subdirectories for router generator (#4860) (85cba55) by Manuel Schiller
  • account for exports being a string (#4859) (6e191fd) by Manuel Schiller
  • do not add ESM deps to optimizeDeps without a "." export (#4855) (db2b2c4) by Manuel Schiller
  • router-core: processRouteTree orders routes w/ prefix / suffix based on their lengths (#4850) (c1f6dfe) by @Sheraff
  • correctly match routes with optional path params followed by req… (#4838) (ce9e373) by Manuel Schiller
  • dev server (#4820) (f0def50) by Manuel Schiller
  • crawl deps to find packages which have start as peer dep (#4821) (81da91c) by Manuel Schiller
  • spa mode with prerendering (#4811) (d09f5da) by Manuel Schiller
  • prerending with SPA mode enabled renders all routes (#4800) (c8be12c) by Manuel Schiller
  • scroll to top with hash history (#4795) (ec80698) by Manuel Schiller
  • pin all workspace dependencies and devDependencies (#4771) (b39b891) by @alvarosevilla95
  • scroll to top if no scroll restoration entry exists (#4786) (be7a578) by Manuel Schiller
  • ensure unique matchId when optional and required param are on the same level (#4751) (4f930d1) by Manuel Schiller
  • router-core: type mismatch for navigate function (#4625) (d485cc2) by Dimitris Karagiannis
  • router-core: update MatchRoutesFn signature and proper deprecate old usage (#4730) (af673b8) by Lee
  • fix start vite plugin during dev and prod (#4736) (748a4be) by Manuel Schiller
  • router-core: change error type in ErrorComponentProps (#4691) (e63f4e4) by Lee
  • re-enable fuzzy matching to allow notFoundMode: fuzzy (#4721) (ddc6b5d) by Manuel Schiller
  • ensure unique match id when optional parameter is not present (#4716) (7ae6f51) by Manuel Schiller
  • dev server improvements (#4706) (241a250) by Manuel Schiller
  • react-router: preserve ref type in createLink with required interface properties (#4674) (a9270d3) by Arciom Picikin
  • router-core: reset statusCode to 200 on navigation start (#4664) (7c6d4c1) by @jamongsalguclub
  • default to addHmr in dev if not set (#4689) (1b319d0) by Manuel Schiller
  • resolve flaky e2e tests on useServerFn redirect tests (#4688) (e90171a) by Nico Lynzaad
  • start-server-core: properly merge middleware context objects (#4665) (1930152) by @jamongsalguclub
  • assign random ports for e2e tests (#4676) (3854370) by Nico Lynzaad
  • solid-router: prevent client effects running on server (#4621) (ba590c2) by Indrek Ardel
  • router-plugin: composed plugin to consider options from json config (#4654) (aa1fb5d) by Sean Cassiere
  • allow createRouter to be async (#4652) (41bf26b) by Manuel Schiller
  • react-start-client: useServerFn returns a stable reference (#4647) (d537b56) by Tim
  • allow prerender if no pages specified (#4632) (5f42bc4) by James Cleveland
  • invalid path generation for params above groups routes (#4629) (6b55a33) by Juliusz Kościołek
  • start-server-functions-server: add base path to the RPC URL (#4619) (bbc480a) by Onur Guvenc
  • don"t run router.load() when hydrating only SSRed matches (#4630) (4b4562a) by Manuel Schiller
  • remove unused jsesc (#4628) (418ab85) by kusiewicz
  • remove debug log (#4604) (c334ecf) by kusiewicz
  • resolve false positive "could not find match from" (#4610) (16e50e0) by Nico Lynzaad
  • start: support SSR for non-Latin character route paths (#4611) (f9b5a5a) by wookhyung
  • lock solid-store version (#4607) (fb3d30a) by Brenley Dueck
  • correct url in dev server (#4593) (ba6f0ba) by Manuel Schiller
  • set component return type to any by default (#4592) (7ff52af) by Manuel Schiller
  • router-plugin: code-splitting to handle explicit undefined (#4564) (84228d5) by Wei Tang Lin
  • buildLocation check for non changing routes - consider trailing slashes (#4581) (9603235) by Nico Lynzaad
  • trim undefined from splat routes with no param (#4558) (5b4a874) by Tanner Linsley
  • solid-router: rerender match when id changes (#4568) (1098db7) by Brenley Dueck
  • solid-router: loaders being called twice during SSR (#4574) (eb8a5f0) by Brenley Dueck
  • clear pendingTimeout when match resolves (#4579) (ffb1fb4) by Manuel Schiller
  • Make buildLocation aware of non-changing routes (#4573) (09e152a) by Nico Lynzaad
  • don"t invalidate virtual module for server function manifest when compiling ?tsr-directive modules (#4566) (15ec551) by Manuel Schiller
  • correctly handle pending vs. cached matches (#4550) (05348a7) by Manuel Schiller
  • invalidate modules after server function manifest update (#4551) (6907535) by Manuel Schiller
  • correctly handle multiple imports of @tanstack/react-start/server (#4544) (9a6fa0a) by Manuel Schiller
  • pin packages to exact versions (#4537) (cb7c0b9) by Manuel Schiller
  • better error message in router generator (#4538) (5b74ca8) by Manuel Schiller
  • react-router,solid-router: prevent unsafeRelative prop going into the DOM (#4530) (55a8cd8) by Sean Cassiere
  • Preserve cached data during concurrent navigation and refetch (#4513) (40f456e) by hoony
  • ignore virtual server function manifest when compiling (#4523) (f07e33f) by Manuel Schiller
  • follow server fn redirects when submitting formdata (#4519) (91d1e38) by Vladimir Kutepov
  • preserve file owner and permissions when rewriting file in generator (#4522) (ef76302) by Manuel Schiller
  • only invalidate virtual server function manifest module in server env (#4521) (1853d37) by Manuel Schiller
  • start-plugin-core: use joinURL for joining js entries in manifests (#4508) (6a56817) by Andy Abi Haidar
  • router-core: resolve with basepath if to is not supplied (#4472) (785681f) by Jan Vollmer
  • server routes handle per verb middlewares (#4491) (ca017cd) by Manuel Schiller
  • use plugin hook filers (#4489) (4a1230d) by Manuel Schiller
  • ensure early hydration in prod build (#4488) (16fad9c) by Manuel Schiller
  • add id filter to transform to avoid matching .html on rspack/webpack (#4483) (9c8231d) by Manuel Schiller
  • server function fixes (#4474) (c47f56d) by Manuel Schiller
  • export RedirectOptions type (#4468) (7d80f1f) by Jan Vincent Liwanag
  • simplify server function handling (#4464) (f0146e1) by Manuel Schiller
  • make root server route aware of it being the root (#4463) (84cbcaa) by Manuel Schiller
  • swap caches also when not writing route tree file (#4459) (6d6a745) by Manuel Schiller
  • react-router, solid-router: make head function scripts load properly (#4323) (adc5d5c) by wookhyung
  • pin start related dependencies to exact versions (#4455) (13c6568) by Manuel Schiller
  • use bundle to determine preloads (#4453) (49b01ff) by Manuel Schiller
  • correctly pass "create" event to generator for rspack/webpack (#4440) (5d86e10) by Manuel Schiller
  • if validate search rewrites search params, issue a server-side redirect (#4439) (5cacc14) by Manuel Schiller
  • remove console.log (7afdc9a) by Manuel Schiller
  • resolve promises before setting them to undefined (#4434) (c4ff0db) by Manuel Schiller
  • only re-execute beforeLoad if previous run failed (#4433) (0ce89c3) by Manuel Schiller
  • replace backslashes in full paths when generating route nodes (#4430) (d83b6f2) by Yeoh Joer
  • execute server route middleware before SSR (#4423) (69448fd) by Manuel Schiller
  • when prerendering, always include the file scheme for the server entrypoint (#4424) (5ad1c37) by Yeoh Joer
  • various fixes (#4420) (6868e94) by Manuel Schiller
  • router-plugin: codeSplittingOptions.splitBehavior to work with verboseFileRoutes (#4414) (d2fe666) by Sean Cassiere
  • router-devtools-core: make solid-js a dependency (#4412) (bac5032) by Sean Cassiere
  • router-plugins correctly handle virtual file routes regardless of their location (#4407) (fc926bf) by Manuel Schiller
  • router-generator: allow standalone export (#4405) (35a5103) by Manuel Schiller
  • react-router-devtools: remove solid-js as a dependency (#4376) (b2fa955) by João Lucas de Oliveira Lopes
  • router-plugin: initialise generator within webpack plugin (#4378) (071ad2c) by Valentin Kunz
  • solid-router: Change <Link/>, <Block/> properties to be reactive (#4314) (c75daad) by Karolis Užkuraitis
  • make router.hydrate possibly async (#4391) (6837b81) by Manuel Schiller
  • generator fixes (#4389) (1a44973) by Manuel Schiller
  • generator fixes (#4362) (3614ac8) by Manuel Schiller
  • Slight simplification to llm rule generation now vibe-tools supports esm properly (#4347) (4b6b2c1) by Andr...
Read more

v1.131.6

11 Aug 16:29
Compare
Choose a tag to compare

Version 1.131.6 - 8/11/25, 4:28 PM

Changes

Fix

  • server functions reference serialization (#4913) (c71a9b8) by Manuel Schiller

Packages

v1.131.5

11 Aug 14:08
Compare
Choose a tag to compare

Version 1.131.5 - 8/11/25, 2:05 PM

Changes

Refactor

  • router-core: Avoid creating empty objects when not necessary (#4923) (039889a) by @Sheraff
  • react-router,solid-router: Minor simplification of MatchInner match logic in select (#4921) (94ea50f) by @Sheraff

Packages

v1.131.4

11 Aug 12:03
Compare
Choose a tag to compare

Version 1.131.4 - 8/11/25, 12:00 PM

Changes

Refactor

  • router-core: Reduce navigation work by making some properties non-reactive (#4916) (916253a) by @Sheraff

Docs

  • Update static-prerendering.md (#4903) (fe43f1b) by Abdullah Al-taheri

Packages

v1.131.3

10 Aug 21:42
Compare
Choose a tag to compare

Version 1.131.3 - 8/10/25, 9:39 PM

Changes

Refactor

Other

Packages

v1.131.2

08 Aug 23:41
Compare
Choose a tag to compare

Version 1.131.2 - 8/8/25, 11:38 PM

Changes

Fix

Packages

v1.131.1

08 Aug 23:32
Compare
Choose a tag to compare

Version 1.131.1 - 8/8/25, 11:31 PM

Changes

Fix

Docs

  • router: update links in how-to guides (#4878) (238c63f) by Lee

Packages

v1.131.0

08 Aug 21:53
Compare
Choose a tag to compare

Version 1.131.0 - 8/8/25, 9:53 PM

Changes

Feat

  • restructure query-integration (#4643) (90adfe9) by Manuel Schiller

Packages

v1.130.17

08 Aug 21:39
Compare
Choose a tag to compare

Version 1.130.17 - 8/8/25, 9:37 PM

Changes

Fix

  • do not pre-decodeURI before passing to createMemoryHistory (#4893) (e755316) by Tanner Linsley

Chore

Packages

v1.130.16

07 Aug 21:39
Compare
Choose a tag to compare

Version 1.130.16 - 8/7/25, 9:38 PM

Changes

Fix

  • router-generator: use the tmpDir when genearting a temporary filename (#4882) (2cfadef) by Ali Idrizi

Docs

Examples

Packages