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
user
anduser.userID
required forcheckGate
,getConfig
andgetExperiment
. We realized that havinguser
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. -
Renamed
clientVersion
toappVersion
onStatsigUser
to be consistent with the naming on Statsig console and client SDKs. -
Removed
isReady()
. Statsig is ready to be used wheneverinitialize()
has finished.