Documentation: http://dev.grakn.ai/docs/client-api/java
Distribution
For Java through Maven
Available through https://repo.grakn.ai
xml
<repositories>
<repository>
<id>repo.grakn.ai</id>
<url>https://repo.grakn.ai/repository/maven/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupid>io.grakn.protocol</groupid>
<artifactid>grakn-session</artifactid>
<version>{version}</version>
</dependency>
<dependency>
<groupid>io.grakn.protocol</groupid>
<artifactid>grakn-keyspace</artifactid>
<version>{version}</version>
</dependency>
</dependencies>
New Features
- **Introduce Query.Options object and add `explain` option.**
We introduce the Query `Options` message, which now contains `explain` flag on a query to ensure that the server knows when to cache explanations only when the user requests it. Using `oneof` as the optional syntax is adopted instead of using the NULL message, which will be removed elsewhere as well in the future.
- **Rename date to datetime in protocol.**
To synchronise the changes made across our repositories, `date` should be renamed to `datetime` everywhere.
- **Remove implicits.**
Previously, we could use `relHas` messages to access the implicit relations used for `has` -- this is no longer an allowed functionality, we only use `has` messages directly now.
Bugs Fixed
- **Fix CI issues related to Python upgrade.**
Recent upgrade to Python 3 broke our CI.
Code Refactors
Other Improvements
- **Update gRPC, netty and other related dependencies.**
We have updated gRPC to 1.29.0. This necessitated netty and other related dependencies to be updated as well.