Skip to content

Releases: statsig-io/android-sdk

v4.8.0 - Add LayerOverrides

28 Nov 18:59
Compare
Choose a tag to compare
  • Adds the ability to override values that are returned via getLayer.

v4.7.0 - Adds exposure logging disabled APIs

30 Sep 18:28
51e7bd4
Compare
Choose a tag to compare

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

20 Sep 18:37
4f00963
Compare
Choose a tag to compare

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

15 Aug 18:27
Compare
Choose a tag to compare

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

11 Aug 21:28
08327a2
Compare
Choose a tag to compare

Update proguard rules to prevent missing dependencies in release builds

v4.6.2 - patches initialization to make async piece awaitable

02 Aug 16:02
af4b161
Compare
Choose a tag to compare
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

28 Jul 17:44
25c4bf6
Compare
Choose a tag to compare

Patches an issue where synchronous initialization was not completing before async initialization in the coroutine api

v4.6.0 - ErrorBoundary

24 May 19:18
Compare
Choose a tag to compare

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

06 May 18:58
Compare
Choose a tag to compare
  • added a getEvaluationDetails() function to DynamicConfig (Experiment) and Layer 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

08 Apr 15:32
df0fab3
Compare
Choose a tag to compare
Use normalized user in updateUser network request (#58)

* Use normalized user in updateUser network request

* bump version