Skip to content

TypeDB Protocol 2.9.0

Compare
Choose a tag to compare
@vaticle-bot vaticle-bot released this 20 May 12:49
d551de7

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.