Skip to content

Commit

Permalink
chore: changelog 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeshai committed Feb 8, 2023
1 parent 016f780 commit e4923cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/use-query-params/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## use-query-params v2.2.0 (February 8, 2023)
- fix: #233 attempt to read location from data router in react-router 6.6+. making this a minor revision since it imports something that may not be there in older versions of react-router 6.

## use-query-params v2.1.2 (October 24, 2022)
- fix: #244 `updateLocation` returns an empty string for `href` when the original `location.href` is not defined. This allows `updateLocation` to be recursively recalled without crashing when creating a `new URL()` (thank you @jmcpeak)

Expand Down
2 changes: 1 addition & 1 deletion packages/use-query-params/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "use-query-params",
"version": "2.1.2",
"version": "2.2.0",
"description": "React Hook for managing state in URL query parameters with easy serialization.",
"main": "./dist/index.cjs.js",
"typings": "./dist/index.d.ts",
Expand Down

0 comments on commit e4923cc

Please sign in to comment.