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.
Changed
- 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)
Added
- feat: Add Vector Support. ([#214])
Security
Version bump.
Added
- fix(deprecation): add clientStubFromCloudEndpoint method (#138)
Added
- LoginIntoNamespace API
Removed
- Nquad does not have
label
The clientStubFromSlashGraphQLEndpoint
API is deprecated and will be removed in the next release.
Added
- Add support for RDF response ([#129])
Changed
- Bumped gRPC libs
Added
- Extend support to connect to dgraph client via Slash endpoints and apiKey ([#125])
Changed
- Migrate from
grpc
npm module togrpc-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
andlang
fields to proto message type SchemaNode- Option for server-side sequencing
Changed
- 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
Removed
- Support for null values where appropriate (because of typescript warning)
v1.2.1 - 2018-03-16
Fixed
- Pass
metadata
andoptions
arguments toTxn#discard
inTxn#mutate
v1.2.0 - 2018-03-12
Added
-
[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
Added
- Full compatibility with Dgraph v1.0.4
latency
field to proto message typeAssigned
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 typeOperation
v1.0.4 - 2018-02-02
Added
- 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
Changed
grpc
is now a peer dependency
v1.0.2 - 2018-01-24
Added
- 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
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