Releases: openfga/java-sdk
Releases · openfga/java-sdk
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
disableTransactions
is set onWrite
⚠️ This is a behavioral breaking change!
Previously, theOpenFgaClient
reversed the behavior of write transactions based on thedisableTransactions
flag. This has been fixed so that batched writes are sent ifdisableTransactions == true
and 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
v0.2.2
v0.2.1
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.