From 8d3cee77dbb8ee10f8931cac5bc468a7d745d808 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Mon, 17 Jun 2024 11:57:09 +0100 Subject: [PATCH] release: v0.5.0 (#110) --- CHANGELOG.md | 11 +++++++++++ configuration.go | 4 ++-- example/example1/go.mod | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9981ec9..d7a1f28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## v0.5.0 + +### [0.5.0](https://github.com/openfga/go-sdk/compare/v0.4.0...v0.5.0) (2024-06-14) +- fix: correctly set HTTPClient - thanks @wonyx +- chore!: remove excluded users from ListUsers response + +BREAKING CHANGE: + +This version removes the `ExcludedUsers` field from the `ListUsersResponse` and `ClientListUsersResponse` structs, +for more details see the [associated API change](https://github.com/openfga/api/pull/171). + ## v0.4.0 ### [0.4.0](https://github.com/openfga/go-sdk/compare/v0.3.7...v0.4.0) (2024-05-30) diff --git a/configuration.go b/configuration.go index 9613a4c..2b97a95 100644 --- a/configuration.go +++ b/configuration.go @@ -19,9 +19,9 @@ import ( ) const ( - SdkVersion = "0.4.0" + SdkVersion = "0.5.0" - defaultUserAgent = "openfga-sdk go/0.4.0" + defaultUserAgent = "openfga-sdk go/0.5.0" ) // RetryParams configures configuration for retry in case of HTTP too many request diff --git a/example/example1/go.mod b/example/example1/go.mod index f7728e4..a53bd35 100644 --- a/example/example1/go.mod +++ b/example/example1/go.mod @@ -2,9 +2,9 @@ module example1 go 1.22.2 -require github.com/openfga/go-sdk v0.4.0 +require github.com/openfga/go-sdk v0.5.0 require golang.org/x/sync v0.7.0 // indirect // To reference local build, uncomment below and run `go mod tidy` -replace github.com/openfga/go-sdk v0.4.0 => ../../ +replace github.com/openfga/go-sdk v0.5.0 => ../../