Documentation: https://docs.vaticle.com/docs/client-api/
Distribution
For Java through Maven
Available from https://repo.vaticle.com
xml
<repositories>
<repository>
<id>repo.vaticle.com</id>
<url>https://repo.vaticle.com/repository/maven/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupid>com.vaticle.typedb</groupid>
<artifactid>typedb-protocol</artifactid>
<version>2.12.0</version>
</dependency>
</dependencies>
For Python through PyPI
Available from https://pypi.org/project/typedb-protocol/
sh
pip install typedb-protocol
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
sh
npm install typedb-protocol
or
sh
yarn install typedb-protocol
New Features
- **Rust gRPC + Protobuf Bindings**
We've added a gRPC + Protobuf compiler for Rust, allowing us to generate Rust bindings for our Protobuf definitions using the `grpc` crate.
Bugs Fixed
- **Fix deploy-npm-snapshot CI job**
Fix the deploy-npm-snapshot Grabl CI job that was failing due to Ubuntu 21.04 repositories being archived. The Ubuntu image got downgraded to 20.04 LTS. Additionally, we found out that the installation of `expect` is not necessary.
Code Refactors
- **Bump copyright year to 2022**
We update the copyright header year to 2022.
Other Improvements
- **Bump VERSION to 2.12.0**
- **Use python 3.7.9 consistently in automation**
- **Use known working python version for GitHub deployment**
We've fixed the Python version learned from the successful GitHub deployment of typedb-common a definite working version of Python for this job.
- **Re-instate use of pyenv**
We've re-instated the use of pyenv in certain Factory job definitions. Removing it in favour of using the system python3 had far-reaching ramifications that proved too costly to immediately address.
- **Make deploy-pip-snapshot use Ubuntu 20.04**
- **Make deploy-pip-snapshot use Ubuntu 20.04**
- **Migrate to Factory**
We've migrated our continuous integration for this repo to Vaticle Factory from Grabl.
- **Put back set/unset abstract request method that were accidentally deleted**
- **Move 'isAbstract' being a method to a field in Type, and renamed 'root' to 'isRoot'**
- **Replace Grabl references with Factory**
- **move .grabl to .factory**
- **Add GetPlayerTypesExplicit to RoleType**
- **Fixed return type of RoleType.GetRelationInstances() and *Explicit()**
- **Add GetRelationInstances and *Explicit to RoleType**
- **Add GetPlayerInstances and *Explicit to RoleType, and renmae GetPlayers to GetPlayerTypes**
- **Add GRPC Rust library target that is based on Tonic**
Add `//grpc/rust:typedb-protocol` target that is a `rust_library` that contains TypeDB Protocol's automatically generated protobuf code. The library used for this is `tonic`, which we are planning to use instead of `grpc` as it's more actively developed, popular, and mature.
- **Extend checkstyle license test and update licenses**
We introduce a test that ensures that the license text is correct.
- **Update vaticle_dependencies**