Skip to content

New major release with breaking API changes

Compare
Choose a tag to compare
@jkw-statsig jkw-statsig released this 23 Jun 19:26
· 637 commits to main since this release
d16f453

With v4.0.1 we are introducing a few breaking changes on our APIs, along with other optimizations and bug fixes.

  1. Making user and user.userID required for checkGate, getConfig and getExperiment. We realized that having user as a nullable parameter was causing confusions for developers, so we've decided to make it required and provide guidance on what to do for different scenarios.

  2. Renamed clientVersion to appVersion on StatsigUser to be consistent with the naming on Statsig console and client SDKs.

  3. Removed isReady(). Statsig is ready to be used whenever initialize() has finished.