Releases: hypermodeinc/dgraph-js
Releases · hypermodeinc/dgraph-js
v2.0.0
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
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