diff --git a/CHANGELOG.md b/CHANGELOG.md index 35ca4452..968c8ca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,16 @@ All notable changes to this project will be documented in this file. 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] ### Changed -- partiql-ast: fixed pretty-printing of `PIVOT` -- partiql-ast: improved pretty-printing of `CASE` and various clauses + +### Added + +### Removed + +## [0.11.0] +### Changed - *BREAKING* partiql-catalog: refactored structure of crate; module paths have changes ### Added @@ -26,6 +32,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - *BREAKING* Removed `const` PartiQL types under `partiql-types` in favor of `PartiqlShapeBuilder`. - *BREAKING* Removed `StaticType`'s `new`, `new_non_nullable`, and `as_non-nullable` APIs in favor of `PartiqlShapeBuilder`. + +## [0.10.1] +### Changed +- partiql-ast: fixed pretty-printing of `PIVOT` +- partiql-ast: improved pretty-printing of `CASE` and various clauses + +### Added + +### Fixed + ## [0.10.0] ### Changed - *BREAKING:* partiql-ast: added modeling of `EXCLUDE` @@ -292,7 +308,9 @@ 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.10.0...HEAD +[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.11.0...HEAD +[0.11.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.11.0 +[0.10.1]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.10.1 [0.10.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.10.0 [0.9.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.9.0 [0.8.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.8.0 diff --git a/Cargo.toml b/Cargo.toml index 4b6989ee..7d1b8191 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ authors = ["PartiQL Team "] homepage = "https://github.com/partiql/partiql-lang-rust" repository = "https://github.com/partiql/partiql-lang-rust" -version = "0.10.0" +version = "0.11.0" edition = "2021" [workspace] diff --git a/extension/partiql-extension-ddl/Cargo.toml b/extension/partiql-extension-ddl/Cargo.toml index d8dd9f2c..7447f246 100644 --- a/extension/partiql-extension-ddl/Cargo.toml +++ b/extension/partiql-extension-ddl/Cargo.toml @@ -21,7 +21,7 @@ edition.workspace = true bench = false [dependencies] -partiql-types = { path = "../../partiql-types", version = "0.10.*" } +partiql-types = { path = "../../partiql-types", version = "0.11.*" } thiserror = "1.0" miette = { version = "7", features = ["fancy"] } diff --git a/extension/partiql-extension-ion-functions/Cargo.toml b/extension/partiql-extension-ion-functions/Cargo.toml index e359011f..9c1d5cc4 100644 --- a/extension/partiql-extension-ion-functions/Cargo.toml +++ b/extension/partiql-extension-ion-functions/Cargo.toml @@ -21,10 +21,10 @@ edition.workspace = true bench = false [dependencies] -partiql-extension-ion = { path = "../partiql-extension-ion", version = "0.10.*" } -partiql-value = { path = "../../partiql-value", version = "0.10.*" } -partiql-catalog = { path = "../../partiql-catalog", version = "0.10.*" } -partiql-logical = { path = "../../partiql-logical", version = "0.10.*" } +partiql-extension-ion = { path = "../partiql-extension-ion", version = "0.11.*" } +partiql-value = { path = "../../partiql-value", version = "0.11.*" } +partiql-catalog = { path = "../../partiql-catalog", version = "0.11.*" } +partiql-logical = { path = "../../partiql-logical", version = "0.11.*" } ordered-float = "4" itertools = "0.13" @@ -43,10 +43,10 @@ flate2 = "1.0" [dev-dependencies] criterion = "0.5" -partiql-parser = { path = "../../partiql-parser", version = "0.10.*" } -partiql-logical = { path = "../../partiql-logical", version = "0.10.*" } -partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.10.*" } -partiql-eval = { path = "../../partiql-eval", version = "0.10.*" } +partiql-parser = { path = "../../partiql-parser", version = "0.11.*" } +partiql-logical = { path = "../../partiql-logical", version = "0.11.*" } +partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.11.*" } +partiql-eval = { path = "../../partiql-eval", version = "0.11.*" } [features] default = [] diff --git a/extension/partiql-extension-ion/Cargo.toml b/extension/partiql-extension-ion/Cargo.toml index b2080ce9..68a16f7b 100644 --- a/extension/partiql-extension-ion/Cargo.toml +++ b/extension/partiql-extension-ion/Cargo.toml @@ -21,7 +21,7 @@ edition.workspace = true bench = false [dependencies] -partiql-value = { path = "../../partiql-value", version = "0.10.*" } +partiql-value = { path = "../../partiql-value", version = "0.11.*" } ordered-float = "4" itertools = "0.13" unicase = "2.7" diff --git a/extension/partiql-extension-value-functions/Cargo.toml b/extension/partiql-extension-value-functions/Cargo.toml index 7066ddf9..efee80d7 100644 --- a/extension/partiql-extension-value-functions/Cargo.toml +++ b/extension/partiql-extension-value-functions/Cargo.toml @@ -21,9 +21,9 @@ edition.workspace = true bench = false [dependencies] -partiql-value = { path = "../../partiql-value", version = "0.10.*" } -partiql-catalog = { path = "../../partiql-catalog", version = "0.10.*" } -partiql-logical = { path = "../../partiql-logical", version = "0.10.*" } +partiql-value = { path = "../../partiql-value", version = "0.11.*" } +partiql-catalog = { path = "../../partiql-catalog", version = "0.11.*" } +partiql-logical = { path = "../../partiql-logical", version = "0.11.*" } ordered-float = "4" unicase = "2.6" diff --git a/extension/partiql-extension-visualize/Cargo.toml b/extension/partiql-extension-visualize/Cargo.toml index 697265ca..9fac36dc 100644 --- a/extension/partiql-extension-visualize/Cargo.toml +++ b/extension/partiql-extension-visualize/Cargo.toml @@ -21,8 +21,8 @@ edition.workspace = true bench = false [dependencies] -partiql-ast = { path = "../../partiql-ast", version = "0.10.*" } -partiql-logical = { path = "../../partiql-logical", version = "0.10.*" } +partiql-ast = { path = "../../partiql-ast", version = "0.11.*" } +partiql-logical = { path = "../../partiql-logical", version = "0.11.*" } dot-writer = { version = "0.1", optional = true } itertools = { version = "0.13", optional = true } diff --git a/partiql-ast-passes/Cargo.toml b/partiql-ast-passes/Cargo.toml index ff65bae3..1a0c2db9 100644 --- a/partiql-ast-passes/Cargo.toml +++ b/partiql-ast-passes/Cargo.toml @@ -20,10 +20,10 @@ path = "src/lib.rs" bench = false [dependencies] -partiql-ast = { path = "../partiql-ast", version = "0.10.*" } -partiql-catalog = { path = "../partiql-catalog", version = "0.10.*" } -partiql-common = { path = "../partiql-common", version = "0.10.*" } -partiql-types = { path = "../partiql-types", version = "0.10.*" } +partiql-ast = { path = "../partiql-ast", version = "0.11.*" } +partiql-catalog = { path = "../partiql-catalog", version = "0.11.*" } +partiql-common = { path = "../partiql-common", version = "0.11.*" } +partiql-types = { path = "../partiql-types", version = "0.11.*" } assert_matches = "1" fnv = "1" @@ -31,7 +31,7 @@ indexmap = "2.5" thiserror = "1.0" [dev-dependencies] -partiql-parser = { path = "../partiql-parser", version = "0.10.*" } +partiql-parser = { path = "../partiql-parser", version = "0.11.*" } [features] default = [] diff --git a/partiql-ast/Cargo.toml b/partiql-ast/Cargo.toml index ffeec148..7e942c3d 100644 --- a/partiql-ast/Cargo.toml +++ b/partiql-ast/Cargo.toml @@ -20,7 +20,7 @@ path = "src/lib.rs" bench = false [dependencies] -partiql-common = { path = "../partiql-common", version = "0.10.*" } +partiql-common = { path = "../partiql-common", version = "0.11.*" } indexmap = "2.5" rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] } serde = { version = "1", features = ["derive"], optional = true } @@ -39,4 +39,4 @@ serde = [ [dependencies.partiql-ast-macros] path = "partiql-ast-macros" -version = "0.10.*" +version = "0.11.*" diff --git a/partiql-catalog/Cargo.toml b/partiql-catalog/Cargo.toml index 41a09fd9..17320c50 100644 --- a/partiql-catalog/Cargo.toml +++ b/partiql-catalog/Cargo.toml @@ -21,10 +21,10 @@ edition.workspace = true bench = false [dependencies] -partiql-common = { path = "../partiql-common", version = "0.10.*" } -partiql-value = { path = "../partiql-value", version = "0.10.*" } -partiql-logical = { path = "../partiql-logical", version = "0.10.*" } -partiql-types = { path = "../partiql-types", version = "0.10.*" } +partiql-common = { path = "../partiql-common", version = "0.11.*" } +partiql-value = { path = "../partiql-value", version = "0.11.*" } +partiql-logical = { path = "../partiql-logical", version = "0.11.*" } +partiql-types = { path = "../partiql-types", version = "0.11.*" } thiserror = "1.0" ordered-float = "4" diff --git a/partiql-conformance-tests/Cargo.toml b/partiql-conformance-tests/Cargo.toml index e29f5d21..35d23508 100644 --- a/partiql-conformance-tests/Cargo.toml +++ b/partiql-conformance-tests/Cargo.toml @@ -29,18 +29,18 @@ bench = false [build-dependencies] miette = { version = "7", features = ["fancy"] } -partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.10.*" } +partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.11.*" } [dependencies] -partiql-parser = { path = "../partiql-parser", version = "0.10.*" } -partiql-catalog = { path = "../partiql-catalog", version = "0.10.*" } -partiql-ast = { path = "../partiql-ast", version = "0.10.*" } -partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.10.*" } -partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.10.*" } -partiql-logical = { path = "../partiql-logical", version = "0.10.*" } -partiql-value = { path = "../partiql-value", version = "0.10.*" } -partiql-eval = { path = "../partiql-eval", version = "0.10.*" } -partiql-extension-ion = { path = "../extension/partiql-extension-ion", version = "0.10.*" } +partiql-parser = { path = "../partiql-parser", version = "0.11.*" } +partiql-catalog = { path = "../partiql-catalog", version = "0.11.*" } +partiql-ast = { path = "../partiql-ast", version = "0.11.*" } +partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.11.*" } +partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.11.*" } +partiql-logical = { path = "../partiql-logical", version = "0.11.*" } +partiql-value = { path = "../partiql-value", version = "0.11.*" } +partiql-eval = { path = "../partiql-eval", version = "0.11.*" } +partiql-extension-ion = { path = "../extension/partiql-extension-ion", version = "0.11.*" } ion-rs_old = { version = "0.18", package = "ion-rs" } diff --git a/partiql-eval/Cargo.toml b/partiql-eval/Cargo.toml index b7c13ddc..67d9a26d 100644 --- a/partiql-eval/Cargo.toml +++ b/partiql-eval/Cargo.toml @@ -21,10 +21,10 @@ edition.workspace = true bench = false [dependencies] -partiql-logical = { path = "../partiql-logical", version = "0.10.*" } -partiql-value = { path = "../partiql-value", version = "0.10.*" } -partiql-catalog = { path = "../partiql-catalog", version = "0.10.*" } -partiql-types = { path = "../partiql-types", version = "0.10.*" } +partiql-logical = { path = "../partiql-logical", version = "0.11.*" } +partiql-value = { path = "../partiql-value", version = "0.11.*" } +partiql-catalog = { path = "../partiql-catalog", version = "0.11.*" } +partiql-types = { path = "../partiql-types", version = "0.11.*" } petgraph = "0.6" ordered-float = "4" itertools = "0.13" diff --git a/partiql-logical-planner/Cargo.toml b/partiql-logical-planner/Cargo.toml index da1d3ee9..3d3f0f04 100644 --- a/partiql-logical-planner/Cargo.toml +++ b/partiql-logical-planner/Cargo.toml @@ -21,15 +21,15 @@ edition.workspace = true bench = false [dependencies] -partiql-ast = { path = "../partiql-ast", version = "0.10.*" } -partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.10.*" } -partiql-catalog = { path = "../partiql-catalog", version = "0.10.*" } -partiql-common = { path = "../partiql-common", version = "0.10.*" } -partiql-extension-ion = { path = "../extension/partiql-extension-ion", version = "0.10.*" } -partiql-parser = { path = "../partiql-parser", version = "0.10.*" } -partiql-logical = { path = "../partiql-logical", version = "0.10.*" } -partiql-types = { path = "../partiql-types", version = "0.10.*" } -partiql-value = { path = "../partiql-value", version = "0.10.*" } +partiql-ast = { path = "../partiql-ast", version = "0.11.*" } +partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.11.*" } +partiql-catalog = { path = "../partiql-catalog", version = "0.11.*" } +partiql-common = { path = "../partiql-common", version = "0.11.*" } +partiql-extension-ion = { path = "../extension/partiql-extension-ion", version = "0.11.*" } +partiql-parser = { path = "../partiql-parser", version = "0.11.*" } +partiql-logical = { path = "../partiql-logical", version = "0.11.*" } +partiql-types = { path = "../partiql-types", version = "0.11.*" } +partiql-value = { path = "../partiql-value", version = "0.11.*" } ion-rs_old = { version = "0.18", package = "ion-rs" } ordered-float = "4" @@ -44,5 +44,5 @@ once_cell = "1" thiserror = "1" [dev-dependencies] -partiql-eval = { path = "../partiql-eval", version = "0.10.*" } -partiql-types = { path = "../partiql-types", version = "0.10.*" } +partiql-eval = { path = "../partiql-eval", version = "0.11.*" } +partiql-types = { path = "../partiql-types", version = "0.11.*" } diff --git a/partiql-logical/Cargo.toml b/partiql-logical/Cargo.toml index b08db8b6..af61b289 100644 --- a/partiql-logical/Cargo.toml +++ b/partiql-logical/Cargo.toml @@ -21,8 +21,8 @@ edition.workspace = true bench = false [dependencies] -partiql-value = { path = "../partiql-value", version = "0.10.*" } -partiql-common = { path = "../partiql-common", version = "0.10.*" } +partiql-value = { path = "../partiql-value", version = "0.11.*" } +partiql-common = { path = "../partiql-common", version = "0.11.*" } ordered-float = "4" itertools = "0.13" unicase = "2.7" diff --git a/partiql-parser/Cargo.toml b/partiql-parser/Cargo.toml index 52013913..8377ba43 100644 --- a/partiql-parser/Cargo.toml +++ b/partiql-parser/Cargo.toml @@ -25,8 +25,8 @@ bench = false lalrpop = "0.21" [dependencies] -partiql-ast = { path = "../partiql-ast", version = "0.10.*" } -partiql-common = { path = "../partiql-common", version = "0.10.*" } +partiql-ast = { path = "../partiql-ast", version = "0.11.*" } +partiql-common = { path = "../partiql-common", version = "0.11.*" } thiserror = "1.0" diff --git a/partiql-types/Cargo.toml b/partiql-types/Cargo.toml index fef1a7fa..3194fffc 100644 --- a/partiql-types/Cargo.toml +++ b/partiql-types/Cargo.toml @@ -21,7 +21,7 @@ edition.workspace = true bench = false [dependencies] -partiql-common = { path = "../partiql-common", version = "0.10.*" } +partiql-common = { path = "../partiql-common", version = "0.11.*" } ordered-float = "4" itertools = "0.13" unicase = "2.7"