Skip to content

Commit c6b9c7f

Browse files
authored
Prepares v0.10.0 release (#1066)
* Prepares v0.10.0 release * Adds CHANGELOG notes from v0.9.3 * Adds v0.9.4 section in CHANGELOG
1 parent 86ee80a commit c6b9c7f

File tree

3 files changed

+42
-35
lines changed

3 files changed

+42
-35
lines changed

CHANGELOG.md

Lines changed: 40 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -24,58 +24,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
## [Unreleased]
2525

2626
### Added
27-
- Adds back ability to convert an `IonDatagram` to an `ExprValue` using `of(value: IonValue): ExprValue` and `newFromIonValue(value: IonValue): ExprValue`
28-
- Adds support for SQL's CURRENT_USER in the AST, EvaluatingCompiler, experimental planner implementation, and Schema Inferencer.
29-
- Adds the AST node `session_attribute`.
30-
- Adds the function `EvaluationSession.Builder::user()` to add the CURRENT_USER to the EvaluationSession
31-
- Adds support for parsing and planning of `INSERT INTO .. AS <alias> ... ON CONFLICT DO [UPDATE|REPLACE] EXCLUDED WHERE <expr>`
32-
- Adds the `statement.dml` and `dml_operation` node to the experimental PartiQL Physical Plan.
3327

3428
### Changed
3529

36-
- **Breaking**: Adds a new property `as_alias` to the `insert` AST node.
37-
- **Breaking**: Adds new property `condition` to the AST nodes of `do_replace` and `do_update`
38-
- **Breaking**: Adds `target_alias` property to the `dml_insert`, `dml_replace`, and `dml_update` nodes within the
39-
Logical and Logical Resolved plans
40-
- **Breaking**: Adds `condition` property to the `dml_replace` and `dml_update` nodes within the
41-
Logical and Logical Resolved plans
42-
4330
### Deprecated
4431

4532
### Fixed
4633

47-
- Parsing INSERT statements with aliases no longer loses the original table name. Closes #1043.
48-
- Parsing INSERT statements with the legacy ON CONFLICT clause is no longer valid. Similarly, parsing the legacy INSERT
49-
statement with the up-to-date ON CONFLICT clause is no longer valid. Closes #1063.
50-
5134
### Removed
5235

53-
- **Breaking**: Removes node `statement.dml_query` from the experimental PartiQL Physical Plan. Please see the added
54-
`statement.dml` and `dml_operation` nodes.
55-
5636
### Security
5737

58-
## [0.9.3] - 2023-04-12
38+
## [0.10.0] - 2023-05-05
5939

6040
### Added
6141
- Added numeric builtins ABS, SQRT, EXP, LN, POW, MOD.
62-
- Added standard SQL built-in functions POSITION, OVERLAY, LENGTH, BIT_LENGTH, OCTET_LENGTH, CARDINALITY,
42+
- Added standard SQL built-in functions POSITION, OVERLAY, LENGTH, BIT_LENGTH, OCTET_LENGTH, CARDINALITY,
6343
an additional builtin TEXT_REPLACE, and standard SQL aggregations on booleans EVERY, ANY, SOME.
64-
- **Breaking** Added coercion of SQL-style subquery to a single value, as defined in SQL for
65-
subqueries occurring in a single-value context and outlined in Chapter 9 of the PartiQL specification.
66-
This is backward incompatible with the prior behavior (which left the computed collection as is),
44+
- **Breaking** Added coercion of SQL-style subquery to a single value, as defined in SQL for
45+
subqueries occurring in a single-value context and outlined in Chapter 9 of the PartiQL specification.
46+
This is backward incompatible with the prior behavior (which left the computed collection as is),
6747
but brings it in conformance with the specification.
6848
- Added `partiql-plan` package which contains experimental PartiQL Plan data structures.
6949
- Initializes SPI Framework under `partiql-spi`.
7050
- Models experimental `Schema` with constraints.
71-
With this change, we're introducing `Tuple` and `Collection` constraints to be able to model the shape of data as
51+
With this change, we're introducing `Tuple` and `Collection` constraints to be able to model the shape of data as
7252
constraints.
7353
- Introduces the PartiQLSchemaInferencer and PlannerSession
7454
- The PlannerSession describes the current session and is used by the PartiQLSchemaInferencer.
7555
- The PartiQLSchemaInferencer provides a function, `infer`, to aid in inferring the output `StaticType` of a
76-
PartiQL Query. See the KDoc for more information and examples.
56+
PartiQL Query. See the KDoc for more information and examples.
57+
- Adds back ability to convert an `IonDatagram` to an `ExprValue` using `of(value: IonValue): ExprValue` and `newFromIonValue(value: IonValue): ExprValue`
58+
- Adds support for SQL's CURRENT_USER in the AST, EvaluatingCompiler, experimental planner implementation, and Schema Inferencer.
59+
- Adds the AST node `session_attribute`.
60+
- Adds the function `EvaluationSession.Builder::user()` to add the CURRENT_USER to the EvaluationSession
61+
- Adds support for parsing and planning of `INSERT INTO .. AS <alias> ... ON CONFLICT DO [UPDATE|REPLACE] EXCLUDED WHERE <expr>`
62+
- Adds the `statement.dml` and `dml_operation` node to the experimental PartiQL Physical Plan.
7763

7864
### Changed
65+
7966
- Deprecates the project level opt-in annotation `PartiQLExperimental` and split it into feature level. `ExperimentalPartiQLCompilerPipeline` and `ExperimentalWindowFunctions`.
8067
- **Breaking**: Moves StaticType to `partiql-types`.
8168
- All references to static types need to modify their imports accordingly. For example,
@@ -91,28 +78,48 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9178
6. `org.partiql.lang.types.SingleType.getRuntimeType` -> `org.partiql.lang.types.StaticTypeUtils.getRuntimeType`
9279
7. `org.partiql.lang.types.StringType.StringLengthConstraint.matches` -> `org.partiql.lang.types.StaticTypeUtils.stringLengthConstraintMatches`
9380
- **Breaking**: Removes deprecated `ionSystem()` function from PartiQLCompilerBuilder and PartiQLParserBuilder
81+
- **Breaking**: Adds a new property `as_alias` to the `insert` AST node.
82+
- **Breaking**: Adds new property `condition` to the AST nodes of `do_replace` and `do_update`
83+
- **Breaking**: Adds `target_alias` property to the `dml_insert`, `dml_replace`, and `dml_update` nodes within the
84+
Logical and Logical Resolved plans
85+
- **Breaking**: Adds `condition` property to the `dml_replace` and `dml_update` nodes within the
86+
Logical and Logical Resolved plans
9487

9588
### Deprecated
96-
- `ExprValueFactory` interface marked as deprecated. Equivalent `ExprValue` construction methods are implemented in the `ExprValue` interface as static methods.
89+
90+
- `ExprValueFactory` interface marked as deprecated. Equivalent `ExprValue` construction methods are implemented in the `ExprValue` interface as static methods.
9791

9892
### Fixed
99-
- Javadoc jar now contains dokka docs (was broken by gradle commit from 0.9.0)
10093

101-
- ANTLR (PartiQL.g4, PartiQLTokens.g4) and PIG (org/partiql/type-domains/partiql.ion) sources
94+
- Javadoc jar now contains dokka docs (was broken by gradle commit from 0.9.0)
95+
- ANTLR (PartiQL.g4, PartiQLTokens.g4) and PIG (org/partiql/type-domains/partiql.ion) sources
10296
are back to being distributed with the jar.
103-
10497
- CLI no longer terminates on user errors in submitted PartiQL (when printing out the AST with !!)
105-
and no longer prints out stack traces upon user errors.
106-
98+
and no longer prints out stack traces upon user errors.
10799
- Constrained Decimal matching logic.
100+
- Parsing INSERT statements with aliases no longer loses the original table name. Closes #1043.
101+
- Parsing INSERT statements with the legacy ON CONFLICT clause is no longer valid. Similarly, parsing the legacy INSERT
102+
statement with the up-to-date ON CONFLICT clause is no longer valid. Closes #1063.
108103

109104
### Removed
105+
110106
- The deprecated `IonValue` property in `ExprValue` interface is now removed.
111107
- Removed partiql-extensions to partiql-cli `org.partiql.cli.functions`
112108
- Removed IonSystem from PartiQLParserBuilder
109+
- **Breaking**: Removes node `statement.dml_query` from the experimental PartiQL Physical Plan. Please see the added
110+
`statement.dml` and `dml_operation` nodes.
113111

114112
### Security
115113

114+
## [0.9.4] - 2023-04-20
115+
116+
This version reverts many accidental breaking changes introduced in v0.9.3. Its contents are equivalent to v0.9.2.
117+
118+
## [0.9.3] - 2023-04-12
119+
120+
This version accidentally released multiple breaking changes and is not recommended. Please use v0.9.4 to avoid
121+
breaking changes if migrating from v0.9.2. The breaking changes accidentally introduced in v0.9.3 can be found in v0.10.0.
122+
116123
## [0.9.2] - 2023-01-20
117124

118125
### 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.9.3` |
34+
| `org.partiql` | `partiql-lang-kotlin` | `0.10.0` |
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.10.0-SNAPSHOT
2+
version=0.10.0
33

44
ossrhUsername=EMPTY
55
ossrhPassword=EMPTY

0 commit comments

Comments
 (0)