Releases: typedb/typedb-driver-nodejs
Grakn Client Node.js 1.5.5
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
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
Grakn Client Node.js 1.5.1
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 calledGraknClient
- 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()
- Read:
- In addition to calling
transaction.close()
at the end of a transaction,session.close()
at the end of a session, now you should also callclient.close()
at the end of using the database to close the actual HTTP2 connection to the server.