Skip to content

Latest commit

 

History

History
211 lines (137 loc) · 5.93 KB

CHANGELOG.md

File metadata and controls

211 lines (137 loc) · 5.93 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Calendar Versioning starting v20.03.0.

[24.0.0] - 2024-08-22

Added

  • feat: Add Vector Support. ([#214])

Security

Version bump.

[21.03.1] - 2021-05-19

Added

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

[v21.03.0] - 2021-04-08

Added

  • LoginIntoNamespace API

Removed

  • Nquad does not have label

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

[v20.11] - 2021-03-16

Added

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

Changed

  • Bumped gRPC libs

[v20.03.1] - 2020-10-04

Added

  • Extend support to connect to dgraph client via Slash endpoints and apiKey ([#125])

Changed

  • Migrate from grpc npm module to grpc-js in lieu of the deprecation of the former.

v20.03.0 - 2020-04-01

Changed

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

v2.1.0 - 2020-01-30

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 - 2019-10-01

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 - 2019-09-10

Fixed

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

v2.0.0 - 2019-09-06

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 - 2018-03-16

Fixed

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

v1.2.0 - 2018-03-12

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)

v1.1.2 - 2018-03-07

Added

  • Full compatibility with Dgraph v1.0.4
  • latency field to proto message type Assigned

v1.1.1 - 2018-02-13

Added

  • Compatibility with grpc v1.9

Fixed

  • Function u8ToStr which was leading to json parse errors (#17)

v1.1.0 - 2018-02-06

Added

  • Full compatibility with Dgraph v1.0.2

Removed

  • startTs field from proto message type Operation

v1.0.4 - 2018-02-02

Added

  • Optional options parameter of type object to the DgraphClientStub constructor
  • Optional options parameter of type grpc.CallOptions to the DgraphClientStub methods
  • Export Txn class

v1.0.3 - 2018-01-26

Changed

  • grpc is now a peer dependency

v1.0.2 - 2018-01-24

Added

  • Method DgraphClientStub#close to close the grpc client associated with DgraphClientStub
  • Method DgraphClientStub#grpcClient to return the grpc client associated with DgraphClientStub
  • Method DgraphClientStub#waitForReady to provide a promisified version of grpc.Client#waitForReady

v1.0.1 - 2018-01-20

Added

  • Wrapper classes for certain proto classes to simplify the api and avoid repetitive serialization/deserialization code

v1.0.0 - 2017-12-20

Added

  • Full compatibility with Dgraph v1.0.0