File tree 8 files changed +23
-14
lines changed
main/java/dev/openfga/sdk
test/java/dev/openfga/sdk/api/configuration
8 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
12
## v0.7.0
4
13
5
14
### [ 0.7.0] ( https://github.com/openfga/java-sdk/compare/v0.6.1...v0.7.0 ) (2024-08-28)
Original file line number Diff line number Diff line change @@ -77,13 +77,13 @@ It can be used with the following:
77
77
* Gradle (Groovy)
78
78
79
79
``` groovy
80
- implementation 'dev.openfga:openfga-sdk:0.7.0 '
80
+ implementation 'dev.openfga:openfga-sdk:0.7.1 '
81
81
```
82
82
83
83
* Gradle (Kotlin)
84
84
85
85
``` kotlin
86
- implementation(" dev.openfga:openfga-sdk:0.7.0 " )
86
+ implementation(" dev.openfga:openfga-sdk:0.7.1 " )
87
87
```
88
88
89
89
* Apache Maven
@@ -92,26 +92,26 @@ implementation("dev.openfga:openfga-sdk:0.7.0")
92
92
<dependency >
93
93
<groupId >dev.openfga</groupId >
94
94
<artifactId >openfga-sdk</artifactId >
95
- <version >0.7.0 </version >
95
+ <version >0.7.1 </version >
96
96
</dependency >
97
97
```
98
98
99
99
* Ivy
100
100
101
101
``` 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 " />
103
103
```
104
104
105
105
* SBT
106
106
107
107
``` scala
108
- libraryDependencies += " dev.openfga" % " openfga-sdk" % " 0.7.0 "
108
+ libraryDependencies += " dev.openfga" % " openfga-sdk" % " 0.7.1 "
109
109
```
110
110
111
111
* Leiningen
112
112
113
113
``` edn
114
- [dev.openfga/openfga-sdk " 0.7.0 " ]
114
+ [dev.openfga/openfga-sdk " 0.7.1 " ]
115
115
```
116
116
117
117
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ plugins {
19
19
apply from : ' publish.gradle'
20
20
21
21
group = ' dev.openfga'
22
- version = ' 0.7.0 '
22
+ version = ' 0.7.1 '
23
23
24
24
repositories {
25
25
mavenCentral()
Original file line number Diff line number Diff line change 23
23
}
24
24
25
25
dependencies {
26
- implementation(" dev.openfga:openfga-sdk:0.7.0 " )
26
+ implementation(" dev.openfga:openfga-sdk:0.7.1 " )
27
27
28
28
// Serialization
29
29
implementation(" com.fasterxml.jackson.core:jackson-core:$jacksonVersion " )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ publishing {
6
6
pom {
7
7
group = ' dev.openfga'
8
8
name = ' openfga-sdk'
9
- version = ' 0.7.0 '
9
+ version = ' 0.7.1 '
10
10
description = ' This is an autogenerated Java SDK for OpenFGA. It provides a wrapper around the [OpenFGA API definition](https://openfga.dev/api).'
11
11
url = ' https://openfga.dev'
12
12
licenses {
Original file line number Diff line number Diff line change 30
30
* Configurations for an api client.
31
31
*/
32
32
public class Configuration implements BaseConfiguration {
33
- public static final String VERSION = "0.7.0 " ;
33
+ public static final String VERSION = "0.7.1 " ;
34
34
35
35
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 " ;
37
37
private static final Duration DEFAULT_READ_TIMEOUT = Duration .ofSeconds (10 );
38
38
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration .ofSeconds (10 );
39
39
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ public class Metrics {
19
19
private final Configuration configuration ;
20
20
21
21
public Metrics () {
22
- this .meter = OpenTelemetry .noop ().getMeterProvider ().get ("openfga-sdk/0.7.0 " );
22
+ this .meter = OpenTelemetry .noop ().getMeterProvider ().get ("openfga-sdk" );
23
23
this .counters = new HashMap <>();
24
24
this .histograms = new HashMap <>();
25
25
this .configuration = new Configuration ();
26
26
}
27
27
28
28
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" );
30
30
this .counters = new HashMap <>();
31
31
this .histograms = new HashMap <>();
32
32
this .configuration = configuration ;
Original file line number Diff line number Diff line change 22
22
23
23
class ConfigurationTest {
24
24
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 " ;
26
26
private static final Duration DEFAULT_READ_TIMEOUT = Duration .ofSeconds (10 );
27
27
private static final Duration DEFAULT_CONNECT_TIMEOUT = Duration .ofSeconds (10 );
28
28
private static final Map <String , String > DEFAULT_HEADERS = Map .of ();
You can’t perform that action at this time.
0 commit comments