0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-18 19:34:24 +00:00
Commit graph

6,685 commits

Author SHA1 Message Date
Christopher Horobin
05165ca4bc
chore: upgrade to typescript 5.7 (#2910)
* chore: upgrade to typescripr 5.7

* chore: upgrade renovate, typescript commands

* chore: fix build
2024-12-03 00:37:42 +01:00
Christopher Horobin
8f1d437c74
fix(start): allow types to override for input and context (#2892)
* fix(start): allow types to override for input and context

* fix(start): add type tests and fix other tests
2024-12-02 23:33:59 +01:00
Tanner Linsley
a12b4c79f6 release: v1.85.2 v1.85.2 2024-12-02 21:25:41 +00:00
Igor Golovin
cb39386dd2
fix: safely access window.CSS.supports (#2894)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-02 22:11:17 +01:00
autofix-ci[bot]
e1381491b7
ci: apply automated fixes 2024-12-02 20:59:22 +00:00
Vince
dbc2b91140
Update file-based-routing.md (#2908) 2024-12-02 21:58:18 +01:00
renovate[bot]
4722b7a2ea
chore(deps): update all non-major dependencies (#2901)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 03:51:41 +00:00
Tanner Linsley
55a32ecb87 release: v1.85.1 v1.85.1 2024-12-02 00:34:21 +00:00
arfath-linklet
8af5150f5e
refactor(start): export the MiddlewareAfterServer type (#2891) 2024-12-02 13:29:10 +13:00
Ephraim Duncan
953e7b6b32
docs(start): broken link to "preloading" from "getting started" (#2898) 2024-12-02 13:28:55 +13:00
Phil Hawksworth
69b2606bac
docs: Add instructions for using Deno for install and quickstart (#2888) 2024-11-29 23:05:17 +01:00
Tanner Linsley
0d8713c6f8 release: v1.85.0 v1.85.0 2024-11-29 06:50:43 +00:00
Matthias Schwarz
742c0ed541
feat(react-router): generic router history (#2782)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-29 00:10:17 +01:00
Tanner Linsley
78232631f1 release: v1.84.4 v1.84.4 2024-11-28 22:46:28 +00:00
Manuel Schiller
ef6f4fe531
fix(router-generator): do not import react in scaffolded route (#2884) 2024-11-28 23:44:09 +01:00
Tanner Linsley
8a228b41d9 release: v1.84.3 v1.84.3 2024-11-28 22:33:56 +00:00
Manuel Schiller
67b3175720
fix(react-router): correctly react to search param changes (#2883)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-28 23:31:37 +01:00
orlik
1fa0fcb965
chore: use tinyglobby instead of glob (#2880)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-28 21:28:27 +01:00
Bruno Fantauzzi
801006a5c9
chore: fix npm downloads badge (#2881) 2024-11-28 21:27:28 +01:00
Tanner Linsley
300a23fcd4 release: v1.84.2 v1.84.2 2024-11-28 18:20:01 +00:00
Christopher Horobin
bf2e62b00f
perf(start): improve typescript performance of start types (#2876)
* perf(start): improve typescript performance of start types

* chore: add type tests
2024-11-28 19:16:36 +01:00
Tanner Linsley
f5c3866284 release: v1.84.1 v1.84.1 2024-11-28 02:11:27 +00:00
Sean Cassiere
2884de2098
fix(start): use configured server base for server function fetch (#2877) 2024-11-28 15:06:23 +13:00
Tanner Linsley
3c7b6a3aea release: v1.84.0 v1.84.0 2024-11-27 21:06:14 +00:00
Roberto De Lucia
70df20a53c
feat(react-router): add support for ViewTransition types (#2862)
Co-authored-by: Roberto De Lucia <roberto.delucia@sinnefo.eu>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-28 09:43:35 +13:00
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