CARVIEW |
Navigation Menu
-
Notifications
You must be signed in to change notification settings - Fork 31
Releases: openfga/go-sdk
v0.7.1
1b6d882
Compare
0.7.1 (2025-04-07)
- fix: resolves issue where SDK could stall when MaxParallelRequests * MaxBatchSize < body.Checks length
- fix: resolves issue where private singleBatchCheck method in SdkClient prevented mocking
Assets 2
v0.7.0
19fd59d
Compare
0.7.0 (2025-04-02)
- feat: fix and improve retries and rate limit handling. (#176)
The SDK now retries on network errors and the default retry handling has been fixed
for both the calls to the OpenFGA API and the API Token Issuer for those using ClientCredentials
The SDK now also respects the rate limit headers (Retry-After
) returned by the server and will retry the request after the specified time.
If the header is not sent or on network errors, it will fall back to exponential backoff. - feat: retry on network errors when calling the token issuer (#182)
- feat: add support for server-side BatchCheck (#187)
- fix: use defaults when transaction options were only partially set (#183)
- chore: log retry attempts when debug mode is enabled (#182)
Warning
BREAKING CHANGES:
This release contains a breaking change around its handling of BatchCheck
- The new
BatchCheck
requires OpenFGA v1.8.0+ server. - The existing
BatchCheck
method has been renamed toClientBatchCheck
. The existingBatchCheckResponse
has been renamed toClientBatchCheckResponse
.
NOTE:
This release was previously released as v0.6.6
, but has been re-released as v0.7.0
due to the breaking changes.
Assets 2
v0.6.6
v0.6.5
08dd9da
Compare
Assets 2
v0.6.4
b22acef
Compare
0.6.4 (2025-01-29)
- feat: add support for
start_time
parameter inReadChanges
endpoint (#158) - fix: correctly set request level storeId in non-transactional write (#162) - thanks @preiter93
- fix: api client should set default telemetry if not specified (#160)
- docs: replace readable names with uuid (#146) - thanks @sccalabr
- fix: support marshaling client.ClientWriteResponse (#145) - thanks @FedotCompot
- fix: update client interface with store and model getter/setter (#155)
- fix: api client should set default telemetry if not specified (#160)
Assets 2
v0.6.3
62a6bbc
Compare
Assets 2
v0.6.2
9997e69
Compare
Assets 2
v0.6.1
f9c1c96
Compare
Assets 2
v0.6.0
2694fb9
Compare
0.6.0 (2024-08-29)
- feat: support OpenTelemetry metrics reporting (#115)
- feat!: support for sending the consistency parameter to the read, check, list users, list objects, and expand endpoints (#117)
- chore(docs): update stale README (#113) - thanks @Code2Life
BREAKING CHANGE:
When the generator converts enums in the open API definition, by default it removes the type prefix. For example, TYPE_NAME_UNSPECIFIED
is converted to a const named UNSPECIFIED.
This leads to potential collisions with other enums, and as the consistency type is a new enum, we finally got a collision (it was just a matter of time).
The fix for this is to specify "enumClassPrefix": true
in the generation config. This will then include the class name on the const name, which resolves collision issues. This means any enum value, such as INT
now becomes TYPENAME_INT
. The main impact of this is the TypeName
const and error codes. The fix is to add the class name prefix, as discussed above.
Assets 2
v0.5.0
8d3cee7
Compare
0.5.0 (2024-06-14)
- fix: correctly set HTTPClient - thanks @wonyx
- chore!: remove excluded users from ListUsers response
This version removes the ExcludedUsers
field from the ListUsersResponse
and ClientListUsersResponse
structs, for more details see the associated API change.