Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Releases: typedb/typeql-lang-java

TypeQL language library for Java 2.11.0

10 Jun 21:51
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-lang</artifactId>
        <version>2.11.0</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

  • Fixed Parser logic to capture all error when it fails to parse, by constructing new Lexer and TokenStream each time a parse rule is executed

Code Refactors

Other Improvements

  • re-release as 2.11.0

  • update VERSION to 2.10.0

  • Update @vaticle_dependencies

TypeQL language library for Java 2.9.0

20 May 14:56
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-lang</artifactId>
        <version>2.9.0</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

  • Improve error message for an invalid rule has syntax

Users could quite sensibly think that they can assign a type to a variable attribute in a rule then. This is not permitted because the type of a variable in the rule then has already been determined by the rule when. Users should be clearly told what the exact issue is and how to remedy this.

Code Refactors

Other Improvements

  • bump VERSION to 2.9.0

  • Update @vaticle_typeql

  • Upgrade to Bazel 5

Make the repository use Bazel 5. Bazel 4 and below only work with the deprecated Python 2, which is no longer included in some operating systems such as the latest Mac OS X.

  • Fixed test cases in MavenApplicationTest

  • New TypeQL code style: patterns and constraints are printed on new, indented lines

  • Minor cleanups

TypeQL language library for Java 2.8.0

22 Mar 12:19
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-lang</artifactId>
        <version>2.8.0</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

Code Refactors

Other Improvements

  • Implement missing BDD step

  • Bazel Cache is disabled temporarily until SSL is fixed

  • Bump VERSION to 2.8.0 and use latest deps

  • Deleted TypeQL Compute language framework

  • Bump @vaticle_typeql

  • Cleaned up import statements

  • Expose TypeQLLexer through public API: TypeQL.lexer()

TypeQL language library for Java 2.6.1

20 Jan 17:18
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-lang</artifactId>
        <version>2.6.1</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

Code Refactors

Other Improvements

  • Update dependencies and VERSION to 2.6.1

  • Update environment variable for the 'create notes' script

  • Update @vaticle_dependencies

TypeQL language library for Java 2.6.0

22 Dec 12:27
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-lang</artifactId>
        <version>2.6.0</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

  • Strip trailing whitespace prior to parsing

Previously, if a TypeQL string contained a syntax error, and also had a trailing newline, an unhelpful error was thrown: Index 1 out of bounds for length 1. This was due to a bug in the error handler.

Now, a more helpful error is reported, for instance:

There is a syntax error at line 1:
match $x isa thing
                  ^
no viable alternative at input 'match $x isa thing'

Code Refactors

Other Improvements

  • bump dependencies with fixed create-notes script

  • Include @vaticle_typedb_common maven artifacts

  • bump dependencies to released and update VERSION to 2.6.0

  • Update artifacts.snapshot

  • Update build jobs to use Ubuntu 21.04

  • Update @vaticle_dependencies and the release notes creation script

TypeQL language library for Java 2.4.0

17 Sep 09:59
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-lang</artifactId>
        <version>2.4.0</version>
    </dependency>
</dependencies>

New Features

  • Allow sorting on multiple variables
    Update the Java parser and data structures to capture multiple (ordered) sort variables. This enables typedb/typedb#6434.

Bugs Fixed

Code Refactors

Other Improvements

TypeQL language library for Java 2.3.0

23 Jul 17:16
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-lang</artifactId>
        <version>2.3.0</version>
    </dependency>
</dependencies>

New Features

Bugs Fixed

  • Fix error messages being duplicated
    Previously, when parsing a query failed with an error, on converting the resulting error object to a string, the string would contain two copies of the error message - e.g:
    [GQL03] TypeQL Error: There is a syntax error at line 1:
    match $x sb thing;
             ^
    no viable alternative at input 'match $x sb'
    [GQL03] TypeQL Error: There is a syntax error at line 1:
    match $x sb thing;
             ^
    no viable alternative at input 'match $x sb'
    
    This is now fixed and error messages are no longer duplicated. (Also, the error code is now TQL)

Code Refactors

  • Validate pattern variables have a named variable
    We can create implicit variables by omitting named variables in certain parts of a query - however doing so and leaving out ALL named variables in a pattern variable (eg. between semicolons) is meaningless and should throw an error, which is validated in this change.

Other Improvements

TypeQL language library for Java 2.1.0

20 May 13:26
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-lang</artifactId>
        <version>2.1.0</version>
    </dependency>
</dependencies>

New Features

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