New major release with breaking API changes
With v4.0.1 we are introducing a few breaking changes on our APIs, along with other optimizations and bug fixes.
-
Making
useranduser.userIDrequired forcheckGate,getConfigandgetExperiment. We realized that havinguseras 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. -
Renamed
clientVersiontoappVersiononStatsigUserto be consistent with the naming on Statsig console and client SDKs. -
Removed
isReady(). Statsig is ready to be used wheneverinitialize()has finished.