Skip to content

Releases: Kameleoon/client-react

React/React Native 9.3.0

24 May 13:22
8aba5f3
Compare
Choose a tag to compare

Features

Patch Changes

React/React Native 9.2.0

07 May 15:34
ba946ae
Compare
Choose a tag to compare

Features

  • New method getActiveFeatureFlags obtained with useFeature hook, which retrieves feature flags that are active for visitor with detailed variation and variables information.

Patch Changes

React/React Native 9.1.0

22 Apr 07:29
Compare
Choose a tag to compare

Features

Patch Changes

  • Improved visits data collection logic
  • Fixed the issue with when _ variable was transformed to duplicate identifier a causing TypeError
  • Kameleoon network request headers are now properly used
  • Browser condition could throw an error when the browser version wasn't specified on Kameleoon Platform
  • Geolocation condition is now case insensitive
  • SDK Core version is no more sent with tracking
  • Updated dependencies

React/React Native 9.0.1

21 Feb 14:28
Compare
Choose a tag to compare

Patch Changes

  • <KameleoonProvider /> React dependency is now properly used
  • Convert dependency on JavaScript SDK from peer to concrete

React/React Native 9.0.0

16 Feb 11:40
Compare
Choose a tag to compare

Breaking Changes

  • getReactVisitorCode method and according hook were removed, instead use getVisitorCode method
  • getReactNativeVisitorCode method and according hook were removed, instead use getVisitorCode method
  • Previously deprecated getBrowserVisitorCode method and according hook were removed
  • Most hooks were merged and methods were grouped by hooks:
    • useAddData/useTrackConversion/useFlush/useRemoteData/useRemoteVisitorData/useWarehouseAudience -> useData ,containing all methods from the listed hooks
    • useFeatureFlagActive/useFeatureFlags/useFeatureVariable/useFeatureVariables/useFeatureFlagVariationKey/useVisitorFeatureFlags/useEngineTrackingCode -> useFeatureFlag, containing all methods from the listed hooks
    • useConfigurationUpdate -> useInitialize, containing onConfigurationUpdate and initialize methods
    • useSetLegalConsent -> useVisitorCode, containing getVisitorCode and setLegalConsent methods
  • React SDK for React Native now requires providing external dependencies
  • React SDK no more has React Native related packages in it's dependencies

Features

Patch Changes

React/React Native SDK 8.5.2

07 Feb 11:13
Compare
Choose a tag to compare

Bug fixes

  • Tracking wasn't sent if consent is required

React/React Native SDK 8.5.1

29 Jan 11:59
Compare
Choose a tag to compare

Bug fixes

React/React Native SDK 8.5.0

25 Jan 08:19
Compare
Choose a tag to compare

Bug fixes

  • SDK threw an error reading storage when migrating from older SDK versions
  • React Native visitor code couldn't be read from storage in certain React Native versions
  • React SDK request headers caused CORS errors

Features

  • Added new SDK configuration parameter requestTimeout, which defines maximum time in milliseconds after which any SDK network request will fail

React/React Native SDK 8.4.1

15 Dec 11:17
Compare
Choose a tag to compare

Bug fixes

  • Fix nonce for Conversion data

React/React Native SDK 8.4.0

12 Dec 13:21
Compare
Choose a tag to compare

Features

  • Updated the getFeatureFlagVariable function of useFeatureVariable hook to return an object of type FeatureFlagVariableType
  • Enhanced the getFeatureFlagVariablesfunction of useFeatureVariables hook to include the key field in its return value.

Bug fixes

  • Custom Data mapping identifier wasn't tracked correctly