Skip to content

Commit

Permalink
chore: prepare 2.3.0 release (#290)
Browse files Browse the repository at this point in the history
* chore: prepare 2.3.0 release
  • Loading branch information
pawels-optimizely authored Nov 2, 2020
1 parent 0a36f96 commit 7c4ff2c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased
## [2.3.0] - November 2, 2020
- Introduce Agent interceptor plugins
- Adding support for upcoming application-controlled introduction of tracking for non-experiment Flag decisions

## [2.2.0] - October 5, 2020
- 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'.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/go-kit/kit v0.9.0
github.com/google/uuid v1.1.1
github.com/lestrrat-go/jwx v0.9.0
github.com/optimizely/go-sdk v1.4.0
github.com/optimizely/go-sdk v1.5.0
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6
github.com/rakyll/statik v0.1.7
github.com/rs/zerolog v1.18.1-0.20200514152719-663cbb4c8469
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
github.com/optimizely/go-sdk v1.4.0 h1:9i6BUzqKGT5AMdSUdlrQZrmZRRhQQ9QjeielYiCCol8=
github.com/optimizely/go-sdk v1.4.0/go.mod h1:1uinGREH+AdijSRw3qitWkvIna1e/ZGN5eymNYPjw1A=
github.com/optimizely/go-sdk v1.5.0 h1:D02s3xRnP4Un+WqL4bh7rp/kmBuVdnroKpCvlfjLaxE=
github.com/optimizely/go-sdk v1.5.0/go.mod h1:1uinGREH+AdijSRw3qitWkvIna1e/ZGN5eymNYPjw1A=
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6 h1:lNCW6THrCKBiJBpz8kbVGjC7MgdCGKwuvBgc7LoD6sw=
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6/go.mod h1:Lu3tH6HLW3feq74c2GC+jIMS/K2CFcDWnWD9XkenwhI=
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
Expand Down
9 changes: 8 additions & 1 deletion pkg/optimizely/optimizelytest/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ type TestProjectConfig struct {
FeatureMap map[string]entities.Feature
GroupMap map[string]entities.Group
RolloutMap map[string]entities.Rollout
nextID int
AnonymizeIP bool
BotFiltering bool
nextID int
sendFlagDecisions bool
}

// GetDatafile returns a string representation of the environment's datafile
func (c *TestProjectConfig) GetDatafile() string {
return ""
}

// GetProjectID returns projectID
func (c *TestProjectConfig) GetProjectID() string {
return c.ProjectID
Expand Down Expand Up @@ -424,6 +426,11 @@ func (c *TestProjectConfig) getNextID() (nextID string) {
return strconv.Itoa(c.nextID)
}

// SendFlagDecisions returns the value of sendFlagDecisions
func (c *TestProjectConfig) SendFlagDecisions() bool {
return c.sendFlagDecisions
}

// NewConfig initializes a new datafile from a json byte array using the default JSON datafile parser
func NewConfig() *TestProjectConfig {
config := &TestProjectConfig{
Expand Down

0 comments on commit 7c4ff2c

Please sign in to comment.