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

6,098 commits

Author SHA1 Message Date
Manuel Schiller
f23ab15fda
fix: return loader result (#1118) 2024-01-30 14:19:38 -07:00
Tanner Linsley
0a9b02c6ea release: v1.15.6 v1.15.6 2024-01-30 21:17:46 +00:00
Manuel Schiller
1b51a0830c
fix: catch synchronous exceptions in loader (#1117)
fixes #1116
2024-01-30 14:16:21 -07:00
Tanner Linsley
119a350054 release: v1.15.5 v1.15.5 2024-01-30 18:50:08 +00:00
Manuel Schiller
0982c57e77 fix: avoid Type instantiation is excessively deep and possibly infinite error in useMatchRoute 2024-01-30 19:48:30 +01:00
Tanner Linsley
8c676af2f0 release: v1.15.4 v1.15.4 2024-01-30 18:21:23 +00:00
Chanhee Lee
dae87c384e
fix: access data-status from linkProps which got from useLinkProps not props (#1099) 2024-01-30 19:19:46 +01:00
Daniel Grefberg
1a18923499
fix: Prefix route path variables with a _ if the leading character is numeric (#1111) 2024-01-30 19:19:34 +01:00
Egor Fedorov
31a0398b4f
docs: fix Route variable in path-params example (#1103) 2024-01-30 19:14:30 +01:00
Tanner Linsley
de034f5eef release: v1.15.3 v1.15.3 2024-01-30 08:39:36 +00:00
Tanner Linsley
d298b0dbf0 fix: build 2024-01-30 01:38:07 -07:00
Tanner Linsley
6b09d62301 fix: notFound preloading bug 2024-01-30 01:31:16 -07:00
Manuel Schiller
66f596ec81 examples: fix imports 2024-01-29 22:51:44 +01:00
Tanner Linsley
b4a327ef24 release: v1.15.2 v1.15.2 2024-01-29 17:31:13 +00:00
Tanner Linsley
9c518b4a52 fix: better caught error logging 2024-01-29 10:29:42 -07:00
Tanner Linsley
7fce275b21 release: v1.15.1 v1.15.1 2024-01-29 16:55:35 +00:00
Tanner Linsley
a46f2ec193 fix: Allow CatchBoundary without a getResetKey 2024-01-29 09:54:10 -07:00
Tanner Linsley
81d8dcdd62 docs: useChildMatches docs 2024-01-29 09:48:48 -07:00
Tanner Linsley
d503fd90c6 release: v1.15.0 v1.15.0 2024-01-29 16:45:54 +00:00
Tanner Linsley
8839f345b1 feat: useChildMatches 2024-01-29 09:44:25 -07:00
Tanner Linsley
e0d9e8f29f fix: useParentMatches 2024-01-29 09:44:11 -07:00
Sean Cassiere
47e63aa036
docs: include the not found errors guide in the documentation config (#1097) 2024-01-28 15:59:45 -07:00
Manuel Schiller
c70b10ef2f
fix: deprecate rootRouteWithContext in favor of createRootRouteWithContext (#1098) v1.14.6 2024-01-28 15:58:26 -07:00
Tanner Linsley
a160f0352f release: v1.14.5 v1.14.5 2024-01-28 21:05:38 +00:00
Manuel Schiller
b04458135e
fix: MatchRoute now uses same props as useMatchRoute (#1096)
do not require to specify path params
2024-01-28 22:04:13 +01:00
Tanner Linsley
5e42c10231 release: v1.14.4 v1.14.4 2024-01-28 21:03:25 +00:00
Corey Sewell
2ae37a1ea3
docs: Add createLazyFileRoute imports to quickstart (#1095) 2024-01-28 14:01:48 -07:00
Jaen
5eb0ea6a7a
fix: Fix location of new Router @deprecated comment (#1094) 2024-01-28 14:00:52 -07:00
Tanner Linsley
9ac250ef3d release: v1.14.3 v1.14.3 2024-01-28 19:11:11 +00:00
Tanner Linsley
58b823e243 fix: no logs, update deps 2024-01-28 12:09:53 -07:00
Tanner Linsley
03a2e82d8e release: v1.14.2 v1.14.2 2024-01-28 19:07:46 +00:00
Tanner Linsley
648d144432 fix: update lock file 2024-01-28 12:06:20 -07:00
Tanner Linsley
8348a300f3 fix: always load matches regardless of hasLoaders 2024-01-28 12:01:25 -07:00
Tanner Linsley
34501909be release: v1.14.1 v1.14.1 2024-01-28 17:50:18 +00:00
Tanner Linsley
3f84346422 fix: server asset rendering 2024-01-28 10:48:56 -07:00
Manuel Schiller
d02bc45bd6 docs: update to latest API 2024-01-28 00:46:31 +01:00
Tanner Linsley
dda3ba32b7 release: v1.14.0 v1.14.0 2024-01-27 16:14:21 +00:00
gilbert
dcfd9d7246
feat: new not found APIs (#1048)
* feat: add `notFound`, boundary, and support for routes

* feat: add global not found

* refactor: clean up throw global not found route

* feat: reset not founds on page navigation

* fix: fix duplicate throw global not found

* feat: rework global not found handling and add not-found-ssr example

* feat: update not found ssr example

* fix: fix type in not-found.tsx

* feat: add way to statically render a global not found page

* feat: remove flicker from notFound with SSR

* feat: remove <GlobalNotFound> server api

* feat: add file-based routing and codesplitting for not found component

* feat: add option to trigger not found on specific route

* docs: write docs for `notFound` and `NotFoundError`

* docs: document Route.notFound(opts)

* feat: add deprecation warnings to notFoundRoute

* fix: clean up a few things that went awry during rebase

* fix: fix react-router-server build

* feat: add not-found apis to basic-file-based example

* feat: update basic-ssr-streaming-file-based example to use new not-found apis

* chore: clean up a few things

* docs: write guides for new not found api

* docs: add api documentation for `not-found.tsx`

* feat: add notFoundComponent to lazy loading

* docs: deprecate NotFoundRoute and link to new apis

* fix: remove `.notFoundComponent` suffix in file based routing

* feat: make `route` option of typesafe and compatible with `getRouteApi`
2024-01-27 09:12:54 -07:00
Lachlan Collins
fe43fc2c9c
chore: Update @tanstack/config to 0.3.2 (#1090)
* chore: Update @tanstack/config to 0.3.1

* Bump to 0.3.2
2024-01-27 12:13:05 +11:00
Tanner Linsley
66aa1db163 release: v1.13.0 v1.13.0 2024-01-26 23:06:42 +00:00
Nirjhor Nath
6d54fab6c8
feat: Add data transformer API (#1059) 2024-01-27 00:05:18 +01:00
Tanner Linsley
59a5931eca release: v1.12.16 v1.12.16 2024-01-26 22:53:23 +00:00
Lachlan Collins
0706ee521b
fix: Bump @tanstack/config to 0.3.0 (#1089) 2024-01-27 09:45:58 +11:00
Tanner Linsley
438c63163d release: v1.12.15 v1.12.15 2024-01-26 22:23:28 +00:00
Tanner Linsley
1e06aef7e2 fix: link rendering 2024-01-26 15:22:06 -07:00
Tanner Linsley
539de0ae29 release: v1.12.14 v1.12.14 2024-01-26 22:10:52 +00:00
Tanner Linsley
1eae1e6463 fix: Assets => Meta, Scripts 2024-01-26 15:09:09 -07:00
Tanner Linsley
52d9c092c2 fix: forward href link props to <a> tag 2024-01-26 15:09:09 -07:00
Montasar Jarraya
acb75e1499
docs: rename createRouteApiFunction.md (#1085) 2024-01-26 10:30:58 -07:00
Vasilii Boldurean
c3ac0bf817
examples: Add missing import createFileRoute to dashboard.users.tsx (#1088)
Co-authored-by: Vasilii Boldurean <vasilii.boldurean@computacenter.com>
2024-01-26 10:30:42 -07:00