Skip to content

Commit 2cb1221

Browse files
authored
prepare to release v24.1.0 (#248)
1 parent 53b30b3 commit 2cb1221

File tree

7 files changed

+152
-83
lines changed

7 files changed

+152
-83
lines changed

CHANGELOG.md

Lines changed: 118 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,43 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/),
5-
and this project adheres to [Calendar Versioning](https://calver.org/) starting v20.03.0.
6+
7+
## [24.1.0] - 2024-12-06
8+
9+
### Added
10+
11+
- add support for big float and fix tests (#246)
12+
- Provide shaded jar with dgraph4j's dependencies (#239)
13+
14+
### Fixed
15+
16+
- build(deps): bump the minor-and-patch group across 1 directory with 4 updates (#245) (#243) (#244) (#241) (#237)
17+
- Upgrade to gradle 7.6.4 (#238)
618

719
## [24.0.0] - 2024-08-06
820

921
### Added
1022

11-
* feat: Add Vector Support. ([#220])
23+
- feat: Add Vector Support. ([#220])
1224

1325
### Fixed
14-
* fix: Issues with disconnects addressed with Netty, protoc and protobuf-java updates. ([#212])
1526

16-
### Security
27+
- fix: Issues with disconnects addressed with Netty, protoc and protobuf-java updates. ([#212])
1728

18-
* chore: Bump com.google.protobuf:protoc from 3.2.0 to 4.27.2 ([#215])
19-
* chore: Bump org.slf4j:slf4j-simple from 1.7.21 to 2.0.13 ([#214])
20-
* chore: Bump the minor-and-patch group in /samples/concurrent-modification with 2 updates ([#208])
21-
* chore: resolve cves ([#193])
22-
* chore: Bump github/codeql-action from 2 to 3 ([#198])
23-
* chore: Bump actions/setup-go from 3 to 5 ([#195])
29+
### Security
2430

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

2638
### Testing
2739

28-
* chore: added a test for best effort queries ([#182])
40+
- chore: added a test for best effort queries ([#182])
2941

3042
[#220]: https://github.com/dgraph-io/dgraph4j/pull/220
3143
[#215]: https://github.com/dgraph-io/dgraph4j/pull/215
@@ -41,168 +53,222 @@ and this project adheres to [Calendar Versioning](https://calver.org/) starting
4153

4254
## [21.12.0] - 2021-12-24
4355

44-
* Version bump. No changes from v21.03.2.
56+
- Version bump. No changes from v21.03.2.
4557

4658
## [21.03.2] - 2021-12-24
4759

4860
### Added
4961

50-
* feat: Add timeout parameters to transaction requests. ([#172])
51-
* feat: Add shutdown method to client. ([#173])
62+
- feat: Add timeout parameters to transaction requests. ([#172])
63+
- feat: Add shutdown method to client. ([#173])
5264

5365
[#172]: https://github.com/dgraph-io/dgraph4j/pull/172
5466
[#173]: https://github.com/dgraph-io/dgraph4j/pull/173
5567

5668
## [21.03.1] - 2021-04-22
69+
5770
### Added
58-
* fix(deprecation): add DgraphClient.clientStubFromCloudEndpoint ([#170])
71+
72+
- fix(deprecation): add DgraphClient.clientStubFromCloudEndpoint ([#170])
5973

6074
[#170]: https://github.com/dgraph-io/dgraph4j/pull/170
6175

6276
## [21.03.0] - 2021-04-08
77+
6378
### Added
64-
* feat: add loginIntoNamespace API on clients (GRAPHQL-1058) ([#166])
79+
80+
- feat: add loginIntoNamespace API on clients (GRAPHQL-1058) ([#166])
81+
6582
### Deprecated
66-
* chore: Sync dgo + deprecate Slash endpoint method (GRAPHQL-1141) ([#167])
83+
84+
- chore: Sync dgo + deprecate Slash endpoint method (GRAPHQL-1141) ([#167])
85+
6786
### Fixed
68-
* fix(test): Don't use dgraph binary in tests (GRAPHQL-1144) ([#168])
87+
88+
- fix(test): Don't use dgraph binary in tests (GRAPHQL-1144) ([#168])
6989

7090
[#166]: https://github.com/dgraph-io/dgraph4j/pull/166
7191
[#167]: https://github.com/dgraph-io/dgraph4j/pull/167
7292
[#168]: https://github.com/dgraph-io/dgraph4j/pull/168
7393

7494
## [20.11.0] - 2020-12-23
95+
7596
### Added
76-
* feat: Add support for RDF response (DGRAPH-2659) ([#160])
97+
98+
- feat: Add support for RDF response (DGRAPH-2659) ([#160])
99+
77100
### Changed
78-
* gRPC: bumped gRPC libs to v1.34.1
101+
102+
- gRPC: bumped gRPC libs to v1.34.1
79103

80104
[#160]: https://github.com/dgraph-io/dgraph4j/pull/160
81105

82106
## [20.03.3] - 2020-11-25
107+
83108
### Added
84-
* feat: add client constructor with executor (DGRAPH-2746) ([#161])
109+
110+
- feat: add client constructor with executor (DGRAPH-2746) ([#161])
85111

86112
[#161]: https://github.com/dgraph-io/dgraph4j/pull/161
87113

88114
## [20.03.2] - 2020-10-27
115+
89116
### Added
90-
* feat: Support for Slash GraphQL endpoint ([#158])
117+
118+
- feat: Support for Slash GraphQL endpoint ([#158])
91119

92120
[#158]: https://github.com/dgraph-io/dgraph4j/pull/158
93121

94122
## [20.03.1] - 2020-07-10
123+
95124
### Added
96-
* Allow creation of Transaction/AsyncTransaction from TxnContext ([#149])
97-
* feat: Client now has a checkVersion method ([#155])
125+
126+
- Allow creation of Transaction/AsyncTransaction from TxnContext ([#149])
127+
- feat: Client now has a checkVersion method ([#155])
128+
98129
### Fixed
99-
* Delete argument from method usePlainText ([#148])
130+
131+
- Delete argument from method usePlainText ([#148])
100132

101133
[#149]: https://github.com/dgraph-io/dgraph4j/pull/149
102134
[#155]: https://github.com/dgraph-io/dgraph4j/pull/155
103135
[#148]: https://github.com/dgraph-io/dgraph4j/pull/148
104136

105137
## [20.03.0] - 2020-04-01
138+
106139
### Changed
107-
* Upgrade grpc version to 1.26.0 ([#130])
108-
* Add docs for background indexing, update api.proto ([1324663])
140+
141+
- Upgrade grpc version to 1.26.0 ([#130])
142+
- Add docs for background indexing, update api.proto ([1324663])
143+
109144
### Fixed
110-
* Fix slf4j dependencies. ([#133])
111-
* Fixed running multiple upserts within one transaction ([#137])
145+
146+
- Fix slf4j dependencies. ([#133])
147+
- Fixed running multiple upserts within one transaction ([#137])
112148

113149
[#130]: https://github.com/dgraph-io/dgraph4j/pull/130
114150
[1324663]: https://github.com/dgraph-io/dgraph4j/commit/13246633dc87ab884beadf2ac239116890055b48
115151
[#133]: https://github.com/dgraph-io/dgraph4j/pull/133
116152
[#137]: https://github.com/dgraph-io/dgraph4j/pull/137
117153

118154
## [2.1.0] - 2020-01-30
155+
119156
### Changed
120-
* Sync proto files with dgo ([#121])
157+
158+
- Sync proto files with dgo ([#121])
121159

122160
[#121]: https://github.com/dgraph-io/dgraph4j/pull/121
123161

124162
## [2.0.2] - 2019-10-13
163+
125164
### Fixed
126-
* Fix Opencensus tracing. ([#117])
165+
166+
- Fix Opencensus tracing. ([#117])
127167

128168
[#117]: https://github.com/dgraph-io/dgraph4j/pull/117
129169

130170
## [2.0.1] - 2019-09-05
171+
131172
### Fixed
132-
* Throw TxnConflictException correctly ([#102])
173+
174+
- Throw TxnConflictException correctly ([#102])
133175

134176
[#102]: https://github.com/dgraph-io/dgraph4j/pull/102
135177

136178
## [2.0.0] - 2019-09-02
179+
137180
### Changed
138-
* Upgrade grpc to get rid of Java 11 warnings from grpc ([#94])
139-
* Update grpc API to support Multiple Mutations in future ([#101])
181+
182+
- Upgrade grpc to get rid of Java 11 warnings from grpc ([#94])
183+
- Update grpc API to support Multiple Mutations in future ([#101])
140184

141185
[#94]: https://github.com/dgraph-io/dgraph4j/pull/94
142186
[#101]: https://github.com/dgraph-io/dgraph4j/pull/101
143187

144188
## [1.7.5] - 2019-06-29
189+
145190
### Added
146-
* Add support for upsert block ([#88])
191+
192+
- Add support for upsert block ([#88])
193+
147194
### Fixed
148-
* Moving the dependency io.opencensus.* into a test dependency only, ([#89])
195+
196+
- Moving the dependency io.opencensus.\* into a test dependency only, ([#89])
149197

150198
[#88]: https://github.com/dgraph-io/dgraph4j/pull/88
151199
[#89]: https://github.com/dgraph-io/dgraph4j/pull/89
152200

153201
## [1.7.4] - 2019-06-19
202+
154203
### Added
155-
* Added best effort method to the transaction class to call the AsyncTransaction class method. ([#86])
204+
205+
- Added best effort method to the transaction class to call the AsyncTransaction class method. ([#86])
206+
156207
### Fixed
157-
* Fix broken tests ([#87])
208+
209+
- Fix broken tests ([#87])
158210

159211
[#86]: https://github.com/dgraph-io/dgraph4j/pull/86
160212
[#87]: https://github.com/dgraph-io/dgraph4j/pull/87
161213

162214
## [1.7.3] - 2019-03-27
215+
163216
### Added
164-
* added logic for ACL and upgraded the code to be usable with java 11 ([#80])
165-
* Added best effort flag, shorten ACL test timing to match changes in dgraph ([b4bf3bf])
217+
218+
- added logic for ACL and upgraded the code to be usable with java 11 ([#80])
219+
- Added best effort flag, shorten ACL test timing to match changes in dgraph ([b4bf3bf])
166220

167221
[#80]: https://github.com/dgraph-io/dgraph4j/pull/80
168222
[b4bf3bf]: https://github.com/dgraph-io/dgraph4j/commit/b4bf3bf49d7f89f0bffd3a4929f42efbef9a5a31
169223

170224
## [1.7.1] - 2018-10-31
225+
171226
### Added
172-
* Added the doc and sample code for setting auth token ([#70])
173-
* Readonly support, separating integration tests and unit tests etc ([#71])
227+
228+
- Added the doc and sample code for setting auth token ([#70])
229+
- Readonly support, separating integration tests and unit tests etc ([#71])
230+
174231
### Fixed
175-
* Fix client selection behavior to match Go client. ([3bb5e23])
232+
233+
- Fix client selection behavior to match Go client. ([3bb5e23])
176234

177235
[#70]: https://github.com/dgraph-io/dgraph4j/pull/70
178236
[#71]: https://github.com/dgraph-io/dgraph4j/pull/71
179237
[3bb5e23]: https://github.com/dgraph-io/dgraph4j/commit/3bb5e23c6bcbfd7224a602aa34ef33c4c26c24f4
180238

181239
## [1.7.0] - 2018-09-20
182-
* Upgrading grpc-java to v1.15.0
240+
241+
- Upgrading grpc-java to v1.15.0
183242

184243
## [1.6.0] - 2018-09-11
185-
* Remove LinRead and sequencing map from client.
244+
245+
- Remove LinRead and sequencing map from client.
186246

187247
## [1.5.0] - 2018-09-03
188-
* Updated api.proto. Added a new preds field to TxnContext.
248+
249+
- Updated api.proto. Added a new preds field to TxnContext.
189250

190251
## [1.4.2] - 2018-08-21
191-
* Added Async client.
192-
* Fixed maven publishing issues
252+
253+
- Added Async client.
254+
- Fixed maven publishing issues
193255

194256
## [1.3.0] - 2018-04-04
195-
* Added option to choose Client/Serve Side sequential mode.
257+
258+
- Added option to choose Client/Serve Side sequential mode.
196259

197260
## [1.2.0] - 2018-02-06
198-
* Added possibility to create a DgraphClient with a specified request
261+
262+
- Added possibility to create a DgraphClient with a specified request
199263
deadline (#48).
200264

201265
## [1.1.0] - 2018-01-17
202-
* Incorporated proto file changes in Dgraph 1.2.0 release
266+
267+
- Incorporated proto file changes in Dgraph 1.2.0 release
203268

204269
## [1.0.0] - 2017-12-18
205-
* Fully compatible with Dgraph v1.0
270+
271+
- Fully compatible with Dgraph v1.0
206272

207273
[Unreleased]: https://github.com/dgraph-io/dgraph4j/compare/v21.12.0...HEAD
208274
[21.12.0]: https://github.com/dgraph-io/dgraph4j/compare/v21.03.2...v21.12.0

PUBLISHING.md

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ This document contains instructions to publish dgraph4j build artefacts to Maven
77

88
### Before Deploying
99

10-
* Get access to credentials for `dgraph` JIRA account on Maven Central.
11-
* Generate GPG credentials. Make sure you set a passphrase. You can use this
12-
[guide](https://help.github.com/en/articles/generating-a-new-gpg-key).
13-
* Note down the short version of the Key ID: `gpg --list-keys --keyid-format short`.
14-
* Generate a secret key ring file if not present: `gpg --export-secret-keys -o /path/to/.gnupg/secring.gpg`.
15-
* Publish the keys to the MIT server: `gpg --send-keys <key-id>` (Maven Central will check for keys here).
16-
* Create `~/.gradle/gradle.properties` and populate it with all the credentials:
10+
- Get access to credentials for `dgraph` JIRA account on Maven Central.
11+
- Generate GPG credentials. Make sure you set a passphrase. You can use this
12+
[guide](https://help.github.com/en/articles/generating-a-new-gpg-key).
13+
- Note down the short version of the Key ID: `gpg --list-keys --keyid-format short`.
14+
- Generate a secret key ring file if not present: `gpg --export-secret-keys -o /path/to/.gnupg/secring.gpg`.
15+
- Publish the keys to the MIT server: `gpg --send-keys <key-id>` (Maven Central will check for keys here).
16+
- Create `~/.gradle/gradle.properties` and populate it with all the credentials:
17+
1718
```
1819
signing.keyId=<…keyId…>
1920
signing.password=<…password…>
@@ -24,19 +25,21 @@ ossrhPassword=<…password…>
2425
```
2526

2627
### Deploying
27-
* Build and test the code that needs to be published.
28-
* Bump version by modifying the `version` variable in `build.gradle` file.
29-
* Update download version in README for both Maven and Gradle.
30-
* Update `Supported Versions` table in README.
31-
* Update `dgraph4j version` in `grpc-netty` table in README.
32-
* Update CHANGELOG.
33-
* Raise a PR for the above changes. Put the changelog in PR description and merge it.
34-
* Run `./gradlew uploadArchives`.
35-
* Release the deployment by following the steps on the page _Releasing the Deployment_ (link in references below).
36-
* Also cut a release tag on GitHub with the new version.
28+
29+
- Build and test the code that needs to be published.
30+
- Bump version by modifying the `version` variable in `build.gradle` file.
31+
- Update download version in README for both Maven and Gradle.
32+
- Update `Supported Versions` table in README.
33+
- Update `dgraph4j version` in `grpc-netty` table in README.
34+
- Update CHANGELOG.
35+
- Raise a PR for the above changes. Put the changelog in PR description and merge it.
36+
- Run `./gradlew uploadArchives`.
37+
- Release the deployment by following the steps on the page _Releasing the Deployment_ (link in references below).
38+
- Also cut a release tag on GitHub with the new version.
3739

3840
### References
39-
* [Publishing a project on Maven Central](https://medium.com/@nmauti/publishing-a-project-on-maven-central-8106393db2c3)
40-
* [Deploying to OSSRH with Gradle - Introduction](http://central.sonatype.org/pages/gradle.html)
41-
* [StackOverflow thread on issues during signing artefacts](https://stackoverflow.com/questions/27936119/gradle-uploadarchives-task-unable-to-read-secret-key)
42-
* [Releasing the Deployment](http://central.sonatype.org/pages/releasing-the-deployment.html)
41+
42+
- [Publishing a project on Maven Central](https://medium.com/@nmauti/publishing-a-project-on-maven-central-8106393db2c3)
43+
- [Deploying to OSSRH with Gradle - Introduction](http://central.sonatype.org/pages/gradle.html)
44+
- [StackOverflow thread on issues during signing artefacts](https://stackoverflow.com/questions/27936119/gradle-uploadarchives-task-unable-to-read-secret-key)
45+
- [Releasing the Deployment](http://central.sonatype.org/pages/releasing-the-deployment.html)

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ grab via Maven:
5858
<dependency>
5959
<groupId>io.dgraph</groupId>
6060
<artifactId>dgraph4j</artifactId>
61-
<version>24.0.0</version>
61+
<version>24.1.0</version>
6262
</dependency>
6363
```
6464
or Gradle:
6565
```groovy
66-
compile 'io.dgraph:dgraph4j:24.0.0'
66+
compile 'io.dgraph:dgraph4j:24.1.0'
6767
```
6868

6969
## Supported Versions
@@ -120,6 +120,7 @@ The following is only applicable to dgraph4j versions < v24.X.X.
120120
| 20.03.0-20.03.3 | 1.26.0 | 2.0.26.Final |
121121
| >= 20.11.0 | 1.34.1 | 2.0.31.Final |
122122
| >= 24.0.0 | 1.65.1 | 4.1.100.Final |
123+
| >= 24.1.0 | 1.68.2 | 4.1.110.Final |
123124

124125
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`.
125126

0 commit comments

Comments
 (0)