Skip to content

Tags: openfga/java-sdk

Tags

v0.9.9

Toggle v0.9.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release: v0.9.9 (#340)

* chore: release 0.9.9

Release-As: 0.9.9

* release: v0.9.9

* fix: Update CHANGELOG for release 0.9.9

Added new features and fixed issues in release 0.9.9. This includes oauth2 scopes for authentication and a new counter metric for HTTP requests.

---------

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>

v0.9.8

Toggle v0.9.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release: v0.9.8 (#334)

* chore: release 0.9.8

Release-As: 0.9.8

* release: v0.9.8

* fix: changelog and acknowledge contributor

Updated the changelog to reflect new features and fixes, including the addition of a counter metric for HTTP requests and acknowledgment for contributions.

---------

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>

v0.9.7

Toggle v0.9.7's commit message

Verified

This tag was signed with the committer’s verified signature.
SoulPancake Anurag Bandyopadhyay
v0.9.7

Added
- Introduced `StreamingApiExecutor` for executing HTTP requests to streaming endpoints not yet wrapped by the SDK (#296)

Fixed
- fix: share single Telemetry instance per SDK client (#290)
- fix: Socket Badge URL in README.md (#306)

v0.9.6

Toggle v0.9.6's commit message

Verified

This tag was signed with the committer’s verified signature.
SoulPancake Anurag Bandyopadhyay
v0.9.6

Added
- Introduced `ApiExecutor` for executing custom HTTP requests to OpenFGA API endpoints (#273, #277)

Breaking Changes
- Minimum Java version requirement increased to Java 17 (#282) - Java 11 support removed (#282)

v0.9.5

Toggle v0.9.5's commit message

Verified

This tag was signed with the committer’s verified signature.
SoulPancake Anurag Bandyopadhyay
v0.9.5

- feat: support for streamed list objects (#252, #272)

v0.9.4

Toggle v0.9.4's commit message

Verified

This tag was signed with the committer’s verified signature.
SoulPancake Anurag Bandyopadhyay
v0.9.4

Changed
- Improved error handling and integration test coverage for FgaError and related classes. (#260)

v0.9.3

Toggle v0.9.3's commit message

Verified

This tag was signed with the committer’s verified signature.
SoulPancake Anurag Bandyopadhyay
v0.9.3

Fixed:

- fix: preserve response headers in transaction write operations (#254)

v0.9.2

Toggle v0.9.2's commit message

Verified

This tag was signed with the committer’s verified signature.
ewanharris Ewan Harris
v0.9.2

Added:
- Add support for write conflict options (#234)
  - The SDK now supports setting a `onDuplicate` for writing tuples (`ClientWriteOptions` or `ClientWriteTuplesOptions`) and `onMissing` (`ClientWriteOptions` or `ClientDeleteTuplesOptions`) for deleting tuples. See the [documentation](https://github.com/openfga/java-sdk#conflict-options-for-write-operations) for more details.
- Add support for `name` filter on `ListStores` (#237)
  - Thanks to @Oscmage and @varkart for their work on this!

v0.9.1

Toggle v0.9.1's commit message

Verified

This tag was signed with the committer’s verified signature.
ewanharris Ewan Harris
v0.9.1

Fixed:
- Override `defaultHeaders` in `ClientConfiguration` to return correct type when using method (#226)
- Correctly handle options with no modelID set in `readAuthorizationModel` (#226)
- Include headers when converting from `ClientListRelationsOptions` to `ClientBatchCheckOptions` (#226)
-

v0.9.0

Toggle v0.9.0's commit message

Verified

This tag was signed with the committer’s verified signature.
jimmyjames Jim Anderson
v0.9.0

Added:
- RFC 9110 compliant `Retry-After` header support with exponential backoff and jitter
- `Retry-After` header value exposed in error objects for better observability
- `FgaError` now exposes `Retry-After` header value via `getRetryAfterHeader()` method

Changed:
- Enhanced retry strategy with delay calculation
- **BREAKING**: Maximum allowable retry count is now enforced at 15 (default remains 3)
- **BREAKING**: Configuration.minimumRetryDelay() now requires non-null values and validates input, throwing IllegalArgumentException for null or negative values

Migration Guide:
- Update error handling code if using FgaError properties - new getRetryAfterHeader() method available
- Note: Maximum allowable retries is now enforced at 15 (validation added to prevent exceeding this limit)
- **IMPORTANT**: Configuration.minimumRetryDelay() now requires non-null values and validates input - ensure you're not passing null or negative Duration values, as this will now throw IllegalArgumentException. Previously null values were silently accepted and would fall back to default behavior at runtime.

Fixed:
- Fixed issue where telemetry metrics are not being exported correctly [#590](openfga/sdk-generator#590)
- Fixed issue with non-transactional write error handling [https://github.com/openfga/sdk-generator/pull/573](https://github.com/openfga/sdk-generator/pull/573)