Skip to content

Commit

Permalink
chore: Release (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpschorr committed Apr 11, 2023
1 parent ccee459 commit 2cb413a
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 25 deletions.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Changed
### Added
### Fixes

## [0.3.0] - 2023-04-11
### Changed
- `EvalExpr.evaluate` function now returns a [Cow](https://doc.rust-lang.org/std/borrow/enum.Cow.html) of `Value`
- `Evaluable` trait's `get_vars` function returns by ref
- Refactor of `partiql-eval` crate
Expand Down Expand Up @@ -110,7 +115,7 @@ 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.2.0...HEAD
[0.1.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.1.0
[0.2.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.2.0
[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.3.0...HEAD
[0.3.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.3.0
[0.2.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.2.0
[0.1.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.1.0
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["PartiQL Team <partiql-team@amazon.com>"]
homepage = "https://github.com/partiql/partiql-lang-rust"
repository = "https://github.com/partiql/partiql-lang-rust"
version = "0.2.0"
version = "0.3.0"
edition = "2021"

[workspace]
Expand Down Expand Up @@ -33,4 +33,4 @@ opt-level = 3

[profile.bench]
debug = true
lto = true
lto = true
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.2.*"
version = "0.3.*"
2 changes: 1 addition & 1 deletion partiql-ast/partiql-ast-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ quote = "1.0.*"
syn = {version="1.0.*", default-features = true, features=["full"]}
proc-macro2 = "1.0.*"
darling = "0.14.*"
Inflector = "0.11.*"
Inflector = "0.11.*"
2 changes: 1 addition & 1 deletion partiql-conformance-test-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ codegen = "0.2.*"
Inflector = "0.11.*"
miette = "5.*"
thiserror = "1.0"
quote = "1.*"
quote = "1.*"
14 changes: 7 additions & 7 deletions partiql-conformance-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ bench = false

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

[dependencies]
partiql-parser = { path = "../partiql-parser", version = "0.2.*" }
partiql-ast = { path = "../partiql-ast", version = "0.2.*" }
partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.2.*" }
partiql-logical = { path = "../partiql-logical", version = "0.2.*" }
partiql-value = { path = "../partiql-value", version = "0.2.*" }
partiql-eval = { path = "../partiql-eval", version = "0.2.*" }
partiql-parser = { path = "../partiql-parser", version = "0.3.*" }
partiql-ast = { path = "../partiql-ast", version = "0.3.*" }
partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.3.*" }
partiql-logical = { path = "../partiql-logical", version = "0.3.*" }
partiql-value = { path = "../partiql-value", version = "0.3.*" }
partiql-eval = { path = "../partiql-eval", version = "0.3.*" }

ion-rs = "0.16"

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

[dependencies]
partiql-logical = { path = "../partiql-logical", version = "0.2.*" }
partiql-value = { path = "../partiql-value", version = "0.2.*" }
partiql-logical = { path = "../partiql-logical", version = "0.3.*" }
partiql-value = { path = "../partiql-value", version = "0.3.*" }
petgraph = "0.6.*"
ordered-float = "3.*"
itertools = "0.10.*"
Expand Down
10 changes: 5 additions & 5 deletions partiql-logical-planner/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-value = { path = "../partiql-value", version = "0.2.*" }
partiql-logical = { path = "../partiql-logical", version = "0.2.*" }
partiql-ast = { path = "../partiql-ast", version = "0.2.*" }
partiql-parser = { path = "../partiql-parser", version = "0.2.*" }
partiql-value = { path = "../partiql-value", version = "0.3.*" }
partiql-logical = { path = "../partiql-logical", version = "0.3.*" }
partiql-ast = { path = "../partiql-ast", version = "0.3.*" }
partiql-parser = { path = "../partiql-parser", version = "0.3.*" }
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.*"
Expand All @@ -36,4 +36,4 @@ assert_matches = "1.5.*"
once_cell = "1"

[dev-dependencies]
partiql-eval = { path = "../partiql-eval", version = "0.2.*" }
partiql-eval = { path = "../partiql-eval", version = "0.3.*" }
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.2.*" }
partiql-value = { path = "../partiql-value", version = "0.3.*" }
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.*"
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.19.8"

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

thiserror = "1.0"

Expand Down

1 comment on commit 2cb413a

@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: 2cb413a Previous: ccee459 Ratio
parse-1 6295 ns/iter (± 52) 6241 ns/iter (± 47) 1.01
parse-15 60897 ns/iter (± 294) 60181 ns/iter (± 74) 1.01
parse-30 120959 ns/iter (± 440) 120538 ns/iter (± 271) 1.00
compile-1 5187 ns/iter (± 35) 5118 ns/iter (± 8) 1.01
compile-15 36956 ns/iter (± 53) 36925 ns/iter (± 25) 1.00
compile-30 76159 ns/iter (± 210) 75899 ns/iter (± 92) 1.00
plan-1 19834 ns/iter (± 17) 19442 ns/iter (± 213) 1.02
plan-15 363140 ns/iter (± 949) 361533 ns/iter (± 732) 1.00
plan-30 737260 ns/iter (± 1587) 733630 ns/iter (± 1122) 1.00
eval-1 22145134 ns/iter (± 224355) 21441586 ns/iter (± 133055) 1.03
eval-15 122278409 ns/iter (± 413341) 122726231 ns/iter (± 431153) 1.00
eval-30 239722063 ns/iter (± 377737) 240696104 ns/iter (± 403089) 1.00
join 14707 ns/iter (± 36) 14324 ns/iter (± 34) 1.03
simple 5451 ns/iter (± 8) 5511 ns/iter (± 3) 0.99
simple-no 2324 ns/iter (± 1) 2397 ns/iter (± 1) 0.97
numbers 107 ns/iter (± 0) 107 ns/iter (± 0) 1
parse-simple 700 ns/iter (± 0) 706 ns/iter (± 0) 0.99
parse-ion 2653 ns/iter (± 1) 2735 ns/iter (± 19) 0.97
parse-group 9051 ns/iter (± 21) 8966 ns/iter (± 24) 1.01
parse-complex 22462 ns/iter (± 62) 22500 ns/iter (± 68) 1.00
parse-complex-fexpr 33389 ns/iter (± 99) 34062 ns/iter (± 112) 0.98

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

Please sign in to comment.