Skip to content

Releases: typedb/typeql

TypeQL 2.4.0

17 Sep 09:23
6a28e61
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.vaticle.com</id>
        <url>https://repo.vaticle.com/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.vaticle.typeql</groupId>
        <artifactId>typeql-grammar</artifactId>
        <version>2.4.0</version>
    </dependency>
</dependencies>

Distribution (for Python)

Available through https://pypi.org

pip install typeql-grammar==2.4.0

New Features

  • Allow sorting on multiple variables
    To enable typedb/typedb#6434, we add in the grammar that sorting on multiple (ordered) variables is allowed.

Bugs Fixed

Code Refactors

Other Improvements

TypeQL 2.3.0

23 Jul 15:48
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.vaticle.com</id>
        <url>https://repo.vaticle.com/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.vaticle.typeql</groupId>
        <artifactId>typeql-grammar</artifactId>
        <version>2.3.0</version>
    </dependency>
</dependencies>

Distribution (for Python)

Available through https://pypi.org

pip install typeql-grammar==2.3.0

New Features

Bugs Fixed

Code Refactors

Other Improvements

TypeQL 2.1.0

20 May 12:05
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.vaticle.com</id>
        <url>https://repo.vaticle.com/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.vaticle.typeql</groupId>
        <artifactId>typeql-grammar</artifactId>
        <version>2.1.0</version>
    </dependency>
</dependencies>

Distribution (for Python)

Available through https://pypi.org

pip install typeql-grammar==2.0.1

New Features

  • Assemble and deploy TypeQL Python package
    Assemble and deploy typeql-grammar package to help TypeQL adoption

Bugs Fixed

Code Refactors

Other Improvements

  • Update usage of rules_antlr
    Eliminate possible inconsistencies by loading ANTLR version from a constant

  • Upgrade @rules_antlr usage
    Update usage of @rules_antlr to match latest @vaticle_dependencies

  • Correcting AGPL date in README

Graql 2.0.0

31 Mar 11:31
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.grakn.ai</id>
        <url>https://repo.grakn.ai/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.graql</groupId>
        <artifactId>graql-lang</artifactId>
        <version>2.0.0</version>
    </dependency>
</dependencies>

New Features

  • Add Graql.parseLabel for label validation
    Because Graql type label validation is complex, we've introduced a method Graql.parseLabel that can be used to validate that a String is a valid type label.

  • Add labels and scoped roles to the grammar and parsers
    To being changes decided in #107 , we modify the grammar to have type_scoped as well as the default type that is unscoped. To make this make sense at the object level, we create a new object called Label that we will soon remove from core and client-java that can be scoped and unscoped types - Labels are now used throughout Graql to represent types. Where possible, we provide helper methods that consume String, creating the required Label objects internally and passing the Labels as required.

Bugs Fixed

Code Refactors

Other Improvements

Please refer to full release notes of 2.0.0-alpha to see the changes in 2.0.0.

Graql 2.0.0-alpha-9

03 Mar 18:22
a8c9414
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.grakn.ai</id>
        <url>https://repo.grakn.ai/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.graql</groupId>
        <artifactId>graql-lang</artifactId>
        <version>2.0.0-alpha-9</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

Code Refactors

Other Improvements

Please refer to full release notes of 2.0.0-alpha to see the changes in 2.0.0.

Graql 2.0.0-alpha-8

14 Feb 20:00
400f469
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.grakn.ai</id>
        <url>https://repo.grakn.ai/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.graql</groupId>
        <artifactId>graql-lang</artifactId>
        <version>2.0.0-alpha-8</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

  • Refactor code to work with latest @graknlabs_dependencies
    Latest version of @graknlabs_dependencies updates rules-python and therefore all repos that depend on it need to bring imports to an up-to-date state.

Code Refactors

  • Match modifier always returns non-empty filter
    To avoid code duplication in core, we modify Modifiers.filter() to return the set of all named variables if no filter is present.

  • Create GraqlMatch.Modifier to group filters
    To group together all the options available on a Match query, we create a Modifier object to hold get filter, and optional limit, offset, and sort

Other Improvements

Please refer to full release notes of 2.0.0-alpha to see the changes in 2.0.0.

Graql 2.0.0-alpha-7

04 Feb 18:08
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.grakn.ai</id>
        <url>https://repo.grakn.ai/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.graql</groupId>
        <artifactId>graql-lang</artifactId>
        <version>2.0.0-alpha-7</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

Code Refactors

Other Improvements

Please refer to full release notes of 2.0.0-alpha to see the changes in 2.0.0.

Graql 2.0.0-alpha-6

28 Jan 10:03
d691c26
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.grakn.ai</id>
        <url>https://repo.grakn.ai/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.graql</groupId>
        <artifactId>graql-lang</artifactId>
        <version>{version}</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

Code Refactors

Other Improvements

  • Add typeless has to thing variable builder
    As deleting a roleplayer now requires typeless has (to avoid a derived isa being present), we added a has overload to ThingVariableBuilder in order to construct a typeless has.

  • Mark Isa constraints derived via has constraints as derived
    In order to handle deletion properly, we need to be able to distinguish Isa constraints placed implicitly as part of has. For example, $x has name $y implies $y isa name, but if we are deleting $x has name $y we should not also delete $y's isa constraint. To this end, we added a flag on the Isa constraint indicating if it was derived.

  • Reenable remote build caching
    Speed up builds by utilizing remote caching provided by BuildBuddy.

Please refer to full release notes of 2.0.0-alpha to see the changes in 2.0.0.

Graql 2.0.0-alpha-5

24 Jan 17:33
933564d
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.grakn.ai</id>
        <url>https://repo.grakn.ai/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.graql</groupId>
        <artifactId>graql-lang</artifactId>
        <version>{version}</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

Code Refactors

Other Improvements

  • Allow named unbound variables to be retrieved from insert & delete query
    Implemented NamedUnboundVariables on GraqlInsert

Please refer to full release notes of 2.0.0-alpha to see the changes in 2.0.0.

Graql 2.0.0-alpha-4

21 Jan 15:04
9b218cf
Compare
Choose a tag to compare

Distribution (for Java)

<repositories>
    <repository>
        <id>repo.grakn.ai</id>
        <url>https://repo.grakn.ai/repository/maven/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>io.graql</groupId>
        <artifactId>graql-lang</artifactId>
        <version>2.0.0-alpha-4</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

Code Refactors

Other Improvements

  • Scope unscoped role types in Plays TypeConstraints
    When a role type is overridden within the Plays constraint, the overridden type is specified with no scope- we can infer the scope based on it being a supertype of the supplied role type, but at parse time this is not possible to infer without building the entire graph tree. In order to avert this, we supplied the root Relation type as a scope for the relation so it can be identified as a role type ahead of time, which leads to it being passed over for definition.

  • Fix the checkstyle error in grabl correctness test
    We fixed the issue in the correctness test in Grabl.

  • Refactor exception handling
    We improved the way we are handling exceptions. Additionally, we also refactored some of the related code.

  • Fixed Referable Class Typo

    • Change name of class from "Referrable" to "Referable"
  • Update automation.yml to include release dependencies
    We fixed the dependency-analysis issue caused by an incorrect automation.yml.

  • Bump year in license headers to 2021
    License headers are currently out of date (2020) for a while. This PR replaces 2020 with 2021 across all the files.

  • Update grabl automation yaml syntax
    Recently we added the support for background monitor script. Therefore we change the foreground job script from script to command.

Please refer to full release notes of 2.0.0-alpha to see the changes in 2.0.0.