Typedb-protocol

Latest version: v2.18.1

Safety actively analyzes 688568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

2.14.0

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

2.12.0

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

2.10.0

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


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

2.9.0

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


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.

2.6.1

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.6.1</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


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

2.6.0

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.6.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
- **Add transaction timeout to options**
To implement transaction timeouts (https://github.com/vaticle/typedb/issues/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**

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.