Releases: hypermodeinc/dgraph-js
Releases · hypermodeinc/dgraph-js
v1.2.1
v1.2.0
Added
-
[BREAKING] Optional
metadata
parameter of typegrpc.Metadata
to the
DgraphClientStub
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
v1.1.1
v1.1.0
v1.0.4
v1.0.3
v1.0.2
Added
- Method
DgraphClientStub#close
to close the grpc client associated withDgraphClientStub
- Method
DgraphClientStub#grpcClient
to return the grpc client associated with
DgraphClientStub
- Method
DgraphClientStub#waitForReady
to provide a promisified version of
grpc.Client#waitForReady