Skip to content

Releases: openfga/go-sdk

v0.1.1

30 Sep 06:02
v0.1.1
2f37d6e
Compare
Choose a tag to compare

0.1.1 (2022-09-30)

  • chore(deps): upgrade dependencies - dependency updates were accidentally reverted in v0.1.0 release

v0.1.0

29 Sep 22:33
v0.1.0
e1d0f2d
Compare
Choose a tag to compare

0.1.0 (2022-09-29)

  • BREAKING: exported interface TypeDefinitions is now WriteAuthorizationModelRequest This is only a breaking change on the SDK, not the API. It was changed to conform to the proto changes in openfga/api.
  • chore(deps): upgrade dependencies

v0.0.3

07 Sep 16:26
v0.0.3
ee8869f
Compare
Choose a tag to compare

0.0.3 (2022-09-07)

  • Fix incorrectly applying client_credentials validation to api_token cred method openfga/sdk-generator#21
  • Target go 1.19
  • Bump golang.org/x/net
  • Use govulncheck in CI to check for issues

v0.0.2

16 Aug 18:05
v0.0.2
4306661
Compare
Choose a tag to compare

0.0.2 (2022-08-15)

Support for ListObjects API

You call the API and receive the list of object ids from a particular type that the user has a certain relation with.

For example, to find the list of documents that Anne can read:

body := openfga.ListObjectsRequest{
 AuthorizationModelId: PtrString(""),
 User: PtrString("anne"),
 Relation: PtrString("can_view"),
 Type: PtrString("document"),
}
data, response, err := apiClient.OpenFgaApi.ListObjects(context.Background()).Body(body).Execute()

// response.object_ids = ["roadmap"]

v0.0.1

16 Jun 19:42
v0.0.1
b25bdf9
Compare
Choose a tag to compare

0.0.1 (2022-06-16)

Initial OpenFGA Go SDK release

  • Support for OpenFGA API
    • CRUD stores
    • Create, read & list authorization models
    • Writing and Reading Tuples
    • Checking authorization
    • Using Expand to understand why access was granted