Skip to content

Commit

Permalink
release(java-sdk): v0.6.0 (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Aug 19, 2024
2 parents 7fb19a1 + ee2cade commit ed95236
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
8 changes: 7 additions & 1 deletion config/clients/java/CHANGELOG.md.mustache
Original file line number Diff line number Diff line change
@@ -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://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/compare/v0.4.0...v0.5.0) (2024-06-14)

- chore!: remove excluded users from ListUsers response

BREAKING CHANGE:
Expand Down Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion config/clients/java/config.overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"gitRepoId": "java-sdk",
"artifactId": "openfga-sdk",
"groupId": "dev.openfga",
"packageVersion": "0.5.0",
"packageVersion": "0.6.0",
"apiPackage": "dev.openfga.sdk.api",
"authPackage": "dev.openfga.sdk.api.auth",
"clientPackage": "dev.openfga.sdk.api.client",
Expand Down
4 changes: 2 additions & 2 deletions config/clients/java/template/.github/workflows/fossa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
run: ./gradlew build

- name: Run FOSSA scan and upload build data
uses: fossas/fossa-action@47ef11b1e1e3812e88dae436ccbd2d0cbd1adab0 # v1.3.3
uses: fossas/fossa-action@09bcf127dc0ccb4b5a023f6f906728878e8610ba # v1.4.0
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
branch: ${{ github.ref_name }}

- name: Run FOSSA tests
uses: fossas/fossa-action@47ef11b1e1e3812e88dae436ccbd2d0cbd1adab0 # v1.3.3
uses: fossas/fossa-action@09bcf127dc0ccb4b5a023f6f906728878e8610ba # v1.4.0
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
run-tests: true
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
cache: gradle

- name: Set up Gradle
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0

- name: Test and Build with Gradle
run: |
Expand Down Expand Up @@ -60,10 +60,10 @@ jobs:
distribution: "temurin"

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
uses: gradle/actions/wrapper-validation@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0

- name: Setup Gradle
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0

# Tasks created by https://github.com/gradle-nexus/publish-plugin
- name: Publish package
Expand Down Expand Up @@ -93,10 +93,10 @@ jobs:
distribution: "temurin"

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
uses: gradle/actions/wrapper-validation@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0

- name: Setup Gradle
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0

# Tasks created by https://docs.gradle.org/current/userguide/publishing_maven.html
- name: Publish package
Expand Down
2 changes: 1 addition & 1 deletion config/clients/java/template/build.gradle.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ext {
swagger_annotations_version = "2.2.9"
{{/swagger2AnnotationLibrary}}
jackson_version = "2.17.2"
junit_version = "5.10.3"
junit_version = "5.11.0"
{{#hasFormParamsInSpec}}
httpmime_version = "4.5.13"
{{/hasFormParamsInSpec}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'application'
id 'com.diffplug.spotless' version '6.23.3'
id 'org.jetbrains.kotlin.jvm' version '2.0.0-Beta2'
id 'com.diffplug.spotless' version '6.25.0'
id 'org.jetbrains.kotlin.jvm' version '2.0.20-RC2'
}

application {
Expand All @@ -19,7 +19,7 @@ repositories {
}

ext {
jacksonVersion = "2.17.1"
jacksonVersion = "2.17.2"
}

dependencies {
Expand Down

0 comments on commit ed95236

Please sign in to comment.