Releases: typedb/typeql
TypeQL 2.8.0
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.8.0</version>
</dependency>
</dependencies>
Distribution (for Python)
Available through https://pypi.org
pip install typeql-grammar==2.8.0
New Features
Bugs Fixed
Code Refactors
Other Improvements
-
Bazel Cache is disabled temporarily until SSL is fixed
-
bump VERSION to 2.8.0
-
Delete TypeQL Compute grammar from ANTLR grammar file
-
Update environment variable for the 'create notes' script
-
Update @vaticle_dependencies
-
Update artifacts.snapshot
-
Update build jobs to use Ubuntu 21.04
-
Bump @vaticle_dependencies
-
Replace hyphens with underscore for rust targets
-
Complete checkstyle coverage
-
Rename rust grammar package to typeql-grammar
-
Split //grammar into /rust /java and /python
-
Bump @vaticle_dependencies
-
Make typeql-grammar for Rust use the latest assemble_crate
Utilize the latest version of assemble_crate
rule which automatically retrieves crate's dependencies from rust_library
's deps
attribute
- Assemble and deploy TypeQL Rust package
Assemble and deploy typeql-grammar package to allow Rust migration
- Update @vaticle_dependencies and the release notes creation script
TypeQL 2.4.0
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
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
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 deploytypeql-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
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 methodGraql.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 havetype_scoped
as well as the defaulttype
that is unscoped. To make this make sense at the object level, we create a new object calledLabel
that we will soon remove fromcore
andclient-java
that can be scoped and unscoped types - Labels are now used throughout Graql to represent types. Where possible, we provide helper methods that consumeString
, creating the requiredLabel
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
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
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
updatesrules-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 modifyModifiers.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 aModifier
object to holdget
filter, and optionallimit
,offset
, andsort
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
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
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
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.