Skip to content

Commit 8a8fdd0

Browse files
Prepare v0.13.1 release and add partiql-planner Maven publishing plugin v0.13.1 (#1217)
Co-authored-by: John Ed Quinn <[email protected]>
1 parent 1c08148 commit 8a8fdd0

File tree

6 files changed

+38
-28
lines changed

6 files changed

+38
-28
lines changed

CHANGELOG.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,15 @@ Thank you to all who have contributed!
2525
2626
-->
2727

28-
2928
## [Unreleased]
3029

3130
### Added
32-
- Adds `isInterruptible` property to `CompileOptions`. The default value is `false`. Please see the KDocs for more information.
33-
- Adds support for thread interruption in compilation and execution. If you'd like to opt-in to this addition, please see
34-
the `isInterruptible` addition above for more information.
35-
- Adds support for CLI users to use CTRL-C to cancel long-running compilation/execution of queries
3631

3732
### Changed
3833

3934
### Deprecated
4035

4136
### Fixed
42-
- Fix a bug in `FilterScanToKeyLookup` pass wherein it was rewriting primary key equality expressions with references
43-
to the candidate row on both sides. Now it will correctly ignore such expressions.
4437

4538
### Removed
4639

@@ -50,6 +43,28 @@ Thank you to all who have contributed!
5043
Thank you to all who have contributed!
5144
- @<your-username>
5245

46+
## [0.13.1] - 2023-09-19
47+
48+
### Added
49+
- Adds `isInterruptible` property to `CompileOptions`. The default value is `false`. Please see the KDocs for more information.
50+
- Adds support for thread interruption in compilation and execution. If you'd like to opt-in to this addition, please see
51+
the `isInterruptible` addition above for more information.
52+
- Adds support for CLI users to use CTRL-C to cancel long-running compilation/execution of queries
53+
54+
### Fixed
55+
- Fix a bug in `FilterScanToKeyLookup` pass wherein it was rewriting primary key equality expressions with references
56+
to the candidate row on both sides. Now it will correctly ignore such expressions.
57+
- Fixes build failure for version `0.13.0` by publishing `partiql-plan` as an independent artifact. Please note that `partiql-plan` is experimental.
58+
59+
60+
### Contributors
61+
Thank you to all who have contributed!
62+
- @dlurton
63+
- @yliuuuu
64+
- @am357
65+
- @johnedquinn
66+
- @alancai98
67+
5368
## [0.13.0] - 2023-09-07
5469

5570
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This project is published to [Maven Central](https://search.maven.org/artifact/o
3131

3232
| Group ID | Artifact ID | Recommended Version |
3333
|---------------|-----------------------|---------------------|
34-
| `org.partiql` | `partiql-lang-kotlin` | `0.13.0` |
34+
| `org.partiql` | `partiql-lang-kotlin` | `0.13.1` |
3535

3636

3737
For Maven builds, add the following to your `pom.xml`:

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=org.partiql
2-
version=0.13.1-SNAPSHOT
2+
version=0.13.1
33

44
ossrhUsername=EMPTY
55
ossrhPassword=EMPTY

partiql-lang/build.gradle.kts

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ plugins {
2020
id(Plugins.publish)
2121
}
2222

23-
val libs: Configuration by configurations.creating
24-
25-
configurations {
26-
api.get().extendsFrom(libs)
27-
}
28-
2923
// Disabled for partiql-lang project.
3024
kotlin {
3125
explicitApi = null
@@ -36,11 +30,10 @@ dependencies {
3630
api(project(":partiql-parser"))
3731
api(project(":partiql-spi"))
3832
api(project(":partiql-types"))
33+
api(project(":partiql-plan"))
3934
api(Deps.ionElement)
4035
api(Deps.ionJava)
4136
api(Deps.ionSchema)
42-
// libs are included in partiql-lang-kotlin JAR, but are not published independently yet.
43-
libs(project(":partiql-plan"))
4437
implementation(Deps.antlrRuntime)
4538
implementation(Deps.csv)
4639
implementation(Deps.kotlinReflect)
@@ -79,13 +72,3 @@ tasks.processResources {
7972
include("partiql.ion")
8073
}
8174
}
82-
83-
tasks.jar {
84-
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
85-
// adds all `libs(project(...))` to the partiql-lang-kotlin jar
86-
from(
87-
libs.dependencies.filterIsInstance<ProjectDependency>().map {
88-
it.dependencyProject.sourceSets.main.get().output.classesDirs
89-
}
90-
)
91-
}

partiql-parser/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ tasks.processResources {
5555
publish {
5656
artifactId = "partiql-parser"
5757
name = "PartiQL Parser"
58-
description = "PartiQL's Parser"
58+
description = "PartiQL's experimental Parser"
5959
}

partiql-plan/build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
plugins {
1818
id(Plugins.conventions)
19+
id(Plugins.publish)
1920
id(Plugins.library)
2021
}
2122

@@ -25,6 +26,17 @@ dependencies {
2526
implementation(Deps.kotlinReflect)
2627
}
2728

29+
// Disabled for partiql-plan project.
30+
kotlin {
31+
explicitApi = null
32+
}
33+
34+
publish {
35+
artifactId = "partiql-plan"
36+
name = "PartiQL Plan"
37+
description = "PartiQL Plan experimental data structures"
38+
}
39+
2840
val generate = tasks.register<Exec>("generate") {
2941
dependsOn(":lib:sprout:install")
3042
workingDir(projectDir)

0 commit comments

Comments
 (0)