Skip to content

Commit 7c4ff2c

Browse files
chore: prepare 2.3.0 release (#290)
* chore: prepare 2.3.0 release
1 parent 0a36f96 commit 7c4ff2c

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

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

912
## [2.2.0] - October 5, 2020
1013
- 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'.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/go-kit/kit v0.9.0
1313
github.com/google/uuid v1.1.1
1414
github.com/lestrrat-go/jwx v0.9.0
15-
github.com/optimizely/go-sdk v1.4.0
15+
github.com/optimizely/go-sdk v1.5.0
1616
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6
1717
github.com/rakyll/statik v0.1.7
1818
github.com/rs/zerolog v1.18.1-0.20200514152719-663cbb4c8469

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW
9393
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
9494
github.com/optimizely/go-sdk v1.4.0 h1:9i6BUzqKGT5AMdSUdlrQZrmZRRhQQ9QjeielYiCCol8=
9595
github.com/optimizely/go-sdk v1.4.0/go.mod h1:1uinGREH+AdijSRw3qitWkvIna1e/ZGN5eymNYPjw1A=
96+
github.com/optimizely/go-sdk v1.5.0 h1:D02s3xRnP4Un+WqL4bh7rp/kmBuVdnroKpCvlfjLaxE=
97+
github.com/optimizely/go-sdk v1.5.0/go.mod h1:1uinGREH+AdijSRw3qitWkvIna1e/ZGN5eymNYPjw1A=
9698
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6 h1:lNCW6THrCKBiJBpz8kbVGjC7MgdCGKwuvBgc7LoD6sw=
9799
github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6/go.mod h1:Lu3tH6HLW3feq74c2GC+jIMS/K2CFcDWnWD9XkenwhI=
98100
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=

pkg/optimizely/optimizelytest/config.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,17 @@ type TestProjectConfig struct {
4040
FeatureMap map[string]entities.Feature
4141
GroupMap map[string]entities.Group
4242
RolloutMap map[string]entities.Rollout
43+
nextID int
4344
AnonymizeIP bool
4445
BotFiltering bool
45-
nextID int
46+
sendFlagDecisions bool
4647
}
4748

4849
// GetDatafile returns a string representation of the environment's datafile
4950
func (c *TestProjectConfig) GetDatafile() string {
5051
return ""
5152
}
53+
5254
// GetProjectID returns projectID
5355
func (c *TestProjectConfig) GetProjectID() string {
5456
return c.ProjectID
@@ -424,6 +426,11 @@ func (c *TestProjectConfig) getNextID() (nextID string) {
424426
return strconv.Itoa(c.nextID)
425427
}
426428

429+
// SendFlagDecisions returns the value of sendFlagDecisions
430+
func (c *TestProjectConfig) SendFlagDecisions() bool {
431+
return c.sendFlagDecisions
432+
}
433+
427434
// NewConfig initializes a new datafile from a json byte array using the default JSON datafile parser
428435
func NewConfig() *TestProjectConfig {
429436
config := &TestProjectConfig{

0 commit comments

Comments
 (0)