Skip to content

Releases: dgraph-io/dgraph-js

v21.03.1

21 May 07:23
0b7416c
Compare
Choose a tag to compare

Added

  • fix(deprecation): add clientStubFromCloudEndpoint method (#138)

v21.03.0

08 Apr 10:23
1743fb3
Compare
Choose a tag to compare

This release works for Dgraph versions >= 21.03. This version adheres to the contract of multi-tenancy.

Added

  • LoginIntoNamespace API

Removed

  • Nquad does not have label

The clientStubFromSlashGraphQLEndpoint API is deprecated and will be removed in the next release.

v20.11.0

17 Mar 07:26
e1402d8
Compare
Choose a tag to compare

Added

  • Add support for RDF response ([#129])

Changed

  • Bumped gRPC libs

v20.03.0

02 Apr 17:38
0417c2b
Compare
Choose a tag to compare

Changed

  • Synced proto files to latest version to support background indexing (#110)

v2.1.0

03 Feb 09:08
daf3dba
Compare
Choose a tag to compare

Fixed

  • Resolved JSON parse issue of Payload response. Fixes #43 (#94)
  • Updating ACL tests to sync up changes with Dgraph v1.2 (#103)

Added

  • Adding tests for upsert with graphql variables (#101)

Changed

  • Synced proto files to the latest version (#99)

v2.0.2

01 Oct 19:26
Compare
Choose a tag to compare

Changed

  • Upgrade google-protobuf dependency version to 3.8.0+ (#80)

Fixed

  • Added logic to catch exceptions when dgraphClient fails to be created
    due to invalid gRPC address (#71)

v2.0.1

10 Sep 17:48
Compare
Choose a tag to compare

Fixed

  • Added function to refresh JWT token if expired (#56)

v2.0.0

05 Sep 19:29
Compare
Choose a tag to compare

Added

  • doRequest function for performing upsert, or just a query or a mutation
  • Support for ACL features in Dgraph v1.1 - login & jwt refresh
  • upsert and lang fields to proto message type SchemaNode
  • Option for server-side sequencing

Changed

  • Return type of Txn#mutate function from messages.Assigned to messages.Response
  • Updated protobufs to the latest version
  • Upgraded all typescript dev libraries to the latest version

Removed

  • Support for null values where appropriate (because of typescript warning)

v1.2.1

16 Mar 10:11
Compare
Choose a tag to compare

Fixed

  • Pass metadata and options arguments to Txn#discard in Txn#mutate

v1.2.0

12 Mar 11:45
Compare
Choose a tag to compare

Added

  • [BREAKING] Optional metadata parameter of type grpc.Metadata to the
    DgraphClientStub methods. options parameter moved to the third position
    to conform to the grpc package API.

    Methods affected - DgraphClient#alter, Txn#query, Txn#queryWithVars,
    Txn#mutate, Txn#commit and Txn#discard.

    To upgrade to this version, if using any of these methods with the options
    parameter, simply add a null argument before the options argument. For
    example, client.alter(options) becomes client.alter(null, options)