Skip to content

Commit

Permalink
chore: release v20.11.0 (#164)
Browse files Browse the repository at this point in the history
### Added
* Added support for RDF query

### Changed
* gRPC: bumped gRPC libs to v1.34.1
  • Loading branch information
abhimanyusinghgaur authored Dec 24, 2020
1 parent 3b4423c commit c085d8a
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 10 deletions.
124 changes: 121 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,118 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/),
and this project adheres to [Calendar Versioning](https://calver.org/) starting v20.03.0.

## [Unreleased]

## [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

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

## [20.03.3] - 2020-11-25
### Added
* feat: add client constructor with executor (DGRAPH-2746) ([#161])

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

## [20.03.2] - 2020-10-27
### Added
* feat: Support for Slash GraphqQL endpoint ([#158])

[#158]: https://github.com/dgraph-io/dgraph4j/pull/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])

[#149]: https://github.com/dgraph-io/dgraph4j/pull/149
[#155]: https://github.com/dgraph-io/dgraph4j/pull/155
[#148]: https://github.com/dgraph-io/dgraph4j/pull/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])

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

## [2.1.0] - 2020-01-30
### Changed
* Sync proto files with dgo ([#121])

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

## [2.0.2] - 2019-10-13
### Fixed
* Fix Opencensus tracing. ([#117])

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

## [2.0.1] - 2019-09-05
### Fixed
* Throw TxnConflictException correctly ([#102])

[#102]: https://github.com/dgraph-io/dgraph4j/pull/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])

[#94]: https://github.com/dgraph-io/dgraph4j/pull/94
[#101]: https://github.com/dgraph-io/dgraph4j/pull/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])

[#88]: https://github.com/dgraph-io/dgraph4j/pull/88
[#89]: https://github.com/dgraph-io/dgraph4j/pull/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])

[#86]: https://github.com/dgraph-io/dgraph4j/pull/86
[#87]: https://github.com/dgraph-io/dgraph4j/pull/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])

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

## [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])

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

## [1.7.0] - 2018-09-20
* Upgrading grpc-java to v1.15.0

Expand All @@ -32,7 +139,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [1.0.0] - 2017-12-18
* Fully compatible with Dgraph v1.0

[Unreleased]: https://github.com/dgraph-io/dgraph4j/compare/v1.7.0...HEAD
[Unreleased]: https://github.com/dgraph-io/dgraph4j/compare/v20.11.0...HEAD
[20.11.0]: https://github.com/dgraph-io/dgraph4j/compare/v20.03.3...v20.11.0
[20.03.3]: https://github.com/dgraph-io/dgraph4j/compare/v20.03.2...v20.03.3
[20.03.2]: https://github.com/dgraph-io/dgraph4j/compare/v20.03.1...v20.03.2
[20.03.1]: https://github.com/dgraph-io/dgraph4j/compare/v20.03.0...v20.03.1
[20.03.0]: https://github.com/dgraph-io/dgraph4j/compare/v2.1.0...v20.03.0
[2.1.0]: https://github.com/dgraph-io/dgraph4j/compare/v2.0.2...v2.1.0
[2.0.2]: https://github.com/dgraph-io/dgraph4j/compare/v2.0.1...v2.0.2
[2.0.1]: https://github.com/dgraph-io/dgraph4j/compare/v1.7.4...v2.0.1
[1.7.4]: https://github.com/dgraph-io/dgraph4j/compare/v1.7.3...v1.7.4
[1.7.3]: https://github.com/dgraph-io/dgraph4j/compare/v1.7.0...v1.7.3
[1.7.0]: https://github.com/dgraph-io/dgraph4j/compare/v1.6.0...v1.7.0
[1.7.0]: https://github.com/dgraph-io/dgraph4j/compare/v1.6.0...v1.7.0
[1.6.0]: https://github.com/dgraph-io/dgraph4j/compare/v1.5.0...v1.6.0
[1.5.0]: https://github.com/dgraph-io/dgraph4j/compare/v1.4.2...v1.5.0
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ grab via Maven:
<dependency>
<groupId>io.dgraph</groupId>
<artifactId>dgraph4j</artifactId>
<version>20.03.3</version>
<version>20.11.0</version>
</dependency>
```
or Gradle:
```groovy
compile 'io.dgraph:dgraph4j:20.03.3'
compile 'io.dgraph:dgraph4j:20.11.0'
```

## Supported Versions
Expand All @@ -71,7 +71,8 @@ use a different version of this client.
| Dgraph version | dgraph4j version | java version |
|:--------------:|:-----------------:|:------------:|
| 1.0.X | 1.X.X | 1.9.X |
| >= 1.1.0 | 2.X.X | 1.9.X |
| 1.1.0 - 2.X.X | 2.X.X | 1.9.X |
| >= 20.XX.X | 20.XX.X | 1.9.X |

#### Note regarding Java 1.8.x support:
* If you aren't using gRPC with TLS, then the above version table will work for you with Java
Expand Down Expand Up @@ -108,6 +109,7 @@ use a different version of this client.
| 1.7.3-1.7.5 | 1.15.1 | 2.0.12.Final |
| 2.0.0-2.1.0 | 1.22.1 | 2.0.25.Final |
| 20.03.0-20.03.3 | 1.26.0 | 2.0.26.Final |
| >= 20.11.0 | 1.34.1 | 2.0.31.Final |

So, for example, if you were using `dgraph4j v20.03.0`, then you would need to use `2.0.26-Final`
as the version for `netty-tcnative-boringssl-static` dependency as suggested by gRPC docs for
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ apply plugin: 'signing'

group = 'io.dgraph'
archivesBaseName = 'dgraph4j'
version = '20.03.3'
version = '20.11.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8

def grpcVersion = '1.26.0'
def grpcVersion = '1.34.1'
def dgraph4jVersion = "$version"
def openCensusVersion = '0.23.0'

Expand Down
2 changes: 1 addition & 1 deletion samples/DgraphJavaSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repositories {

dependencies {
// Use Dgraph Java client
compile 'io.dgraph:dgraph4j:20.03.1'
compile 'io.dgraph:dgraph4j:20.11.0'

// Use JUnit test framework
testCompile 'junit:junit:4.12'
Expand Down
2 changes: 1 addition & 1 deletion samples/concurrent-modification/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<dependency>
<groupId>io.dgraph</groupId>
<artifactId>dgraph4j</artifactId>
<version>20.03.1</version>
<version>20.11.0</version>
</dependency>
</dependencies>
</project>

0 comments on commit c085d8a

Please sign in to comment.