Skip to content

v2.0.0

Compare
Choose a tag to compare
@leoromanovsky leoromanovsky released this 23 Aug 05:36
· 49 commits to main since this release
476a5bb

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