1.33.0 - Support Override-related APIs with UserID and CustomIDs
New Features
- 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");
Included In This Release
- dd147ff Weihao Ding
- feat: support overrides with user/custom IDs (#405)
Full Changelog: 1.32.2...1.33.0