From 73620f74f88fe17081d996006dda074e33253d46 Mon Sep 17 00:00:00 2001 From: V0ldek Date: Wed, 3 Apr 2024 18:32:48 +0200 Subject: [PATCH] release v0.9.1 --- .github/ISSUE_TEMPLATE/bug_report.yml | 3 ++- CHANGELOG.md | 9 +++++++ Cargo.lock | 32 ++++++++++++------------- Justfile | 4 +++- README.md | 20 ++++++++-------- book/src/user/installation.md | 2 +- book/src/user/installation/manual.md | 2 +- crates/rsonpath-benchmarks | 2 +- crates/rsonpath-lib/Cargo.toml | 2 +- crates/rsonpath-lib/README.md | 2 +- crates/rsonpath-test-codegen/Cargo.lock | 2 +- crates/rsonpath-test-codegen/Cargo.toml | 2 +- crates/rsonpath-test/Cargo.toml | 6 ++--- crates/rsonpath/Cargo.toml | 4 ++-- fuzz/Cargo.lock | 2 +- 15 files changed, 53 insertions(+), 41 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a26a36ed..ae29080e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -71,7 +71,8 @@ body: attributes: label: Version of the release options: - # + # + - v0.9.1 - v0.9.0 - v0.8.7 - v0.8.6 diff --git a/CHANGELOG.md b/CHANGELOG.md index 57b067ee..a4c7c9f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to this project will be documented in this file. +## [0.9.1] - 2024-04-03 + +### Bug Fixes + +- Child slice selectors only selecting first matching index (#499). ([#499](https://github.com/V0ldek/rsonpath/issues/499)) + - Fixed a bug where the compiler would erroneously mark states + with a single slice transition as unitary, even though such + transitions could match more than one index. + ## [0.9.0] - 2024-03-28 ### Features diff --git a/Cargo.lock b/Cargo.lock index 04782bc0..7db06f15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -213,7 +213,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.58", ] [[package]] @@ -325,7 +325,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.58", ] [[package]] @@ -872,7 +872,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "rsonpath" -version = "0.9.0" +version = "0.9.1" dependencies = [ "clap", "color-eyre", @@ -888,7 +888,7 @@ dependencies = [ [[package]] name = "rsonpath-lib" -version = "0.9.0" +version = "0.9.1" dependencies = [ "arbitrary", "cfg-if", @@ -923,7 +923,7 @@ dependencies = [ [[package]] name = "rsonpath-test" -version = "0.9.0" +version = "0.9.1" dependencies = [ "eyre", "glob", @@ -938,7 +938,7 @@ dependencies = [ [[package]] name = "rsonpath-test-codegen" -version = "0.9.0" +version = "0.9.1" dependencies = [ "heck 0.4.1", "proc-macro2", @@ -1041,7 +1041,7 @@ checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.58", ] [[package]] @@ -1072,9 +1072,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "similar" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32fea41aca09ee824cc9724996433064c89f7777e60762749a4170a14abbfa21" +checksum = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640" [[package]] name = "simple_logger" @@ -1133,9 +1133,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "strsim" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "syn" @@ -1150,9 +1150,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.55" +version = "2.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "002a1b3dbf967edfafc32655d0f377ab0bb7b994aa1d32c8cc7e9b8bf3ebb8f0" +checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" dependencies = [ "proc-macro2", "quote", @@ -1199,7 +1199,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.58", ] [[package]] @@ -1210,7 +1210,7 @@ checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.58", "test-case-core", ] @@ -1231,7 +1231,7 @@ checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.55", + "syn 2.0.58", ] [[package]] diff --git a/Justfile b/Justfile index 8137c24a..ee5c2790 100644 --- a/Justfile +++ b/Justfile @@ -267,6 +267,8 @@ release ver: just release-patch {{ver}} just release-readme just release-bug-template {{ver}} + cargo build + cargo +nightly fuzz build [private] release-patch ver: @@ -275,7 +277,7 @@ release-patch ver: let crates = ["rsonpath", "rsonpath-lib", "rsonpath-benchmarks", "rsonpath-test", "rsonpath-test-codegen"]; $crates | each { |cr| let path = $"./crates/($cr)/Cargo.toml"; - sed -i $'s/^version = "[^"]*"/version = "($ver)"/;s/^rsonpath-lib = { version = "[^"]*"/rsonpath-lib = { version = "($ver)"/' $path; + sed -i $'s/^version = "[^"]*"/version = "($ver)"/;s/^rsonpath-lib = { version = "[^"]*"/rsonpath-lib = { version = "($ver)"/;s/rsonpath-test-codegen = { version = "[^"]*"/rsonpath-test-codegen = { version = "($ver)"/' $path; }; [private] diff --git a/README.md b/README.md index 4140fa0b..0fc546c9 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ with `rq --version` – check the `SIMD support` field: ```console,ignore $ rq --version -rq 0.9.0 +rq 0.9.1 Commit SHA: c024e1bab89610455537b77aed249d2a05a81ed6 Features: default,simd @@ -216,12 +216,12 @@ cargo tree --package rsonpath --edges normal --depth 1 ```ini -rsonpath v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath) +rsonpath v0.9.1 (/home/mat/src/rsonpath/crates/rsonpath) ├── clap v4.5.4 ├── color-eyre v0.6.3 ├── eyre v0.6.12 ├── log v0.4.21 -├── rsonpath-lib v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath-lib) +├── rsonpath-lib v0.9.1 (/home/mat/src/rsonpath/crates/rsonpath-lib) ├── rsonpath-syntax v0.3.1 (/home/mat/src/rsonpath/crates/rsonpath-syntax) └── simple_logger v4.3.3 [build-dependencies] @@ -237,7 +237,7 @@ cargo tree --package rsonpath-lib --edges normal --depth 1 ```ini -rsonpath-lib v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath-lib) +rsonpath-lib v0.9.1 (/home/mat/src/rsonpath/crates/rsonpath-lib) ├── arbitrary v1.3.2 ├── cfg-if v1.0.0 ├── log v0.4.21 @@ -272,7 +272,7 @@ cargo tree --package rsonpath --edges normal ```ini -rsonpath v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath) +rsonpath v0.9.1 (/home/mat/src/rsonpath/crates/rsonpath) ├── clap v4.5.4 │ ├── clap_builder v4.5.2 │ │ ├── anstream v0.6.13 @@ -296,7 +296,7 @@ rsonpath v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath) │ │ │ └── utf8parse v0.2.1 │ │ ├── anstyle v1.0.6 │ │ ├── clap_lex v0.7.0 -│ │ ├── strsim v0.11.0 +│ │ ├── strsim v0.11.1 │ │ └── terminal_size v0.3.0 │ │ ├── rustix v0.38.32 │ │ │ ├── bitflags v2.5.0 @@ -321,7 +321,7 @@ rsonpath v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath) │ │ └── unicode-ident v1.0.12 │ ├── quote v1.0.35 │ │ └── proc-macro2 v1.0.79 (*) -│ └── syn v2.0.55 +│ └── syn v2.0.58 │ ├── proc-macro2 v1.0.79 (*) │ ├── quote v1.0.35 (*) │ └── unicode-ident v1.0.12 @@ -346,7 +346,7 @@ rsonpath v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath) │ └── owo-colors v3.5.0 ├── eyre v0.6.12 (*) ├── log v0.4.21 -├── rsonpath-lib v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath-lib) +├── rsonpath-lib v0.9.1 (/home/mat/src/rsonpath/crates/rsonpath-lib) │ ├── cfg-if v1.0.0 │ ├── log v0.4.21 │ ├── memmap2 v0.9.4 @@ -361,7 +361,7 @@ rsonpath v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath) │ │ │ └── thiserror-impl v1.0.58 (proc-macro) │ │ │ ├── proc-macro2 v1.0.79 (*) │ │ │ ├── quote v1.0.35 (*) -│ │ │ └── syn v2.0.55 (*) +│ │ │ └── syn v2.0.58 (*) │ │ └── unicode-width v0.1.11 │ ├── smallvec v1.13.2 │ ├── static_assertions v1.1.0 @@ -417,7 +417,7 @@ rsonpath v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath) │ │ └── serde_derive v1.0.197 (proc-macro) │ │ ├── proc-macro2 v1.0.79 (*) │ │ ├── quote v1.0.35 (*) - │ │ └── syn v2.0.55 (*) + │ │ └── syn v2.0.58 (*) │ ├── cargo-platform v0.1.8 │ │ └── serde v1.0.197 (*) │ ├── semver v1.0.22 diff --git a/book/src/user/installation.md b/book/src/user/installation.md index 3c7f1b2b..dc792864 100644 --- a/book/src/user/installation.md +++ b/book/src/user/installation.md @@ -35,7 +35,7 @@ To verify it works, check if `rq` is available from your command line: ```console $ rq -V -rq 0.9.0 +rq 0.9.1 ``` diff --git a/book/src/user/installation/manual.md b/book/src/user/installation/manual.md index 9ed0cd3e..3fbf4e8e 100644 --- a/book/src/user/installation/manual.md +++ b/book/src/user/installation/manual.md @@ -49,7 +49,7 @@ field. ```console,ignore $ rq --version -rq 0.9.0 +rq 0.9.1 Commit SHA: 05ced6146b2dcc4e474f2dbc17c2e6d0986a7181 Features: default,simd diff --git a/crates/rsonpath-benchmarks b/crates/rsonpath-benchmarks index f5ba8c61..c445c14d 160000 --- a/crates/rsonpath-benchmarks +++ b/crates/rsonpath-benchmarks @@ -1 +1 @@ -Subproject commit f5ba8c61e9a0ba7aea8cd6b116172c0e28224355 +Subproject commit c445c14da64bc1d5be7828fe12f434190d51e28d diff --git a/crates/rsonpath-lib/Cargo.toml b/crates/rsonpath-lib/Cargo.toml index eceb0020..d2f5ead4 100644 --- a/crates/rsonpath-lib/Cargo.toml +++ b/crates/rsonpath-lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rsonpath-lib" -version = "0.9.0" +version = "0.9.1" authors = ["Mateusz Gienieczko "] description = "Blazing fast JSONPath query engine powered by SIMD. Core library of `rsonpath`." readme = "README.md" diff --git a/crates/rsonpath-lib/README.md b/crates/rsonpath-lib/README.md index c5ad4b08..3b1dca24 100644 --- a/crates/rsonpath-lib/README.md +++ b/crates/rsonpath-lib/README.md @@ -60,7 +60,7 @@ cargo tree --package rsonpath-lib --edges normal --depth 1 ```ini -rsonpath-lib v0.9.0 (/home/mat/src/rsonpath/crates/rsonpath-lib) +rsonpath-lib v0.9.1 (/home/mat/src/rsonpath/crates/rsonpath-lib) ├── arbitrary v1.3.2 ├── cfg-if v1.0.0 ├── log v0.4.21 diff --git a/crates/rsonpath-test-codegen/Cargo.lock b/crates/rsonpath-test-codegen/Cargo.lock index 185c0074..b76c1df1 100644 --- a/crates/rsonpath-test-codegen/Cargo.lock +++ b/crates/rsonpath-test-codegen/Cargo.lock @@ -75,7 +75,7 @@ dependencies = [ [[package]] name = "rsonpath-test-codegen" -version = "0.9.0" +version = "0.9.1" dependencies = [ "heck", "pretty_assertions", diff --git a/crates/rsonpath-test-codegen/Cargo.toml b/crates/rsonpath-test-codegen/Cargo.toml index 33425c34..9fdfef0f 100644 --- a/crates/rsonpath-test-codegen/Cargo.toml +++ b/crates/rsonpath-test-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rsonpath-test-codegen" -version = "0.9.0" +version = "0.9.1" authors = ["Mateusz Gienieczko "] description = "TOML-based test codegen for rsonpath-lib." readme = "README.md" diff --git a/crates/rsonpath-test/Cargo.toml b/crates/rsonpath-test/Cargo.toml index 991058b3..67ffffe1 100644 --- a/crates/rsonpath-test/Cargo.toml +++ b/crates/rsonpath-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rsonpath-test" -version = "0.9.0" +version = "0.9.1" authors = ["Mateusz Gienieczko "] description = "Just a build script for the auto test generation." readme = "README.md" @@ -19,11 +19,11 @@ serde_json = "1.0.114" [dev-dependencies] pretty_assertions = "1.4.0" -rsonpath-lib = { version = "0.9.0", path = "../rsonpath-lib" } +rsonpath-lib = { version = "0.9.1", path = "../rsonpath-lib" } rsonpath-syntax = { version = "0.3.0", path = "../rsonpath-syntax" } [build-dependencies] eyre = "0.6.12" glob = "0.3.1" md5 = "0.7.0" -rsonpath-test-codegen = { version = "0.9.0", path = "../rsonpath-test-codegen" } +rsonpath-test-codegen = { version = "0.9.1", path = "../rsonpath-test-codegen" } diff --git a/crates/rsonpath/Cargo.toml b/crates/rsonpath/Cargo.toml index a2afcefc..7b01a068 100644 --- a/crates/rsonpath/Cargo.toml +++ b/crates/rsonpath/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rsonpath" -version = "0.9.0" +version = "0.9.1" authors = ["Mateusz Gienieczko "] description = "Blazing fast JSONPath CLI tool powered by SIMD" readme = "../../README.md" @@ -28,7 +28,7 @@ clap = { version = "4.5.2", features = ["derive", "wrap_help"] } color-eyre = { version = "0.6.2", default-features = false } eyre = "0.6.12" log = "0.4.21" -rsonpath-lib = { version = "0.9.0", package = "rsonpath-lib", default-features = false } +rsonpath-lib = { version = "0.9.1", package = "rsonpath-lib", default-features = false } rsonpath-syntax = { version = "0.3.1", features = ["color"] } simple_logger = "4.3.3" diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 8739a651..cb344239 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -192,7 +192,7 @@ dependencies = [ [[package]] name = "rsonpath-lib" -version = "0.9.0" +version = "0.9.1" dependencies = [ "arbitrary", "cfg-if",