Skip to content

Commit

Permalink
v0.5.0 Release prep.
Browse files Browse the repository at this point in the history
  • Loading branch information
am357 authored Jun 6, 2023
1 parent 8599593 commit 8bdb756
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 37 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.5.0] - 2023-06-06
### Changed
- *BREAKING:* partiql-eval: `evaluate` on `Evaluable` returns a `Value` rather than an `Option<Value>`
- *BREAKING:* partiql-ast: changes the modeling of Bag/List/Tuple literals
Expand Down Expand Up @@ -147,7 +149,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- PartiQL Playground proof of concept (POC)
- PartiQL CLI with REPL and query visualization features

[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.4.1...HEAD
[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.5.0...HEAD
[0.5.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.5.0
[0.4.1]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.4.1
[0.4.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.4.0
[0.3.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.3.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["PartiQL Team <[email protected]>"]
homepage = "https://github.com/partiql/partiql-lang-rust"
repository = "https://github.com/partiql/partiql-lang-rust"
version = "0.4.1"
version = "0.5.0"
edition = "2021"

[workspace]
Expand Down
16 changes: 8 additions & 8 deletions extension/partiql-extension-ion-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ edition.workspace = true
bench = false

[dependencies]
partiql-extension-ion = {path = "../partiql-extension-ion", version = "0.4.*"}
partiql-value = { path = "../../partiql-value", version = "0.4.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.4.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.4.*" }
partiql-extension-ion = {path = "../partiql-extension-ion", version = "0.5.*" }
partiql-value = { path = "../../partiql-value", version = "0.5.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.5.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.5.*" }

ordered-float = "3.*"
itertools = "0.10.*"
Expand All @@ -42,10 +42,10 @@ flate2 = "1.0"

[dev-dependencies]
criterion = "0.4"
partiql-parser = { path = "../../partiql-parser", version = "0.4.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.4.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.4.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.4.*" }
partiql-parser = { path = "../../partiql-parser", version = "0.5.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.5.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.5.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.5.*" }

[features]
default = []
2 changes: 1 addition & 1 deletion extension/partiql-extension-ion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../../partiql-value", version = "0.4.*" }
partiql-value = { path = "../../partiql-value", version = "0.5.*" }
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
Expand Down
2 changes: 1 addition & 1 deletion partiql-ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ serde = [

[dependencies.partiql-ast-macros]
path = "partiql-ast-macros"
version = "0.4.*"
version = "0.5.*"
6 changes: 3 additions & 3 deletions partiql-catalog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../partiql-value", version = "0.4.*" }
partiql-parser = { path = "../partiql-parser", version = "0.4.*" }
partiql-logical = { path = "../partiql-logical", version = "0.4.*" }
partiql-value = { path = "../partiql-value", version = "0.5.*" }
partiql-parser = { path = "../partiql-parser", version = "0.5.*" }
partiql-logical = { path = "../partiql-logical", version = "0.5.*" }
thiserror = "1.0"
ordered-float = "3.*"
itertools = "0.10.*"
Expand Down
18 changes: 9 additions & 9 deletions partiql-conformance-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ bench = false

[build-dependencies]
miette = { version ="5.*", features = ["fancy"] }
partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.4.*" }
partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.5.*" }

[dependencies]
partiql-parser = { path = "../partiql-parser", version = "0.4.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.4.*" }
partiql-ast = { path = "../partiql-ast", version = "0.4.*" }
partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.4.*" }
partiql-logical = { path = "../partiql-logical", version = "0.4.*" }
partiql-value = { path = "../partiql-value", version = "0.4.*" }
partiql-eval = { path = "../partiql-eval", version = "0.4.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.4.*" }
partiql-parser = { path = "../partiql-parser", version = "0.5.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.5.*" }
partiql-ast = { path = "../partiql-ast", version = "0.5.*" }
partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.5.*" }
partiql-logical = { path = "../partiql-logical", version = "0.5.*" }
partiql-value = { path = "../partiql-value", version = "0.5.*" }
partiql-eval = { path = "../partiql-eval", version = "0.5.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.5.*" }

ion-rs = "0.17"

Expand Down
6 changes: 3 additions & 3 deletions partiql-eval/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ edition.workspace = true
bench = false

[dependencies]
partiql-logical = { path = "../partiql-logical", version = "0.4.*" }
partiql-value = { path = "../partiql-value", version = "0.4.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.4.*" }
partiql-logical = { path = "../partiql-logical", version = "0.5.*" }
partiql-value = { path = "../partiql-value", version = "0.5.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.5.*" }
petgraph = "0.6.*"
ordered-float = "3.*"
itertools = "0.10.*"
Expand Down
14 changes: 7 additions & 7 deletions partiql-logical-planner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../partiql-value", version = "0.4.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.4.*" }
partiql-logical = { path = "../partiql-logical", version = "0.4.*" }
partiql-ast = { path = "../partiql-ast", version = "0.4.*" }
partiql-parser = { path = "../partiql-parser", version = "0.4.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.4.*" }
partiql-value = { path = "../partiql-value", version = "0.5.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.5.*" }
partiql-logical = { path = "../partiql-logical", version = "0.5.*" }
partiql-ast = { path = "../partiql-ast", version = "0.5.*" }
partiql-parser = { path = "../partiql-parser", version = "0.5.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.5.*" }
ion-rs = "0.17"
ordered-float = "3.*"
itertools = "0.10.*"
Expand All @@ -40,4 +40,4 @@ once_cell = "1"
thiserror = "1.0"

[dev-dependencies]
partiql-eval = { path = "../partiql-eval", version = "0.4.*" }
partiql-eval = { path = "../partiql-eval", version = "0.5.*" }
2 changes: 1 addition & 1 deletion partiql-logical/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../partiql-value", version = "0.4.*" }
partiql-value = { path = "../partiql-value", version = "0.5.*" }
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
Expand Down
4 changes: 2 additions & 2 deletions partiql-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ bench = false
lalrpop = "0.20"

[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.4.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.4.*" }
partiql-ast = { path = "../partiql-ast", version = "0.5.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.5.*" }

thiserror = "1.0"

Expand Down

1 comment on commit 8bdb756

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PartiQL (rust) Benchmark

Benchmark suite Current: 8bdb756 Previous: 8599593 Ratio
parse-1 6449 ns/iter (± 280) 7744 ns/iter (± 459) 0.83
parse-15 62035 ns/iter (± 2008) 74508 ns/iter (± 3109) 0.83
parse-30 124431 ns/iter (± 3675) 145739 ns/iter (± 6524) 0.85
compile-1 5530 ns/iter (± 169) 6283 ns/iter (± 272) 0.88
compile-15 39468 ns/iter (± 1444) 48984 ns/iter (± 2206) 0.81
compile-30 80215 ns/iter (± 2499) 101284 ns/iter (± 4182) 0.79
plan-1 22635 ns/iter (± 616) 27872 ns/iter (± 2440) 0.81
plan-15 415913 ns/iter (± 10187) 526660 ns/iter (± 33205) 0.79
plan-30 836447 ns/iter (± 18095) 1071481 ns/iter (± 64031) 0.78
eval-1 24701122 ns/iter (± 875027) 27906859 ns/iter (± 1342101) 0.89
eval-15 133401376 ns/iter (± 3020484) 151754110 ns/iter (± 4065915) 0.88
eval-30 256324216 ns/iter (± 4857182) 286354827 ns/iter (± 6707477) 0.90
join 16348 ns/iter (± 1582) 17884 ns/iter (± 560) 0.91
simple 7576 ns/iter (± 258) 8557 ns/iter (± 329) 0.89
simple-no 692 ns/iter (± 23) 792 ns/iter (± 34) 0.87
numbers 168 ns/iter (± 3) 175 ns/iter (± 8) 0.96
parse-simple 827 ns/iter (± 51) 1043 ns/iter (± 36) 0.79
parse-ion 2887 ns/iter (± 85) 4023 ns/iter (± 226) 0.72
parse-group 9188 ns/iter (± 314) 12741 ns/iter (± 391) 0.72
parse-complex 24304 ns/iter (± 584) 34103 ns/iter (± 1355) 0.71
parse-complex-fexpr 39085 ns/iter (± 1276) 54291 ns/iter (± 22163) 0.72

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.