Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openfga/java-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.11
Choose a base ref
...
head repository: openfga/java-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.0
Choose a head ref
  • 9 commits
  • 23 files changed
  • 5 contributors

Commits on Aug 5, 2026

  1. fix: deprecate disableTransactions in favour of transactions() (#377)

    * fix: deprecate disableTransactions in favour of transactions()
    
    Re-apply @deprecated to both disableTransactions overloads with @deprecated
    Javadoc pointing to transactions(boolean) and isTransactionsEnabled(), now that
    the docs and examples teach the new API and it has shipped in 0.9.11.
    
    Migrate the internal test call sites to transactions() so the build stays
    warning-free, and add ClientWriteOptionsTest that intentionally exercises the
    deprecated path under @SuppressWarnings, asserting disableTransactions remains
    the exact inverse of transactions/isTransactionsEnabled.
    
    Refs #369
    
    * fix: apply spotless formatting to migrated test options
    
    Collapse the two transactions(true).transactionChunkSize(1) statements onto a
    single line to match palantir-java-format, as required by spotlessCheck.
    curfew-marathon authored Aug 5, 2026
    Configuration menu
    Copy the full SHA
    2d3b659 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2026

  1. chore(deps): bump com.github.jknack:handlebars from 4.5.3 to 4.5.4 (#378

    )
    
    Bumps [com.github.jknack:handlebars](https://github.com/jknack/handlebars.java) from 4.5.3 to 4.5.4.
    - [Release notes](https://github.com/jknack/handlebars.java/releases)
    - [Commits](jknack/handlebars.java@v4.5.3...v4.5.4)
    
    ---
    updated-dependencies:
    - dependency-name: com.github.jknack:handlebars
      dependency-version: 4.5.4
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 13, 2026
    Configuration menu
    Copy the full SHA
    37317f2 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2026

  1. fix: expose error status, headers and body on failed clientBatchCheck…

    … items (#381)
    
    * fix: expose error status, headers and body on failed clientBatchCheck items
    
    The throwable passed to ClientBatchCheckClientResponse is the
    CompletionException from the check future, so the instanceof FgaError
    branch never matched and statusCode, headers and rawResponse stayed
    null, making getStatusCode() throw NullPointerException. Unwrap the
    wrapper exception before the check.
    
    Fixes #380
    
    * fix: return nullable status code when no HTTP response is available
    
    Network failures (connection refused, timeout, DNS) exhaust retries and
    fail with a plain ApiException rather than an FgaError, so statusCode
    stays null and the primitive getStatusCode() threw the same
    NullPointerException as issue #380. Return a boxed, null-documented
    Integer instead of a fake sentinel status, document the null behaviour
    of getHeaders() and getRawResponse(), and cover the exhausted-retries
    network-failure path with a WireMock connection-fault test.
    SoulPancake authored Aug 31, 2026
    Configuration menu
    Copy the full SHA
    8da296e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2026

  1. chore(deps): bump the dependencies group with 3 updates (#385)

    Bumps the dependencies group with 3 updates: [actions/setup-java](https://github.com/actions/setup-java), [gradle/actions/setup-gradle](https://github.com/gradle/actions) and [gradle/actions/wrapper-validation](https://github.com/gradle/actions).
    
    
    Updates `actions/setup-java` from 5.6.0 to 6.0.0
    - [Release notes](https://github.com/actions/setup-java/releases)
    - [Commits](actions/setup-java@03ad4de...dd06d9c)
    
    Updates `gradle/actions/setup-gradle` from 6.2.0 to 6.3.0
    - [Release notes](https://github.com/gradle/actions/releases)
    - [Commits](gradle/actions@3f131e8...9c97196)
    
    Updates `gradle/actions/wrapper-validation` from 6.2.0 to 6.3.0
    - [Release notes](https://github.com/gradle/actions/releases)
    - [Commits](gradle/actions@3f131e8...9c97196)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-java
      dependency-version: 6.0.0
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: dependencies
    - dependency-name: gradle/actions/setup-gradle
      dependency-version: 6.3.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: gradle/actions/wrapper-validation
      dependency-version: 6.3.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2026
    Configuration menu
    Copy the full SHA
    55ee1e8 View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump gradle-wrapper (#384)

    Bumps the dependencies group in /examples/basic-examples with 1 update: [gradle-wrapper](https://github.com/gradle/gradle).
    
    
    Updates `gradle-wrapper` from 9.6.1 to 9.7.1
    - [Release notes](https://github.com/gradle/gradle/releases)
    - [Commits](gradle/gradle@v9.6.1...v9.7.1)
    
    ---
    updated-dependencies:
    - dependency-name: gradle-wrapper
      dependency-version: 9.7.1
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2026
    Configuration menu
    Copy the full SHA
    5629af5 View commit details
    Browse the repository at this point in the history
  3. chore(deps): bump the dependencies group with 3 updates (#382)

    Bumps the dependencies group with 3 updates: [com.fasterxml.jackson:jackson-bom](https://github.com/FasterXML/jackson-bom), [io.opentelemetry:opentelemetry-bom](https://github.com/open-telemetry/opentelemetry-java) and [gradle-wrapper](https://github.com/gradle/gradle).
    
    
    Updates `com.fasterxml.jackson:jackson-bom` from 2.22.1 to 2.22.2
    - [Commits](FasterXML/jackson-bom@jackson-bom-2.22.1...jackson-bom-2.22.2)
    
    Updates `io.opentelemetry:opentelemetry-bom` from 1.64.0 to 1.65.0
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.64.0...v1.65.0)
    
    Updates `gradle-wrapper` from 9.6.1 to 9.7.1
    - [Release notes](https://github.com/gradle/gradle/releases)
    - [Commits](gradle/gradle@v9.6.1...v9.7.1)
    
    ---
    updated-dependencies:
    - dependency-name: com.fasterxml.jackson:jackson-bom
      dependency-version: 2.22.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: dependencies
    - dependency-name: io.opentelemetry:opentelemetry-bom
      dependency-version: 1.65.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: gradle-wrapper
      dependency-version: 9.7.1
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2026
    Configuration menu
    Copy the full SHA
    0e937d5 View commit details
    Browse the repository at this point in the history
  4. chore(deps): bump the dependencies group (#383)

    Bumps the dependencies group in /examples/opentelemetry with 5 updates:
    
    | Package | From | To |
    | --- | --- | --- |
    | [io.opentelemetry:opentelemetry-sdk](https://github.com/open-telemetry/opentelemetry-java) | `1.64.0` | `1.65.0` |
    | [io.opentelemetry:opentelemetry-exporter-otlp](https://github.com/open-telemetry/opentelemetry-java) | `1.64.0` | `1.65.0` |
    | [io.opentelemetry:opentelemetry-sdk-extension-autoconfigure](https://github.com/open-telemetry/opentelemetry-java) | `1.64.0` | `1.65.0` |
    | [io.opentelemetry:opentelemetry-exporter-prometheus](https://github.com/open-telemetry/opentelemetry-java) | `1.64.0-alpha` | `1.65.0-alpha` |
    | [gradle-wrapper](https://github.com/gradle/gradle) | `9.6.1` | `9.7.1` |
    
    
    Updates `io.opentelemetry:opentelemetry-sdk` from 1.64.0 to 1.65.0
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.64.0...v1.65.0)
    
    Updates `io.opentelemetry:opentelemetry-exporter-otlp` from 1.64.0 to 1.65.0
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.64.0...v1.65.0)
    
    Updates `io.opentelemetry:opentelemetry-sdk-extension-autoconfigure` from 1.64.0 to 1.65.0
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.64.0...v1.65.0)
    
    Updates `io.opentelemetry:opentelemetry-exporter-prometheus` from 1.64.0-alpha to 1.65.0-alpha
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/open-telemetry/opentelemetry-java/commits)
    
    Updates `io.opentelemetry:opentelemetry-exporter-otlp` from 1.64.0 to 1.65.0
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.64.0...v1.65.0)
    
    Updates `io.opentelemetry:opentelemetry-sdk-extension-autoconfigure` from 1.64.0 to 1.65.0
    - [Release notes](https://github.com/open-telemetry/opentelemetry-java/releases)
    - [Changelog](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
    - [Commits](open-telemetry/opentelemetry-java@v1.64.0...v1.65.0)
    
    Updates `gradle-wrapper` from 9.6.1 to 9.7.1
    - [Release notes](https://github.com/gradle/gradle/releases)
    - [Commits](gradle/gradle@v9.6.1...v9.7.1)
    
    ---
    updated-dependencies:
    - dependency-name: io.opentelemetry:opentelemetry-sdk
      dependency-version: 1.65.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: io.opentelemetry:opentelemetry-exporter-otlp
      dependency-version: 1.65.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: io.opentelemetry:opentelemetry-sdk-extension-autoconfigure
      dependency-version: 1.65.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: io.opentelemetry:opentelemetry-exporter-prometheus
      dependency-version: 1.65.0-alpha
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: io.opentelemetry:opentelemetry-exporter-otlp
      dependency-version: 1.65.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: io.opentelemetry:opentelemetry-sdk-extension-autoconfigure
      dependency-version: 1.65.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: gradle-wrapper
      dependency-version: 9.7.1
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: dependencies
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2026
    Configuration menu
    Copy the full SHA
    842bbef View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2026

  1. fix: remove per-call thread pools in batchCheck and clientBatchCheck (#…

    …379)
    
    * fix: remove per-call thread pools in batchCheck and clientBatchCheck
    
    Replace the per-call ScheduledThreadPoolExecutor and blocking CountDownLatch
    with CompletableFuture lane composition. maxParallelRequests now actually bounds
    in-flight requests (it previously only sized a pool of threads that fired all
    requests at once), callers are no longer blocked until completion, non-positive
    maxParallelRequests is rejected, and response-processing errors fail the
    returned future instead of being swallowed while remaining batches are still
    attempted.
    
    * fix: reject non-positive maxBatchSize in batchCheck
    
    A zero maxBatchSize made the sub-batch math throw ArithmeticException
    and a negative one silently dropped every check, returning an empty
    success. Validate it like maxParallelRequests.
    
    * test: cover sibling-lane isolation when a batchCheck sub-batch fails processing
    
    With maxParallelRequests(2) and four sub-batches distributed round-robin
    across two lanes, a processing failure in one lane's sub-batch must not
    stop the sibling lane: both lanes keep dispatching their remaining
    sub-batches, all four are attempted, and the processing error still
    fails the returned future. The existing coverage only proved same-lane
    continuation with maxParallelRequests(1).
    SoulPancake authored Sep 2, 2026
    Configuration menu
    Copy the full SHA
    2aad182 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2026

  1. release: v0.10.0 (#386)

    * chore: release 0.10.0
    
    Release-As: 0.10.0
    
    * release: v0.10.0
    
    * chore: update changelog
    
    ---------
    
    Co-authored-by: openfga-releaser-bot <contact@openfga.dev>
    Co-authored-by: openfga-releaser-bot[bot] <274031225+openfga-releaser-bot[bot]@users.noreply.github.com>
    Co-authored-by: Anurag Bandyopadhyay <angbpy@gmail.com>
    3 people authored Sep 3, 2026
    Configuration menu
    Copy the full SHA
    0c5c5c7 View commit details
    Browse the repository at this point in the history
Loading