diff --git a/CHANGELOG.md b/CHANGELOG.md index c853179b1..4b7aef33c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,22 +25,15 @@ Thank you to all who have contributed! --> - ## [Unreleased] ### Added -- Adds `isInterruptible` property to `CompileOptions`. The default value is `false`. Please see the KDocs for more information. -- Adds support for thread interruption in compilation and execution. If you'd like to opt-in to this addition, please see - the `isInterruptible` addition above for more information. -- Adds support for CLI users to use CTRL-C to cancel long-running compilation/execution of queries ### Changed ### Deprecated ### Fixed -- Fix a bug in `FilterScanToKeyLookup` pass wherein it was rewriting primary key equality expressions with references - to the candidate row on both sides. Now it will correctly ignore such expressions. ### Removed @@ -50,6 +43,28 @@ Thank you to all who have contributed! Thank you to all who have contributed! - @ +## [0.13.1] - 2023-09-19 + +### Added +- Adds `isInterruptible` property to `CompileOptions`. The default value is `false`. Please see the KDocs for more information. +- Adds support for thread interruption in compilation and execution. If you'd like to opt-in to this addition, please see + the `isInterruptible` addition above for more information. +- Adds support for CLI users to use CTRL-C to cancel long-running compilation/execution of queries + +### Fixed +- Fix a bug in `FilterScanToKeyLookup` pass wherein it was rewriting primary key equality expressions with references + to the candidate row on both sides. Now it will correctly ignore such expressions. +- Fixes build failure for version `0.13.0` by publishing `partiql-plan` as an independent artifact. Please note that `partiql-plan` is experimental. + + +### Contributors +Thank you to all who have contributed! +- @dlurton +- @yliuuuu +- @am357 +- @johnedquinn +- @alancai98 + ## [0.13.0] - 2023-09-07 ### Added diff --git a/README.md b/README.md index 43abe9609..f2f0ec750 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ This project is published to [Maven Central](https://search.maven.org/artifact/o | Group ID | Artifact ID | Recommended Version | |---------------|-----------------------|---------------------| -| `org.partiql` | `partiql-lang-kotlin` | `0.13.0` | +| `org.partiql` | `partiql-lang-kotlin` | `0.13.1` | For Maven builds, add the following to your `pom.xml`: diff --git a/gradle.properties b/gradle.properties index f9ba20c1a..0d58821b3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group=org.partiql -version=0.13.1-SNAPSHOT +version=0.13.1 ossrhUsername=EMPTY ossrhPassword=EMPTY diff --git a/partiql-lang/build.gradle.kts b/partiql-lang/build.gradle.kts index 43642bd51..aea498b52 100644 --- a/partiql-lang/build.gradle.kts +++ b/partiql-lang/build.gradle.kts @@ -20,12 +20,6 @@ plugins { id(Plugins.publish) } -val libs: Configuration by configurations.creating - -configurations { - api.get().extendsFrom(libs) -} - // Disabled for partiql-lang project. kotlin { explicitApi = null @@ -36,11 +30,10 @@ dependencies { api(project(":partiql-parser")) api(project(":partiql-spi")) api(project(":partiql-types")) + api(project(":partiql-plan")) api(Deps.ionElement) api(Deps.ionJava) api(Deps.ionSchema) - // libs are included in partiql-lang-kotlin JAR, but are not published independently yet. - libs(project(":partiql-plan")) implementation(Deps.antlrRuntime) implementation(Deps.csv) implementation(Deps.kotlinReflect) @@ -79,13 +72,3 @@ tasks.processResources { include("partiql.ion") } } - -tasks.jar { - duplicatesStrategy = DuplicatesStrategy.EXCLUDE - // adds all `libs(project(...))` to the partiql-lang-kotlin jar - from( - libs.dependencies.filterIsInstance().map { - it.dependencyProject.sourceSets.main.get().output.classesDirs - } - ) -} diff --git a/partiql-parser/build.gradle.kts b/partiql-parser/build.gradle.kts index 7c72a2f9d..24657d1e9 100644 --- a/partiql-parser/build.gradle.kts +++ b/partiql-parser/build.gradle.kts @@ -55,5 +55,5 @@ tasks.processResources { publish { artifactId = "partiql-parser" name = "PartiQL Parser" - description = "PartiQL's Parser" + description = "PartiQL's experimental Parser" } diff --git a/partiql-plan/build.gradle.kts b/partiql-plan/build.gradle.kts index 81de9d1a2..f5e789f78 100644 --- a/partiql-plan/build.gradle.kts +++ b/partiql-plan/build.gradle.kts @@ -16,6 +16,7 @@ plugins { id(Plugins.conventions) + id(Plugins.publish) id(Plugins.library) } @@ -25,6 +26,17 @@ dependencies { implementation(Deps.kotlinReflect) } +// Disabled for partiql-plan project. +kotlin { + explicitApi = null +} + +publish { + artifactId = "partiql-plan" + name = "PartiQL Plan" + description = "PartiQL Plan experimental data structures" +} + val generate = tasks.register("generate") { dependsOn(":lib:sprout:install") workingDir(projectDir)