Tags: openfga/java-sdk
Tags
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 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 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)
v0.8.0 Added: - support for server-side batchCheck method (#141) thansk @piotrooo! - support for start_time parameter in ReadChanges endpoint (#137) Breaking changes: - The existing batchCheck method has been renamed to clientBatchCheck. - The existing `BatchCheckResponse` has been renamed to `ClientBatchCheckResponse`.
PreviousNext