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.
Added
- Support for Dgraph connection strings: Introduced the ability to connect using Dgraph connection strings. This enhancement simplifies the configuration process for establishing connections. (#263)
Removed
- Removed ESLint from the project. (#264)
Changed
- Updated Node.js to version 22. (#262)
- Updated @grpc/grpc-js to version 1.12.6. (#260)
- Performed minor and patch updates for development dependencies. (#261 #258 #256 #255 #244 #245 #246 #247 #248 #249 #238 #240)
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
grpcdependency (#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
grpcnpm module togrpc-jsin 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
dgraphClientfails 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
doRequestfunction for performing upsert, or just a query or a mutation- Support for ACL features in Dgraph v1.1 - login & jwt refresh
upsertandlangfields to proto message type SchemaNode- Option for server-side sequencing
Changed
- Return type of
Txn#mutatefunction frommessages.Assignedtomessages.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
metadataandoptionsarguments toTxn#discardinTxn#mutate
v1.2.0 - 2018-03-12
Added
-
[BREAKING] Optional
metadataparameter of typegrpc.Metadatato theDgraphClientStubmethods.optionsparameter moved to the third position to conform to thegrpcpackage API.Methods affected -
DgraphClient#alter,Txn#query,Txn#queryWithVars,Txn#mutate,Txn#commitandTxn#discard.To upgrade to this version, if using any of these methods with the
optionsparameter, simply add anullargument before theoptionsargument. For example,client.alter(options)becomesclient.alter(null, options)
v1.1.2 - 2018-03-07
Added
- Full compatibility with Dgraph v1.0.4
latencyfield to proto message typeAssigned
v1.1.1 - 2018-02-13
Added
- Compatibility with grpc v1.9
Fixed
- Function
u8ToStrwhich was leading to json parse errors (#17)
v1.1.0 - 2018-02-06
Added
- Full compatibility with Dgraph v1.0.2
Removed
startTsfield from proto message typeOperation
v1.0.4 - 2018-02-02
Added
- Optional
optionsparameter of typeobjectto theDgraphClientStubconstructor - Optional
optionsparameter of typegrpc.CallOptionsto theDgraphClientStubmethods - Export
Txnclass
v1.0.3 - 2018-01-26
Changed
grpcis now a peer dependency
v1.0.2 - 2018-01-24
Added
- Method
DgraphClientStub#closeto close the grpc client associated withDgraphClientStub - Method
DgraphClientStub#grpcClientto return the grpc client associated withDgraphClientStub - Method
DgraphClientStub#waitForReadyto 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