Releases: Kameleoon/client-react
React/React Native 10.19.2
Warning
If you're upgrading from a version earlier than 10.15.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
Patch Changes
- Stability and performance improvements
- Updated dependencies
- @kameleoon/javascript-sdk@4.17.2
React/React Native 10.19.1
Patch Changes
- Stability and performance improvements
- Updated dependencies
- @kameleoon/javascript-sdk@4.17.1
React/React Native 10.19.0
Features
- Fixed an issue where Kameleoon Data was retained beyond the configured
targetingDataCleanupIntervalif the Data API encountered internal errors. Expired data is now reliably removed in accordance with the cleanup interval. - Updated evaluation and tracking logic to comply with GDPR requirements when consent is not given:
- If behavior is partially blocked, the default variation will be returned.
- If behavior is completely blocked, an exception will be thrown.
Patch Changes
- Updated dependencies
- @kameleoon/javascript-sdk@4.17.0
React/React Native 10.18.1
Warning
If you're upgrading from a version earlier than 10.15.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
Patch Changes
- Fixed an issue where
Conversionmetadata initialized with a name was not tracked. - Updated dependencies
- @kameleoon/javascript-sdk@4.16.1
React/React Native 10.18.0
Warning
If you're upgrading from a version earlier than 10.15.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
Minor Changes
- Introduced a new
getDataFilemethod. This method returns the current SDK configuration (also known as the data file) used for evaluation and targeting. It is not intended for production use to fetch variations for every feature flag in the returned list, as it is not optimized for performance. For that purpose, usegetVariationsinstead.getDataFileis mainly useful for debugging or QA, for example to let internal users manually select a variant for a specific feature flag in production.
Patch Changes
- Addressed an issue where tracking data was sent for visitors who had not provided consent.
- Updated dependencies
- @kameleoon/javascript-sdk@4.16.0
React/React Native 10.17.1
Warning
If you're upgrading from a version earlier than 10.15.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
Patch Changes
- Fixed an issue where the generated TypeScript declaration files (.d.ts) referenced
src/...paths instead of package exports, which caused type errors in projects using the package. - Updated dependencies
- @kameleoon/javascript-sdk@4.15.1
React/React Native 10.17.0
Warning
If you're upgrading from a version earlier than 10.15.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
Features
- Added an
overwriteflag toCustomData, used as theoverwriteparameter during tracking. CustomDatacan now be created using aname, in addition to the existing method of using anindex.
Patch Changes
- Updated dependencies
- @kameleoon/javascript-sdk@4.15.0
React/React Native 10.16.3
Warning
If you're upgrading from a version earlier than 10.15.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
Patch Changes
- Corrected the logic for sending tracking data to comply with GDPR requirements.
- Updated dependencies
- @kameleoon/javascript-sdk@4.14.5
React/React Native 10.16.2
Warning
If you're upgrading from a version earlier than 10.15.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
Patch Changes
- Fixed an issue where using [
getRemoteVisitorData][getRemoteVisitorData] withpersonalization=trueor [evaluateAudiences][evaluateAudiences] could cause a visitor’s targeting data to be unexpectedly removed from storage. - Updated dependencies
- @kameleoon/javascript-sdk@4.14.4
React/React Native 10.16.1
Warning
If you're upgrading from a version earlier than 10.15.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
Patch Changes
- Fixed an issue where
Cookiewould throw an exception when parsing from a string if the cookie value was empty. - Removed the React Native dependency from the browser bundle to avoid build-time warnings and errors.
- Fixed the automatic detection of
DeviceandOperatingSystemtypes in React Native. The previous implementation could cause build-time warnings and errors. To enable this feature, use the external package@kameleoon/react-native-platform-analyzer. - Corrected automatic detection of the
Browserversion to parse versions as floats instead of integers. - Updated dependencies
- @kameleoon/javascript-sdk@4.14.3