Releases: Kameleoon/client-react
Releases · Kameleoon/client-react
React/React Native 10.0.1
Patch Changes
- Fixed an issue with the
Page URL
andPage Title
targeting conditions, where the condition evaluated all previously visited URLs in the session instead of only the current URL, corresponding to the latest addedPageView
NOTE: This change may impact your existing targeting. Please review your targeting conditions to ensure accuracy. - Updated dependencies
- @kameleoon/[email protected]
React/React Native 10.0.0
Breaking Changes
isUniqueIdentifier
parameter has been removed from methodsflush
,getRemoteVisitorData
andtrackConversion
- Method
initialize
no more acceptsuseCache
boolean parameter. Using storage cached client configuration on failed configuration request is now default behavior. - Previously deprecated method
onConfigurationUpdate
has been removed from SDKs. UseonEvent
method withEventType.ConfigurationUpdate
to achieve the same effect. - Previously deprecated field
domain
ofSDKConfiguration
has been removed from SDKs. UsecookieDomain
field ofSDKConfiguration
instead. - Parameter
text
ofKameleoonResponseType
used in customrequester
implementation is now mandatory, for the vast majority of implementations likefetch
,axios
ornode-fetch
it won't require any changes.
Features
FeatureVariableType
returned from the methods obtaining feature flag variables can now have two newVariableType
s -VariableType.JS
containing astring
of JavaScript code andVariableType.CSS
containing a string with CSS code- Added new
UniqueIdentifier
data to be used instead of removedisUniqueIdentifier
parameters in some methods - Added new
SDKConfiguration
parametertrackingInterval
to set the interval between SDK tracking network requests in milliseconds, default value is1000
, which is also maximum interval, minimum value is100
Patch Changes
getEngineTrackingCode
method now correctly setstriggerExperiment
parameter based on variable types- Updated dependencies
- @kameleoon/[email protected]
React/React Native 9.5.4
Patch Changes
- Fixed the issue - some feature experiment conditions could resolve to incorrect values on interval configuration update
- Updated dependencies
- @kameleoon/[email protected]
React/React Native 9.5.3
Patch Changes
- Fixed the issue with mapping identifier Custom Data not being set correctly after browser tab reload
- Updated dependencies
- @kameleoon/[email protected]
React/React Native 9.5.2
Patch Changes
- Fixed an issue that caused duplicate entries in feature flag results for both anonymous and authorized/identified visitors during data reconciliation. This problem occurred when custom data of type mapping ID was not consistently sent for all sessions.
- Updated dependencies
- @kameleoon/[email protected]
React/React Native 9.5.1
Patch Changes
- Fix previous release, which didn't contain all the described changes
- Updated dependencies
- @kameleoon/[email protected]
React/React Native 9.5.0
Features
- Added new external dependency
Pseudo Random Number Generator
Patch Changes
- Fixed the issue where
useCache
parameter ofinitialize
wasn't displayed in the method parameters type - Updated dependencies
- @kameleoon/[email protected]
React/React Native 9.4.2
Patch Changes
getVisitorCode
now sets the visitor code to cookie correctly, when the visitor code was initially retrieved from it- Updated dependencies
- @kameleoon/[email protected]
React/React Native 9.4.1
Patch Changes
ClientConfiguration
andRemoteData
Kameleoon Exceptions are now more informativegetEngineTrackingCode
output code is now correctly overrides experiment variation assigned by JS Script- Updated dependencies
- @kameleoon/[email protected]
React/React Native 9.4.0
Features
- Added new
networkDomain
parameter inSDKConfigurationType
for configuring custom network domain for all outgoing requests. SDKConfigurationType
parameterdomain
was deprecated and will be removed in the next major version. Instead newcookieDomain
is available.- Consent value can now be read automatically from the JS Script if the visitor code is set in cookie.
- Add new optional External Dependency - Requester for implementing custom network request handler
- Added new
KameleoonUtils
methods:getCookieValue
for extracting cookie value from cookie stringsimulateSuccessRequest
for mocking successful network requests when implementing customRequester
Patch Changes
- Updated dependencies
- @kameleoon/[email protected]