Improved
JavaScript SDK v5.0.0
2 days ago by ReadMe API
New Features and Improvements
-
New Anchored Bucketing Layout
- The bucketing layout is now selected by
experience.version. Experiences with version > 11 use the new anchored layout, offering improved distribution logic over the old packed cumulative walk approach. See commit.
- The bucketing layout is now selected by
-
Anchored Layout Reference Implementation
- The JavaScript SDK now includes a reference implementation for the anchored layout as defined in contract v12. See commit.
-
Full Stack v12 Enhancements
- Introduced features for safer traffic ramp-up, variation preview, and experiment exclusion, enhancing the flexibility and safety of experiment management. See commit.
-
Mutual-Exclusion Audience Rule
- Added a new audience rule for mutual exclusion based on
bucketed_into_experience_key, allowing for more precise targeting and exclusion logic. See commit.
- Added a new audience rule for mutual exclusion based on
-
Zero-Trace Location Events
- Implemented zero-trace location events and encoded config-fetch parameters to enhance the privacy and security of API interactions. See commit.
-
Force Preview Target in runExperiences()
- The SDK now supports forcing the preview target in
runExperiences()to achieve parity with run-all functionality, ensuring consistent behavior during previews. See commit.
- The SDK now supports forcing the preview target in