You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
7
10
8
11
[grpc]: https://grpc.io/
9
12
@@ -55,12 +58,12 @@ grab via Maven:
55
58
<dependency>
56
59
<groupId>io.dgraph</groupId>
57
60
<artifactId>dgraph4j</artifactId>
58
-
<version>21.12.0</version>
61
+
<version>24.0.0</version>
59
62
</dependency>
60
63
```
61
64
or Gradle:
62
65
```groovy
63
-
compile 'io.dgraph:dgraph4j:21.12.0'
66
+
compile 'io.dgraph:dgraph4j:24.0.0'
64
67
```
65
68
66
69
## Supported Versions
@@ -75,8 +78,12 @@ use a different version of this client.
75
78
|20.03.X-20.07.X | 20.03.X | 1.9.X |
76
79
| 20.11.X | 20.11.X | 1.9.X |
77
80
| >= 21.XX.X | 21.XX.X | 1.9.X |
81
+
| >= 24.X.X | 24.X.X | 11 |
78
82
79
83
#### 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.
80
87
* If you aren't using gRPC with TLS, then the above version table will work for you with Java
81
88
1.8.x too.
82
89
* 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.
112
119
| 2.0.0-2.1.0 | 1.22.1 | 2.0.25.Final |
113
120
| 20.03.0-20.03.3 | 1.26.0 | 2.0.26.Final |
114
121
| >= 20.11.0 | 1.34.1 | 2.0.31.Final |
122
+
| >= 24.0.0 | 1.65.1 | 4.1.100.Final |
115
123
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`.
0 commit comments