Releases: typedb/typedb-protocol
TypeDB Protocol 2.12.0
Documentation: https://docs.vaticle.com/docs/client-api/
Distribution
For Java through Maven
Available from https://repo.vaticle.com
<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/
pip install typedb-protocol
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install typedb-protocol
or
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 arust_library
that contains TypeDB Protocol's automatically generated protobuf code. The library used for this istonic
, which we are planning to use instead ofgrpc
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
TypeDB Protocol 2.10.0
Documentation: https://docs.vaticle.com/docs/client-api/
Distribution
For Java through Maven
Available from https://repo.vaticle.com
<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.10.0</version>
</dependency>
</dependencies>
For Python through PyPI
Available from https://pypi.org/project/typedb-protocol/
pip install typedb-protocol
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install typedb-protocol
or
yarn install typedb-protocol
New Features
Bugs Fixed
Code Refactors
Other Improvements
-
Update VERSION to 2.10.0
-
Revert "Explanation Conclusion should include non-retrievable concepts (#157)"
-
Explanation Conclusion should include non-retrievable concepts
Introduce a different answer type for conclusions inside explanations. This permits returning any concept, not only retrievable concepts, which is important for returning a thorough explanation due to unification.
-
Refine protocol message names
-
Rename 'export' to 'syntax' in ThingType protocol
-
Add Export message type to ThingType protocol
TypeDB Protocol 2.9.0
Documentation: https://docs.vaticle.com/docs/client-api/
Distribution
For Java through Maven
Available from https://repo.vaticle.com
<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.9.0</version>
</dependency>
</dependencies>
For Python through PyPI
Available from https://pypi.org/project/typedb-protocol/
pip install typedb-protocol
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install typedb-protocol
or
yarn install typedb-protocol
New Features
Bugs Fixed
Code Refactors
Other Improvements
-
Add GetRelatesExplicit and GetRelatesOverridden to RelationType
-
Update VERSION to 2.9.0
-
Refactor variable names to be consistent
-
Add GetPlaysOverridden to ThingType protocol
-
Add GetPlaysExplicit method to ThingType protocol
-
Add getOwnersExplicit method to AttributeType
-
Fixed protocol variable name for GetOwnsExplicit.ResPart
-
Add ThingType methods for getOwnsExplicit and getOwnsOverridden
-
Update to Python 3.7
-
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.
-
Add database_type_schema and database_rule_schema to TypeDB Database API
-
Add TypeSchema and RuleSchema to CoreDatabase protocol
-
Bazel Cache is disabled temporarily until SSL is fixed
-
Add getSubtypesExplicit and getInstancesExplicit to Concept protocol
-
Mask auth token param when deploying npm package
The auth token passed to the deploy_npm
rule, used to deploy the protocol npm package, is now masked in the rule's output logs.
- Add missing CI dependency in deploy-pip-snapshot
deploy-pip-snapshot
was incorrectly being run concurrently with build
in CI. So we've now marked build
as a dependency of deploy-pip-snapshot
.
- Update deploy_npm build tool
We've updated the deploy_npm
build tool, as the previous version was not fully reliable in how it passed the auth token to the tool.
TypeDB Protocol 2.6.1
Documentation: https://docs.vaticle.com/docs/client-api/
Distribution
For Java through Maven
Available from https://repo.vaticle.com
<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.6.1</version>
</dependency>
</dependencies>
For Python through PyPI
Available from https://pypi.org/project/typedb-protocol/
pip install typedb-protocol
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install typedb-protocol
or
yarn install typedb-protocol
New Features
Bugs Fixed
Code Refactors
Other Improvements
-
Update token for create notes
-
Update NodeJS dependencies and VERSION to 2.6.1
-
Fix npm deployment failing with auth errors
We fixed a bug where the package deployment to npm would fail with an authentication error.
- Use token-based authentication for npm deployment
The npm deployment infrastructure now uses token-based authentication instead of username/password authentication.
- Update @vaticle_dependencies
TypeDB Protocol 2.6.0
Documentation: https://docs.vaticle.com/docs/client-api/
Distribution
For Java through Maven
Available from https://repo.vaticle.com
<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.6.0</version>
</dependency>
</dependencies>
For Python through PyPI
Available from https://pypi.org/project/typedb-protocol/
pip install typedb-protocol
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install typedb-protocol
or
yarn install typedb-protocol
New Features
- Add transaction timeout to options
To implement transaction timeouts (typedb/typedb#6487), we need to allow the user to configure the transaction timeout. This PR adds it to the protocol option to adjust the default transaction timeout.
Bugs Fixed
Code Refactors
Other Improvements
-
Update @vaticle_dependencies and the release notes creation script
-
Update @vaticle_dependencies
-
Update build jobs to use Ubuntu 21.04
-
Update artifacts.snapshot
-
Add PyPI and NPM packages to release template
Releases now include information about our PyPI and NPM packages. -
bump dependencies and VERSION to 2.6.0
-
regenerate maven artifacts snapshot
TypeDB Protocol 2.5.0
Documentation: http://docs.vaticle.com/docs/client-api/java
Distribution
For Java through Maven
Available through https://repo.vaticle.com
<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.5.0</version>
</dependency>
</dependencies>
New Features
Bugs Fixed
Code Refactors
Other Improvements
- Improve the consistency of user authentication token
We've improved the consistency of the architecture by moving user authentication token functionalities into the user protocol.
TypeDB Protocol 2.4.0
Documentation: http://docs.vaticle.com/docs/client-api/java
Distribution
For Java through Maven
Available through https://repo.vaticle.com
<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.4.0</version>
</dependency>
</dependencies>
New Features
Token renewal protocol for TypeDB Cluster
We have introduced a new protocol for performing authentication token renewal in TypeDB Cluster.
Bugs Fixed
Code Refactors
Other Improvements
TypeDB Protocol 2.3.0
Documentation: http://docs.vaticle.com/docs/client-api/java
Distribution
For Java through Maven
Available through https://repo.vaticle.com
<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.3.0</version>
</dependency>
</dependencies>
New Features
Bugs Fixed
Code Refactors
Update Google Guava to 30.1-jre
Other Improvements
TypeDB Protocol 2.2.0
Documentation: http://docs.vaticle.com/docs/client-api/java
Distribution
For Java through Maven
Available through https://repo.vaticle.com
<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.2.0</version>
</dependency>
</dependencies>
New Features
Bugs Fixed
Code Refactors
Other Improvements
- Use yarn instead of npm to install JS dependencies
We replacednpm install
in our Bazel build system withyarn
to align with our other NodeJS projects.
TypeDB Protocol 2.1.2
Documentation: http://docs.vaticle.com/docs/client-api/java
Distribution
For Java through Maven
Available through https://repo.vaticle.com
<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.1.2</version>
</dependency>
</dependencies>