0.8.0 (2025-01-14)
- feat!: add support for server-side
BatchCheck
method. This is a more efficient way to check on multiple tuples than calling the existing client-sideBatchCheck
. Using this method requires an OpenFGA v1.8.0+ server.- The existing
BatchCheck
method has been renamed toclientBatchCheck
and it now bundles the results in a field calledresult
instead ofresponses
. - The existing
BatchCheckResponse
has been renamed toClientBatchCheckResponse
.
- The existing
- feat: add support for
startTime
parameter inReadChanges
endpoint - feat: support contextual tuples and context in assertions
- feat: support contextual tuples in Expand
- fix: error correctly if apiUrl is not provided - thanks @Waheedsys (#161)
- fix: use provided axios instance in credentials refresh - thanks @Siddhant-K-code (#193)
- fix!: The minimum node version required by this SDK is now v16.15.0
- chore(docs): various cleanup and improvements - thanks @tmsagarofficial (#164), @vil02 (openfga/sdk-generator#424, openfga/sdk-generator#422), @sccalabr (openfga/sdk-generator#433)
BREAKING CHANGES:
- The minimum node version required by this SDK is now v16.15.0
- Usage of the existing
batchCheck
method should now use theclientBatchCheck
method. The existingBatchCheckResponse
has been renamed toClientBatchCheckResponse
and it now bundles the results in a field calledresult
instead ofresponses
.