Releases: Flagsmith/flagsmith-go-client
Releases · Flagsmith/flagsmith-go-client
v4.0.0
Deprecations
A new GetFlags
interface has been added. It accepts an EvaluationContext
struct that you can use to specify an identity and/or traits to use for evaluation, and whether they should be transient.
The following methods are deprecated in favour of GetFlags
and will be removed by the next major release:
GetIdentityFlags
— useGetFlags
providingEvaluationContext.Identity
instead.GetEnvironmentFlags
.
What's Changed
- feat!: Support transient identities and traits by @khvn26 in #133
- Add direct link to golang SDK docs in README by @rolodato in #141
New Contributors
Full Changelog: v3.7.0...v4.0.0
v3.7.0
What's Changed
- feat: Add a configurable error handler for environment updates. Return response codes on HTTP errors by @ajinkyasurya in #140
New Contributors
- @ajinkyasurya made their first contribution in #140
Full Changelog: v3.6.0...v3.7.0
v3.6.0
What's Changed
- chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #119
- chore(deps): bump golangci/golangci-lint-action from 4.0.0 to 6.0.1 by @dependabot in #129
- tests: fix logged errors by @gagantrivedi in #138
- feat: replace internal http client with resty by @gagantrivedi in #139
Full Changelog: v3.5.0...v3.6.0
v3.5.0
What's Changed
- feat: Identity overrides in local evaluation mode by @khvn26 in #121
- feat: Use RFC 3339, more lax datetime parsing by @khvn26 in #122
- feat: Handle nil options by @khvn26 in #120
- chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in #114
- chore(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 by @dependabot in #111
- chore: remove examples by @dabeeeenster in #118
Full Changelog: v3.4.0...v3.5.0
v3.4.0
v3.3.0
What's Changed
- feat(offline-mode): Add support offline mode using json file by @gagantrivedi in #109
Full Changelog: v3.2.0...v3.3.0
v3.2.0
What's Changed
- Replace resty with net/http by @ckaznocha in #106
because of go-resty/resty#756 - chore(deps): bump github.com/google/uuid from 1.3.1 to 1.5.0 by @dependabot in #108
- chore(deps): bump actions/setup-go from 4 to 5 by @dependabot in #107
New Contributors
- @ckaznocha made their first contribution in #106
Full Changelog: v3.1.1...v3.2.0
v3.1.1
What's Changed
- chore(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 by @dependabot in #93
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #95
- chore(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in #92
- chore(deps): bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in #96
- chore(deps): bump github.com/go-resty/resty/v2 from 2.7.0 to 2.10.0 by @dependabot in #99
- Pass logger to resty client by @matevzmihalic in #101
- Force content type in API requests by @matevzmihalic in #100
- refactor: handle invalid environment key by @craigpastro in #103
New Contributors
- @matevzmihalic made their first contribution in #101
- @craigpastro made their first contribution in #103
Full Changelog: v3.1.0...v3.1.1
v3.1.0
What's Changed
- feat: implement
IN
operator for segments by @khvn26 in #89, #90 - chore(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.6.0 by @dependabot in #87
- fix: ditch deprecated
archives[0].replacements
in .goreleaser.yaml by @khvn26 in #91
Full Changelog: v3.0.0...v3.1.0
v3.0.0
What's Changed
- Extra checkers by @JonasAlfredsson in #71
- Make local evaluation non-blocking by @JonasAlfredsson in #73
- Only clear analytics cache in case of successful transmission by @JonasAlfredsson in #76
- Allow defaultFlagHandler to return an error by @JonasAlfredsson in #75
- Use local context when fetching flags by @JonasAlfredsson in #69
- Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in #77
- chore(deps): bump actions/setup-go from 3 to 4 by @dependabot in #67
- fix(errors): use FlagsmithAPIError by @gagantrivedi in #78
- Fix some spelling mistakes by @JonasAlfredsson in #80
- chore(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in #83
- refactor: remove redundant function by @gagantrivedi in #84
- chore: Upgrade the modules go version to 1.19 by @gagantrivedi in #72
- chore(lint): update go version by @gagantrivedi in #85
- fix!: consistent split evaluations by @khvn26 in #88
- chore: bump version to v3 by @gagantrivedi in #79
New Contributors
- @JonasAlfredsson made their first contribution in #71
- @khvn26 made their first contribution in #88
Full Changelog: v2.3.1...v3.0.0