diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a5040a..edeb6de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## [v0.2.3] - 2023-07-10 + +### Fixed + +- Fix: fix parse json path name with escaped characters. (#21) +- Fix: Fix some special characters display errors. (#18) +- Fix: Support parsing Unicode characters enclosed in brackets. (#17) +- Fix: json `to_string` function adds backslash for escaped characters. (#16) +- Fix: fix parse UTF-8 characters. (#15) + +### Added + +- chore: implement From trait with owned JsonValue for Value. (#22) +- Feat: Add function `convert_to_comparable`, `rand_value`. (#20) +- Create publish.yaml. (#19) + ## [v0.2.2] - 2023-05-06 ### Fixed diff --git a/Cargo.toml b/Cargo.toml index 108d4f9..df49d47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ keywords = ["json", "jsonb", "jsonpath"] license = "Apache-2.0" name = "jsonb" repository = "https://github.com/datafuselabs/jsonb" -version = "0.2.2" +version = "0.2.3" rust-version = "1.68" [dependencies] diff --git a/src/functions.rs b/src/functions.rs index fd25c3e..575a091 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -1047,7 +1047,6 @@ fn escape_scalar_string(value: &[u8], start: usize, end: usize, json: &mut Strin let c = match value[i] { 0x5C => "\\\\", 0x22 => "\\\"", - 0x2F => "\\/", 0x08 => "\\b", 0x0C => "\\f", 0x0A => "\\n",