1.34.0 - Support Override-related APIs with UserID and CustomIDs, Add Sampling to Exposure Events
LatestNew Features
- Added Sampling to Gate/Config/Layer non-analytical exposure events
- We now support
overrideGate
,overrideLayer
,overrideConfig
,removeGateOverride
,removeConfigOverride
removeLayerOverride
with a new parameter calledforID
so that end users can override / remove a override for a specific user.forID
can beuserID
field on theStatsigUser
object orcustomIDs
on theStatsigUser
Object
Example
StatsigUser sampleUser = new StatsigUser("userId123");
Statsig.overrideGate("test_gate", false, sampleUser.getUserID());
Map<String, String> customIDs = Map.of("customid", "1017");
sampleUser.setCustomIDs(customIDs);
Statsig.overrideGate("test_gate", false, "1017");
Improvements
- N / A
Fixes
- N / A
Included In This Release
Full Changelog: 1.32.2...1.34.0