Tanner Linsley
1fb4082c07
feat: createLazyRoute
2024-01-24 20:41:50 -07:00
Tanner Linsley
bc943b26d7
release: v1.10.0
v1.10.0
2024-01-25 00:09:41 +00:00
Tanner Linsley
e06d1f5aa0
fix: do not require prettier to build/release
2024-01-24 17:06:45 -07:00
Tanner Linsley
0660d9d239
fix: tests
2024-01-24 17:02:15 -07:00
Tanner Linsley
ed84718fa8
fix: Update fileRoute.ts
2024-01-24 16:47:47 -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
Felipe Emos
4a8afe8c9c
fix: typesafety of BuildLocationFn missing Generics ( #1063 )
2024-01-24 20:07:44 +01:00
Armin
d4b5bb6825
fix: Make use of router-generator's getConfig function at router-vite-plugin ( #1057 )
2024-01-24 20:05:00 +01:00
Aquib
d3b1fa582e
docs: Update navigation.md - fix typo ( #1074 )
2024-01-24 20:02:41 +01:00
Ben Patton
b615359f37
docs: added basic migrate from react router checklist ( #1072 )
2024-01-23 19:59:50 -07:00
Tanner Linsley
0ad64bb140
release: v1.9.0
v1.9.0
2024-01-23 18:43:33 +00:00
Manuel Schiller
402cbfc515
feat: add experimental option experimental_returnIntersection to type path / search params as a partial intersection in useMatch, useMatches, useParentMatches, useParams and useSearch
2024-01-23 19:42:04 +01:00
Manuel Schiller
49cf15aeec
chore: fix lock file
2024-01-23 19:35:38 +01:00
Manuel Schiller
cfd49f7185
docs: correctly explain how to create root route with context
2024-01-23 19:08:49 +01:00
Arnaud Barré
af47a14fe4
fix: Handle router prop update in RouterProvider ( #1054 )
2024-01-22 10:28:50 -07: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
Manuel Schiller
8a05bc16ab
chore: remove unused types
2024-01-20 22:37:10 +01:00
Tanner Linsley
c38cc6dbdc
release: v1.8.3
v1.8.3
2024-01-20 14:34:01 +00:00
Ahmed Nawaf
3468fd2dce
fix: Ensure consistent panel direction in RTL projects ( #1041 )
2024-01-20 15:32:41 +01:00
Lachlan Collins
b6d56c0c22
chore: Add zod to example and as devDep of react-router ( #1040 )
2024-01-20 17:30:44 +11:00
Tanner Linsley
6fdc4d30fe
release: v1.8.2
v1.8.2
2024-01-20 06:18:05 +00: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
Tanner Linsley
e7b2ce9d82
release: v1.8.1
v1.8.1
2024-01-20 06:13:42 +00:00
Manuel Schiller
879234b594
fix: fix typing of useRouteMatch as well as fix bug when matching route with path param ( #1032 )
2024-01-20 07:12:13 +01:00
Cory House
cbe7130351
docs: Update search-params.md ( #1034 )
2024-01-20 07:07:52 +01:00
Tanner Linsley
5dc582364f
release: v1.8.0
v1.8.0
2024-01-20 05:37:12 +00: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
Manuel Schiller
bc54ff9ba1
fix: make search params work in case no index route is defined ( #1033 )
v1.7.1
2024-01-19 20:20:22 +01: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 )
v1.7.0
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
79a26b444c
fix: better FileRoute path replacement
v1.6.1
2024-01-19 09:51:51 -07: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
v1.6.0
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
Manuel Schiller
a9a2b8cd9a
fix: correctly handle basepath="/" ( #1023 )
...
v1.5.10
fixes #1022
2024-01-18 14:55:01 -07:00
Tanner Linsley
67de467df3
release: v1.5.9
2024-01-18 20:45:58 +00:00
Tanner Linsley
0a50214672
fix: properly build file-based layout route paths
v1.5.9
2024-01-18 13:44:39 -07:00
Tanner Linsley
8bfe343cec
release: v1.5.8
2024-01-18 20:11:58 +00:00
Manuel Schiller
7d698ea736
fix: correct typing of _splat param for splat/catch-all routes ( #1021 )
v1.5.8
2024-01-18 13:10:36 -07:00
Aloys
e5d2626c0c
docs: Fix broken URL in the docs (file-base-routing.md) ( #1014 )
2024-01-18 18:09:46 +01:00
Tanner Linsley
9dbc7cb48e
release: v1.5.7
2024-01-18 17:06:51 +00:00
Manuel Schiller
b34dec876d
fix: fix incorrect in-place array reverse
v1.5.7
2024-01-18 18:05:29 +01:00
Tanner Linsley
614e1c66f3
release: v1.5.6
2024-01-18 16:56:14 +00:00
Geoffroy Warin
f3d7f6222d
fix: hot reload not working on windows ( #1019 )
v1.5.6
2024-01-18 09:54:58 -07:00
Tanner Linsley
5afd609fb5
release: v1.5.5
2024-01-18 16:13:52 +00:00