Releases: statsig-io/cpp-client-sdk
Releases · statsig-io/cpp-client-sdk
0.0.9 - Lock setter in Diagnostics::SetUser
321114b Locks the mutex in Diagnostics to prevent threading issues around setting the current StatsigUser
0.0.8 - Prevent capture of `this`
Some crashes were reported around PostWithRetry
calling back to references that no longer exist.
- a059fdb chore: use shared_ptr for EventLogger
- Moving to
std::shared_ptr
for all callback functions to prevent capturingthis
.- Being far more defensive around references
0.0.7 - Fix 204 Support
"204" refers to the status code that is returned from a /initialize
call when there is not change from the Statsig server.
When this status code is returned, the SDK considers its cache values up-to-date and does not need new values from a remote server.
A bug was found where 204 was being returned in cases where the StatsigUser object changed and was no longer valid for its cached evaluations.
Remediations:
- 204 was turned off for all previous versions
- 204 will now only work in this version and above
- A check was added to only request 204 when the user object is 100% identical to that which made the original cache entry
0.0.6 - Updates to support Unreal Engine on Windows and Xbox
Contains internal changes to better support the Statsig Unreal plugin.
Full Changelog: 0.0.5...0.0.6
0.0.5 - Custom cache location. Group name getters
- Uses
std::filesystem::path
for cache paths - Adds
StatsigOptions.cache_directory
, allowing custom cache location - Adds
Layer::GetGroupName()
- Adds
Experiment::GetGroupName()
v0.0.4 - Environment Support. Shutdown Timeout
0.0.2 - Unreal Plugin Support
- Adds compatibility for the Statsig Unreal plugin (https://github.com/statsig-io/unreal-plugin)
- Adds StatsigResultCode to Initailize and UpdateUser functions
- Adds support for Synchornous (Cahce) and Asynchornous (Network) initialize