diff --git a/CHANGES.txt b/CHANGES.txt index 1000d52..65b01af 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,6 @@ +6.5.2 (Dec 21, 2023) +- Updated telemetry name methods for flagSets. + 6.5.1 (Dec 6, 2023) - Fixed FlagSetsFilter naming in Advanced config. diff --git a/go.mod b/go.mod index 7ed1f92..bd05b1f 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/splitio/go-client/v6 go 1.18 require ( - github.com/splitio/go-split-commons/v5 v5.1.0 + github.com/splitio/go-split-commons/v5 v5.1.1 github.com/splitio/go-toolkit/v5 v5.3.2 ) diff --git a/go.sum b/go.sum index ee5e61c..91050b9 100644 --- a/go.sum +++ b/go.sum @@ -10,8 +10,8 @@ github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/r github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= github.com/redis/go-redis/v9 v9.0.4 h1:FC82T+CHJ/Q/PdyLW++GeCO+Ol59Y4T7R4jbgjvktgc= github.com/redis/go-redis/v9 v9.0.4/go.mod h1:WqMKv5vnQbRuZstUwxQI195wHy+t4PuXDOjzMvcuQHk= -github.com/splitio/go-split-commons/v5 v5.1.0 h1:mki1235gjXwuxcXdv/bKVduX1Lv09uXJogds+BspqSM= -github.com/splitio/go-split-commons/v5 v5.1.0/go.mod h1:9vAZrlhKvhensyRC11hyVFdgLIBrkX9D5vdYc9qB13w= +github.com/splitio/go-split-commons/v5 v5.1.1 h1:lLOqNQMdZA5Z7FBBh4YODWdE2QFgxSPMptX9ty14x4c= +github.com/splitio/go-split-commons/v5 v5.1.1/go.mod h1:9vAZrlhKvhensyRC11hyVFdgLIBrkX9D5vdYc9qB13w= github.com/splitio/go-toolkit/v5 v5.3.2 h1:Yy9YBcHRmK5WVZjeA/klLGEdF38xpsL1ejnC3ro8a2M= github.com/splitio/go-toolkit/v5 v5.3.2/go.mod h1:xYhUvV1gga9/1029Wbp5pjnR6Cy8nvBpjw99wAbsMko= github.com/twmb/murmur3 v1.1.6 h1:mqrRot1BRxm+Yct+vavLMou2/iJt0tNVTTC0QoIjaZg= diff --git a/splitio/client/client.go b/splitio/client/client.go index c6988c6..4febed7 100644 --- a/splitio/client/client.go +++ b/splitio/client/client.go @@ -24,11 +24,11 @@ const ( treatment = "Treatment" treatments = "Treatments" treatmentsByFlagSet = "TreatmentsByFlagSet" - treatmentsByFlagSets = "TreatmentsByFlahSets" + treatmentsByFlagSets = "TreatmentsByFlagSets" treatmentWithConfig = "TreatmentWithConfig" treatmentsWithConfig = "TreatmentsWithConfig" treatmentsWithConfigByFlagSet = "TreatmentsWithConfigByFlagSet" - treatmentsWithConfigByFlagSets = "TrearmentsWithConfigByFlagSets" + treatmentsWithConfigByFlagSets = "TreatmentsWithConfigByFlagSets" ) // SplitClient is the entry-point of the split SDK. @@ -396,7 +396,7 @@ func (c *SplitClient) TreatmentsWithConfigByFlagSet(key interface{}, flagSet str if sets == nil { return treatmentsResult } - return c.doTreatmentsCallByFlagSets(key, sets, attributes, treatmentsWithConfigByFlagSet, telemetry.TreatmentsByFlagSets) + return c.doTreatmentsCallByFlagSets(key, sets, attributes, treatmentsWithConfigByFlagSet, telemetry.TreatmentsWithConfigByFlagSet) } // TreatmentsWithConfigByFlagSet evaluates multiple feature flag names belonging to a flag sets for a single user and set of attributes at once and returns configurations @@ -406,7 +406,7 @@ func (c *SplitClient) TreatmentsWithConfigByFlagSets(key interface{}, flagSets [ if flagSets == nil { return treatmentsResult } - return c.doTreatmentsCallByFlagSets(key, flagSets, attributes, treatmentsWithConfigByFlagSets, telemetry.TreatmentsByFlagSets) + return c.doTreatmentsCallByFlagSets(key, flagSets, attributes, treatmentsWithConfigByFlagSets, telemetry.TreatmentsWithConfigByFlagSets) } // isDestroyed returns true if the client has been destroyed diff --git a/splitio/version.go b/splitio/version.go index 898e7e2..e682605 100644 --- a/splitio/version.go +++ b/splitio/version.go @@ -1,4 +1,4 @@ package splitio // Version contains a string with the split sdk version -const Version = "6.5.1" +const Version = "6.5.2"