Skip to content

Commit 1f2ebbe

Browse files
authored
release v0.9.3 (#623)
1 parent 37e9076 commit 1f2ebbe

File tree

13 files changed

+39
-27
lines changed

13 files changed

+39
-27
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ body:
7171
attributes:
7272
label: Version of the release
7373
options:
74-
# <newest-release=v0.9.2>
74+
# <newest-release=v0.9.3>
75+
- v0.9.3
7576
- v0.9.2
7677
- v0.9.1
7778
- v0.9.0

CHANGELOG.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.9.3] - 2024-12-24
6+
7+
### Library
8+
9+
- Made `MainEngine` `Send` and `Sync`
10+
- Changed internal `Rc`s to `Arc`s in the automaton labels.
11+
- Added a `static_assert` to make sure `MainEngine` is `Send+Sync` forever.
12+
- Added a `Debug` impl for `MainEngine`.
13+
514
## [0.9.2] - 2024-12-22
615

716
### Library
817

9-
- Added `StringPattern` and made `Automaton` no longer borrow the query. ([#117](https://github.com/V0ldek/rsonpath/issues/117)[#613](https://github.com/V0ldek/rsonpath/issues/613))
18+
- [**breaking**] Added `StringPattern` and made `Automaton` no longer borrow the query. ([#117](https://github.com/V0ldek/rsonpath/issues/117)[#613](https://github.com/V0ldek/rsonpath/issues/613))
1019

1120
- The `Automaton` struct borrowed the source query, which also caused the Engine to carry the query's lifetime with it.
1221
The actual data being borrowed were the `JsonString` values for member transitions.
@@ -17,6 +26,8 @@ All notable changes to this project will be documented in this file.
1726
To reduce the size of the automaton we cache the patterns and put them into an `Rc`.
1827
This may get optimised later to instead use some kind of inline storage, but it's unlike to actually matter.
1928
I ran the benchmarks and saw no measurable difference between the previous version and this one.
29+
- This is a breaking API change -- the `MainEngine` is now lifetimeless and the `Compiler` trait requires the
30+
returned engine to be lifetimeless.
2031

2132
### Dependencies
2233

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exclude = ["crates/rsonpath-benchmarks", "crates/rsonpath-test-codegen"]
1212
resolver = "2"
1313

1414
[workspace.package]
15-
version = "0.9.2"
15+
version = "0.9.3"
1616
authors = ["Mateusz Gienieczko <[email protected]>"]
1717
readme = "README.md"
1818
license = "MIT"
@@ -22,7 +22,7 @@ edition = "2021"
2222

2323
[workspace.dependencies]
2424
# Project crates
25-
rsonpath-lib = { version = "0.9.2", path = "./crates/rsonpath-lib", package = "rsonpath-lib", default-features = false }
25+
rsonpath-lib = { version = "0.9.3", path = "./crates/rsonpath-lib", package = "rsonpath-lib", default-features = false }
2626
rsonpath-syntax = { version = "0.3.2", path = "./crates/rsonpath-syntax" }
2727
# Main dependencies
2828
arbitrary = { version = "1.4.1" }

Justfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ default: (build-all "release")
66
# === INIT ===
77

88
# Initialize the repository for development.
9-
init: check-cargo hooks-init checkout-submodules
9+
init: check-cargo hooks-init checkout-submodules init-benchmarks
1010

1111
# Check if cargo is installed and install it from rustup if not.
1212
[private]

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,13 @@ cargo tree --package rsonpath --edges normal --depth 1
216216

217217
<!-- rsonpath dependencies start -->
218218
```ini
219-
rsonpath v0.9.2 (/home/mat/src/rsonpath/crates/rsonpath)
219+
rsonpath v0.9.3 (/home/mat/src/rsonpath/crates/rsonpath)
220220
├── clap v4.5.23
221221
├── color-eyre v0.6.3
222222
├── eyre v0.6.12
223223
├── log v0.4.22
224-
├── rsonpath-lib v0.9.2 (/home/mat/src/rsonpath/crates/rsonpath-lib)
225-
├── rsonpath-syntax v0.3.1 (/home/mat/src/rsonpath/crates/rsonpath-syntax)
224+
├── rsonpath-lib v0.9.3 (/home/mat/src/rsonpath/crates/rsonpath-lib)
225+
├── rsonpath-syntax v0.3.2 (/home/mat/src/rsonpath/crates/rsonpath-syntax)
226226
└── simple_logger v5.0.0
227227
[build-dependencies]
228228
├── rustflags v0.1.6
@@ -241,12 +241,12 @@ cargo tree --package rsonpath-lib --edges normal --depth 1
241241

242242
<!-- rsonpath-lib dependencies start -->
243243
```ini
244-
rsonpath-lib v0.9.2 (/home/mat/src/rsonpath/crates/rsonpath-lib)
244+
rsonpath-lib v0.9.3 (/home/mat/src/rsonpath/crates/rsonpath-lib)
245245
├── arbitrary v1.4.1
246246
├── cfg-if v1.0.0
247247
├── log v0.4.22
248248
├── memmap2 v0.9.5
249-
├── rsonpath-syntax v0.3.1 (/home/mat/src/rsonpath/crates/rsonpath-syntax)
249+
├── rsonpath-syntax v0.3.2 (/home/mat/src/rsonpath/crates/rsonpath-syntax)
250250
├── smallvec v1.13.2
251251
├── static_assertions v1.1.0
252252
├── thiserror v2.0.9
@@ -275,7 +275,7 @@ cargo tree --package rsonpath --edges normal
275275

276276
<!-- rsonpath-full dependencies start -->
277277
```ini
278-
rsonpath v0.9.2 (/home/mat/src/rsonpath/crates/rsonpath)
278+
rsonpath v0.9.3 (/home/mat/src/rsonpath/crates/rsonpath)
279279
├── clap v4.5.23
280280
│ ├── clap_builder v4.5.23
281281
│ │ ├── anstream v0.6.18
@@ -347,12 +347,12 @@ rsonpath v0.9.2 (/home/mat/src/rsonpath/crates/rsonpath)
347347
│ └── owo-colors v3.5.0
348348
├── eyre v0.6.12 (*)
349349
├── log v0.4.22
350-
├── rsonpath-lib v0.9.2 (/home/mat/src/rsonpath/crates/rsonpath-lib)
350+
├── rsonpath-lib v0.9.3 (/home/mat/src/rsonpath/crates/rsonpath-lib)
351351
│ ├── cfg-if v1.0.0
352352
│ ├── log v0.4.22
353353
│ ├── memmap2 v0.9.5
354354
│ │ └── libc v0.2.169
355-
│ ├── rsonpath-syntax v0.3.1 (/home/mat/src/rsonpath/crates/rsonpath-syntax)
355+
│ ├── rsonpath-syntax v0.3.2 (/home/mat/src/rsonpath/crates/rsonpath-syntax)
356356
│ │ ├── nom v7.1.3
357357
│ │ │ ├── memchr v2.7.4
358358
│ │ │ └── minimal-lexical v0.2.1
@@ -393,7 +393,7 @@ rsonpath v0.9.2 (/home/mat/src/rsonpath/crates/rsonpath)
393393
│ ├── rand_core v0.5.1 (*)
394394
│ └── rand_hc v0.2.0
395395
│ └── rand_core v0.5.1 (*)
396-
├── rsonpath-syntax v0.3.1 (/home/mat/src/rsonpath/crates/rsonpath-syntax) (*)
396+
├── rsonpath-syntax v0.3.2 (/home/mat/src/rsonpath/crates/rsonpath-syntax) (*)
397397
└── simple_logger v5.0.0
398398
├── colored v2.2.0
399399
│ ├── lazy_static v1.5.0

book/src/user/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To verify it works, check if `rq` is available from your command line:
3535

3636
```console
3737
$ rq -V
38-
rq 0.9.2
38+
rq 0.9.3
3939

4040
```
4141

crates/rsonpath-benchmarks/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ authors = [
44
"Mateusz Gienieczko <[email protected]>",
55
"Charles Paperman <[email protected]>",
66
]
7-
version = "0.9.2"
7+
version = "0.9.3"
88
edition = "2021"
99
description = "Benchmark suite for the `rsonpath` project."
1010
readme = "./README.md"
@@ -34,7 +34,7 @@ lazy_static = "1.5.0"
3434
serde_json = "1.0.134"
3535
sha2 = "0.10.8"
3636
reqwest = { version = "0.12.9", features = ["blocking"] }
37-
rsonpath-lib = { version = "0.9.2", default-features = false }
37+
rsonpath-lib = { version = "0.9.3", default-features = false }
3838
rsonpath-syntax = { version = "0.3.1", default-features = false }
3939
serde_json_path = "0.7.1"
4040
tar = "0.4.43"

crates/rsonpath-lib/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ cargo tree --package rsonpath-lib --edges normal --depth 1
6060

6161
<!-- rsonpath-lib dependencies start -->
6262
```ini
63-
rsonpath-lib v0.9.2 (/home/mat/src/rsonpath/crates/rsonpath-lib)
63+
rsonpath-lib v0.9.3 (/home/mat/src/rsonpath/crates/rsonpath-lib)
6464
├── arbitrary v1.4.1
6565
├── cfg-if v1.0.0
6666
├── log v0.4.22
6767
├── memmap2 v0.9.5
68-
├── rsonpath-syntax v0.3.1 (/home/mat/src/rsonpath/crates/rsonpath-syntax)
68+
├── rsonpath-syntax v0.3.2 (/home/mat/src/rsonpath/crates/rsonpath-syntax)
6969
├── smallvec v1.13.2
7070
├── static_assertions v1.1.0
7171
├── thiserror v2.0.9

crates/rsonpath-test-codegen/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rsonpath-test-codegen/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rsonpath-test-codegen"
3-
version = "0.9.2"
3+
version = "0.9.3"
44
authors = ["Mateusz Gienieczko <[email protected]>"]
55
description = "TOML-based test codegen for rsonpath-lib."
66
readme = "README.md"

crates/rsonpath-test/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ rsonpath-syntax = { workspace = true }
2626
eyre = "0.6.12"
2727
glob = "0.3.1"
2828
md5 = "0.7.0"
29-
rsonpath-test-codegen = { version = "0.9.1", path = "../rsonpath-test-codegen" }
29+
rsonpath-test-codegen = { version = "0.9.3", path = "../rsonpath-test-codegen" }

fuzz/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)