Skip to content

Releases: statsig-io/cpp-client-sdk

0.0.9 - Lock setter in Diagnostics::SetUser

24 Jun 21:38
Compare
Choose a tag to compare

321114b Locks the mutex in Diagnostics to prevent threading issues around setting the current StatsigUser

0.0.8 - Prevent capture of `this`

20 Jun 23:43
Compare
Choose a tag to compare

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 capturing this.
  • Being far more defensive around references

0.0.7 - Fix 204 Support

29 May 20:28
d15daa5
Compare
Choose a tag to compare

"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

22 May 17:36
Compare
Choose a tag to compare

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

20 May 20:23
Compare
Choose a tag to compare
  • 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

13 May 17:36
Compare
Choose a tag to compare
  • Adds StatsigOptions.environment 3fbc258
  • Adds a timeout to StatigClient.Shutdown() 8c2f053

0.0.2 - Unreal Plugin Support

24 Apr 17:48
9d75453
Compare
Choose a tag to compare
  • 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