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
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