Skip to content

Commit 94c8af3

Browse files
chore: update go sdk to 1.4.0 and add stub for GetDatafile in TestProjectConfig (#285)
* update go sdk to 1.4.0 and add stub for GetDatafile in TestProjectConfig * run go mod tidy
1 parent b80c4b2 commit 94c8af3

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## Unreleased
88

9+
## [2.2.0] - October 5, 2020
10+
- Update to Optimizely Go SDK 1.4.0 with version audience condition evaluation based on semantic versioning as well as support for number 'greater than or equal to' and 'less than or equal to'.
11+
912
## [2.1.0] - September 23, 2020
1013
- For `server.allowedHosts` configuration property, add support for matching all subdomains of a host, or all hosts
1114
- Adding batching for agent (/v1/batch endpoint), including requests in parallel

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/go-kit/kit v0.9.0
1212
github.com/google/uuid v1.1.1
1313
github.com/lestrrat-go/jwx v0.9.0
14-
github.com/optimizely/go-sdk v1.3.0
14+
github.com/optimizely/go-sdk v1.4.0
1515
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6
1616
github.com/rakyll/statik v0.1.7
1717
github.com/rs/zerolog v1.15.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLD
8989
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
9090
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
9191
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
92-
github.com/optimizely/go-sdk v1.3.0 h1:js9Cd5uTe8mWQuY66CsXperRueOjOE6UNN1mKGkEk1M=
93-
github.com/optimizely/go-sdk v1.3.0/go.mod h1:ehZPiEzNzNJw98EFrZX1C9h9gVgVRCiWosQEVlgivCw=
92+
github.com/optimizely/go-sdk v1.4.0 h1:9i6BUzqKGT5AMdSUdlrQZrmZRRhQQ9QjeielYiCCol8=
93+
github.com/optimizely/go-sdk v1.4.0/go.mod h1:1uinGREH+AdijSRw3qitWkvIna1e/ZGN5eymNYPjw1A=
9494
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6 h1:lNCW6THrCKBiJBpz8kbVGjC7MgdCGKwuvBgc7LoD6sw=
9595
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6/go.mod h1:Lu3tH6HLW3feq74c2GC+jIMS/K2CFcDWnWD9XkenwhI=
9696
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=

pkg/optimizely/optimizelytest/config.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ type TestProjectConfig struct {
4545
nextID int
4646
}
4747

48+
// GetDatafile returns a string representation of the environment's datafile
49+
func (c *TestProjectConfig) GetDatafile() string {
50+
return ""
51+
}
4852
// GetProjectID returns projectID
4953
func (c *TestProjectConfig) GetProjectID() string {
5054
return c.ProjectID

0 commit comments

Comments
 (0)