0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-18 19:34:24 +00:00
Commit graph

18 commits

Author SHA1 Message Date
Flo
5de0f91050
refactor(router-core): improve interpolatePath performance by pre-compiling a single regex decoder (#6471) 2026-01-23 23:29:08 +01:00
Flo
f054c0c921
fix: revert "refactor: don't reparse upon navigation (#6398)" (#6468)
Revert "refactor: don't reparse upon navigation (#6398)"

This reverts commit 6cbd96e357.
2026-01-23 16:50:10 +01:00
Manuel Schiller
6cbd96e357
refactor: don't reparse upon navigation (#6398) 2026-01-19 23:00:21 +01:00
Flo
f39eb9b832
refactor(router-core): Process routeTree into segment tree instead of flatRoutes [WIP] (#5722) 2025-11-15 13:45:02 +01:00
Nico Lynzaad
f1bd5c589c
refactor(router-core): use original nextTo path when building location in its route form (#5851)
* fixes and tests

* standardize params output for empty optional params

* finalize leave params tests

* leave wildcard is no longer required

* remove leaveParams altogether

* leave changes to optional param output handling for a separate PR

* cleanup

* resolve build errors and nitpick
2025-11-14 01:55:39 +02:00
Flo
043e57656d
refactor(router-core): simplify matchId (#5807)
* refactor(router-core): simplify matchId

* ci: apply automated fixes

* update tests

* matchId !== routeId

* nitpicks

* missed in solid router Match

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
2025-11-11 00:55:46 +01:00
Lachlan Heywood
82f711b391
refactor: export devtools options type (#5435) 2025-10-14 16:57:50 +13:00
Nicolas Beaussart
c4d3bde7d0
feat(devtools-core): add history tab (#5410) 2025-10-14 10:06:53 +13:00
Manuel Schiller
32faee22da
feat: Start RC (#5189)
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com>
Co-authored-by: chorobin <chrishorobin@hotmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: hokkyss <hokkyss2@gmail.com>
Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com>
Co-authored-by: Jack Herrington <jherr@pobox.com>
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2025-09-23 11:34:54 -06:00
Sean Cassiere
081b949d99
fix(router-devtools-core): add copy to clipboard for search params object (#5140) 2025-09-12 23:18:29 +12:00
JamesHyot
12732fed48
refactor(router-devtools-core): allow styling of TanStackRouterDevtoolsPanel (#4671) 2025-08-02 12:54:14 +12:00
Maxx Coffee
fdf31ff7c3
fix: Fix devtools when using shadowdom (#4212)
Co-authored-by: Joshua Coffee <joshcoffee@gannett.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-29 21:24:47 +02:00
Adam Hunter
699194749c
fix(router-devtools-core): adds missing containerElement prop support for TanStackRouterDevtoolsCore (#4126)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-18 09:52:39 +02:00
scarf
12eb1426fe
feat(router-devtools-core): add navigation link to route (#4048)
Add a button to navigate to a route from the `router-devtools`.

Paths with dynamic path parameters will reuse the path parameters
from the current route. Only paths, where the current path
parameters are viable for a successful navigation will have this button
appear.

---

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-04-30 21:20:39 +12:00
Birk Skyum
0394b6b668
fix(router-devtools-core): remove floating panel style on close (#3898) 2025-03-31 16:18:24 +02:00
Birk Skyum
f005d35b7b
fix(router-devtools-core): propagate toggleButtonProps properly (#3768)
Closes https://github.com/TanStack/router/issues/3746

With this change, setting on the DevTools the properties:
- panelProps
- closeButtonProps
- toggleButtonProps

Will propagate those values, such as `style` or `class` correctly to the
respective DOM elements.
2025-03-13 20:42:21 +01:00
Birk Skyum
a7d3efe957
fix(router-devtools-core) lazy load devtools panel to fix ssr (#3696)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-08 20:34:19 +01:00
Birk Skyum
e313a1c5a7
feat(router-devtools-core): consolidate devtools logic in core and distributed with framework-specific bindings (#3636)
The original `@tanstack/router-devtools` package still work - it's not
touch by this PR in any way, apart from a migration note saying:

>[@tanstack/router-devtools] Warning: This package has moved to
@tanstack/react-router-devtools. Please switch to the new package, as
this package will be dropped soon.

This introduce three new packages
- @tanstack/router-devtools-core : This is a SolidJS port of the UI

And two adapters on top, that mount this solid app and forward
router/routerState into it.
- @tanstack/solid-router-devtools
- @tanstack/router-router-devtools

For use of devtools in production, a `TanStackRouterDevtoolsInProd` can
be imported instead of the standard `TanStackRouterDevtools` that'll be
tree shaken away in prod.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2025-03-08 13:20:26 +01:00