Skip to content

Commit a4524c1

Browse files
committed
chore: use-query-params v2.2.2
1 parent c8ea3b0 commit a4524c1

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

packages/use-query-params/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## use-query-params v2.2.2 (November 21, 2025)
4+
5+
- fix(WindowAdapter): update adapter when window location is changed
6+
- latest serialize-query-params (2.0.3)
7+
38
## use-query-params v2.2.1 (March 24, 2023)
49
- fix: #256 adds peer dependencies and metas to allow adapters to work on pnpm setups
510

packages/use-query-params/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ You can specify global options at the provider level.
631631
| includeKnownParams | undefined | When true, include all parameters that were configured via the `params` option on a QueryParamProvider. Default behavior depends on the arguments passed to useQueryParams (if not specifying any params, it is true, otherwise false). |
632632
| includeAllParams | false | Include all parameters found in the URL even if not configured in any param config. |
633633
| removeDefaultsFromUrl | false | When true, removes parameters from the URL when set is called if their value is the same as their default (based on the `default` attribute of the Param object, typically populated by `withDefault()`) |
634-
| *enableBatching* | false | **experimental** - turns on batching (i.e., multiple consecutive calls to setQueryParams in a row only result in a single update to the URL). Currently marked as experimental since we need to update all the tests to verify no issues occur, feedback welcome. |
634+
| *enableBatching* | false | - turns on batching (i.e., multiple consecutive calls to setQueryParams in a row only result in a single update to the URL). Likely will default to true in a future version. |
635635

636636

637637

packages/use-query-params/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-query-params",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "React Hook for managing state in URL query parameters with easy serialization.",
55
"main": "./dist/index.cjs.js",
66
"typings": "./dist/index.d.ts",
@@ -82,7 +82,7 @@
8282
}
8383
},
8484
"dependencies": {
85-
"serialize-query-params": "^2.0.2"
85+
"serialize-query-params": "^2.0.3"
8686
},
8787
"husky": {
8888
"hooks": {

0 commit comments

Comments
 (0)