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

294 commits

Author SHA1 Message Date
Tanner Linsley
21675efb84 release: v1.132.0-alpha.21 2025-09-11 21:44:48 +00:00
Tanner Linsley
08ce501b38 release: v1.132.0-alpha.20 2025-09-11 15:43:09 +00:00
Nico Lynzaad
41ac0f2867
fix(router-core): params.parse should run as minimally as possible - Alpha (#5127)
merge PR #5124 into alpha
2025-09-11 17:41:22 +02:00
Tanner Linsley
8588da0187 release: v1.132.0-alpha.19 2025-09-11 07:30:28 +00:00
Nico Lynzaad
bb9188527f
fix(router-core): parse _strictParams - alpha (#5121)
This PR is to merge #5210 into alpha once accepted
2025-09-11 09:28:13 +02:00
Tanner Linsley
96dd101f0c release: v1.132.0-alpha.18 2025-09-09 16:03:18 +00:00
Nico Lynzaad
223570eb8f
fix(react-router, solid-router) - useParams should only be concerned about the relevant params - Alpha (#5098)
PR to merge #5097 into Alpha once accepted
2025-09-07 11:35:59 +02:00
Tanner Linsley
92c214c77a release: v1.132.0-alpha.16 2025-09-04 19:55:43 +00:00
Tanner Linsley
379ca0c451 release: v1.132.0-alpha.15 2025-09-03 21:12:15 +00:00
Manuel Schiller
983ff87b20
feat: url rewrites (#5058)
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-03 23:10:33 +02:00
Tanner Linsley
852b50fdf7 release: v1.132.0-alpha.13 2025-08-31 21:26:18 +00:00
Nico Lynzaad
2356eff3ad merge #5037 into alpha 2025-08-31 14:19:20 +02:00
Tanner Linsley
83962e53b5 release: v1.132.0-alpha.12 2025-08-31 01:01:12 +00:00
Tanner Linsley
840d2802b0 release: v1.132.0-alpha.8 2025-08-28 22:53:41 +00:00
chorobin
581f1e56a6 tests and examples fixed 2025-08-28 23:07:23 +02:00
chorobin
568c485ef0 tests and linting 2025-08-28 00:15:27 +02:00
chorobin
c145e397d8 serialization pls 2025-08-28 00:02:09 +02:00
Nico Lynzaad
d56aa42a8a Merge branch 'relative-routing-to-current-location' into alpha 2025-08-26 23:45:03 +02:00
Tanner Linsley
7c40453eeb Revert "Revert "fix: do not pre-decodeURI before passing to createMemoryHistory (#4893)""
This reverts commit af0cd986c2.
2025-08-26 10:45:57 -06:00
chorobin
b54d056109 "serialization rulez" second attempt 2025-08-24 23:24:19 +02:00
chorobin
9a4efc61ec "serialization rulez" 2025-08-24 23:00:07 +02:00
Tanner Linsley
517ab4aa38 release: v1.132.0-alpha.4 2025-08-22 04:11:45 +00:00
Manuel Schiller
a1f37a8589 allow dynamic scrollRestoration config 2025-08-21 20:11:28 +02:00
Manuel Schiller
22ad997f1e fix ScriptOnce to cleanup after itself 2025-08-21 20:07:35 +02:00
Tanner Linsley
6524f53e3c release: v1.132.0-alpha.3 2025-08-20 17:10:11 +00:00
Manuel Schiller
7f0cc200a6 Merge remote-tracking branch 'origin/custom-transformers' into HEAD 2025-08-20 19:04:46 +02:00
Manuel Schiller
1ab8d26826 Merge remote-tracking branch 'origin/main' into HEAD 2025-08-20 18:32:40 +02:00
Nico Lynzaad
3e664620d6 resolve test failure 2025-08-20 01:42:00 +02:00
autofix-ci[bot]
9c4606045b
ci: apply automated fixes 2025-08-19 23:01:27 +00:00
Nico Lynzaad
29dfcf9b6e refactor based on coderabbit recommendations 2025-08-20 01:00:28 +02:00
Nico Lynzaad
87d51b9325 formatting 2025-08-19 22:25:00 +02:00
autofix-ci[bot]
3d93911259
ci: apply automated fixes 2025-08-19 20:18:46 +00:00
Nico Lynzaad
ab6f27b83b rersolve inconsistency between solid and react implementation 2025-08-19 22:16:41 +02:00
Nico Lynzaad
41481f760a Merge branch 'main' into relative-routing-to-current-location 2025-08-19 12:39:04 +02:00
Tanner Linsley
83ab17331b release: v1.131.27 2025-08-19 06:53:58 +00:00
Flo
a7504ae79e
refactor(router-core): simplify defaultParseSearch & defaultStringifySearch (#4985)
Wait for this PR before merging:
https://github.com/TanStack/router/pull/4987. It adds unit tests that
should help make sure we're not breaking anything here.

--- 

The functions used to serialize and deserialize search params are called
*a lot*, but they are creating many unnecessary objects. This PR
refactors
- `encode` to be only as generic as what we need => in practice we only
need to handle 1 value per key (i.e. `.set()` and not `.append()`) so we
don't need a special case for arrays
- `decode` can avoid creating many arrays
- `stringifySearchWith` (and `defaultStringifySearch`) don't need to
pre-stringify the input into a `<string,string>` dictionary as `encode`
now accepts a stringifier function


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- Breaking Changes
- Removed encode and decode from React Router and Solid Router public
exports.
  - Query string prefix support removed in encode/decode.
- Refactor
- Updated query string handling: arrays encode as comma-separated
values; duplicate keys decode into arrays.
- Streamlined error handling and avoided input mutation; consistent
leading “?” management.
- Tests
- Updated tests to match new encoding/decoding behavior and removed
prefix-related cases.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-19 08:42:53 +02:00
autofix-ci[bot]
452f876729
ci: apply automated fixes 2025-08-19 03:32:37 +00:00
Nico Lynzaad
8feb3c0f34 revert change to SolidJS useNavigate 2025-08-19 05:29:00 +02:00
Nico Lynzaad
d3391ea501 Merge branch 'main' into relative-routing-to-current-location 2025-08-19 03:37:00 +02:00
Nico Lynzaad
de884b8e97 consolidate from logic 2025-08-19 03:34:31 +02:00
Nico Lynzaad
8f41f218f5 cleanup tests 2025-08-19 00:12:47 +02:00
Manuel Schiller
43c01fb9d2 rename 2025-08-18 19:37:35 +02:00
Tanner Linsley
f2190d77ba release: v1.131.26 2025-08-18 07:56:53 +00:00
Manuel Schiller
a75e1913bf custom transformers 2025-08-18 00:52:23 +02:00
autofix-ci[bot]
ad7eea5006
ci: apply automated fixes 2025-08-17 22:12:12 +00:00
Nico Lynzaad
0ae150e41e reactivity and code cleanup 2025-08-18 00:10:32 +02:00
Nico Lynzaad
983b7cee5c Merge branch 'main' into relative-routing-to-current-location 2025-08-17 22:10:55 +02:00
Nico Lynzaad
0c9b67a0fb apply code rabbit suggestions 2025-08-17 22:06:44 +02:00
Tanner Linsley
fa3f8faf45 release: v1.131.25 2025-08-17 19:27:38 +00:00
Flo
a7b1667827
refactor(router-core): remove pick utility in favor of direct object manipulation (#4983)
Based on the current usage of `pick`, directly addinf the picked keys to
the objects will be less overhead with the same result.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- Refactor
- Simplified internal routing logic related to navigation options; no
change to runtime behavior.
- Chores
  - Removed an internal utility no longer used.
- Public API
- One non-essential utility export was removed from package entry
points, slightly reducing the public API surface.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-17 21:26:07 +02:00