Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main #1167

Merged
merged 15 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
- '**'
- '!docs/**'
- '!**/*.md'
- '!**/*.adoc'
pull_request:
paths:
- '**'
- '!docs/**'
- '!**.*.md'
- '!**/*.md'
- '!**/*.adoc'

jobs:
test:
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,27 @@ Thank you to all who have contributed!
The default is `~/.partiql/plugins` . Each implementer of a plugin should place a directory under the
plugins root containing the JAR corresponding with their plugin implementation.
Example: `~/.partiql/plugins/customPlugin/customPlugin.jar`
- Adds serialization and deserialization between IonValue and `org.partiql.value`.
- Adds `org.partiql.ast` package and usage documentation
- Adds `org.partiql.parser` package and usage documentation
- Adds PartiQL's Timestamp Data Model.
- Adds support for Timestamp constructor call in Parser.
- Parsing of label patterns within node and edge graph patterns now supports
disjunction `|`, conjunction `&`, negation `!`, and grouping.

### Changed
- Standardizes `org/partiql/cli/functions/QueryDDB` and other built-in functions by the new `ExprFunction` format.
- **Breaking**: Redefines `org/partiql/lang/eval/ExprFunctionkt.call()` method by only invoking `callWithRequired` function.
- **Breaking**: Redefines `org/partiql/lang/eval/builtins/DynamicLookupExprFunction` by merging `variadicParameter` into `requiredParameters` as a `StaticType.LIST`. `callWithVariadic` is now replaced by `callWithRequired`.
- **Breaking**: Modifies `functions` property of `CompilerPipeline`, `StaticTypeInferencer` and `StepContext` to be a `List` and not a `Map`.
- Upgrades ion-java to 1.10.2.
- **Breaking** (within experimental graph features): As part of extending
the language of graph label patterns:
- Changed the type of the field `label` in AST nodes
`org.partiql.lang.domains.PartiqlAst.GraphMatchPatternPart.{Node,Edge}`,
from `SymbolPrimitive` to new `GraphLabelSpec`.
- Changed the names of subclasses of ` org.partiql.lang.graph.LabelSpec`,
from `OneOf` to `Name`, and from `Whatever` to `Wildcard`.

### Deprecated
- Deprecates Map<String, ExprFunction> representation of functions in the `CompilerPipeline`
Expand All @@ -69,6 +84,8 @@ Thank you to all who have contributed!
Thank you to all who have contributed!
- @howero
- @yuxtang-amazon
- @yliuuuu
- @<your-username>

## [0.12.0] - 2023-06-14

Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/partiql.versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object Versions {
const val gson = "2.10.1"
const val guava = "31.1-jre"
const val ionElement = "1.0.0"
const val ionJava = "1.9.0"
const val ionJava = "1.10.2"
const val ionSchema = "1.2.1"
const val jansi = "2.4.0"
const val jline = "3.21.0"
Expand All @@ -41,7 +41,7 @@ object Versions {
const val kotlinxCollections = "0.3.5"
const val picoCli = "4.7.0"
const val kasechange = "1.3.0"
const val ktlint = "10.2.1"
const val ktlint = "11.5.0"
const val pig = "0.6.2"

// Testing
Expand Down
2 changes: 2 additions & 0 deletions docs/wiki/_Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* [Further Reading](https://github.com/partiql/partiql-lang-kotlin/wiki/Further-Reading)
* Clauses
* [EXPLAIN](https://github.com/partiql/partiql-lang-kotlin/wiki/Explain)
* Serde
* [PartiQL Value <> ION](https://github.com/partiql/partiql-lang-kotlin/wiki/Serde)
* Upgrade Guides
* [Upgrade Guide General](https://github.com/partiql/partiql-lang-kotlin/wiki/upgrade-guide)
* [CLI Versions](https://github.com/partiql/partiql-lang-kotlin/wiki/cli-versions)
Expand Down
Loading
Loading