Skip to content

Commit 92b6210

Browse files
committed
Bump to version 0.2.0
1 parent 163fc30 commit 92b6210

File tree

4 files changed

+33
-11
lines changed

4 files changed

+33
-11
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## [v0.2.0] - 2023-04-20
2+
3+
### Added
4+
5+
- Feat: Support `JSON path` selector. (#8)
6+
- Feat: Support parse `JSON path` syntax. (#7)
7+
8+
## [v0.1.1] - 2023-03-03
9+
10+
- Rename project name to jsonb.
11+
- Add Readme description. (#4)
12+
- Use stable Rust. (#3)
13+
14+
## v0.1.0 - 2023-03-03
15+
16+
- Implement a `JSON` parser.
17+
- Implement `JSONB` encodes and decodes.
18+
- Implemented a number of `JSONB` functions.
19+
20+
21+
[v0.2.0]: https://github.com/datafuselabs/jsonb/compare/v0.1.1...v0.2.0
22+
[v0.1.1]: https://github.com/datafuselabs/jsonb/compare/v0.1.0...v0.1.1

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ categories = ["encoding"]
1818
description = "JSONB implement in Rust."
1919
edition = "2021"
2020
homepage = "https://github.com/datafuselabs/jsonb"
21-
keywords = ["json", "jsonb"]
21+
keywords = ["json", "jsonb", "jsonpath"]
2222
license = "Apache-2.0"
2323
name = "jsonb"
2424
repository = "https://github.com/datafuselabs/jsonb"
25-
version = "0.1.1"
26-
rust-version = "1.67"
25+
version = "0.2.0"
26+
rust-version = "1.68"
2727

2828
[dependencies]
2929
byteorder = "1.4.3"
3030
fast-float = "0.2.0"
31-
nom = "7.1.1"
32-
ordered-float = { version = "3.4.0", default-features = false }
33-
serde = { version = "1.0.145", features = ["derive", "rc"] }
34-
serde_json = { version = "1.0.85", default-features = false, features = [
31+
nom = "7.1.3"
32+
ordered-float = { version = "3.6.0", default-features = false }
33+
serde = { version = "1.0.152", features = ["derive", "rc"] }
34+
serde_json = { version = "1.0.95", default-features = false, features = [
3535
"preserve_order",
3636
] }
3737

3838
[dev-dependencies]
39-
goldenfile = "1.4"
39+
goldenfile = "1.4.5"

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
22
channel = "stable"
3-
components = ["rustfmt", "clippy", "rust-src", "miri"]
3+
components = ["rustfmt", "clippy"]

src/jsonpath/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,10 @@ fn op(input: &[u8]) -> IResult<&[u8], BinaryOperator> {
210210
value(BinaryOperator::Eq, tag("==")),
211211
value(BinaryOperator::NotEq, tag("!=")),
212212
value(BinaryOperator::NotEq, tag("<>")),
213-
value(BinaryOperator::Lt, char('<')),
214213
value(BinaryOperator::Lte, tag("<=")),
215-
value(BinaryOperator::Gt, char('>')),
214+
value(BinaryOperator::Lt, char('<')),
216215
value(BinaryOperator::Gte, tag(">=")),
216+
value(BinaryOperator::Gt, char('>')),
217217
))(input)
218218
}
219219

0 commit comments

Comments
 (0)