Skip to content

Commit 899bc3e

Browse files
jimmyjamesrhamzeh
andauthored
release!: release v0.8.0 (#144)
* release!: release v0.8.0 * Update CHANGELOG.md Co-authored-by: Raghd Hamzeh <raghd.hamzeh@auth0.com> --------- Co-authored-by: Raghd Hamzeh <raghd.hamzeh@auth0.com>
1 parent b7484e6 commit 899bc3e

File tree

7 files changed

+22
-16
lines changed

7 files changed

+22
-16
lines changed

CHANGELOG.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Changelog
22

3-
## [Unreleased](https://github.com/openfga/java-sdk/compare/v0.7.2...HEAD)
3+
## [Unreleased](https://github.com/openfga/java-sdk/compare/v0.8.0...HEAD)
44

5-
- feat!: add support for server-side `BatchCheck` method
6-
- feat: add support for `start_time` parameter in `ReadChanges` endpoint
5+
## v0.8.0
76

8-
BREAKING CHANGES:
7+
### [0.8.0](https://github.com/openfga/java-sdk/compare/v0.7.2...v0.8.0) (2025-02-07)
8+
9+
- feat!: add support for server-side [`batchCheck`](https://openfga.dev/docs/interacting/relationship-queries#batch-check) method (#141) - thanks @piotrooo!!
10+
This is a more efficient way to check on multiple tuples than calling the existing client-side `batchCheck`. Using this method requires an OpenFGA [v1.8.0+](https://github.com/openfga/openfga/releases/tag/v1.8.0) server.
11+
The existing `batchCheck` method has been renamed to `clientBatchCheck`.
12+
The existing `BatchCheckResponse` has been renamed to `ClientBatchCheckResponse`.
13+
- feat: add support for `start_time` parameter in `ReadChanges` endpoint (#137)
914

15+
BREAKING CHANGES:
1016
- Usage of the existing `batchCheck` method should now use the `clientBatchCheck` method.
1117

1218
## v0.7.2

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ It can be used with the following:
7979
* Gradle (Groovy)
8080

8181
```groovy
82-
implementation 'dev.openfga:openfga-sdk:0.7.2'
82+
implementation 'dev.openfga:openfga-sdk:0.8.0'
8383
```
8484

8585
* Gradle (Kotlin)
8686

8787
```kotlin
88-
implementation("dev.openfga:openfga-sdk:0.7.2")
88+
implementation("dev.openfga:openfga-sdk:0.8.0")
8989
```
9090

9191
* Apache Maven
@@ -94,26 +94,26 @@ implementation("dev.openfga:openfga-sdk:0.7.2")
9494
<dependency>
9595
<groupId>dev.openfga</groupId>
9696
<artifactId>openfga-sdk</artifactId>
97-
<version>0.7.2</version>
97+
<version>0.8.0</version>
9898
</dependency>
9999
```
100100

101101
* Ivy
102102

103103
```xml
104-
<dependency org="dev.openfga" name="openfga-sdk" rev="0.7.2"/>
104+
<dependency org="dev.openfga" name="openfga-sdk" rev="0.8.0"/>
105105
```
106106

107107
* SBT
108108

109109
```scala
110-
libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.7.2"
110+
libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.8.0"
111111
```
112112

113113
* Leiningen
114114

115115
```edn
116-
[dev.openfga/openfga-sdk "0.7.2"]
116+
[dev.openfga/openfga-sdk "0.8.0"]
117117
```
118118

119119

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ plugins {
1919
apply from: 'publish.gradle'
2020

2121
group = 'dev.openfga'
22-
version = '0.7.2'
22+
version = '0.8.0'
2323

2424
repositories {
2525
mavenCentral()

example/example1/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ext {
2323
}
2424

2525
dependencies {
26-
implementation("dev.openfga:openfga-sdk:0.7.2")
26+
implementation("dev.openfga:openfga-sdk:0.8.0")
2727

2828
// Serialization
2929
implementation("com.fasterxml.jackson.core:jackson-core:$jacksonVersion")

publish.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ publishing {
66
pom {
77
group = 'dev.openfga'
88
name = 'openfga-sdk'
9-
version = '0.7.2'
9+
version = '0.8.0'
1010
description = 'This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).'
1111
url = 'https://openfga.dev'
1212
licenses {

src/main/java/dev/openfga/sdk/api/configuration/Configuration.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
* Configurations for an api client.
3131
*/
3232
public class Configuration implements BaseConfiguration {
33-
public static final String VERSION = "0.7.2";
33+
public static final String VERSION = "0.8.0";
3434

3535
private static final String DEFAULT_API_URL = "http://localhost:8080";
36-
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.7.2";
36+
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.8.0";
3737
private static final Duration DEFAULT_READ_TIMEOUT = Duration.ofSeconds(10);
3838
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration.ofSeconds(10);
3939

src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
class ConfigurationTest {
2424
private static final String DEFAULT_API_URL = "http://localhost:8080";
25-
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.7.2";
25+
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.8.0";
2626
private static final Duration DEFAULT_READ_TIMEOUT = Duration.ofSeconds(10);
2727
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration.ofSeconds(10);
2828
private static final Map<String, String> DEFAULT_HEADERS = Map.of();

0 commit comments

Comments
 (0)