Releases: openfga/java-sdk
Releases · openfga/java-sdk
v0.9.1
v0.9.0
0.9.0 (2025-08-15)
Added
- RFC 9110 compliant
Retry-After
header support with exponential backoff and jitter Retry-After
header value exposed in error objects for better observabilityFgaError
now exposesRetry-After
header value viagetRetryAfterHeader()
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:%0A%0A - 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
- Fixed issue with non-transactional write error handling #573
Feature
- Implements feature to improve the retry strategy #155
v0.8.3
v0.8.2
v0.8.2-beta.1
0.8.2-beta.1 (2025-07-01)
v0.8.1
v0.8.0
0.8.0 (2025-02-07)
- feat!: add support for server-side
batchCheck
method (#141) - thanks @piotrooo!!
This is a more efficient way to check on multiple tuples than calling the existing client-sidebatchCheck
. Using this method requires an OpenFGA v1.8.0+ server.
The existingbatchCheck
method has been renamed toclientBatchCheck
.
The existingBatchCheckResponse
has been renamed toClientBatchCheckResponse
. - feat: add support for
start_time
parameter inReadChanges
endpoint (#137)
BREAKING CHANGES:
- Usage of the existing
batchCheck
method should now use theclientBatchCheck
method.
v0.7.2
v0.7.1
v0.7.0
0.7.0 (2024-08-28)
- feat: support consistency parameter #107
- Note: To use this feature, you need to be running OpenFGA v1.5.7+ with the experimental flag
enable-consistency-params
enabled. See the v1.5.7 release notes for details.