Skip to content

Releases: Kameleoon/client-js

JavaScript SDK 4.1.0

14 Nov 13:51
Compare
Choose a tag to compare

Features

Patch Changes

  • [UniqueIdentifier][uniqueidentifier] data is now correctly exported from the SDK
  • Updated dependencies

JavaScript SDK 4.0.2

08 Nov 17:05
Compare
Choose a tag to compare

Patch Changes

  • Fixed build issue resulting in potential issues when using any targeting condition with Exclude option
  • Updated dependencies

JavaScript SDK 4.0.1

05 Nov 16:00
Compare
Choose a tag to compare

Patch Changes

  • Fixed an issue with the Page URL and Page Title targeting conditions, where the condition evaluated all previously visited URLs in the session instead of only the current URL, corresponding to the latest added PageView
    NOTE: This change may impact your existing targeting. Please review your targeting conditions to ensure accuracy.
  • Updated dependencies

JavaScript SDK 4.0.0

03 Oct 09:30
Compare
Choose a tag to compare

Breaking Changes

  • isUniqueIdentifier parameter has been removed from methods flush, getRemoteVisitorData and trackConversion
  • 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.
  • Method initialize no more accepts useCache boolean parameter. Using storage cached client configuration on failed configuration request is now default behavior.

Features

  • 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
  • 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

Patch Changes

JavaScript SDK 3.4.7

30 Aug 15:08
Compare
Choose a tag to compare

Patch Changes

  • Fixed the issue - some feature experiment conditions could resolve to incorrect values on interval configuration update
  • Fixed the ReferenceError issue appearing on KameleoonClient instantiation when window object is not available
  • Updated dependencies

JavaScript SDK 3.4.6

15 Aug 09:09
Compare
Choose a tag to compare

Patch Changes

  • Fixed the issue with mapping identifier Custom Data not being set correctly after browser tab reload
  • Updated dependencies

JavaScript SDK 3.4.5

08 Aug 15:15
Compare
Choose a tag to compare

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

JavaScript SDK 3.4.4

19 Jul 11:47
Compare
Choose a tag to compare

Patch Changes

  • Fix previous release, which didn't contain all the described changes
  • Updated dependencies

JavaScript SDK 3.4.3

19 Jul 10:12
Compare
Choose a tag to compare

Patch Changes

  • Improved random generation for nonce values
  • Updated dependencies

JavaScript SDK 3.4.2

16 Jul 13:12
Compare
Choose a tag to compare

Patch Changes

  • getVisitorCode now sets the visitor code to cookie correctly, when the visitor code was initially retrieved from it
  • Updated dependencies