Skip to content

Releases: Kameleoon/client-nodejs

NodeJS SDK 5.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

NodeJS SDK 5.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

NodeJS SDK 5.0.1

05 Nov 16:00
cb72643
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

NodeJS SDK 5.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.
  • SDK stopped using node-fetch dependency - that leads to external requester becoming mandatory dependency. To make sure SDK works correctly make sure to install @kameleoon/nodejs-requester package or provide your implementation. Use sdk-installer for more detailed information.
  • externalRequestDispatcher was removed from an SDK - all its functionality can be covered by using custom requester implementation.
  • SDK parameters integrations was removed along with its field externalClientConfiguration, use custom requester with RequestType.ClientConfiguration to provide custom configuration instead.
  • Static method KameleoonUtils.getClientConfigurationUrl was removed - configuration url can be accessed using requester

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

NodeJS SDK 4.4.8

09 Sep 09:50
Compare
Choose a tag to compare

Patch Changes

  • It's now possible to create several SDK instances with different site codes
  • Updated dependencies

NodeJS SDK 4.4.7

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 reading SDK configuration from a storage
  • Updated dependencies

NodeJS SDK 4.4.6

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

NodeJS SDK 4.4.5

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

NodeJS SDK 4.4.4

19 Jul 10:12
Compare
Choose a tag to compare

Patch Changes

  • Improved random generation for nonce values
  • Updated dependencies

NodeJS SDK 4.4.3

16 Jul 13:12
Compare
Choose a tag to compare

Patch Changes

  • Fixed the issue of addData method throwing an error after using setLegalConsent
  • getVisitorCode now sets the visitor code to server response, custom output or Next.js cookie object correctly, when the visitor code was initially retrieved from it
  • Updated dependencies