Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Release v0.7.0 #450

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Changed

### Added

### Fixed

## [0.7.0] - 2024-03-12
jpschorr marked this conversation as resolved.
Show resolved Hide resolved
### Changed
- Adds quotes to the attributes of PartiQL tuple's debug output so it can be read and transformed using Kotlin `partiql-cli`
- Adds u8, u16, u32, u64, and u128 support to partiql_value::Value::from(type)
- [breaking] Changes the interface to `EvalPlan` to accept an `EvalContext`
- [breaking] Changes `EvaluationError` to not implement `Clone`
- [breaking] Changes the structure of `EvalPlan`
- *BREAKING:* partiql-eval: Changes the interface to `EvalPlan` to accept an `EvalContext`
- *BREAKING:* partiql-eval: Changes `EvaluationError` to not implement `Clone`
- *BREAKING:* partiql-eval: Changes the structure of `EvalPlan`

### Added
- Add `partiql-extension-visualize` for visualizing AST and logical plan
- Add a `SessionContext` containing both a system-level and a user-level context object usable by expression evaluation
- partiql-extension-visualize: Add `partiql-extension-visualize` for visualizing AST and logical plan
- partiql-eval: Add a `SessionContext` containing both a system-level and a user-level context object usable by expression evaluation

### Fixed
- Fixed `ORDER BY`'s ability to see into projection aliases
- Fixed errors in `BaseTableExpr`s get added to the evaluation context
- Fixed certain errors surfacing in Permissive evaluation mode, when they should only be present in Strict mode
- partiql-logical-planner: Fixed `ORDER BY`'s ability to see into projection aliases
- partiql-eval: Fixed errors in `BaseTableExpr`s get added to the evaluation context
- partiql-eval: Fixed certain errors surfacing in Permissive evaluation mode, when they should only be present in Strict mode

## [0.6.0] - 2023-10-31
### Changed
Expand All @@ -40,7 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Affects the AST and visitor
- *BREAKING:* partiql-parser: `Parsed` struct's `ast` field is now an `ast::AstNode<ast::TopLevelQuery>`
- *BREAKING:* partiql-eval: `Evaluable` trait's `update_input` fn now also takes in an `EvalContext`
- *BREAKING:* partiql-logical: changed modeling of `Project` `exprs` to be a `Vec<(String, ValueExpr)>` rather than a `HashMap<String, ValueExpr>` to support multiple project items with the same alias
- *BREAKING:* partiql-eval: changed modeling of `Project` `exprs` to be a `Vec<(String, ValueExpr)>` rather than a `HashMap<String, ValueExpr>` to support multiple project items with the same alias
- *BREAKING:* partiql-logical: changed modeling of `VarRef` to include a `VarRefType` to indicate whether to do a local vs global binding lookup

### Added
Expand Down Expand Up @@ -212,7 +218,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.6.0...HEAD
[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.7.0...HEAD
[0.7.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.7.0
[0.6.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.6.0
[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
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.6.0"
version = "0.7.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.6.*" }
partiql-value = { path = "../../partiql-value", version = "0.6.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.6.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.6.*" }
partiql-extension-ion = {path = "../partiql-extension-ion", version = "0.7.*" }
partiql-value = { path = "../../partiql-value", version = "0.7.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.7.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.7.*" }

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.6.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.6.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.6.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.6.*" }
partiql-parser = { path = "../../partiql-parser", version = "0.7.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.7.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.7.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.7.*" }

[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.6.*" }
partiql-value = { path = "../../partiql-value", version = "0.7.*" }
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
Expand Down
4 changes: 2 additions & 2 deletions extension/partiql-extension-visualize/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-ast = { path = "../../partiql-ast", version = "0.6.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.6.*" }
partiql-ast = { path = "../../partiql-ast", version = "0.7.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.7.*" }

dot-writer = { version = "0.1.*", optional = true }
itertools = { version = "0.10.*", optional = true }
Expand Down
8 changes: 4 additions & 4 deletions partiql-ast-passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ path = "src/lib.rs"
bench = false

[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.6.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.6.*" }
partiql-types = { path = "../partiql-types", version = "0.6.*" }
partiql-ast = { path = "../partiql-ast", version = "0.7.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }

assert_matches = "1.5.*"
fnv = "1"
indexmap = "1.9"
thiserror = "1.0"

[dev-dependencies]
partiql-parser = { path = "../partiql-parser", version = "0.6.*" }
partiql-parser = { path = "../partiql-parser", version = "0.7.*" }

[features]
default = []
2 changes: 1 addition & 1 deletion partiql-ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ serde = [

[dependencies.partiql-ast-macros]
path = "partiql-ast-macros"
version = "0.6.*"
version = "0.7.*"
8 changes: 4 additions & 4 deletions partiql-catalog/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.6.*" }
partiql-parser = { path = "../partiql-parser", version = "0.6.*" }
partiql-logical = { path = "../partiql-logical", version = "0.6.*" }
partiql-types = { path = "../partiql-types", version = "0.6.*" }
partiql-value = { path = "../partiql-value", version = "0.7.*" }
partiql-parser = { path = "../partiql-parser", version = "0.7.*" }
partiql-logical = { path = "../partiql-logical", version = "0.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }

thiserror = "1.0"
ordered-float = "3.*"
Expand Down
20 changes: 10 additions & 10 deletions partiql-conformance-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ bench = false

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

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

ion-rs = "0.18"

Expand Down
8 changes: 4 additions & 4 deletions partiql-eval/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-logical = { path = "../partiql-logical", version = "0.6.*" }
partiql-value = { path = "../partiql-value", version = "0.6.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.6.*" }
partiql-types = { path = "../partiql-types", version = "0.6.*" }
partiql-logical = { path = "../partiql-logical", version = "0.7.*" }
partiql-value = { path = "../partiql-value", version = "0.7.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }
petgraph = "0.6.*"
ordered-float = "3.*"
itertools = "0.10.*"
Expand Down
20 changes: 10 additions & 10 deletions partiql-logical-planner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../partiql-value", version = "0.6.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.6.*" }
partiql-logical = { path = "../partiql-logical", version = "0.6.*" }
partiql-ast = { path = "../partiql-ast", version = "0.6.*" }
partiql-parser = { path = "../partiql-parser", version = "0.6.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.6.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.6.*" }
partiql-types = { path = "../partiql-types", version = "0.6.*" }
partiql-value = { path = "../partiql-value", version = "0.7.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.7.*" }
partiql-logical = { path = "../partiql-logical", version = "0.7.*" }
partiql-ast = { path = "../partiql-ast", version = "0.7.*" }
partiql-parser = { path = "../partiql-parser", version = "0.7.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.7.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }

ion-rs = "0.18"
ordered-float = "3.*"
Expand All @@ -43,5 +43,5 @@ once_cell = "1"
thiserror = "1.0"

[dev-dependencies]
partiql-eval = { path = "../partiql-eval", version = "0.6.*" }
partiql-types = { path = "../partiql-types", version = "0.6.*" }
partiql-eval = { path = "../partiql-eval", version = "0.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }
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.6.*" }
partiql-value = { path = "../partiql-value", version = "0.7.*" }
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.6.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.6.*" }
partiql-ast = { path = "../partiql-ast", version = "0.7.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.7.*" }

thiserror = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion partiql-source-map/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ edition.workspace = true
bench = false

[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.6.*" }
partiql-ast = { path = "../partiql-ast", version = "0.7.*" }

smallvec = { version = "1.*" }
serde = { version = "1.*", features = ["derive"], optional = true }
Expand Down
Loading