diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8478b10..759a2c7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,15 @@
# Changelog
+## v0.5.0
+
+### [0.5.0](https://github.com/openfga/java-sdk/compare/v0.4.0...v0.5.0) (2024-06-14)
+- chore!: remove excluded users from ListUsers response
+
+BREAKING CHANGE:
+
+This version removes `getExcludedUsers` and `setExcludedUsers` from the `ListUsersResponse` and `ClientListUsersResponse` classes,
+for more details see the [associated API change](https://github.com/openfga/api/pull/171).
+
## v0.4.2
### [0.4.2](https://github.com/openfga/java-sdk/compare/v0.4.1...v0.4.2) (2024-05-02)
diff --git a/README.md b/README.md
index bf83b4f..209ac16 100644
--- a/README.md
+++ b/README.md
@@ -76,13 +76,13 @@ It can be used with the following:
* Gradle (Groovy)
```groovy
-implementation 'dev.openfga:openfga-sdk:0.4.2'
+implementation 'dev.openfga:openfga-sdk:0.5.0'
```
* Gradle (Kotlin)
```kotlin
-implementation("dev.openfga:openfga-sdk:0.4.2")
+implementation("dev.openfga:openfga-sdk:0.5.0")
```
* Apache Maven
@@ -91,26 +91,26 @@ implementation("dev.openfga:openfga-sdk:0.4.2")
dev.openfga
openfga-sdk
- 0.4.2
+ 0.5.0
```
* Ivy
```xml
-
+
```
* SBT
```scala
-libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.4.2"
+libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.5.0"
```
* Leiningen
```edn
-[dev.openfga/openfga-sdk "0.4.2"]
+[dev.openfga/openfga-sdk "0.5.0"]
```
diff --git a/build.gradle b/build.gradle
index 1a019a7..105088f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,7 +19,7 @@ plugins {
apply from: 'publish.gradle'
group = 'dev.openfga'
-version = '0.4.2'
+version = '0.5.0'
repositories {
mavenCentral()
diff --git a/publish.gradle b/publish.gradle
index 2f486d0..045f4b9 100644
--- a/publish.gradle
+++ b/publish.gradle
@@ -6,7 +6,7 @@ publishing {
pom {
group = 'dev.openfga'
name = 'openfga-sdk'
- version = '0.4.2'
+ version = '0.5.0'
description = 'This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).'
url = 'https://openfga.dev'
licenses {
diff --git a/src/main/java/dev/openfga/sdk/api/configuration/Configuration.java b/src/main/java/dev/openfga/sdk/api/configuration/Configuration.java
index 022943b..ce536a1 100644
--- a/src/main/java/dev/openfga/sdk/api/configuration/Configuration.java
+++ b/src/main/java/dev/openfga/sdk/api/configuration/Configuration.java
@@ -30,10 +30,10 @@
* Configurations for an api client.
*/
public class Configuration implements BaseConfiguration {
- public static final String VERSION = "0.4.2";
+ public static final String VERSION = "0.5.0";
private static final String DEFAULT_API_URL = "http://localhost:8080";
- private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.2";
+ private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.5.0";
private static final Duration DEFAULT_READ_TIMEOUT = Duration.ofSeconds(10);
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration.ofSeconds(10);
diff --git a/src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java b/src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java
index 7fe6fb2..24e6d5d 100644
--- a/src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java
+++ b/src/test/java/dev/openfga/sdk/api/configuration/ConfigurationTest.java
@@ -22,7 +22,7 @@
class ConfigurationTest {
private static final String DEFAULT_API_URL = "http://localhost:8080";
- private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.2";
+ private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.5.0";
private static final Duration DEFAULT_READ_TIMEOUT = Duration.ofSeconds(10);
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration.ofSeconds(10);
private static final Map DEFAULT_HEADERS = Map.of();