From 4530a67470ada9dbcc8891c9e9e6c7b25d5c054b Mon Sep 17 00:00:00 2001 From: saqqdy Date: Fri, 9 Aug 2024 16:49:14 +0800 Subject: [PATCH] fix: spliceUrlParam remove encodeURIComponent --- CHANGELOG.md | 4 ++++ README.md | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 473317b..34200e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 3946620..62a433f 100644 --- a/README.md +++ b/README.md @@ -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= ```