Skip to content

Latest commit

 

History

History
165 lines (104 loc) · 6.93 KB

CHANGELOG.md

File metadata and controls

165 lines (104 loc) · 6.93 KB

Changelog

v0.7.1

0.7.1 (2024-09-23)

  • refactor(OpenTelemetry): remove SDK version from meter name
  • fix(OpenTelemetry): http.request.method should be enabled by default (#114)
  • chore(deps): update dependencies (#110, #111, #112)
  • docs(OpenTelemetry): update Metrics and Attributes tables (#115)

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.

v0.6.1

  • fix: Maven build issue

v0.6.0

v0.5.0

0.5.0 (2024-06-14)

  • chore!: remove excluded users from ListUsers response

BREAKING CHANGE:

This version removes getExcludedUsers and setExcludedUsers from the ListUsersResponse and ClientListUsersResponse classes, for more details see the associated API change.

v0.4.2

0.4.2 (2024-05-02)

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

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 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

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

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

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.

v0.1.0

0.1.0 (2023-09-27)

  • [BREAKING] refactor(client): simplify OpenFgaClient and OpenFgaApi constructors to not require an ApiClient. This is a breaking change as it changed the ordering of parameters in constructors.
  • [BREAKING] refactor(client): all options classes for OpenFgaClient are now consistently prefixed with "Client"
  • chore(client): add ClientReadAssertionsOptions and ClientWriteAssertionsOptions for their respective Client APIs.

v0.0.5

0.0.5 (2023-09-27)

  • feat(client): add OpenFgaClient wrapping OpenFgaApi and exposing a simplified interface. See docs
  • chore(docs): update the README with installation and usage instructions.

v0.0.3, v0.0.4

0.0.4 (2023-09-21)

  • fix: publishing to maven central

v0.0.2

0.0.2 (2023-09-15)

The Maven Group ID was updated to dev.openfga.

v0.0.1

0.0.1 (2023-09-14)

This is an initial beta release. While it can be used to call an FGA server, it lacks conveniences already present in other OpenFGA SDKs and already planned.

Most notably it lacks a higher-level client (work is in progress), which will be the recommended entry point.