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.
- Bump the minor-and-patch group with 4 updates (#234 #232 #230 #229 #227 #228 #234 #226 #223 #225 #222 #221 #220 #218 #217)
- Remove
grpc
dependency (#233) - fix euclidean spelling (#224)
- update examples (#219)
- feat: Add Vector Support. ([#214])
Version bump.
- fix(deprecation): add clientStubFromCloudEndpoint method (#138)
- LoginIntoNamespace API
- Nquad does not have
label
The clientStubFromSlashGraphQLEndpoint
API is deprecated and will be removed in the next release.
- Add support for RDF response ([#129])
- Bumped gRPC libs
- Extend support to connect to dgraph client via Slash endpoints and apiKey ([#125])
- Migrate from
grpc
npm module togrpc-js
in lieu of the deprecation of the former.
v20.03.0 - 2020-04-01
- Synced proto files to latest version to support background indexing (#110)
v2.1.0 - 2020-01-30
- Resolved JSON parse issue of Payload response. Fixes #43 (#94)
- Updating ACL tests to sync up changes with Dgraph v1.2 (#103)
- Adding tests for upsert with graphql variables (#101)
- Synced proto files to the latest version (#99)
v2.0.2 - 2019-10-01
- Upgrade google-protobuf dependency version to 3.8.0+ (#80)
- Added logic to catch exceptions when
dgraphClient
fails to be created due to invalid gRPC address (#71)
v2.0.1 - 2019-09-10
- Added function to refresh JWT token if expired (#56)
v2.0.0 - 2019-09-06
doRequest
function for performing upsert, or just a query or a mutation- Support for ACL features in Dgraph v1.1 - login & jwt refresh
upsert
andlang
fields to proto message type SchemaNode- Option for server-side sequencing
- Return type of
Txn#mutate
function frommessages.Assigned
tomessages.Response
- Updated protobufs to the latest version
- Upgraded all typescript dev libraries to the latest version
- Support for null values where appropriate (because of typescript warning)
v1.2.1 - 2018-03-16
- Pass
metadata
andoptions
arguments toTxn#discard
inTxn#mutate
v1.2.0 - 2018-03-12
-
[BREAKING] Optional
metadata
parameter of typegrpc.Metadata
to theDgraphClientStub
methods.options
parameter moved to the third position to conform to thegrpc
package API.Methods affected -
DgraphClient#alter
,Txn#query
,Txn#queryWithVars
,Txn#mutate
,Txn#commit
andTxn#discard
.To upgrade to this version, if using any of these methods with the
options
parameter, simply add anull
argument before theoptions
argument. For example,client.alter(options)
becomesclient.alter(null, options)
v1.1.2 - 2018-03-07
- Full compatibility with Dgraph v1.0.4
latency
field to proto message typeAssigned
v1.1.1 - 2018-02-13
- Compatibility with grpc v1.9
- Function
u8ToStr
which was leading to json parse errors (#17)
v1.1.0 - 2018-02-06
- Full compatibility with Dgraph v1.0.2
startTs
field from proto message typeOperation
v1.0.4 - 2018-02-02
- Optional
options
parameter of typeobject
to theDgraphClientStub
constructor - Optional
options
parameter of typegrpc.CallOptions
to theDgraphClientStub
methods - Export
Txn
class
v1.0.3 - 2018-01-26
grpc
is now a peer dependency
v1.0.2 - 2018-01-24
- Method
DgraphClientStub#close
to close the grpc client associated withDgraphClientStub
- Method
DgraphClientStub#grpcClient
to return the grpc client associated withDgraphClientStub
- Method
DgraphClientStub#waitForReady
to provide a promisified version ofgrpc.Client#waitForReady
v1.0.1 - 2018-01-20
- Wrapper classes for certain proto classes to simplify the api and avoid repetitive serialization/deserialization code
v1.0.0 - 2017-12-20
- Full compatibility with Dgraph v1.0.0