Nicolas Beaussart
6f1daf5104
chore: update nx to 22.7.5 ( #7583 )
2026-06-08 08:41:48 +02:00
Manuel Schiller
9351e99796
fix: Fix React Fast Refresh state preservation for auto code-split ro… ( #7000 )
2026-03-21 01:27:50 +01:00
Nico Lynzaad
d293e1b15a
fix(route-core, router-generator): resolve non-nested routes correctly in generator ( #5402 )
...
* revert router-core changes
* add experimental nonnested path changes to generator
* update router-generator unit tests
* update basic-file-based-e2e
* cleanup
* cleanup
* add tests for isValidNonNestedPaths
* resolve eslint issues
* align naming to documentation
* cleanup
* update solidjs basic-file-based tests
* update documentation
* ci: apply automated fixes
* resolve test issues
* code rabbit suggestions
* ci: apply automated fixes
* fix excess period in routeTree path
* restore snapshot again
* ci: apply automated fixes
* resolve nitpick
* resolve removeTrailingUnderscore issue
* fix routeTree path
* final nitpicks
* better test description
* exclude snapshots from prettier
* minor cleanup
* resolve change in snapshots due to changes from main
* update prettierignore
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-24 10:29:24 +02:00
Manuel Schiller
8b5accb27c
feat: Merge alpha to main ( #4365 )
...
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Iha Shin (신의하) <me@xiniha.dev>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: MoeedDar <moeed.dar@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Saša Šijak <me@ssijak.com>
Co-authored-by: Christopher Horobin <chrishorobin@hotmail.com>
Co-authored-by: Ryan Gillie <gillie.ryan@hotmail.com>
Co-authored-by: Jaga Santagostino <jagasantagostino@gmail.com>
Co-authored-by: Birk Skyum <birk.skyum@pm.me>
Co-authored-by: Yeoh Joer <yeoh.joer@outlook.com>
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Co-authored-by: Luis Merino <mail@luismerino.name>
Co-authored-by: ThaumRystra <9525416+ThaumRystra@users.noreply.github.com>
Co-authored-by: Adam Hunter <arhunter@gmail.com>
Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Co-authored-by: Joel Tannas <jtannas@gmail.com>
Co-authored-by: scarf <greenscarf005@gmail.com>
Co-authored-by: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
Co-authored-by: Iñaki Larramendi <30437204+ilarramendi@users.noreply.github.com>
Co-authored-by: Hiển Đào Vinh <neo.go.vn@gmail.com>
Co-authored-by: Lleyton W Morris <42259073+ViewableGravy@users.noreply.github.com>
Co-authored-by: Lleyton Morris <lmorris@nexigen.digital>
Co-authored-by: Matthew Struble <matt@vevox.io>
Co-authored-by: Matt Anderson <matt@mattdev.ca>
Co-authored-by: Chung <chungwong@users.noreply.github.com>
Co-authored-by: Maxx Coffee <josh@joshcoffee.dev>
Co-authored-by: Joshua Coffee <joshcoffee@gannett.com>
Co-authored-by: Jack Herrington <jherr@pobox.com>
Co-authored-by: Neeraj Dalal <admin@nrjdalal.com>
Co-authored-by: Thomas Marnet <thomas.marnet@gmail.com>
Co-authored-by: Vianney Carel <vcarel@users.noreply.github.com>
Co-authored-by: Vianney Carel <vianney.carel@logfuse.fr>
Co-authored-by: Diego Rincón <97266392+diegoarff@users.noreply.github.com>
Co-authored-by: Erfan Hosseini <43422324+Erfanhosseini98@users.noreply.github.com>
Co-authored-by: IderAghbal <3328396+IderAghbal@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrew Jefferson <8148776+eastlondoner@users.noreply.github.com>
2025-06-10 23:19:32 +02:00
Honza Hrubý
aa24401b04
feat(router-generator): disable formatting of routeTree ( #3678 )
...
Based on the discussion in https://github.com/TanStack/router/discussions/3664 , I'm adding an
option to disable the formatting of the generated routeTree. The file is not meant for human consumption and disabling the formatter can significantly speed up the route generation process.
---------
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-03-08 10:06:39 +13:00
Tanner Linsley
e9781b777e
feat: Agnostic Server Fn Plugin ( #2993 )
...
* checkpoint
* checkpoint
* cleanup
* checkpoint
* client babel now works, runtime and rpc injection
* fix: dont touch anything outside of the function
* server functions now import a tsr-serverfn-split file version
* checkpoint
* checkpoint
* fis tests
* It's working!!!
* move serverFnFetcher to start client
* fix: no extra context, throw errors from middleware
* docs: add custom link example for mantine (#3033 )
* ci: apply automated fixes
* fix(react-router): make sure full matches are passed into route functions (#3039 )
* release: v1.91.3
* docs: minor typo in code-based-routing.md (#3043 )
* feat(start): create-start cli (#2920 )
* create start cli
* update lockfile
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* docs: Minor typo in middleware.md (#3042 )
* release: v1.92.0
* refactor(react-router): expose `scrollBehavior` on the `ScrollRestoration` component (#3053 )
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
* release: v1.92.1
* fix(start): returning `null` from server functions (#3048 )
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
* release: v1.92.2
* fix: allow serverFn errors to also have context (#3037 )
* fix: allow serverFn errors to also have context
* fix: allow errors, undefined from server functions
* remove logs
* fix: transformer and tests
* ci: apply automated fixes
* no logs
* fix conficts
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* release: v1.92.3
* move directive plugin to own package
* fixes, tests
* suggested fixes from sean
* fix tests
* fix: import specifier
* fix: dev imports
* fix: simpler config, better logging, more reliable plugin coordination
* fix: update test snapshots
* fix: non-split directives, clean up compilers, logging, and
* fix: production server fn builds
* feat(start): explicitly enable and disable route generation
* fix: $fetch during dev
* ci: apply automated fixes
* Update comparison.md
* docs: remove duplicate word (#3125 )
* docs: remove duplicate word
* docs: correct typo in learn-the-basics.md
* chore: add skipLibCheck to examples (#3134 )
* docs: Typo issue - getParent Does not Exists in type RouteOptions (#3131 )
* docs: Fix notFound import (#3133 )
* docs: fix dead link and typo in guide (#3136 )
Typo introduced in https://github.com/TanStack/router/pull/2963 .
* fix(react-router): separate internal and user provided history state (#3119 )
* release: v1.95.2
* fix(router-generator) use explicit routes export by default (#3109 )
Co-authored-by: Vladimir Panov <vladimir.panov@motorsport.com>
* fix(start): serialize `FormData` for server function input (#3138 )
* release: v1.95.3
* test(react-router): check `FormData` serialization in transformer (#3139 )
* docs(router): missing character in code-splitting guide (#3143 )
* fix(create-start): readme changes and little fixes (#3142 )
* release: v1.95.4
* fix(start): preserve multiple values for same key in `FormData` serialization (#3140 )
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
* release: v1.95.5
* docs(migrate): correct typo in migration documentation (#3153 )
* docs(start): fix `FormData` server functions examples (#3062 )
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
* docs(router): require the use of React's `createRoot` function (#3151 )
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
* fix: order of injected scripts (#3158 )
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* release: v1.95.6
* perf(start): reduce instantiations of server fn and middleware (again) (#3168 )
* perf: reduce instantiations of server fns
* perf(start): reduce instantiations of middleware
* release: v1.95.7
* fix imports
* fix: build test
---------
Co-authored-by: Youssef Benlemlih <youssefbenlemlih7@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: AlexisPin <72150908+AlexisPin@users.noreply.github.com>
Co-authored-by: timoconnellaus <tim.oconnell.australia@gmail.com>
Co-authored-by: Arnaud Kleinpeter <arnaud.kleinpeter@gmail.com>
Co-authored-by: Joshua Knauber <49953016+joshuaKnauber@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: alakhpc <alakhpc@gmail.com>
Co-authored-by: Mark Vu <markvu.work@gmail.com>
Co-authored-by: Christopher Horobin <chrishorobin@hotmail.com>
Co-authored-by: Muthu Kumar <muthu32@users.noreply.github.com>
Co-authored-by: Jeff Hertzler <jeffhertzler@gmail.com>
Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com>
Co-authored-by: Andrei <andreiradoidev@gmail.com>
Co-authored-by: Volodymyr <vpanov.me@gmail.com>
Co-authored-by: Vladimir Panov <vladimir.panov@motorsport.com>
Co-authored-by: pierluigigiancola <pierluigi.giancola@gmail.com>
Co-authored-by: Tom Ballinger <tom@convex.dev>
Co-authored-by: Ben Durrant <ben.durrant@marketdojo.com>
Co-authored-by: Lukas Frey <lukas.frey03@outlook.de>
Co-authored-by: John <12599934+jorroll@users.noreply.github.com>
2025-01-14 20:36:33 -07:00
Sean Cassiere
eece47d155
chore: prettier and the start-basic example to ignore the "test-results" folder ( #2013 )
...
* chore(examples): gitignore the test-results folder
* chore(workspace): prettierignore the test-results folder
2024-07-23 13:04:47 +12:00
Sean Cassiere
e78ab9bebc
style(workspace): more patterns for prettier to ignore ( #1902 )
2024-07-06 11:15:10 +12:00
Sean Cassiere
4b9bf31deb
style(router-generator): prettier ignore the file-modification tests ( #1884 )
2024-07-03 19:53:36 +12:00
Sean Cassiere
c46664f0e6
chore(workspace): prettier to ignore the .vercel output directories ( #1828 )
2024-06-26 11:19:27 +12:00
Manuel Schiller
190c921726
fix: correctly support to for unions which include the index route / ( #1393 )
...
* fix: correctly support `to` for unions which include the index route `/`
* chore: ignore snapshots from formatting
2024-03-29 23:20:54 +01:00
Tanner Linsley
3b559fc931
fix: ssr improvements ( #1248 )
...
* fix: ssr improvements
* fix: remove log
* fix: remove log
* fix: remove comments
* docs: root abstraction
* fix: remove commented code
* fix: remove old TLoaderData fix attempt
* fix: remove commented code
* fix: imports
* docs: format
* fix: deprecate and handle not found "global" option
2024-03-04 11:23:41 -07:00
Lachlan Collins
2ceb12b4cb
ci(examples): Test examples in CI ( #1142 )
...
* Re-enable prettier on PR workflows
* Run pnpm dedupe
* Fix vinxi/http, disable some broken builds
* Fix prettier errors
2024-02-03 12:06:51 +11:00
Tanner Linsley
fcc278ffc8
feat: New code-splitting patterns + deprecations
...
- Deprecated class constructor APIs in favor of new `create[Class]` functions
- Added new code-splitting paradigm that produces less code, preloads potentially faster and plays nicely with SSR and file-based routing
- Updated all examples to use new code splitting patterns and new suggested APIs
2024-01-24 13:01:48 -07:00
Lachlan Collins
5596fcb598
feat: Migrate build to @tanstack/config and common Nx config ( #1037 )
...
* Root level and example changes
* Fix non-workspace links
* Rework scripts directory
* Change package build, tsconfig, exports
* Fix cli package
* Run prettier format
* Update github workflows
* Update repository field
* Slight package.json reorder
* Remove unused dependencies
* Small vite/tsconfig tweaks
* Remove unnecessary config
* Add @ts-check to generate.js
* Fix pnpm-workspace
* Update Nx
* Update workspace links
2024-01-19 22:35:39 -07:00
Tanner Linsley
40222048fe
Moving to monorepo
2021-10-20 08:12:04 -06:00
tannerlinsley
be20b49c1a
Checkpoint
2019-04-25 16:31:59 -06:00