0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

6,510 commits

Author SHA1 Message Date
Tanner Linsley
960910797b release: v1.83.1 v1.83.1 2024-11-27 17:30:11 +00:00
Manuel Schiller
ba94249d49
fix(router-generator): virtual routes for virtual file routes without file need proper variable names (#2875) 2024-11-27 18:26:42 +01:00
Tanner Linsley
740507516a release: v1.83.0 v1.83.0 2024-11-27 08:26:42 +00:00
Sean Cassiere
2cf38ac6fe
feat(start): change the variable export for API Routes (#2873) 2024-11-27 21:24:42 +13:00
Christopher Horobin
703242bbf0
example(start): add large start example to track typescript performance (#2872)
* chore: work in progress large start

* example(large-start): add large start example to keep track of TS performance

* chore: fix lock file
2024-11-26 23:48:02 +01:00
Jaga Santagostino
ceb36209ed
docs(start): add typings to JSON Parameters example (#2868) 2024-11-26 19:17:17 +01:00
Adam Rackis
a0c294c0c7
docs(router): usage of accessing the loaderData on the data-loading guide (#2864)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-11-26 16:55:22 +13:00
Tanner Linsley
41406b283b release: v1.82.12 v1.82.12 2024-11-26 03:06:47 +00:00
Sean Cassiere
606520db30
refactor(react-router): expose CheckFromPath (#2861) 2024-11-26 16:04:53 +13:00
Antanas Misiūnas
5f3d99be6d
docs(start): FormData to use e.currentTarget instead of e.target (#2843) 2024-11-26 15:12:59 +13:00
renovate[bot]
ab1b1b22b5
chore(deps): update all non-major dependencies (#2851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 02:08:38 +00:00
Tanner Linsley
9c03b5e04f release: v1.82.11 v1.82.11 2024-11-25 21:27:50 +00:00
Sean Cassiere
a0466ad634
refactor(react-router): upgrade @tanstack/react-store to 0.6.1 (#2857) 2024-11-26 10:26:32 +13:00
Tanner Linsley
933973b8b9 release: v1.82.10 v1.82.10 2024-11-25 21:01:02 +00:00
Sean Cassiere
0e8c0a5d57
fix(router-generator): initial route template should return JSX (#2856) 2024-11-26 09:59:39 +13:00
renovate[bot]
52be245580
chore(deps): lock file maintenance (#2842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-24 19:43:39 +00:00
Tanner Linsley
a3f0c8ab38 release: v1.82.9 v1.82.9 2024-11-24 16:46:38 +00:00
Christopher Horobin
e90a06e3ca
fix(start): allow FormData serialization for validator (#2848) 2024-11-24 17:41:51 +01:00
Tanner Linsley
4e145ba9d9 release: v1.82.8 v1.82.8 2024-11-24 16:02:47 +00:00
Ben Durrant
76b419e010
fix(router): Determine validity of standard schema result based on existence of issues, instead of value (#2847)
Some implementations (namely Valibot) still include the value key for failure results, which is technically still correct in structural typing (since an object type is a *minimum* requirement). What can actually be relied on is that result.issues is undefined if the result is valid, as this is in the spec.

Currently failure results from Valibot are still treated as success.

This commit copies changes over from 73ded2e to the search validation.
2024-11-24 16:57:45 +01:00
Tanner Linsley
d57866367f release: v1.82.7 v1.82.7 2024-11-24 12:50:56 +00:00
Julia Passynkova
aceca1cf0f
docs: clarification for Route object (#2838)
* 2821: Doc clarification for Route object

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-24 13:46:18 +01:00
Ben Durrant
73ded2e312
fix(start): fix server function handling of standard schemas
Some implementations (namely Valibot) still include the value key for failure results, which is technically still correct in structural typing (since an object type is a *minimum* requirement). What can actually be relied on is that result.issues is undefined if the result is valid, as this is in the spec.

Currently failure results from Valibot are still treated as success.
2024-11-24 13:45:07 +01:00
renovate[bot]
64e3b3cec0
chore(deps): update dependency nx to v20 (#2839)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-11-24 13:12:30 +11:00
Lachlan Collins
760a6f4c77
Revert "chore(deps): update dependency @inquirer/prompts to v7" (#2840)
This reverts commit 1e8ed37772.
2024-11-24 12:56:16 +11:00
renovate[bot]
1e8ed37772
chore(deps): update dependency @inquirer/prompts to v7 (#2586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-24 12:47:21 +11:00
Naoki Takashima
2ba715790a
docs: removal of unused import variables in the examples (#2831) 2024-11-22 22:10:53 +01:00
Tanner Linsley
7da7fe07f4 chore: add typescript to all examples, update tsconfig for one-click deploys 2024-11-22 13:18:52 -07:00
Tanner Linsley
79c021536d Merge branch 'main' of https://github.com/TanStack/router 2024-11-22 13:02:53 -07:00
Tanner Linsley
07319de3e6 chore: install typescript for the basic-file-based example
This example is going to be used as a template for Vercel, and deployment fails because tsc doesn't exist during build.
2024-11-22 13:02:51 -07:00
Tanner Linsley
a7dcf882ed release: v1.82.6 v1.82.6 2024-11-22 19:57:43 +00:00
Tanner Linsley
56fae6a0e4 fix: remove fake hostname for compile serverfn URLs
Fixes #2720
2024-11-22 12:53:33 -07:00
Tanner Linsley
dece78beee release: v1.82.5 v1.82.5 2024-11-22 08:50:44 +00:00
Sean Cassiere
1f7700b806
refactor(start): better named exports for the start-vite-plugin (#2794) 2024-11-22 21:49:11 +13:00
Tanner Linsley
9cbd51e7a5 release: v1.82.4 v1.82.4 2024-11-22 05:51:27 +00:00
NekoChan
b9ec523f82
fix(start): createServerFn method suggestion (#2825)
* fix(start): createServerFn method suggestion

* add test

* cleanup
2024-11-22 06:47:28 +01:00
Tanner Linsley
9f766e4b73 release: v1.82.3 v1.82.3 2024-11-21 22:07:58 +00:00
Leonardo Montini
9d4d512b6b
fix(start): dedupe meta tags also by property (#2823) 2024-11-22 10:30:45 +13:00
Tanner Linsley
e79035a10e release: v1.82.2 v1.82.2 2024-11-21 18:56:24 +00:00
Christopher Horobin
607ac2ba10
fix(start): sync start serialization on the type level (#2809)
* fix(start): allow functions in types

* fix(start): implement start serialization on the type level

* fix(start): validate createServerFn to not allow functions

* refactor(start): make transformer types generic

* feat(start): add type checking of validator and context

* chore: fix linting

* chore: remove serializable types
2024-11-21 19:54:21 +01:00
Christopher Horobin
7f8199c232
fix(start): infer input of validator functions (#2808) 2024-11-21 19:25:26 +01:00
renovate[bot]
481bb99f75
chore(deps): update all non-major dependencies (#2795)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 15:21:30 +00:00
Julia Passynkova
24fb41e1e4
docs(router): typo in the usage of route masks (#2812)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-21 21:36:07 +13:00
聪小陈
c991304380
docs(router): usage of imports for auth on authentication guide (#2813) 2024-11-21 21:17:29 +13:00
Leonardo Montini
a97f37ec0d
docs(start): explicitly set POST method updateCount server function examples (#2806) 2024-11-21 01:50:27 +13:00
Tanner Linsley
809ca432cc release: v1.82.1 v1.82.1 2024-11-18 13:20:21 +00:00
Tanner Linsley
adb3ab32e4 fix: allow meta/scripts to be undefined (easier for conditionals) 2024-11-18 08:16:05 -05:00
Steven Yung
82996980ab
docs(start): update cloudflare-pages deployment instructions (#2744)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-11-18 14:57:29 +13:00
Sean Cassiere
3281f52575
docs(start): markdown linking to the middleware guide (#2791) 2024-11-18 12:30:35 +13:00
Tanner Linsley
98a7c62ae9 release: v1.82.0 v1.82.0 2024-11-17 22:21:30 +00:00