Skip to content

Commit caf4586

Browse files
authored
Merge pull request #105 from openfga/release/v0.6.1
release: v0.6.1
2 parents 7a60fd2 + 9d1552d commit caf4586

File tree

8 files changed

+26
-22
lines changed

8 files changed

+26
-22
lines changed

CHANGELOG.md

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

3+
## v0.6.1
4+
5+
- fix: Maven build issue
6+
37
## v0.6.0
48

59
- 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)

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.6.0'
80+
implementation 'dev.openfga:openfga-sdk:0.6.1'
8181
```
8282

8383
* Gradle (Kotlin)
8484

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

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

9999
* Ivy
100100

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

105105
* SBT
106106

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

111111
* Leiningen
112112

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

117117

build.gradle

+8-8
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.6.0'
22+
version = '0.6.1'
2323

2424
repositories {
2525
mavenCentral()
@@ -60,13 +60,13 @@ ext {
6060
}
6161

6262
dependencies {
63-
implementation "com.google.code.findbugs:jsr305:3.0.+"
63+
implementation "com.google.code.findbugs:jsr305:3.0.1"
6464
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
6565
implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
6666
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
6767
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
68-
implementation "org.openapitools:jackson-databind-nullable:0.2.+"
69-
implementation platform("io.opentelemetry:opentelemetry-bom:1.41.+")
68+
implementation "org.openapitools:jackson-databind-nullable:0.2.6"
69+
implementation platform("io.opentelemetry:opentelemetry-bom:1.41.0")
7070
implementation "io.opentelemetry:opentelemetry-api"
7171
}
7272

@@ -78,9 +78,9 @@ testing {
7878
dependencies {
7979
implementation project()
8080
implementation "org.junit.jupiter:junit-jupiter:$junit_version"
81-
implementation "org.mockito:mockito-core:5.+"
81+
implementation "org.mockito:mockito-core:5.12.0"
8282
runtimeOnly "org.junit.platform:junit-platform-launcher"
83-
implementation "org.wiremock:wiremock:3.9.+"
83+
implementation "org.wiremock:wiremock:3.9.1"
8484

8585
// This test-only dependency is convenient but not widely used.
8686
// Review project activity before updating the version here.
@@ -106,8 +106,8 @@ testing {
106106
dependencies {
107107
implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
108108
implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
109-
implementation "org.testcontainers:junit-jupiter:1.20.+"
110-
implementation "org.testcontainers:openfga:1.20.+"
109+
implementation "org.testcontainers:junit-jupiter:1.20.1"
110+
implementation "org.testcontainers:openfga:1.20.1"
111111
implementation project()
112112
}
113113

example/example1/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ ext {
2323
}
2424

2525
dependencies {
26-
implementation("dev.openfga:openfga-sdk:0.6.0")
26+
implementation("dev.openfga:openfga-sdk:0.6.1")
2727

2828
// Serialization
2929
implementation("com.fasterxml.jackson.core:jackson-core:$jacksonVersion")
3030
implementation("com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion")
3131
implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
3232
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jacksonVersion")
33-
implementation("org.openapitools:jackson-databind-nullable:0.2.+")
33+
implementation("org.openapitools:jackson-databind-nullable:0.2.6")
3434

3535
// Kotlin
3636
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"

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.6.0'
9+
version = '0.6.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.6.0";
33+
public static final String VERSION = "0.6.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.6.0";
36+
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.6.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.6.0");
22+
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.6.1");
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.6.0");
29+
this.meter = OpenTelemetry.noop().getMeterProvider().get("openfga-sdk/0.6.1");
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.6.0";
25+
private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.6.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)