Releases: statsig-io/android-sdk
v4.8.0 - Add LayerOverrides
- Adds the ability to override values that are returned via getLayer.
v4.7.0 - Adds exposure logging disabled APIs
Sometimes you need to be able to check a gate/config/experiment/layer without triggering an exposure log: for example, the UI you are showing is rendered but below the fold, so you only want to trigger an exposure log when it is shown on the screen. Or, perhaps you are building an internal tool to check the variant a user is in, but you dont want that to trigger an exposure log.
For these cases, there are exposure logging disabled APIs. To trigger the exposure, just call the relevant API at the exposure time.
checkGateWithExposureLoggingDisabled(gateName)
getConfigWithExposureLoggingDisabled(configName)
getExperimentWithExposureLoggingDisabled(experimentName)
getLayerWithExposureLoggingDisabled(layerName)
NOTE: that for layers, the exposure log only happens when a parameter is checked, but this is disabled from the layer object you get from this api.
v4.6.6 - Patch null user to set userID as null
When a null user is provided, and we need to normalize the environment, the SDK makes a copy of the user to add an environment to it. That copy set the default userID to the empty string, rather than null. Now, it will set the userID to null if it does not exist
v4.6.5 - Ensure user cache set for the correct user when switching users consecutively without awaiting
Previously if you switch the user consecutively without awaiting for the async function to complete, e.g. initialize(userA)
followed by updateUser(userB)
without awaiting for the calls, you could end up saving the values intended for userA on userB. This patch ensures that even in this case, userA
and userB
will both get the correct values intended for themselves.
v4.6.4 - Patches missing classes in release builds
Update proguard rules to prevent missing dependencies in release builds
v4.6.2 - patches initialization to make async piece awaitable
Wait for initialize to complete (#65) * Wait for initialize to complete * Add cache test case * simplify
v4.6.1 - Patches initialize coroutine to do synchronous initialization first
Patches an issue where synchronous initialization was not completing before async initialization in the coroutine api
v4.6.0 - ErrorBoundary
Adds an error boundary around Statsig logic to prevent exceptions reaching client code and causing a crash. Errors are logged with Statsig to help diagnose problems.
v4.5.0 - EvaluationDetails
- added a
getEvaluationDetails()
function toDynamicConfig
(Experiment) andLayer
classes. It has information on the reason for you to get the specific result. - the details also appear in the exposure event's details view under the Exposure Stream
v4.4.1 - Patch environment missing from StatsigUser on updateUserCall
Use normalized user in updateUser network request (#58) * Use normalized user in updateUser network request * bump version