Skip to content

Releases: typedb/typedb-protocol

TypeDB Protocol 2.14.1

06 Jan 20:34
c838269
Compare
Choose a tag to compare

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.14.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

  • Bump VERSION to 2.14.1

    We updated the version to 2.14.1.

Bugs Fixed

  • Snake-case is_root, is_abstract in Type

    is_root and is_abstract are now snake cased in Type.

  • Fix Rust protocol failing to build in Cargo after an IDE sync

    We fixed an issue where the Rust protocol would fail to build in Cargo after an IDE sync (by bumping vaticle_dependencies)

Code Refactors

Other Improvements

  • Bump Vaticle dependencies

    Bump Vaticle dependencies.

TypeDB Protocol 2.14.0

24 Nov 12:37
Compare
Choose a tag to compare

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.14.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 Rust distribution targets and their CI workflows

    We added crate distribution targets (assemble_crate and deploy_crate) for Rust, and added CI workflows for deploying snapshot and release crates.

Bugs Fixed

  • Fix crate snapshots failing to deploy due to bad version number

    We fixed a bug where crate snapshots would fail to deploy, due to passing in an illegal version number.

  • Fix invalid automation.yml and update dependencies

    We fixed a semantic error in automation.yml and updated dependencies.

Code Refactors

  • Clean up old Rust gRPC compile code that used the 'grpc' crate

    We cleaned up old Rust gRPC compile code that was using the grpc crate, as we are now using the tonic crate instead.

Other Improvements

  • Update VERSION to 2.14.0

  • Refatored GetSchemaExceptions to return Exceptions with code and message

  • Add GetSchemaExceptions to ConceptManager RPC service

TypeDB Protocol 2.12.0

03 Nov 10:41
e612350
Compare
Choose a tag to compare

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 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

TypeDB Protocol 2.10.0

25 May 17:31
Compare
Choose a tag to compare

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

20 May 12:49
d551de7
Compare
Choose a tag to compare

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

14 Jan 16:44
Compare
Choose a tag to compare

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

22 Dec 10:40
Compare
Choose a tag to compare

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

13 Oct 09:53
d777718
Compare
Choose a tag to compare

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

17 Sep 09:24
ef5d08c
Compare
Choose a tag to compare

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

26 Jul 16:25
Compare
Choose a tag to compare

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