File tree 7 files changed +22
-16
lines changed
main/java/dev/openfga/sdk/api/configuration
test/java/dev/openfga/sdk/api/configuration
7 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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 )
4
4
5
- - feat!: add support for server-side ` BatchCheck ` method
6
- - feat: add support for ` start_time ` parameter in ` ReadChanges ` endpoint
5
+ ## v0.8.0
7
6
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 )
9
14
15
+ BREAKING CHANGES:
10
16
- Usage of the existing ` batchCheck ` method should now use the ` clientBatchCheck ` method.
11
17
12
18
## v0.7.2
Original file line number Diff line number Diff line change @@ -79,13 +79,13 @@ It can be used with the following:
79
79
* Gradle (Groovy)
80
80
81
81
``` groovy
82
- implementation 'dev.openfga:openfga-sdk:0.7.2 '
82
+ implementation 'dev.openfga:openfga-sdk:0.8.0 '
83
83
```
84
84
85
85
* Gradle (Kotlin)
86
86
87
87
``` kotlin
88
- implementation(" dev.openfga:openfga-sdk:0.7.2 " )
88
+ implementation(" dev.openfga:openfga-sdk:0.8.0 " )
89
89
```
90
90
91
91
* Apache Maven
@@ -94,26 +94,26 @@ implementation("dev.openfga:openfga-sdk:0.7.2")
94
94
<dependency >
95
95
<groupId >dev.openfga</groupId >
96
96
<artifactId >openfga-sdk</artifactId >
97
- <version >0.7.2 </version >
97
+ <version >0.8.0 </version >
98
98
</dependency >
99
99
```
100
100
101
101
* Ivy
102
102
103
103
``` 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 " />
105
105
```
106
106
107
107
* SBT
108
108
109
109
``` scala
110
- libraryDependencies += " dev.openfga" % " openfga-sdk" % " 0.7.2 "
110
+ libraryDependencies += " dev.openfga" % " openfga-sdk" % " 0.8.0 "
111
111
```
112
112
113
113
* Leiningen
114
114
115
115
``` edn
116
- [dev.openfga/openfga-sdk " 0.7.2 " ]
116
+ [dev.openfga/openfga-sdk " 0.8.0 " ]
117
117
```
118
118
119
119
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ plugins {
19
19
apply from : ' publish.gradle'
20
20
21
21
group = ' dev.openfga'
22
- version = ' 0.7.2 '
22
+ version = ' 0.8.0 '
23
23
24
24
repositories {
25
25
mavenCentral()
Original file line number Diff line number Diff line change 23
23
}
24
24
25
25
dependencies {
26
- implementation(" dev.openfga:openfga-sdk:0.7.2 " )
26
+ implementation(" dev.openfga:openfga-sdk:0.8.0 " )
27
27
28
28
// Serialization
29
29
implementation(" com.fasterxml.jackson.core:jackson-core:$jacksonVersion " )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ publishing {
6
6
pom {
7
7
group = ' dev.openfga'
8
8
name = ' openfga-sdk'
9
- version = ' 0.7.2 '
9
+ version = ' 0.8.0 '
10
10
description = ' This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).'
11
11
url = ' https://openfga.dev'
12
12
licenses {
Original file line number Diff line number Diff line change 30
30
* Configurations for an api client.
31
31
*/
32
32
public class Configuration implements BaseConfiguration {
33
- public static final String VERSION = "0.7.2 " ;
33
+ public static final String VERSION = "0.8.0 " ;
34
34
35
35
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 " ;
37
37
private static final Duration DEFAULT_READ_TIMEOUT = Duration .ofSeconds (10 );
38
38
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration .ofSeconds (10 );
39
39
Original file line number Diff line number Diff line change 22
22
23
23
class ConfigurationTest {
24
24
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 " ;
26
26
private static final Duration DEFAULT_READ_TIMEOUT = Duration .ofSeconds (10 );
27
27
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration .ofSeconds (10 );
28
28
private static final Map <String , String > DEFAULT_HEADERS = Map .of ();
You can’t perform that action at this time.
0 commit comments