Skip to content

Releases: openfga/java-sdk

v0.4.2

02 May 14:31
v0.4.2
79bb07a
Compare
Choose a tag to compare

0.4.2 (2024-05-02)

  • feat: support the ListUsers endpoint (#80)
  • fix: improve check for validity of token (#76)

v0.4.1

09 Apr 14:35
v0.4.1
6717967
Compare
Choose a tag to compare

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

04 Mar 16:54
v0.4.0
0c1bfae
Compare
Choose a tag to compare

0.4.0 (2024-03-04)

  • fix!: reverse the transaction behaviour when disableTransactions is set on Write
    ⚠️ This is a behavioral breaking change!
    Previously, the OpenFgaClient reversed the behavior of write transactions based on the disableTransactions flag. This has been fixed so that batched writes are sent if disableTransactions == true and a single transactional write if it is false (default).

v0.3.2

26 Jan 20:20
v0.3.2
2e0e9ed
Compare
Choose a tag to compare

0.3.2 (2024-01-26)

  • fix: fix token validity check for expiry (#48)
  • fix: send OAuth2 credentials request as form-urlencoded post (#47) - thanks @le-yams
  • fix: do not create new http client on every request (#46)

v0.3.1

22 Jan 18:39
v0.3.1
2b4dec3
Compare
Choose a tag to compare

0.3.1 (2024-01-22)

  • feat: oauth2 client credentials support - thanks @le-yams
  • fix: add context to ClientCheckRequest
  • fix incorrect check for whether transactionChunkSize is not set

v0.3.0

15 Dec 22:13
v0.3.0
d56e15a
Compare
Choose a tag to compare

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

28 Nov 18:00
v0.2.3
6d6a615
Compare
Choose a tag to compare

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

31 Oct 23:28
v0.2.2
d790fc0
Compare
Choose a tag to compare

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

13 Oct 17:10
v0.2.1
0b9b0ce
Compare
Choose a tag to compare

0.2.1 (2023-10-13)

No changes, this patch release is just to test release automation.

v0.2.0

11 Oct 21:59
v0.2.0
6cecea0
Compare
Choose a tag to compare

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.