1.33.0 - Support Override-related APIs with UserID and CustomIDs
New Features
- We now support
overrideGate,overrideLayer,overrideConfig,removeGateOverride,removeConfigOverrideremoveLayerOverridewith a new parameter calledforIDso that end users can override / remove a override for a specific user.
-forIDcan beuserIDfield on theStatsigUserobject orcustomIDson theStatsigUserObject
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