Skip to content

1.34.0 - Support Override-related APIs with UserID and CustomIDs, Add Sampling to Exposure Events

Latest
Compare
Choose a tag to compare
@statsig-kong statsig-kong released this 14 Dec 00:19
d489be1

New Features

  • Added Sampling to Gate/Config/Layer non-analytical exposure events
  • We now support overrideGate, overrideLayer, overrideConfig, removeGateOverride, removeConfigOverride removeLayerOverride with a new parameter called forID so that end users can override / remove a override for a specific user.
    • forID can be userID field on the StatsigUser object or customIDs on the StatsigUser 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

  • a8d349e tore-statsig
    • Revert "persisted evaluation with experiment filtering" (#410)
  • 7a2893a kenny-statsig
    • persisted evaluation with experiment filtering (#402)
  • da8a561 Weihao Ding
    • feat: sampling (#406)
  • dd147ff Weihao Ding
    • feat: support overrides with user/custom IDs (#405)

Full Changelog: 1.32.2...1.34.0