View on GitHub

New Features and Improvements

  • Introduce Context.updateVisitorProperties and Context.getConfigEntity
  • Optionally update in-memory visitorProperties: Optionally update in-memory visitorProperties on running experience(s)/feature(s)

Bug Fixes

  • Always include report segments: Always include report segments with visitorProperties for rule matching
  • Filter report segments on: Filter report segments on Context.setDefaultSegments
  • Rename Context.setCustomSegments to Context.runCustomSegments

View on GitHub

⚠ BREAKING CHANGES

  • Extract js-sdk-api, js-sdk-rule, js-sdk-bucketing: Extract js-sdk-api, js-sdk-rule, js-sdk-bucketing, js-sdk-event, js-sdk-data, js-sdk-experience, js-sdk-segments, js-sdk-logger, js-sdk-enums, js-sdk-types, and js-sdk-utils as peer dependencies

Code Refactoring

  • Extract js-sdk-api, js-sdk-rule, js-sdk-bucketing: Extract js-sdk-api, js-sdk-rule, js-sdk-bucketing, js-sdk-event, js-sdk-data, js-sdk-experience, js-sdk-segments, js-sdk-logger, js-sdk-enums, js-sdk-types, and js-sdk-utils as peer dependencies

View on GitHub

Bug Fixes

  • Allow optional environment per: Allow optional environment per experience when bucketing visitors
  • Handle the case of: Handle the case of no audience restrictions when bucketing visitors
  • Only show invalid dataStore: Only show invalid dataStore error when provided
  • Skip tracking conversion event: Skip tracking conversion event if goal already triggered