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

6,597 commits

Author SHA1 Message Date
Luca Lee
ae8c33af5f
docs(react): remove reference to deleted examples in route-trees.md (#2250)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-03 11:23:39 +12:00
Luca Lee
12fd81129d
docs(router): fix broken links in route-trees.md and routing-concepts.md (#2249) 2024-09-03 11:20:07 +12:00
NekoChan
f32b01daab
docs(start): fix tsconfig (#2246) 2024-09-03 11:18:28 +12:00
Tanner Linsley
71c5ceae43 release: v1.52.4 v1.52.4 2024-09-02 17:16:43 +00:00
Langa Cristian
17d9885977
fix(react-router): reset error boundary after the new matches are ready (#2244)
* fix(react-router)(issue-2162): reset error boundary after the new matches are ready

* tests: reproducer for #2043

---------

Co-authored-by: Cristian Langa <cristian.langa@flywire.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2024-09-02 19:12:27 +02:00
Sean Cassiere
bbc5148399
chore: update the issue template to ask for Start or Router (#2242)
* chore: issue template to ask for start or router

* make the selection required

* update the label and description
2024-09-02 08:47:30 +12:00
Tanner Linsley
16ca2ac837 release: v1.52.3 v1.52.3 2024-09-01 06:41:59 +00:00
Manuel Schiller
1e64284b1d
fix(react-router): disable route properties check until HMR bug is fixed (#2240) 2024-09-01 08:40:53 +02:00
Tanner Linsley
01d5efd1c2 release: v1.52.2 v1.52.2 2024-09-01 00:54:32 +00:00
Manuel Schiller
2c93e4bbcf
fix(react-router): if loader is running async for revalidation, do not overwrite isFetching (#2239) 2024-09-01 02:52:59 +02:00
Tanner Linsley
a57398e1c4 release: v1.52.1 v1.52.1 2024-08-31 21:10:34 +00:00
Manuel Schiller
55a272721d
fix(react-router): do not use routeId as key when rendering route component (#2237)
this avoids re-mounting
2024-08-31 23:07:17 +02:00
Tanner Linsley
5340eda583 release: v1.52.0 v1.52.0 2024-08-31 20:40:37 +00:00
Manuel Schiller
6dbe4b0eed
feat(router-generator): allow to customize index and route token (#2203)
* feat(router-generator): allow to customize `index` and `route` token

* semantically validate generator config in a single place

* ci: apply automated fixes

* remove usage of CHECK_USER_FLAGS_TO_BE_CHANGED

* check indexToken / routeToken before determining isLayout status

* use tokens with leading and trailing slashes

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-31 22:36:58 +02:00
Brian
0d77cbf2e3
docs(react): remove duplicated line in overview.md (#2236) 2024-08-31 19:42:51 +02:00
Tanner Linsley
7f51877da0 release: v1.51.9 v1.51.9 2024-08-31 17:39:18 +00:00
Manuel Schiller
e5cfb31a5a
fix(react-router): throw invariant exception when trying to access route properties prior to initialization (#2235)
* fix(react-router): throw invariant exception when trying to access route properties prior to initialization

closes #2231

* remove outdated / commented out tests

* tests for invariants

* do not throw if path is undefined for pathless routes
2024-08-31 19:38:03 +02:00
Tanner Linsley
665e0bf7a6 release: v1.51.8 v1.51.8 2024-08-31 13:37:12 +00:00
kshramt
d39d0fd15a
fix(react-router): decode search keys (#2227)
* fix: Decode search keys

* chore: Add a few more tests for search param key decoding

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-31 15:33:20 +02:00
Tanner Linsley
e945089570 release: v1.51.7 v1.51.7 2024-08-31 05:50:56 +00:00
Manuel Schiller
1504f8d6e7
fix: make stacked navigations use latest search params (#2057)
* tests: failing test to show that parallel navigate calls are not combined

* fix: do not flush immediately in tests

* tests: fix test regression from history change

* fix: Always use the most up to date search params when building URLs

---------

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2024-08-31 07:49:37 +02:00
Tom Ballinger
dc40904b44
Update convex version (#2232) 2024-08-30 14:13:34 -06:00
Tanner Linsley
a8703f017d docs: update api-routes and server-function to use vinxi 2024-08-30 10:20:40 -06:00
Lachlan Collins
14477ec3fb
chore(deps): update to @tanstack/config 0.13.1 (#2230) 2024-08-30 19:44:22 +10:00
Lachlan Collins
46534e5b02
chore(deps): use ESLint v9 (#2228) 2024-08-30 18:36:46 +10:00
Tanner Linsley
513408927d release: v1.51.6 v1.51.6 2024-08-29 23:01:07 +00:00
Manuel Schiller
3fb722676e
fix(start): correctly generate .d.ts files (#2225)
* chore: upgrade to latest config version to generate correct .d.ts files

see #2223

* chore: added arethetypeswrong (attw)

since attw will report a node10 related issue we want to ignore (see https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md#true-positive-node-10-doesnt-support-packagejson-exports) and cannot (yet) be configured to skip node10 (see https://github.com/arethetypeswrong/arethetypeswrong.github.io/issues/112), the `no-resolution` rule is skipped

* fix(start): correctly reference client

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-08-30 00:59:17 +02:00
Sean Cassiere
0948389a78
chore: fix start-basic-auth example to pass playwright test (#2226) 2024-08-30 09:31:35 +12:00
Tanner Linsley
14b6042d61 examples: swap remix cookies for vinxi/http 2024-08-29 14:28:58 -06:00
Tanner Linsley
bf092b6956 docs: fix route trees 2024-08-29 14:01:01 -06:00
Tanner Linsley
1dfd7d604b release: v1.51.5 v1.51.5 2024-08-29 19:31:48 +00:00
Christopher Horobin
7219e50b2e
fix: export more types to allow declaration: true or composite (#2222) 2024-08-29 21:30:12 +02:00
Tanner Linsley
823c4091fa release: v1.51.4 v1.51.4 2024-08-29 17:59:13 +00:00
Manuel Schiller
bac62c5dd9
fix(react-router): remove groups when using createLazyFileRoute (#2220)
fixes #2219
2024-08-29 19:58:09 +02:00
Lachlan Collins
c6a80d637c
chore(deps): update select dependencies (#2215)
* chore(deps): update select dependencies

* More updates

* More deps

* Sync vinxi
2024-08-29 17:06:35 +10:00
Tanner Linsley
1b0678f103 release: v1.51.3 v1.51.3 2024-08-29 06:12:36 +00:00
Lachlan Collins
abf4d00994
chore: remove unused dependencies (#2214)
* chore: remove unused dependencies

* Sync vite-tsconfig-paths version
2024-08-29 16:11:20 +10:00
Tanner Linsley
20266513a6 docs: route tree fixes 2024-08-28 22:52:28 -06:00
Sean Cassiere
03f9fc74d0
docs(start): partner logos to be visible in dark-mode (#2212)
* docs(start): databases

* docs(start): hosting

* docs(start): observability

* docs(start): fix the link

* docs(start): authentication

* docs(start): use the tracking link

* docs(start): use the tracking link

* docs(start): more tracking link stuff

* docs(start): overview
2024-08-29 15:21:43 +12:00
Sean Cassiere
d10ac646cf
docs(start): link to the file-based routing guide from the api routes guide (#2211) 2024-08-29 14:35:17 +12:00
Timotei Albu
c881b2cc55
docs(router): spelling and other minor markdown for to the updated guides (#2210)
* Update routing-concepts.md

* spelling.
2024-08-29 12:28:36 +12:00
Tom Redman
5349357863
docs(start): dark mode for the Convex logo on the "databases" guide (#2209)
* Added dark mode Convex logo

Added a dark mode Convex logo while retaining the light version, depending on the user's theme.

* update to use `raw.githubusercontent.com`

---------

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-29 12:27:59 +12:00
Tanner Linsley
fa66b7671d docs: Reorg and simplify some of the main routing docs 2024-08-28 11:47:27 -06:00
Sean Cassiere
dbb2b886cc
docs(start): API routes (#2202)
Docs for the API Routes in #2185.
2024-08-28 12:20:16 +12:00
Manuel Schiller
72100f44f2
fix: upgrade @tanstack/config to generate correct d.ts files (#2204)
fixes #2190
2024-08-27 23:35:49 +02:00
Tanner Linsley
c03819f6f0 release: v1.51.2 v1.51.2 2024-08-27 21:03:37 +00:00
Manuel Schiller
cba21e3a0f
fix: do not import from '.' (#2191)
required for #2190
2024-08-27 22:58:36 +02:00
Tanner Linsley
4fa7ad8c50 release: v1.51.1 v1.51.1 2024-08-27 20:36:33 +00:00
Manuel Schiller
71deb318eb
fix: fix tests to expect 307 redirect (#2200) 2024-08-27 22:35:27 +02:00
Tanner Linsley
610fd101c7 docs: fix server function context example 2024-08-27 14:27:42 -06:00