Skip to content

Commit 7306c8d

Browse files
authored
Prepare release v2.2.1 (#426)
- Update version to 2.2.1 - Document bug fixes in CHANGELOG
1 parent 9fd02f9 commit 7306c8d

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.MD

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@ All notable changes to this project will be documented in this file.
44
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

7+
## [2.2.1] - October 24, 2025
8+
9+
### Bug Fixes
10+
- **CMAB Cache Size Alignment**: Increased CMAB default cache size from 1000 to 10000 to align with ODP segments cache size for consistency ([#425](https://github.com/optimizely/go-sdk/pull/425))
11+
- **Bucketing Precision**: Fixed float32 precision error that caused incorrect bucketing for specific users ([#423](https://github.com/optimizely/go-sdk/pull/423))
12+
- **EU Region Support**: Fixed region parameter handling for EU data hosting ([#421](https://github.com/optimizely/go-sdk/pull/421))
13+
714
## [2.2.0] - September 30, 2025
8-
15+
916
### New Features
1017
- **CMAB (Contextual Multi-Armed Bandit) Support**: Added support for CMAB experiments with new configuration options and cache control ([#399](https://github.com/optimizely/go-sdk/pull/399), [#401](https://github.com/optimizely/go-sdk/pull/401), [#402](https://github.com/optimizely/go-sdk/pull/402), [#403](https://github.com/optimizely/go-sdk/pull/403), [#408](https://github.com/optimizely/go-sdk/pull/408), [#409](https://github.com/optimizely/go-sdk/pull/409), [#411](https://github.com/optimizely/go-sdk/pull/411), [#412](https://github.com/optimizely/go-sdk/pull/412), [#416](https://github.com/optimizely/go-sdk/pull/416))
1118
- **Multi-Region Support for Data Hosting**: Added SDK support for multi-region data hosting ([#414](https://github.com/optimizely/go-sdk/pull/414))
12-
19+
1320
### API Changes
1421
- **Client Factory**: `WithCmabConfig(*CmabConfig) OptionFunc` - New option for CMAB configuration ([#412](https://github.com/optimizely/go-sdk/pull/412), [#419](https://github.com/optimizely/go-sdk/pull/419))
1522
- **New Decide Options**: `IgnoreCMABCache`, `ResetCMABCache`, `InvalidateUserCMABCache` for CMAB cache control ([#401](https://github.com/optimizely/go-sdk/pull/401))

pkg/event/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
package event
1919

2020
// Version is the current version of the client
21-
var Version = "2.1.0"
21+
var Version = "2.2.1"
2222

2323
// ClientName is the name of the client
2424
var ClientName = "go-sdk"

0 commit comments

Comments
 (0)