Skip to content

React/React Native 10.0.0

Compare
Choose a tag to compare
@Kameleoon Kameleoon released this 03 Oct 09:30
· 2 commits to main since this release

Breaking Changes

  • isUniqueIdentifier parameter has been removed from methods flush, getRemoteVisitorData and trackConversion
  • Method initialize no more accepts useCache boolean parameter. Using storage cached client configuration on failed configuration request is now default behavior.
  • Previously deprecated method onConfigurationUpdate has been removed from SDKs. Use onEvent method with EventType.ConfigurationUpdate to achieve the same effect.
  • Previously deprecated field domain of SDKConfiguration has been removed from SDKs. Use cookieDomain field of SDKConfiguration instead.
  • Parameter text of KameleoonResponseType used in custom requester implementation is now mandatory, for the vast majority of implementations like fetch, axios or node-fetch it won't require any changes.

Features

  • FeatureVariableType returned from the methods obtaining feature flag variables can now have two new VariableTypes - VariableType.JS containing a string of JavaScript code and VariableType.CSS containing a string with CSS code
  • Added new UniqueIdentifier data to be used instead of removed isUniqueIdentifier parameters in some methods
  • Added new SDKConfiguration parameter trackingInterval to set the interval between SDK tracking network requests in milliseconds, default value is 1000, which is also maximum interval, minimum value is 100

Patch Changes