diff --git a/CHANGELOG.md b/CHANGELOG.md
index 759a2c7..94f327a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,14 @@
# Changelog
+## v0.6.0
+
+- feat: support [OpenTelemetry metrics reporting](https://github.com/openfga/java-sdk/blob/main/docs/OpenTelemetry.md) [\#94](https://github.com/openfga/java-sdk/pull/94) [\#95](https://github.com/openfga/java-sdk/pull/95)
+- chore: update dependencies [\#100](https://github.com/openfga/java-sdk/pull/100) [\#101](https://github.com/openfga/java-sdk/pull/100) [\#102](https://github.com/openfga/java-sdk/pull/102) [\#103](https://github.com/openfga/java-sdk/pull/103)
+
## 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:
@@ -92,7 +98,7 @@ No changes, this patch release is just to test release automation.
will automatically be retried. (With the exception of the HTTP 501 "Not Implemented" status code.)
- feat(client): new response error classes have been introduced to classify FGA error responses
- feat(client): response types have been enriched with HTTP status/header/body response data
-- feat(client): response errors have been enriched with data from both the HTTP request and its repsonse
+- feat(client): response errors have been enriched with data from both the HTTP request and its repsonse
- [BREAKING] refactor(client): in the lower level OpenFgaApi class, api calls and api calls "...WithHttpInfo"
are collapsed into a single api call that always includes HTTP information.
diff --git a/README.md b/README.md
index b5a7dab..09f4996 100644
--- a/README.md
+++ b/README.md
@@ -77,13 +77,13 @@ It can be used with the following:
* Gradle (Groovy)
```groovy
-implementation 'dev.openfga:openfga-sdk:0.5.0'
+implementation 'dev.openfga:openfga-sdk:0.6.0'
```
* Gradle (Kotlin)
```kotlin
-implementation("dev.openfga:openfga-sdk:0.5.0")
+implementation("dev.openfga:openfga-sdk:0.6.0")
```
* Apache Maven
@@ -92,26 +92,26 @@ implementation("dev.openfga:openfga-sdk:0.5.0")
dev.openfga
openfga-sdk
- 0.5.0
+ 0.6.0
```
* Ivy
```xml
-
+
```
* SBT
```scala
-libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.5.0"
+libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.6.0"
```
* Leiningen
```edn
-[dev.openfga/openfga-sdk "0.5.0"]
+[dev.openfga/openfga-sdk "0.6.0"]
```
diff --git a/build.gradle b/build.gradle
index f0fc928..c2936ed 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,7 +19,7 @@ plugins {
apply from: 'publish.gradle'
group = 'dev.openfga'
-version = '0.5.0'
+version = '0.6.0'
repositories {
mavenCentral()
diff --git a/example/example1/build.gradle b/example/example1/build.gradle
index 8923346..7b189f7 100644
--- a/example/example1/build.gradle
+++ b/example/example1/build.gradle
@@ -23,7 +23,7 @@ ext {
}
dependencies {
- implementation("dev.openfga:openfga-sdk:0.5.0")
+ implementation("dev.openfga:openfga-sdk:0.6.0")
// Serialization
implementation("com.fasterxml.jackson.core:jackson-core:$jacksonVersion")
diff --git a/publish.gradle b/publish.gradle
index 045f4b9..59ecad1 100644
--- a/publish.gradle
+++ b/publish.gradle
@@ -6,7 +6,7 @@ publishing {
pom {
group = 'dev.openfga'
name = 'openfga-sdk'
- version = '0.5.0'
+ version = '0.6.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 84cc97c..e104bbc 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.5.0";
+ public static final String VERSION = "0.6.0";
private static final String DEFAULT_API_URL = "http://localhost:8080";
- private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.5.0";
+ private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.6.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/main/java/dev/openfga/sdk/telemetry/Metrics.java b/src/main/java/dev/openfga/sdk/telemetry/Metrics.java
index 4705715..e09fb36 100644
--- a/src/main/java/dev/openfga/sdk/telemetry/Metrics.java
+++ b/src/main/java/dev/openfga/sdk/telemetry/Metrics.java
@@ -19,14 +19,14 @@ public class Metrics {
private final Configuration configuration;
public Metrics() {
- this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.5.0");
+ this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.6.0");
this.counters = new HashMap<>();
this.histograms = new HashMap<>();
this.configuration = new Configuration();
}
public Metrics(Configuration configuration) {
- this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.5.0");
+ this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.6.0");
this.counters = new HashMap<>();
this.histograms = new HashMap<>();
this.configuration = configuration;
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 24e6d5d..b94f58d 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.5.0";
+ private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.6.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();