Releases: Kameleoon/client-js
Releases · Kameleoon/client-js
JavaScript SDK 3.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]
JavaScript SDK 3.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.- Added 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]
JavaScript SDK 3.3.0
Features
- Added new
onEvent
method to handle SDK events with a callback. - Method
onConfigurationUpdate
is now marked asdeprecated
and will be removed in the next major release. UseonEvent(EventType.ConfigurationUpdate, callback)
instead. - Added support of range match type for numeric Custom Data values.
Patch Changes
- Updated dependencies
- @kameleoon/[email protected]
JavaScript SDK 3.2.0
Features
- New method
getActiveFeatureFlags
for retrieving feature flags that are active for visitor with detailed variation and variables information.
Patch Changes
- Updated dependencies
- @kameleoon/[email protected]
JavaScript SDK 3.1.0
Features
- New Likelihood to Convert targeting condition.
getRemoteVisitorData
method now accepts new boolean parameterisUniqueIdentifier
to obtain all linked visitors data when working with Cross-device experimentation- Miscellaneous Cross-device experimentation improvements
Patch Changes
- Improved visits data collection logic
- Fixed the issue with when
_
variable was transformed to duplicate identifiera
causingTypeError
- Kameleoon network request headers are now properly used
Browser
condition could throw an error when the browser version wasn't specified on Kameleoon PlatformGeolocation
condition is now case insensitive- SDK Core version is no more sent with tracking
- Updated dependencies
- @kameleoon/[email protected]
JavaScript SDK 3.0.1
Patch Changes
- Added support for additional Data API servers across the world for even faster network requests
- Updated dependencies
- @kameleoon/[email protected]
JavaScript SDK 3.0.0
Breaking Changes
- Previously deprecated
KameleoonUtils.getVisitorCode()
was removed
Features
- Added External Dependencies capabilities
Patch Changes
- Updated dependencies:
- @kameleoon/[email protected]
JavaScript SDK 2.5.2
Bug fixes
- Tracking wasn't sent if consent is required
JavaScript SDK 2.5.1
Bug fixes
- Context binding in setLegalConsent method
JavaScript SDK 2.5.0
Bug fixes
- SDK threw an error reading storage when migrating from older SDK versions
Features
- Added new SDK
configuration
parameterrequestTimeout
, which defines maximum time in milliseconds after which any SDK network request will fail