Skip to content

Commit aa1f5bd

Browse files
authored
chore: adding missed changes for release v24.0.0 (#236)
Merge rahul/release-v24.0.0 with README updates into master
1 parent f3302dd commit aa1f5bd

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
[![Build Status](https://teamcity.dgraph.io/guestAuth/app/rest/builds/buildType:%28id:Dgraph4j_Integration%29/statusIcon.svg)](https://teamcity.dgraph.io/viewLog.html?buildTypeId=Dgraph4j_Integration&buildId=lastFinished&guest=1)
44
[![Coverage Status](https://coveralls.io/repos/github/dgraph-io/dgraph4j/badge.svg)](https://coveralls.io/github/dgraph-io/dgraph4j)
55

6-
A minimal implementation for a Dgraph client for Java 1.8 and above, using [grpc].
6+
A minimal implementation for a Dgraph client for Java 11 and above, using [grpc].
7+
8+
### IMP NOTE:
9+
v24.0.0 features an upgraded protobuf dependency which requires an upgrade to JDK 11. On account of this breaking change, all legacy applications built upon JDK 8 would be impacted.
710

811
[grpc]: https://grpc.io/
912

@@ -55,12 +58,12 @@ grab via Maven:
5558
<dependency>
5659
<groupId>io.dgraph</groupId>
5760
<artifactId>dgraph4j</artifactId>
58-
<version>21.12.0</version>
61+
<version>24.0.0</version>
5962
</dependency>
6063
```
6164
or Gradle:
6265
```groovy
63-
compile 'io.dgraph:dgraph4j:21.12.0'
66+
compile 'io.dgraph:dgraph4j:24.0.0'
6467
```
6568

6669
## Supported Versions
@@ -75,8 +78,12 @@ use a different version of this client.
7578
|20.03.X-20.07.X | 20.03.X | 1.9.X |
7679
| 20.11.X | 20.11.X | 1.9.X |
7780
| >= 21.XX.X | 21.XX.X | 1.9.X |
81+
| >= 24.X.X | 24.X.X | 11 |
7882

7983
#### Note regarding Java 1.8.x support:
84+
v24.0.0 features an upgraded protoc-protobuf dependency that requires an upgrade to JDK 11. This version is incompatible with Java 1.8 and and requires an upgrade to Java 11.
85+
86+
The following is only applicable to dgraph4j versions < v24.X.X.
8087
* If you aren't using gRPC with TLS, then the above version table will work for you with Java
8188
1.8.x too.
8289
* If you're using gRPC with TLS on Java 1.8.x, then you will need to follow gRPC docs [here
@@ -112,10 +119,9 @@ use a different version of this client.
112119
| 2.0.0-2.1.0 | 1.22.1 | 2.0.25.Final |
113120
| 20.03.0-20.03.3 | 1.26.0 | 2.0.26.Final |
114121
| >= 20.11.0 | 1.34.1 | 2.0.31.Final |
122+
| >= 24.0.0 | 1.65.1 | 4.1.100.Final |
115123

116-
So, for example, if you were using `dgraph4j v20.03.0`, then you would need to use `2.0.26-Final`
117-
as the version for `netty-tcnative-boringssl-static` dependency as suggested by gRPC docs for
118-
`grpc-netty v1.26.0`.
124+
For example, when using `dgraph4j v24.0.0`, the version of the `netty-tcnative-boringssl-static` dependency to be used is `4.1.100.Final`, as suggested by gRPC docs for `grpc-netty v1.65.1`.
119125

120126
[this section]: https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty
121127

build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def grpcVersion = '1.66.0'
5858
def dgraph4jVersion = "$version"
5959
def openCensusVersion = '0.31.1'
6060

61-
6261
protobuf {
6362
protoc {
6463
// The version of protoc must match protobuf-java. If you don't depend on

0 commit comments

Comments
 (0)