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

6,597 commits

Author SHA1 Message Date
Manuel Schiller
7aef4a3c48
fix(start-client): use correct parent match when hydrating (#3412) 2025-02-13 00:22:32 +01:00
Michal Malinowski
673ff1c3fd
fix: payload should be a data object (#3405) 2025-02-12 21:37:41 +01:00
Tanner Linsley
e6efc4fb86 release: v1.102.6 v1.102.6 2025-02-12 19:18:06 +00:00
Ben Fleming
1a6e3af75b
fix(router-generator): prevent route file being auto-formatted during updates (#3366) 2025-02-12 20:12:04 +01:00
Tanner Linsley
0fa206e69d
fix: dead code elimination for start plugin (#3387) 2025-02-12 20:11:24 +01:00
Carson Full
e2069a48ad
fix: vite peer dependencies (#3406) 2025-02-12 20:09:08 +01:00
Tanner Linsley
e30d59a05f release: v1.102.5 v1.102.5 2025-02-12 04:52:43 +00:00
Lee
f472e1ac51
fix(router-core): patch qss to attempt encoding value to prevent malformed URI errors (#3381)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>

The earlier search/query param decode pattern used `decodeURIComponent(value)` which could throw an error when a value like '100%' was inputted. This change makes it safe for such actions to be attempted and gracefully be handled by the router.
2025-02-12 17:46:18 +13:00
Tanner Linsley
bb65fe44dd release: v1.102.4 v1.102.4 2025-02-12 02:24:58 +00:00
Sean Cassiere
e88b960702
refactor(router-plugin): code-splitting to be agnostic to support 'targets' (#3400) 2025-02-12 15:21:06 +13:00
Tanner Linsley
d626fb2831 release: v1.102.3 v1.102.3 2025-02-11 23:45:29 +00:00
Tanner Linsley
d870c68748
fix: allow custom scrollToTop selectors (#3398) 2025-02-11 16:42:37 -07:00
Tanner Linsley
4d74d55da8 release: v1.102.2 v1.102.2 2025-02-10 23:19:33 +00:00
Christopher Horobin
2fea8b6870
fix(start): align middleware context types with runtime (#3375)
* fix(start): align middleware context types with runtime

* fix(start): ensure context types are correct throughout the lifecycle

* chore(start): add type tests

* chore: fix build

* perf(start): add variance annotations to reduce instantiations
2025-02-11 00:18:04 +01:00
renovate[bot]
c1c943c5ef
chore(deps): update all non-major dependencies (#3379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 02:03:23 +00:00
Tanner Linsley
397561969b release: v1.102.1 v1.102.1 2025-02-09 23:17:35 +00:00
Flo
11b40b8eef
fix(react-router): simpler useForwardedRef using useImperativeHandle (#3364)
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-10 12:10:46 +13:00
Manuel Schiller
953b6c9bd1
tests: run e2e react-router tests with prod build (#3374) 2025-02-09 22:38:57 +01:00
Tanner Linsley
0cef0bdc3e release: v1.102.0 v1.102.0 2025-02-09 21:22:38 +00:00
Ryan Gillie
f37eb665d0
feat(start): serialize BigInt for server functions (#3294)
* Add bigint serialization

* ci: apply automated fixes

---------

Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-09 22:16:53 +01:00
Leonardo Montini
0581857051
docs(router): more recommendations for route tree file opening unexpectedly on vscode (#3377) 2025-02-09 22:16:10 +01:00
Manuel Schiller
28963a2a4c docs: quickstart 2025-02-09 22:13:05 +01:00
Tanner Linsley
ddd84abd75 release: v1.101.2 v1.101.2 2025-02-09 13:49:20 +00:00
Manuel Schiller
6346365b1f
fix(react-router): exclude props from state equality check to prevent history push for equal url and state (#3373)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-09 14:47:46 +01:00
Flo
0567ac0b81
test(e2e): add spec for viewport="preload" (#3372) 2025-02-10 01:35:02 +13:00
Tanner Linsley
8d742e1c5c release: v1.101.1 v1.101.1 2025-02-09 03:41:09 +00:00
Marc MacLeod
1895cc8ad5
fix(start): include vite react plugin in SSR router (#3369) 2025-02-09 16:29:35 +13:00
Tanner Linsley
f0f9e1074b release: v1.101.0 v1.101.0 2025-02-09 01:11:42 +00:00
Sean Cassiere
cf693e7353
feat(router-plugin): configurable key-based code splitting (#3355) 2025-02-09 14:09:18 +13:00
Tanner Linsley
026ea55598 release: v1.100.0 v1.100.0 2025-02-08 21:39:12 +00:00
Manuel Schiller
3b158d0ab0
feat(react-router): add shouldThrow option to useParams and useSearch (#3368) 2025-02-08 22:36:40 +01:00
Tanner Linsley
bd5d1992e2 release: v1.99.14 v1.99.14 2025-02-07 22:19:02 +00:00
Sean Cassiere
0a25fcc70b
refactor(router-generator): support for more targets (#3363) 2025-02-08 11:14:42 +13:00
Tanner Linsley
38834b0133 release: v1.99.13 v1.99.13 2025-02-07 18:21:05 +00:00
Flo
e34aabb8ec
fix(history): SubscriberHistoryAction discriminated union (#3361) 2025-02-07 19:14:30 +01:00
Tanner Linsley
675fdc0157 release: v1.99.12 v1.99.12 2025-02-07 14:31:02 +00:00
Sean Cassiere
01f2cbe198
fix(router-plugin): handle "ConditionalExpression" when code-splitting (#3359) 2025-02-08 03:29:26 +13:00
Tanner Linsley
4914265927 release: v1.99.11 v1.99.11 2025-02-07 10:45:30 +00:00
Sean Cassiere
323820b6f6
fix(router-plugin): reduce route-tree bundle size (#3354)
Currently, when using `automaticCodeSplitting`, as part of compiling the "reference" route, we add a component (named `TSRDummyComponent`) to aid with the HMR trickery.

In removing this component from the production bundle, it impacts the visitor by reducing the initial js bundle that wires the route-tree.
2025-02-07 23:42:56 +13:00
Tanner Linsley
c4b42ba543 release: v1.99.10 v1.99.10 2025-02-07 03:40:37 +00:00
Carson Full
e8695e1177
fix: use top-level types in package.json for use in JetBrains IDEs (#3350) 2025-02-07 16:34:57 +13:00
Tanner Linsley
9fb4d601a3 release: v1.99.9 v1.99.9 2025-02-06 21:52:20 +00:00
Nikola Hristov
5ea1de62b9
refactor(react-router): remove unsed router prop from Route class (#3344)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-07 10:45:42 +13:00
Sean Cassiere
ece1575f6d
chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
Nicolas Beaussart
9adf45bc47
fix(examples): upgrade nx and remove implicitDependencies (#3346) 2025-02-06 20:03:16 +01:00
Tanner Linsley
a13f1a4021 release: v1.99.8 v1.99.8 2025-02-06 05:38:24 +00:00
Nikola Hristov
c3a86dd127
fix(react-router): build correct href when reloading the document with Router.navigate (#3336) 2025-02-06 18:33:14 +13:00
Sean Cassiere
71784371c2
docs(router): warning on serialization with Base64 (#3342) 2025-02-06 15:30:51 +13:00
Sean Cassiere
a141d004cc
chore(router-generator): add code comments to the determineRouteIsLayout function (#3341) 2025-02-06 15:16:13 +13:00
Tanner Linsley
648ad674c6 release: v1.99.7 v1.99.7 2025-02-05 19:19:33 +00:00