Releases: statsig-io/python-sdk
v0.10.3 - [internal] lower log level to warn
Rather than logging as exception, log internal SDK messages as warn
v0.10.2 - Fix Layer secondary exposure logging
We were logging the wrong secondary_exposure array on statsig::layer_exposure
v0.10.1 - typing updates continued
Type the singleton statsig methods
v0.10.0 - Updated SDK typing
Typing input as StatsigUser instead of object, typing log events, the value of log events as number or string, and optional types for nullable fields across StatsigOptions, StatsigUser, and StatsigEvent
v0.9.3 - fix time based operator
fixed "before" and "after" operator for Time based conditions
v0.9.2- remove userID requirement if customID is present
Now the SDK only requires either a userID or any customID
v0.9.0 - changes to exposure logging on Layers
Previously exposures for Layers happen when you call getLayer()
, but when you have multiple experiments running in parallel in the same Layer, this could be exposing more users than the actual number of users who were actually exposed to some of the experiments, so with this release we have moved the exposure logic to be happening when Layer.get()
method is called, so that a user is only exposed to an experiment when the parameter for that experiment is fetched.
v0.8.2 - Internal improvements, debug error logging
Add debug logging information, stringify user object more gracefully, add server session id header, copy user on normalization rather than modifying
v0.8.1 - getLayer API and bug fixes
- added a new API
get_layer
, which returns a layer object that would return the correct parameter value for the given user within the layer, no matter which experiment the user is allocated to within the layer; - fixed a bug where
time
was not added to events; - fixed a bug where
/get_config
fallback was not correctly called in the event that the SDK does not know how to evaluate a rule locally.
v0.7.0 - improved ID list
Improved the ID list sync'ing logic so that it's using a new endpoint and can scale better with larger lists