Skip to content

Releases: Eppo-exp/golang-sdk

v4.0.0

25 Jun 01:37
ae2e6de
Compare
Choose a tag to compare

What's Changed

This release fixes the order of parameters for Get<Type>Assignment methods to bring it in line with other v3 SDKs.

  • Before (v3): GetStringAssignment(subjectKey string, flagKey string, subjectAttributes SubjectAttributes, defaultValue string)
  • After (v4): GetStringAssignment(flagKey string, subjectKey string, subjectAttributes SubjectAttributes, defaultValue string)

The first two parameters are swapped. These are both strings, so your code will likely still compile. You must ensure that your code respects the new parameter order, otherwise your code will break.

Other than this change, there is no major change in functionality or scope compared to the v3.0.0 SDK or all other Eppo SDKs v3.x.x. This is released as a new major version because of the breaking change above.

Full Changelog: v3.0.0...v4.0.0

v3.0.0

10 Jun 23:54
fa764da
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @vpai made their first contribution in #38

Full Changelog: v2.1.4...v3.0.0

v2.1.4

10 Jun 16:22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.3...v2.1.4

v2.1.3

16 May 20:34
22ebfef
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.2...v2.1.3

v2.1.2

16 Apr 17:27
66c5367
Compare
Choose a tag to compare

What's Changed

  • Remove usage of log.Fatal from httpclient.go; return an error object instead (FF-1934) by @leoromanovsky in #36

Full Changelog: v2.1.1...v2.1.2

v2.1.1

01 Mar 04:31
bf8c56b
Compare
Choose a tag to compare

What's Changed

  • allow subject attributes to be string wrapper numerics; attempt to safely coerce by @leoromanovsky in #35

Full Changelog: v2.1.0...v2.1.1

v2.0.3

16 Feb 00:26
283a2e9
Compare
Choose a tag to compare

What's Changed

  • add stub makefile commands for memory profiling by @leoromanovsky in #33
  • Perform memory profiling and comparison benchmarking for pull requests (FF-1563) by @leoromanovsky in #32
  • avoid extra json marshal when loading configuration from cache (FF-1564) by @leoromanovsky in #31

Full Changelog: v2.0.2...v2.0.3

v2.0.2

12 Jan 18:56
6a66776
Compare
Choose a tag to compare

What's Changed

  • Correcting error in client initialisation. by @njflynn in #29
  • Use mock assignment logger and verify it is being called (FF-1450) by @leoromanovsky in #30

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

02 Jan 17:36
8f4becf
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

23 Aug 05:36
476a5bb
Compare
Choose a tag to compare

We include changes in this release to allow users to consume their feature flag and experiments' variation values with type-safe functions returning either a bool, float64 or string.

Create feature flags and experiments on eppo.cloud.

Breaking API changes

New Functions

+ func (ec *EppoClient) GetBoolAssignment(subjectKey string, flagKey string, subjectAttributes dictionary) (bool, error)
+ func (ec *EppoClient) GetNumericAssignment(subjectKey string, flagKey string, subjectAttributes dictionary) (float64, error)
+ func (ec *EppoClient) GetStringAssignment(subjectKey string, flagKey string, subjectAttributes dictionary) (string, error)
+ func (ec *EppoClient) GetJSONAssignment(subjectKey string, flagKey string, subjectAttributes dictionary) (string, error)

Removed Functions

-func (ec *EppoClient) GetAssignment(subjectKey string, flagKey string, subjectAttributes dictionary) (string, error)

What's Changed

Full Changelog: v1.2.1...v2.0.0