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

748 commits

Author SHA1 Message Date
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
Sean Cassiere
e69c394cb9
docs: expand the documentation on authentication routes with react context (#1055)
* docs: authenicated routes using React hooks

* docs: include line to indicate it can be used with layout routes

* docs: include parent as well

* docs: add an example showcasing only authentication

* chore: add the authenticated routes example to the  config

* docs: include a link to the example
2024-01-21 20:09:46 -07:00
Lachlan Collins
b6d56c0c22
chore: Add zod to example and as devDep of react-router (#1040) 2024-01-20 17:30:44 +11:00
Lachlan Collins
4f524928de
refactor: Sync dependency versions, remove unnecessary deps (#1039)
* refactor: Sync workspace deps versions, remove unnecessary deps

* Remove more root-level deps
2024-01-20 17:16:39 +11:00
Lachlan Collins
5596fcb598
feat: Migrate build to @tanstack/config and common Nx config (#1037)
* Root level and example changes

* Fix non-workspace links

* Rework scripts directory

* Change package build, tsconfig, exports

* Fix cli package

* Run prettier format

* Update github workflows

* Update repository field

* Slight package.json reorder

* Remove unused dependencies

* Small vite/tsconfig tweaks

* Remove unnecessary config

* Add @ts-check to generate.js

* Fix pnpm-workspace

* Update Nx

* Update workspace links
2024-01-19 22:35:39 -07:00
Tanner Linsley
3d2d96a17f release: v1.7.1 2024-01-19 19:21:38 +00:00
Tanner Linsley
21879b8187 release: v1.7.0 2024-01-19 18:55:21 +00:00
gilbert
bae614f67a
feat: Add client-side handling for server-side errors using errorComponent and wrapInSuspense: true (#1001) 2024-01-19 19:54:09 +01:00
Tanner Linsley
a8f4544482 release: v1.6.1 2024-01-19 16:53:09 +00:00
Tanner Linsley
bdba784e49 release: v1.6.0 2024-01-18 22:29:51 +00:00
Tanner Linsley
2dc5e3db96 feat: Add "disableTypes" option to route generation for JS users 2024-01-18 15:28:31 -07:00
Manuel Schiller
014d5e1251 examples: fix login in kitchen-sink-react-query-file-based 2024-01-18 23:14:04 +01:00
Tanner Linsley
d1c75c18fa release: v1.5.10 2024-01-18 21:56:13 +00:00
Tanner Linsley
67de467df3 release: v1.5.9 2024-01-18 20:45:58 +00:00
Tanner Linsley
8bfe343cec release: v1.5.8 2024-01-18 20:11:58 +00:00
Tanner Linsley
9dbc7cb48e release: v1.5.7 2024-01-18 17:06:51 +00:00
Tanner Linsley
614e1c66f3 release: v1.5.6 2024-01-18 16:56:14 +00:00
Tanner Linsley
5afd609fb5 release: v1.5.5 2024-01-18 16:13:52 +00:00
Tanner Linsley
484baa2efa release: v1.5.4 2024-01-18 06:48:09 +00:00