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

766 commits

Author SHA1 Message Date
Tanner Linsley
e10833c334 release: v1.18.2 2024-03-02 14:55:16 +00:00
Tanner Linsley
49e0ce0c98 release: v1.18.1 2024-03-01 21:59:55 +00:00
Manuel Schiller
419cb45975
fix: correct typing for route groups (#1245)
since we need to handle the path replacements in typescript as well, we cannot let the user configure the route group pattern
2024-03-01 14:58:31 -07:00
Tanner Linsley
507fd80375 release: v1.18.0 2024-03-01 18:05:23 +00:00
Manuel Schiller
7731a3926b
feat: add route grouping for file based routing (#1241) 2024-03-01 11:04:21 -07:00
Tanner Linsley
23be96ccf7 release: v1.17.5 2024-03-01 15:45:33 +00:00
Sean Cassiere
020edb5be7
examples: correct usage of the createLazyRoute function (#1230) 2024-02-27 19:31:41 +01:00
Tanner Linsley
ab89c815b2 release: v1.17.4 2024-02-25 22:45:18 +00:00
Tanner Linsley
d5d9895346 release: v1.17.3 2024-02-25 22:25:57 +00:00
Tanner Linsley
99650d7646 release: v1.17.2 2024-02-25 20:54:11 +00:00
Tanner Linsley
2954840663 release: v1.17.1 2024-02-25 06:50:24 +00:00
Tanner Linsley
eb098cceff release: v1.17.0 2024-02-25 03:59:24 +00:00
Rustam Musin
bcb97411ed
examples: Add a missing space in header of basic-react-query-file-based example (#1211) 2024-02-23 23:13:34 +01:00
Tanner Linsley
249e41e2af release: v1.16.6 2024-02-18 13:11:04 +00:00
Lachlan Collins
b5e85add20
ci: Use Nx Agents (#1192)
* ci: Use Nx Agents

* Update nx.json

* Fix prettier
2024-02-17 12:03:04 +11:00
Manuel Schiller
965485e255 chore: use createLazyFileRoute instead of lazyRouteComponent in file-based routing examples 2024-02-17 01:11:13 +01:00
Tanner Linsley
0d7722fbd4 release: v1.16.5 2024-02-16 22:40:37 +00:00
Tanner Linsley
47617caa97 release: v1.16.4 2024-02-15 22:17:10 +00:00
Tanner Linsley
9a557a5847 release: v1.16.3 2024-02-14 20:56:39 +00:00
Tanner Linsley
1995b904ed release: v1.16.2 2024-02-14 16:52:00 +00:00
Tanner Linsley
578808ef36 release: v1.16.1 2024-02-10 06:51:15 +00:00
Tanner Linsley
98d22a81d5 release: v1.16.0 2024-02-09 21:14:36 +00:00
Tanner Linsley
a0af169ad6 release: v1.15.23 2024-02-08 18:15:44 +00:00
Tanner Linsley
2c1fd45d26 release: v1.15.22 2024-02-07 19:41:13 +00:00
Tanner Linsley
3310526616 release: v1.15.21 2024-02-07 17:35:40 +00:00
Tanner Linsley
02a44644ca release: v1.15.20 2024-02-06 20:15:45 +00:00
Tanner Linsley
2fda83e62d release: v1.15.19 2024-02-05 19:34:00 +00:00
Tanner Linsley
d6d7a3e489 release: v1.15.18 2024-02-05 03:33:00 +00:00
Tanner Linsley
c729af1af6 release: v1.15.17 2024-02-04 00:33:54 +00:00
Lachlan Collins
2ceb12b4cb
ci(examples): Test examples in CI (#1142)
* Re-enable prettier on PR workflows

* Run pnpm dedupe

* Fix vinxi/http, disable some broken builds

* Fix prettier errors
2024-02-03 12:06:51 +11:00
Tanner Linsley
dc8853f638 release: v1.15.16 2024-02-03 00:32:21 +00:00
Tanner Linsley
adf99d3577 release: v1.15.15 2024-02-02 23:30:55 +00:00
Tanner Linsley
a1147c9b41 release: v1.15.14 2024-02-02 23:24:27 +00:00
Tanner Linsley
6204835eb5 release: v1.15.13 2024-02-02 17:39:28 +00:00
Tanner Linsley
462135ad75 release: v1.15.12 2024-02-02 17:22:38 +00:00
Tanner Linsley
45d25ee551 release: v1.15.11 2024-02-02 15:35:26 +00:00
Tanner Linsley
b0a6edceb1 release: v1.15.10 2024-02-02 07:19:08 +00: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
Manuel Schiller
c70b10ef2f
fix: deprecate rootRouteWithContext in favor of createRootRouteWithContext (#1098) 2024-01-28 15:58:26 -07:00
Tanner Linsley
8348a300f3 fix: always load matches regardless of hasLoaders 2024-01-28 12:01:25 -07: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
Nirjhor Nath
6d54fab6c8
feat: Add data transformer API (#1059) 2024-01-27 00:05:18 +01: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
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
Tanner Linsley
1fb4082c07 feat: createLazyRoute 2024-01-24 20:41:50 -07:00
Tanner Linsley
0660d9d239 fix: tests 2024-01-24 17:02:15 -07:00
Tanner Linsley
709fc749f9 fix: more refactoring and deprecations 2024-01-24 14:48:51 -07:00
Tanner Linsley
fcc278ffc8 feat: New code-splitting patterns + deprecations
- Deprecated class constructor APIs in favor of new `create[Class]` functions
- Added new code-splitting paradigm that produces less code, preloads potentially faster and plays nicely with SSR and file-based routing
- Updated all examples to use new code splitting patterns and new suggested APIs
2024-01-24 13:01:48 -07:00
dependabot[bot]
87d1107998
chore(deps-dev): bump vite from 5.0.11 to 5.0.12 (#1035)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 20:08:04 +01:00