Releases: openfga/java-sdk
Releases · openfga/java-sdk
Release list
v0.4.2
v0.4.1
0.4.1 (2024-04-09)
- feat: support setting context on ListObjects - thanks @Didier-SimpleCommeDev
- feat: support setting context and contextual tuples on ListRelations
- feat: add retries to OAuth2 Client Credentials request
- feat: support modular models metadata
- fix: avoid clone of object mapper - thanks @paulosuzart
v0.4.0
0.4.0 (2024-03-04)
- fix!: reverse the transaction behaviour when
disableTransactionsis set onWrite
⚠️ This is a behavioral breaking change!
Previously, theOpenFgaClientreversed the behavior of write transactions based on thedisableTransactionsflag. This has been fixed so that batched writes are sent ifdisableTransactions == trueand a single transactional write if it is false (default).
v0.3.2
v0.3.1
v0.3.0
0.3.0 (2023-12-13)
- feat: support for Conditions
- feat: standard OpenFGA headers have been added to Write, BatchCheck, and ListRelations calls
- feat: apiTokenIssuer has been expanded to support arbitrary http and https URLs. previously it supported
only configuring a hostname - thanks @le-yams - feat: allow setting and overriding http headers
- [BREAKING] chore: use latest API interfaces
- chore: dependency updates
- refactor: abstract common functionality; update validation and exception types
v0.2.3
0.2.3 (2023-11-21)
- feat(client): implement batchCheck, listRelations, and non-transaction write
- fix(client): adds missing "contextual tuples" field to check request
v0.2.2
0.2.2 (2023-10-31)
- fix(client): an empty read request will no longer send an empty tuple
- fix(client): an unused "user" field, and related methods, was removed from ClientExpandRequest
v0.2.1
0.2.1 (2023-10-13)
No changes, this patch release is just to test release automation.
v0.2.0
0.2.0 (2023-10-11)
- feat(client): automatic retries for errors have been implemented. HTTP 429 and HTTP 5XX error responses 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
- [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.