Skip to content

Commit

Permalink
fix: spliceUrlParam remove encodeURIComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Aug 9, 2024
1 parent 6b1ed35 commit 4530a67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change logs

## 2024.08.09 v5.21.0

1. `spliceUrlParam` Breaking change: SpliceUrlParamOptions

## 2024.08.09 v5.20.0

1. `spliceUrlParam` Breaking change: remove encodeURIComponent
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,10 @@ spliceUrlParam({ key1: '100', key2: true, key3: null, key4: undefined, key5: '
spliceUrlParam({ key1: '100', key2: true, key3: null, key4: undefined }, true)
// ?key1=100&key2=true&key3=&key4=
spliceUrlParam({ key1: '100', key2: true, key3: null, key4: undefined }, { covert: true, withQuestionsMark: false })
spliceUrlParam(
{ key1: '100', key2: true, key3: null, key4: undefined },
{ covert: true, withQuestionsMark: false }
)
// key1=100&key2=true&key3=&key4=
```

Expand Down

0 comments on commit 4530a67

Please sign in to comment.