From 1afb41411a1d7d461f7b5bd19ab530e24c5803c5 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Tue, 9 Apr 2024 13:42:24 +0100 Subject: [PATCH] release: v0.4.1 --- CHANGELOG.md | 10 ++++++++++ README.md | 12 ++++++------ build.gradle | 2 +- publish.gradle | 2 +- .../openfga/sdk/api/configuration/Configuration.java | 4 ++-- .../sdk/api/configuration/ConfigurationTest.java | 2 +- 6 files changed, 21 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5ce880..7e651a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## v0.4.1 + +### [0.4.1](https://github.com/openfga/java-sdk/compare/v0.4.0...v0.4.1) (2024-04-09) + +- feat: support setting context on ListObjects - thanks @Didier-SimpleCommeDev +- feat: support setting context and contextual tuples on ListRelations +- feat: add retries to OAuth2 Client Credentials request +- feat: support modular models metadata +- fix: avoid clone of object mapper - thanks @paulosuzart + ## v0.4.0 ### [0.4.0](https://github.com/openfga/java-sdk/compare/v0.3.2...v0.4.0) (2024-03-04) diff --git a/README.md b/README.md index a454803..aec3941 100644 --- a/README.md +++ b/README.md @@ -75,13 +75,13 @@ It can be used with the following: * Gradle (Groovy) ```groovy -implementation 'dev.openfga:openfga-sdk:0.4.0' +implementation 'dev.openfga:openfga-sdk:0.4.1' ``` * Gradle (Kotlin) ```kotlin -implementation("dev.openfga:openfga-sdk:0.4.0") +implementation("dev.openfga:openfga-sdk:0.4.1") ``` * Apache Maven @@ -90,26 +90,26 @@ implementation("dev.openfga:openfga-sdk:0.4.0") dev.openfga openfga-sdk - 0.4.0 + 0.4.1 ``` * Ivy ```xml - + ``` * SBT ```scala -libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.4.0" +libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.4.1" ``` * Leiningen ```edn -[dev.openfga/openfga-sdk "0.4.0"] +[dev.openfga/openfga-sdk "0.4.1"] ``` diff --git a/build.gradle b/build.gradle index 687d4fb..a781701 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ plugins { apply from: 'publish.gradle' group = 'dev.openfga' -version = '0.4.0' +version = '0.4.1' repositories { mavenCentral() diff --git a/publish.gradle b/publish.gradle index 717320b..8d51442 100644 --- a/publish.gradle +++ b/publish.gradle @@ -6,7 +6,7 @@ publishing { pom { group = 'dev.openfga' name = 'openfga-sdk' - version = '0.4.0' + version = '0.4.1' 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 03511ad..043800d 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.0"; + public static final String VERSION = "0.4.1"; private static final String DEFAULT_API_URL = "http://localhost:8080"; - private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.0"; + private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.1"; 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 692887f..aafa1fa 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.0"; + private static final String DEFAULT_USER_AGENT = "openfga-sdk java/0.4.1"; 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();