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

6,662 commits

Author SHA1 Message Date
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
Tanner Linsley
62ea8c6d26 release: v1.12.13 v1.12.13 2024-01-26 07:01:44 +00:00
Tanner Linsley
68ceeeaa34 fix: devtools router prop
Fixes #1065
2024-01-26 00:00:27 -07:00
Tanner Linsley
7315cc33f0 release: v1.12.12 v1.12.12 2024-01-26 06:47:01 +00:00
Tanner Linsley
25bd548d5c fix: do not default location.state to previous state
Fixes #1028
2024-01-25 23:45:19 -07:00
Tanner Linsley
17ccd43eb6 release: v1.12.11 v1.12.11 2024-01-26 06:39:38 +00:00
Tanner Linsley
a201903481 fix: decodeURI for path params and splat
Fixes #1012
2024-01-25 23:38:13 -07:00
Tanner Linsley
743eaf1d4b release: v1.12.10 v1.12.10 2024-01-26 06:05:21 +00:00
Tanner Linsley
3e2d936e2e fix: Normalize searchStr from parsed search
Fixes #1003
2024-01-25 23:03:59 -07:00
Tanner Linsley
1eb1c5a374 release: v1.12.9 v1.12.9 2024-01-26 05:25:00 +00:00
Tanner Linsley
317cea8935 fix: proper forwarding of link props to <a>
Fixes #997
2024-01-25 22:23:35 -07:00
Tanner Linsley
05a5a11dc8 release: v1.12.8 v1.12.8 2024-01-26 05:17:35 +00:00
Tanner Linsley
43c712b2b4 fix: generator now replaces all
Fixes #983
2024-01-25 22:16:13 -07:00
Tanner Linsley
2ab3495caf release: v1.12.7 v1.12.7 2024-01-26 04:46:58 +00:00
Andrew Joslin
e5e80afbaa
fix: Add 404 handler for lazyRouteComponent (#1083)
Fixes #1077
2024-01-25 21:45:40 -07:00
GJ Tiquia
8490d553ba
docs: Update history-types.md (#1082)
* docs: Update history-types.md

* docs: update history-types.md
2024-01-25 21:43:10 -07:00
Tanner Linsley
a451054676 release: v1.12.6 v1.12.6 2024-01-26 04:42:56 +00:00
GJ Tiquia
f6f5af8f7c
docs: added missing imports in quick-start.md (#1073) 2024-01-25 21:41:34 -07:00
dependabot[bot]
496657455f
chore(deps): bump @hono/node-server from 1.4.0 to 1.4.1 (#1067)
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-25 21:41:06 -07:00
shreddish
eacf09ea1e
fix: Strip out the routeFilePrefix in the routePath when gathering routes (#1061)
* Strip out the routeFilePrefix in the routePath when gathering routes

* Remove routePathIdPrefix from routeNode sorting
2024-01-25 21:40:53 -07:00
Tanner Linsley
06fa19845b release: v1.12.5 v1.12.5 2024-01-26 03:57:17 +00:00
Tanner Linsley
82b9d2e98a fix: FileRoute will now properly fake out Fast Refresh 2024-01-25 20:55:57 -07:00
Tanner Linsley
cc67e822c1 release: v1.12.4 v1.12.4 2024-01-26 03:49:59 +00:00
Manuel Schiller
1523143009
fix: do not strip away / from index route id (#1046)
fixes #1043
2024-01-25 20:48:25 -07:00
Nikola Hristov
d421d0b9f8
fix: remove duplicate console.error in CatchBoundary (#995) 2024-01-25 20:47:23 -07:00
Lachlan Collins
77955ab586
docs: Re-organise for new docs layout (#1081) 2024-01-26 09:43:15 +11:00
Tanner Linsley
a7779ce873 release: v1.12.3 v1.12.3 2024-01-25 05:00:11 +00:00
Tanner Linsley
c23f472136 fix: allow lazy suffix after route suffix 2024-01-24 21:58:54 -07:00
Tanner Linsley
a69d45c1b2 release: v1.12.2 v1.12.2 2024-01-25 04:49:27 +00:00
Tanner Linsley
b5f074e7cd fix: staticDataRouteOption type 2024-01-24 21:48:10 -07:00
Tanner Linsley
f24997449c release: v1.12.1 v1.12.1 2024-01-25 04:42:53 +00:00
Tanner Linsley
957064d8ce fix: Use staticData instead of reserved static keyword 2024-01-24 21:41:26 -07:00
Tanner Linsley
59125bed9d release: v1.12.0 v1.12.0 2024-01-25 04:31:48 +00:00
Tanner Linsley
3ad36cd3ad feat: Static Route Data 2024-01-24 21:30:25 -07:00
Tanner Linsley
fbbebd2d88 release: v1.11.1 v1.11.1 2024-01-25 04:07:19 +00:00
Tanner Linsley
ca6f0dddce fix: silence FileRoute deprecation 2024-01-24 21:05:58 -07:00
Tanner Linsley
6f5be5785d release: v1.11.0 v1.11.0 2024-01-25 03:43:15 +00:00