Releases: Eppo-exp/golang-sdk
Releases · Eppo-exp/golang-sdk
v2.1.3
What's Changed
- Assignment timestamp in RFC 3339 format. (FF-2082) by @leoromanovsky in #39
Full Changelog: v2.1.2...v2.1.3
v2.1.2
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
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
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
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
What's Changed
- add GetAssignment method back for backwards compatibility by @leoromanovsky in #25
- bug: fix json variation value handling by @leoromanovsky in #26
- augment assignment logging Experiment key with allocation key (FF-848) by @leoromanovsky in #27
- Add marshaling and unmarshaling of Value struct (FF-1382) by @leoromanovsky in #28
Full Changelog: v2.0.0...v2.0.1
v2.0.0
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
- fix lint failures; upgrade deprecate io/ioutils package (FF-820) by @leoromanovsky in #23
- add Get*Assignment methods with types (FF-757) by @leoromanovsky in #22
- rename module to v2 (FF-757) by @leoromanovsky in #24
Full Changelog: v1.2.1...v2.0.0
v1.2.1
v1.2.0
v1.1.0
What's Changed
- pass configurationStore by reference by @leoromanovsky in #9
- Add baseUrl default value for eppo client by @pavelflux in #10
- Add README so that package info on pkg.go.dev will be shown more nicely by @pavelflux in #11
- Bugfix/assignment logger interface by @pavelflux in #12
- Feature/assignment logger interface by @pavelflux in #13
- Fix deserialization of targeting rules by @ploomis14 in #14
- Migrate Go SDK to V2 Randomization Endpoint by @ploomis14 in #16
New Contributors
- @ploomis14 made their first contribution in #14
Full Changelog: v1.0.0...v1.1.0