Releases: typedb/typedb-protocol
TypeDB Protocol 3.4.0
Documentation: https://typedb.com/docs/drivers/
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
-
Introduce database import and export protocol messages
Addmigration
protocol messages for usage in database import and database export operations:- a unidirectional
database_export
stream from a TypeDB server to export a specific database, similar to TypeDB 2.x; - a bidirectional
databases_import
stream between a client and a server to import an exported 2.x/3.x TypeDB database into a TypeDB 3.x server from a client.
The format of migration items used for these operations is an extended version of TypeDB 2.x's migration items, so it is backward compatible with 2.x database files. Important: it's not intended to import 3.x databases into 2.x servers.
- a unidirectional
Bugs Fixed
Code Refactors
Other Improvements
- Fix build errors and update dependencies
Support build on Apple Clang 17+ by updating dependencies (details: typedb/typedb-dependencies#577).
Fix bazel build by adding an implicit dependency to the build configuration.
Reintroduce CI correctness validation jobs.
TypeDB Protocol 3.4.0-rc0
Documentation: https://typedb.com/docs/drivers/
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
-
Introduce database import and export protocol messages
Addmigration
protocol messages for usage in database import and database export operations:- a unidirectional
database_export
stream from a TypeDB server to export a specific database, similar to TypeDB 2.x; - a bidirectional
databases_import
stream between a client and a server to import an exported 2.x/3.x TypeDB database into a TypeDB 3.x server from a client.
The format of migration items used for these operations is an extended version of TypeDB 2.x's migration items, so it is backward compatible with 2.x database files. Important: it's not intended to import 3.x databases into 2.x servers.
- a unidirectional
Bugs Fixed
Code Refactors
Other Improvements
TypeDB Protocol 3.2.0
Documentation: https://typedb.com/docs/drivers/
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
-
Rework transaction options
Reintroduce transaction options available in TypeDB 3.x. Introduce query options for query-specific configuration.Remove unused Logic-related messages.
-
Add sign-in request for authentication token retrieval
A new mechanism of authentication tokens has been introduced to replace the old way of sending usernames and passwords through the network with every request.Instead, all user credentials (currently, it's usernames and passwords) are sent only:
- as a part of
connection_open
request for authentication and authorization, with a temporary token returned; - as a part of
sign_in
request for sign ins within an established connection (to change the user or to get a new authentication token).
Then, all further requests are expected to be authenticated only by temporary, less sensitive tokens.
The approach is extensible to other credential types that can be introduced in the future.
- as a part of
Bugs Fixed
Code Refactors
Other Improvements
TypeDB Protocol 3.2.0-rc2
Documentation: https://typedb.com/docs/drivers/
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
-
Rework transaction options
Reintroduce transaction options available in TypeDB 3.x. Introduce query options for query-specific configuration.Remove unused Logic-related messages.
Bugs Fixed
Code Refactors
Other Improvements
TypeDB Protocol 3.2.0-rc0
Documentation: https://typedb.com/docs/drivers/
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
-
Add sign-in request for authentication token retrieval
A new mechanism of authentication tokens has been introduced to replace the old way of sending usernames and passwords through the network with every request.Instead, all user credentials (currently, it's usernames and passwords) are sent only:
- as a part of
connection_open
request for authentication and authorization, with a temporary token returned; - as a part of
sign_in
request for sign ins within an established connection (to change the user or to get a new authentication token).
Then, all further requests are expected to be authenticated only by temporary, less sensitive tokens.
The approach is extensible to other credential types that can be introduced in the future.
- as a part of
Bugs Fixed
Code Refactors
Other Improvements
TypeDB Protocol 3.1.0
Documentation: https://typedb.com/docs/drivers/
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
Bugs Fixed
Code Refactors
Other Improvements
- Update dependencies
TypeDB Protocol 3.0.0
Documentation: https://typedb.com/docs/clients/2.x/clients
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
- Update protocol for TypeDB 3.0
We introduce a new version of protocol to support TypeDB 3.0 with updated TypeQL and APIs.
Bugs Fixed
Code Refactors
Other Improvements
TypeDB Protocol 3.0.0-alpha-7
Documentation: https://typedb.com/docs/clients/2.x/clients
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
Bugs Fixed
Code Refactors
Other Improvements
- Add query type to all Query responses
We add aquery_type
field to all theQuery.InitialRes.Ok
to support
retrieval of this information for anyQueryAnswer
on the client side.
Additionally, theOk.Empty
message was renamed toOk.Done
.
TypeDB Protocol 3.0.0-alpha-6
Documentation: https://typedb.com/docs/clients/2.x/clients
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
Bugs Fixed
Code Refactors
Other Improvements
TypeDB Protocol 3.0.0-alpha-3
Documentation: https://typedb.com/docs/clients/2.x/clients
Distribution
For Rust through crates.io
Available from https://crates.io/crates/typedb-protocol
cargo add [email protected]
For Node.js through npm
Available from https://www.npmjs.com/package/typedb-protocol
npm install [email protected]
or
yarn add [email protected]
New Features
- Add Query::Type to ConceptRowStream