Skip to content

Releases: Flagsmith/flagsmith-go-client

v4.3.0

23 Apr 09:50
cb87239
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump github.com/go-resty/resty/v2 from 2.14.0 to 2.16.5 by @dependabot in #159
  • chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #158
  • feat: option-to-pass-optional-resty-or-http-client by @Zaimwa9 in #161

New Contributors

Full Changelog: v4.2.0...v4.3.0

v4.2.0

27 Mar 23:17
ac2e06e
Compare
Choose a tag to compare

What's Changed

feat: Realtime improvements by @rolodato in #154

The goroutine created when using WithRealtime that handles the SSE connection no longer panics. The SDK will now retry fetching the initial environment if it fails.

If a realtime connection cannot be established, the SDK will now retry using exponential backoff with jitter.

Added WithPolling, which can be used together with WithRealtime. This enables polling in addition to receiving updates over SSE.

The SDK now uses slog for logging. A custom slog logger can be provided with the new option WithSlogLogger. All HTTP requests, responses, durations, errors and failures are now debug logged. Many log messages were improved.

Full Changelog: v4.1.0...v4.2.0

v4.1.0

16 Dec 08:13
3825ef5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.1.0

v4.0.0

23 Oct 14:00
c454725
Compare
Choose a tag to compare

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 — use GetFlags providing EvaluationContext.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

30 Sep 12:03
a6faf98
Compare
Choose a tag to compare

What's Changed

  • feat: Add a configurable error handler for environment updates. Return response codes on HTTP errors by @ajinkyasurya in #140

New Contributors

Full Changelog: v3.6.0...v3.7.0

v3.6.0

16 Sep 02:56
c3512cf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.5.0...v3.6.0

v3.5.0

19 Apr 16:15
e592264
Compare
Choose a tag to compare

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

22 Feb 17:23
6887074
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.0...v3.4.0

v3.3.0

11 Jan 10:23
9f959fc
Compare
Choose a tag to compare

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

13 Dec 04:22
6e93e4e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.1...v3.2.0