Releases: openfga/go-sdk
v0.6.3
v0.6.2
v0.6.1
v0.6.0
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.
v0.5.0
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.
v0.4.0
0.4.0 (2024-05-30)
- feat!: remove store ID from API config, allow store ID override per-request (see README for additional documentation and examples)
- fix: only retry on client credential requests that are 429 or 5xx
This version removes the StoreId
from the API client configuration. Instead, the StoreId
parameter must now be passed to each of the API methods that require a store ID.
If you are using api_open_fga.go
directly, you will now need to pass the StoreId
parameter.
v0.3.7
0.3.7 (2024-05-08)
- feat: Add MaxParallelRequests option in ListRelations (#93) - thanks @gurleensethi
- chore: lower required go version to 1.21 (fixes #94)