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

6,478 commits

Author SHA1 Message Date
Tanner Linsley
1510aa5190 release: v0.0.1-beta.207 2023-11-06 20:44:01 +00:00
Tanner Linsley
908603b1c6 fix: load skips, outdated search params v0.0.1-beta.207
- Matches run for every url change, including beforeLoad and load
- Search params in matches and hooks are now always up to date with the latest known URL in matches
2023-11-06 13:42:29 -07:00
Tanner Linsley
bfa6b9cefb release: v0.0.1-beta.206 2023-11-06 04:59:57 +00:00
Tanner Linsley
5350414e19 fix: use latest state for functional navigations v0.0.1-beta.206 2023-11-05 21:58:28 -07:00
Tanner Linsley
6b48b9e237 release: v0.0.1-beta.205 2023-11-05 07:58:13 +00:00
Tanner Linsley
e76c046690 fix: tests v0.0.1-beta.205 2023-11-05 01:56:35 -06:00
Tanner Linsley
4a792144eb feat: Big refactor to React only
There are many breaking changes in this release:
- The Router class no longer has many of the methods it had.
- Most of these methods have been moved to the new routerContext, which is served via the useRouter() hook
- React state is being used for all state management, which should set the stage for better transition/suspense support
- Router Context and route context has been renamed to Router Meta and Route Meta
- Loaders are gone. You can still force a route to wait for an async function via `beforeLoad`, which is serial or `load` which is parallel.
- There's a lot of other changes, but I'm too tired to think straight.
2023-11-05 01:38:08 -06:00
Tanner Linsley
bdbf99b498 release: v0.0.1-beta.204 2023-11-02 18:50:03 +00:00
Tanner Linsley
b99130d79a fix: next.replace bug v0.0.1-beta.204 2023-11-02 12:48:17 -06:00
Tanner Linsley
00423b4ec4 release: v0.0.1-beta.203 2023-11-02 18:47:40 +00:00
Tanner Linsley
565438da2a fix: navigate early returns promise v0.0.1-beta.203 2023-11-02 12:45:19 -06:00
Tanner Linsley
aad6fc7f0c release: v0.0.1-beta.202 2023-11-02 17:07:35 +00:00
Tanner Linsley
3983d88656 fix: from: to ? match.pathname : undefined v0.0.1-beta.202 2023-11-02 11:05:02 -06:00
Tanner Linsley
695be3a6f8 release: v0.0.1-beta.201 2023-11-02 15:53:41 +00:00
Tanner Linsley
abbbe5cf63 fix: relative links useMatch pathname v0.0.1-beta.201 2023-11-02 09:51:51 -06:00
Tanner Linsley
636b960f55 release: v0.0.1-beta.200 2023-11-02 15:39:55 +00:00
Tanner Linsley
9493033160 fix: do not commit to history if replace url has not changed v0.0.1-beta.200 2023-11-02 09:38:10 -06:00
Tanner Linsley
18ec6f2d9a release: v0.0.1-beta.199 2023-11-02 05:03:19 +00:00
Tanner Linsley
0f155c398b fix: history push pop v0.0.1-beta.199 2023-11-01 23:01:43 -06:00
Tanner Linsley
3a32a8fc3a release: v0.0.1-beta.198 2023-10-27 20:30:05 +00:00
Tanner Linsley
1f01ff636e fix: upgrade history dep version v0.0.1-beta.198 2023-10-27 14:27:44 -06:00
Tanner Linsley
e51cb99bfb release: v0.0.1-beta.197 2023-10-27 20:17:09 +00:00
Tanner Linsley
cff5024333 fix: history subscription on creation v0.0.1-beta.197 2023-10-27 14:14:27 -06:00
Tanner Linsley
d27c666386 release: v0.0.1-beta.196 2023-10-27 16:16:09 +00:00
Tanner Linsley
00c49279be fix: build order v0.0.1-beta.196 2023-10-27 10:14:02 -06:00
Tanner Linsley
eefd0c5e28 fix: react search state deps 2023-10-27 10:11:37 -06:00
Tanner Linsley
38527e99f8 fix: no window 2023-10-27 10:04:00 -06:00
Tanner Linsley
9a875cb423 fix: react-search-state 2023-10-27 05:28:22 -07:00
Tanner Linsley
8d0f6f4481 fix: move custom history keys to router. core 2023-10-25 15:59:36 -07:00
Tanner Linsley
fd484f0888 fix: deploy 2023-10-25 14:09:01 -07:00
Tanner Linsley
670679bb0e feat: history package 2023-10-25 14:02:36 -07:00
Tanner Linsley
a6b0c54134 release: v0.0.1-beta.195 2023-10-24 22:39:37 +00:00
Tanner Linsley
f54d33ed5e feat: Better history throttling v0.0.1-beta.195 2023-10-24 16:37:22 -06:00
Niels Mentink
806ef336e5
fix: change chokidar watch path for config file from js to json (#759) 2023-10-08 12:24:29 -06:00
Tanner Linsley
c1acbf58f8 fix: useRouteContext types 2023-09-28 21:24:21 -06:00
Tanner Linsley
8e2f035977 release: v0.0.1-beta.194 2023-09-29 03:09:01 +00:00
Tanner Linsley
8eb02cc0b2 fix: context types, clean up generics v0.0.1-beta.194 2023-09-28 21:06:45 -06:00
Tanner Linsley
7d7b03ae19 release: v0.0.1-beta.193 2023-09-28 19:25:13 +00:00
Tanner Linsley
5fdf465ecf feat: loaderContext v0.0.1-beta.193
Breaking Changes:
- `search` and `hash` are no longer directly available in route loaders
- The route `key` option has been removed

New:
- Added a new optional route option `loaderContext`. It's a function that receives `search` and `hash` and expects you to return any serializable data from them that you require in your loader. This stable-serialized value is used to uniquely identify route matches coming from this route configuration and acts as a dependency tracker for when loaders should rerun, etc.
2023-09-28 13:22:22 -06:00
Tanner Linsley
0e26a516c1 release: v0.0.1-beta.192 2023-09-26 00:31:05 +00:00
Jonathan Marbutt
709a7c80c8
fix: Fixing Nesting Issues with multiple layouts (#741) v0.0.1-beta.192
When there are multiple nested layouts it is possible for the generator to not nest sub paths correctly.
2023-09-25 18:29:08 -06:00
Tanner Linsley
b3c81b969b release: v0.0.1-beta.191 2023-09-16 18:19:12 +00:00
Fugi
ab5bed17e2
fix: Escape routePath when updating FileRoute call (#736) v0.0.1-beta.191 2023-09-16 12:17:13 -06:00
Tanner Linsley
643737e7b5 release: v0.0.1-beta.190 2023-09-12 14:59:34 +00:00
Fugi
c414752513
fix: Fix force push removing commits (#728) v0.0.1-beta.190
* docs: fixed variable name error (#715)

used the wrong example in customStringifier example

* Fix(router-cli): Fixes on Windows and Improvements  (#717)

* (fix) Fixed backslash on windows
(fix) Sanitized routePaths, import and interface keys
(enhanched) made the parent search recursive
(question) how layouts need to be generated?

* (feat) Added WIP example for file routing

* (fix) add debug json in ignored

* (fix) Added return type to 'hasParentRoute'
(fix) Removed example, moved to another branch

---------

Co-authored-by: Koja sig. Dennis <DKOJA@ceia-spa.com>

* fix: types for useNavigate and useMatchRoute (#723)

* document passing Link isActive to children (#725)

---------

Co-authored-by: Frank Tran <ftransd@gmail.com>
Co-authored-by: Denny09310 <50493437+Denny09310@users.noreply.github.com>
Co-authored-by: Koja sig. Dennis <DKOJA@ceia-spa.com>
Co-authored-by: Blake Gentry <bgentry@users.noreply.github.com>
2023-09-12 08:56:50 -06:00
Tanner Linsley
3062a42ea8 release: v0.0.1-beta.189 2023-09-12 04:09:43 +00:00
Tanner Linsley
a8cd7cdb83 fix: LocationState type, Wrap type v0.0.1-beta.189 2023-09-11 22:07:44 -06:00
Tanner Linsley
ab614fab79 fix: route masking v0.0.1-beta.187 2023-09-11 15:32:46 -06:00
Tanner Linsley
1be68dfb29 fix: no bling link v0.0.1-beta.186 2023-09-11 14:41:54 -06:00
Tanner Linsley
ae621c93ea feat: route masking 2023-09-11 10:07:10 -06:00