Skip to content

Commit 4947d98

Browse files
authored
Merge pull request #116 from openfga/release/v0.7.1
release: v0.7.1
2 parents 5f95518 + f58d0bf commit 4947d98

File tree

8 files changed

+23
-14
lines changed

8 files changed

+23
-14
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## v0.7.1
4+
5+
### [0.7.1](https://github.com/openfga/java-sdk/compare/v0.7.0...v0.7.1) (2024-09-23)
6+
7+
- refactor(OpenTelemetry): remove SDK version from meter name
8+
- fix(OpenTelemetry): `http.request.method` should be enabled by default (#114)
9+
- chore(deps): update dependencies (#110, #111, #112)
10+
- docs(OpenTelemetry): update Metrics and Attributes tables (#115)
11+
312
## v0.7.0
413

514
### [0.7.0](https://github.com/openfga/java-sdk/compare/v0.6.1...v0.7.0) (2024-08-28)

README.md

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

7979
```groovy
80-
implementation 'dev.openfga:openfga-sdk:0.7.0'
80+
implementation 'dev.openfga:openfga-sdk:0.7.1'
8181
```
8282

8383
* Gradle (Kotlin)
8484

8585
```kotlin
86-
implementation("dev.openfga:openfga-sdk:0.7.0")
86+
implementation("dev.openfga:openfga-sdk:0.7.1")
8787
```
8888

8989
* Apache Maven
@@ -92,26 +92,26 @@ implementation("dev.openfga:openfga-sdk:0.7.0")
9292
<dependency>
9393
<groupId>dev.openfga</groupId>
9494
<artifactId>openfga-sdk</artifactId>
95-
<version>0.7.0</version>
95+
<version>0.7.1</version>
9696
</dependency>
9797
```
9898

9999
* Ivy
100100

101101
```xml
102-
<dependency org="dev.openfga" name="openfga-sdk" rev="0.7.0"/>
102+
<dependency org="dev.openfga" name="openfga-sdk" rev="0.7.1"/>
103103
```
104104

105105
* SBT
106106

107107
```scala
108-
libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.7.0"
108+
libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.7.1"
109109
```
110110

111111
* Leiningen
112112

113113
```edn
114-
[dev.openfga/openfga-sdk "0.7.0"]
114+
[dev.openfga/openfga-sdk "0.7.1"]
115115
```
116116

117117

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.0'
22+
version = '0.7.1'
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.0")
26+
implementation("dev.openfga:openfga-sdk:0.7.1")
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.0'
9+
version = '0.7.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.7.0";
33+
public static final String VERSION = "0.7.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.7.0";
36+
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.7.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/main/java/dev/openfga/sdk/telemetry/Metrics.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ public class Metrics {
1919
private final Configuration configuration;
2020

2121
public Metrics() {
22-
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.7.0");
22+
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk");
2323
this.counters = new HashMap<>();
2424
this.histograms = new HashMap<>();
2525
this.configuration = new Configuration();
2626
}
2727

2828
public Metrics(Configuration configuration) {
29-
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.7.0");
29+
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk");
3030
this.counters = new HashMap<>();
3131
this.histograms = new HashMap<>();
3232
this.configuration = configuration;

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.0";
25+
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.7.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)