Skip to content

Commit 6717967

Browse files
authored
Merge pull request #73 from openfga/release/v0.4.1
release: v0.4.1
2 parents 988c3b4 + 1afb414 commit 6717967

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## v0.4.1
4+
5+
### [0.4.1](https://github.com/openfga/java-sdk/compare/v0.4.0...v0.4.1) (2024-04-09)
6+
7+
- feat: support setting context on ListObjects - thanks @Didier-SimpleCommeDev
8+
- feat: support setting context and contextual tuples on ListRelations
9+
- feat: add retries to OAuth2 Client Credentials request
10+
- feat: support modular models metadata
11+
- fix: avoid clone of object mapper - thanks @paulosuzart
12+
313
## v0.4.0
414

515
### [0.4.0](https://github.com/openfga/java-sdk/compare/v0.3.2...v0.4.0) (2024-03-04)

README.md

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

7777
```groovy
78-
implementation 'dev.openfga:openfga-sdk:0.4.0'
78+
implementation 'dev.openfga:openfga-sdk:0.4.1'
7979
```
8080

8181
* Gradle (Kotlin)
8282

8383
```kotlin
84-
implementation("dev.openfga:openfga-sdk:0.4.0")
84+
implementation("dev.openfga:openfga-sdk:0.4.1")
8585
```
8686

8787
* Apache Maven
@@ -90,26 +90,26 @@ implementation("dev.openfga:openfga-sdk:0.4.0")
9090
<dependency>
9191
<groupId>dev.openfga</groupId>
9292
<artifactId>openfga-sdk</artifactId>
93-
<version>0.4.0</version>
93+
<version>0.4.1</version>
9494
</dependency>
9595
```
9696

9797
* Ivy
9898

9999
```xml
100-
<dependency org="dev.openfga" name="openfga-sdk" rev="0.4.0"/>
100+
<dependency org="dev.openfga" name="openfga-sdk" rev="0.4.1"/>
101101
```
102102

103103
* SBT
104104

105105
```scala
106-
libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.4.0"
106+
libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.4.1"
107107
```
108108

109109
* Leiningen
110110

111111
```edn
112-
[dev.openfga/openfga-sdk "0.4.0"]
112+
[dev.openfga/openfga-sdk "0.4.1"]
113113
```
114114

115115

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.4.0'
22+
version = '0.4.1'
2323

2424
repositories {
2525
mavenCentral()

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.4.0'
9+
version = '0.4.1'
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.4.0";
33+
public static final String VERSION = "0.4.1";
3434

3535
private static final String DEFAULT_API_URL = "http://localhost:8080";
36-
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.0";
36+
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.1";
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.4.0";
25+
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.1";
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)