Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Releases: typedb/typedb-driver-nodejs

Grakn Client Node.js 1.5.5

10 Sep 15:58
700e752

Choose a tag to compare

NPM package: https://www.npmjs.com/package/grakn-client
Documentation: https://dev.grakn.ai/docs/client-api/nodejs

Distribution

Now officially available through https://npmjs.com

npm install grakn-client

Or you can upgrade your local installation with:

npm update grakn-client

New Features

  • Supply authentication credentials for keyspace operations.
    Recent changes in protocol (typedb/typedb-protocol#7) allow keyspace operations to be authenticated. This PR adapts Grakn Client NodeJS to these recent changes.

Grakn Client Node.js 1.5.3

26 Apr 17:19
b57ba36

Choose a tag to compare

NPM package: https://www.npmjs.com/package/grakn-client
Documentation: https://dev.grakn.ai/docs/client-api/nodejs

Distribution

Now officially available through https://npmjs.com

npm install grakn-client

Or you can upgrade your local installation with:

npm update grakn-client

Changelog

  • Supports Grakn Core 1.5.2 (PR 39)
  • Introduced Bazel Remote Build Execution which speeds up the test (PR 38)

Grakn Client Node.js 1.5.1

31 Mar 14:40

Choose a tag to compare

NPM package: https://www.npmjs.com/package/grakn-client
Documentation: https://dev.grakn.ai/docs/client-api/nodejs

Distribution

Now officially available through https://npmjs.com

npm install grakn-client

Or you can upgrade your local installation with:

npm update grakn-client

Architecture

The architecture for client-python has been refactored to align with other client drivers and split out of grakn-core.

  • New package-name: grakn-client
  • The main class Grakn is now called GraknClient
  • The client-nodejs module now has its own repository (hit star on graknlabs/client-nodejs!). This allows us to iterate on client-nodejs more flexibly, independent of grakn-core.

API

  • Closing a session immediately after it is opened no longer throws an exception.
  • Opening a transaction is now done by:
    • Read: session.transaction().read()
    • Write: session.transction().write()
  • In addition to calling transaction.close() at the end of a transaction, session.close() at the end of a session, now you should also call client.close() at the end of using the database to close the actual HTTP2 connection to the server.