Skip to content

Latest commit

 

History

History
360 lines (229 loc) · 11.5 KB

File metadata and controls

360 lines (229 loc) · 11.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,

25.0.0 - 2026-02-26

Added

  • feat: add RunDQL API for running DQL queries and mutations directly
  • feat: add allocateUIDs, allocateTimestamps, and allocateNamespaces methods
  • feat: add namespace management (createNamespace, dropNamespace, listNamespaces)
  • feat: add convenience methods (dropAll, dropData, dropPredicate, dropType, setSchema)
  • feat: updated proto definitions to Dgraph v25
  • feat: typed exception hierarchy with specific error conditions (ConnectionException, AlphaException, AlphaNotReadyException, AlphaShutdownException, AlphaOverloadedException, DeadlineExceededException, ResourceExhaustedException, QueryException, DisallowedOperationException, AuthException)
  • feat: isRetryable() method on all DgraphException subclasses
  • feat: Exceptions utility class (ExceptionUtil retained as deprecated alias)
  • feat: withRetry() on DgraphClient and DgraphAsyncClient for managed transaction retry with exponential backoff. Configurable via RetryPolicy.

Changed

  • Updated copyright from Hypermode Inc. to Istari Digital, Inc.
  • Updated GitHub organization references from hypermodeinc to dgraph-io
  • DgraphException now extends StatusRuntimeException instead of RuntimeException. Existing catch (StatusRuntimeException e) and catch (RuntimeException e) blocks still catch all Dgraph exceptions. Only breaks code that does exact class checks like e.getClass() == RuntimeException.class.
  • TxnException now extends DgraphException instead of RuntimeException. A catch (DgraphException e) block now also catches TxnConflictException, TxnFinishedException, and TxnReadOnlyException. Place specific catches before catch (DgraphException e) if you handle them differently.
  • gRPC errors are now translated to typed DgraphException subclasses instead of being thrown as raw StatusRuntimeException. The original Status and trailers are preserved.

Fixed

  • fix: checkVersion(), login(), loginIntoNamespace(), and shutdown() now properly unwrap CompletionException, matching the behavior of all other sync methods

Deprecated

  • Deprecated clientStubFromSlashEndpoint and clientStubFromCloudEndpoint (now throw UnsupportedOperationException)
  • Removed Dgraph Cloud section from documentation

24.2.0 - 2025-04-21

Added

  • feat: add support for Dgraph connection strings (#268)

Fixed

  • chore(deps): Update java minor and patch (#271) (#269) (#267) (#261) (#260)
  • chore(deps): Update dependency com.google.protobuf:protobuf-gradle-plugin to v0.9.5 (#270)
  • chore(deps): Update dependency org.testng:testng to v7 (#262)
  • build(deps): bump com.google.code.gson:gson from 2.11.0 to 2.12.0 in /samples/concurrent-modification in the minor-and-patch group (#256)
  • build(deps): bump the minor-and-patch group across 4 directories with 1 update (#257) (#255) (#254) (#253)

24.1.1 - 2024-12-13

Added

  • add support for big float and fix tests (#246)
  • Provide shaded jar with dgraph4j's dependencies (#239)

Fixed

  • build(deps): bump the minor-and-patch group across 1 directory with 4 updates (#245) (#243) (#244) (#241) (#237)
  • Upgrade to gradle 7.6.4 (#238)

24.0.0 - 2024-08-06

Added

  • feat: Add Vector Support. (#220)

Fixed

  • fix: Issues with disconnects addressed with Netty, protoc and protobuf-java updates. (#212)

Security

  • chore: Bump com.google.protobuf:protoc from 3.2.0 to 4.27.2 (#215)
  • chore: Bump org.slf4j:slf4j-simple from 1.7.21 to 2.0.13 (#214)
  • chore: Bump the minor-and-patch group in /samples/concurrent-modification with 2 updates (#208)
  • chore: resolve cves (#193)
  • chore: Bump github/codeql-action from 2 to 3 (#198)
  • chore: Bump actions/setup-go from 3 to 5 (#195)

Testing

  • chore: added a test for best effort queries (#182)

21.12.0 - 2021-12-24

  • Version bump. No changes from v21.03.2.

21.03.2 - 2021-12-24

Added

  • feat: Add timeout parameters to transaction requests. (#172)
  • feat: Add shutdown method to client. (#173)

21.03.1 - 2021-04-22

Added

  • fix(deprecation): add DgraphClient.clientStubFromCloudEndpoint (#170)

21.03.0 - 2021-04-08

Added

  • feat: add loginIntoNamespace API on clients (GRAPHQL-1058) (#166)

Deprecated

  • chore: Sync dgo + deprecate Slash endpoint method (GRAPHQL-1141) (#167)

Fixed

  • fix(test): Don't use dgraph binary in tests (GRAPHQL-1144) (#168)

20.11.0 - 2020-12-23

Added

  • feat: Add support for RDF response (DGRAPH-2659) (#160)

Changed

  • gRPC: bumped gRPC libs to v1.34.1

20.03.3 - 2020-11-25

Added

  • feat: add client constructor with executor (DGRAPH-2746) (#161)

20.03.2 - 2020-10-27

Added

  • feat: Support for Slash GraphQL endpoint (#158)

20.03.1 - 2020-07-10

Added

  • Allow creation of Transaction/AsyncTransaction from TxnContext (#149)
  • feat: Client now has a checkVersion method (#155)

Fixed

  • Delete argument from method usePlainText (#148)

20.03.0 - 2020-04-01

Changed

  • Upgrade grpc version to 1.26.0 (#130)
  • Add docs for background indexing, update api.proto (1324663)

Fixed

  • Fix slf4j dependencies. (#133)
  • Fixed running multiple upserts within one transaction (#137)

2.1.0 - 2020-01-30

Changed

  • Sync proto files with dgo (#121)

2.0.2 - 2019-10-13

Fixed

  • Fix Opencensus tracing. (#117)

2.0.1 - 2019-09-05

Fixed

  • Throw TxnConflictException correctly (#102)

[2.0.0] - 2019-09-02

Changed

  • Upgrade grpc to get rid of Java 11 warnings from grpc (#94)
  • Update grpc API to support Multiple Mutations in future (#101)

[1.7.5] - 2019-06-29

Added

  • Add support for upsert block (#88)

Fixed

  • Moving the dependency io.opencensus.* into a test dependency only, (#89)

1.7.4 - 2019-06-19

Added

  • Added best effort method to the transaction class to call the AsyncTransaction class method. (#86)

Fixed

  • Fix broken tests (#87)

1.7.3 - 2019-03-27

Added

  • added logic for ACL and upgraded the code to be usable with java 11 (#80)
  • Added best effort flag, shorten ACL test timing to match changes in dgraph (b4bf3bf)

[1.7.1] - 2018-10-31

Added

  • Added the doc and sample code for setting auth token (#70)
  • Readonly support, separating integration tests and unit tests etc (#71)

Fixed

  • Fix client selection behavior to match Go client. (3bb5e23)

1.7.0 - 2018-09-20

  • Upgrading grpc-java to v1.15.0

1.6.0 - 2018-09-11

  • Remove LinRead and sequencing map from client.

1.5.0 - 2018-09-03

  • Updated api.proto. Added a new preds field to TxnContext.

1.4.2 - 2018-08-21

  • Added Async client.
  • Fixed maven publishing issues

1.3.0 - 2018-04-04

  • Added option to choose Client/Serve Side sequential mode.

1.2.0 - 2018-02-06

  • Added possibility to create a DgraphClient with a specified request deadline (#48).

1.1.0 - 2018-01-17

  • Incorporated proto file changes in Dgraph 1.2.0 release

1.0.0 - 2017-12-18

  • Fully compatible with Dgraph v1.0