Skip to content

v5.2.0 - add APIs to get the list of experiments and feature gates

Compare
Choose a tag to compare
@jkw-statsig jkw-statsig released this 24 Jan 02:11
· 325 commits to main since this release
7fe79d7
  • added APIs to get the list of experiments and feature gates, getExperimentList() / getFeatureGateList(), both of which returns a list of names for the respective entity type;
  • the SDK now logs an internal error when attempting to get a value from DynamicConfig that's of the wrong type, e.g. if your parameter on the experiment is a number, but you are trying to get it as a string by providing a string typed value as the default value when calling get(). This will be logged by the SDK and surfaced as a warning in Statsig console;