Releases: dgraph-io/dgraph-js
Releases · dgraph-io/dgraph-js
v21.03.1
v21.03.0
This release works for Dgraph versions >= 21.03. This version adheres to the contract of multi-tenancy.
Added
- LoginIntoNamespace API
Removed
- Nquad does not have
label
The clientStubFromSlashGraphQLEndpoint
API is deprecated and will be removed in the next release.
v20.11.0
v20.03.0
v2.1.0
v2.0.2
v2.0.1
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)