Skip to content

Commit 265d679

Browse files
authored
Prepare v0.9.4 Release (#1051)
* Prepare v0.9.4 Release This commit reverts changes in v0.9.3 as there are breaking changes in the previous release that need to get released as a new major version.
1 parent f3b92a8 commit 265d679

File tree

3 files changed

+55
-2
lines changed

3 files changed

+55
-2
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535

3636
### Security
3737

38+
## [0.9.4] - 2023-04-20
39+
40+
### Added
41+
42+
### Changed
43+
44+
### Deprecated
45+
46+
### Fixed
47+
48+
### Removed
49+
- Revert changes in 0.9.3 (the previous version) as they include breaking changes
50+
51+
### Security
52+
53+
## [0.9.3] - 2023-04-12
54+
55+
### Added
56+
- Added numeric builtins ABS, SQRT, EXP, LN, POW, MOD.
57+
- Added standard SQL built-in functions POSITION, OVERLAY, LENGTH, BIT_LENGTH, OCTET_LENGTH, CARDINALITY,
58+
an additional builtin TEXT_REPLACE, and standard SQL aggregations on booleans EVERY, ANY, SOME.
59+
- **Breaking** Added coercion of SQL-style subquery to a single value, as defined in SQL for
60+
subqueries occurring in a single-value context and outlined in Chapter 9 of the PartiQL specification.
61+
This is backward incompatible with the prior behavior (which left the computed collection as is),
62+
but brings it in conformance with the specification.
63+
- Added `partiql-plan` package which contains experimental PartiQL Plan data structures.
64+
- Initializes SPI Framework under `partiql-spi`.
65+
- Models experimental `Schema` with constraints.
66+
With this change, we're introducing `Tuple` and `Collection` constraints to be able to model the shape of data as
67+
constraints.
68+
- Introduces the PartiQLSchemaInferencer and PlannerSession
69+
- The PlannerSession describes the current session and is used by the PartiQLSchemaInferencer.
70+
- The PartiQLSchemaInferencer provides a function, `infer`, to aid in inferring the output `StaticType` of a
71+
PartiQL Query. See the KDoc for more information and examples.
72+
73+
### Changed
74+
- Deprecates the project level opt-in annotation `PartiQLExperimental` and split it into feature level. `ExperimentalPartiQLCompilerPipeline` and `ExperimentalWindowFunctions`.
75+
- **Breaking**: Moves StaticType to `partiql-types`.
76+
- All references to static types need to modify their imports accordingly. For example,
77+
`org.partiql.lang.types.IntType` is now `org.partiql.types.IntType`.
78+
- Please modify existing dependencies accordingly. You may need to add dependency `org.partiql:partiql-types:0.10.0`.
79+
- Also, several methods within StaticType have been moved to a utility class within `partiql-lang-kotln`. See the below list:
80+
1. `org.partiql.lang.types.StaticType.fromExprValueType` -> `org.partiql.lang.types.StaticTypeUtils.staticTypeFromExprValueType`
81+
2. `org.partiql.lang.types.StaticType.fromExprValue` -> `org.partiql.lang.types.StaticTypeUtils.staticTypeFromExprValue`
82+
3. `org.partiql.lang.types.StaticType.isInstance` -> `org.partiql.lang.types.StaticTypeUtils.isInstance`
83+
4. `org.partiql.lang.types.StaticType.isComparableTo` -> `org.partiql.lang.types.StaticTypeUtils.areStaticTypesComparable`
84+
5. `org.partiql.lang.types.StaticType.isSubTypeOf` -> `org.partiql.lang.types.StaticTypeUtils.isSubTypeOf`
85+
5. `org.partiql.lang.types.StaticType.typeDomain` -> `org.partiql.lang.types.StaticTypeUtils.getTypeDomain`
86+
6. `org.partiql.lang.types.SingleType.getRuntimeType` -> `org.partiql.lang.types.StaticTypeUtils.getRuntimeType`
87+
7. `org.partiql.lang.types.StringType.StringLengthConstraint.matches` -> `org.partiql.lang.types.StaticTypeUtils.stringLengthConstraintMatches`
88+
- **Breaking**: Removes deprecated `ionSystem()` function from PartiQLCompilerBuilder and PartiQLParserBuilder
89+
90+
3891
## [0.9.2] - 2023-01-20
3992

4093
### 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.1` |
34+
| `org.partiql` | `partiql-lang-kotlin` | `0.9.4` |
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.9.2
2+
version=0.9.4
33

44
ossrhUsername=EMPTY
55
ossrhPassword=EMPTY

0 commit comments

Comments
 (0)