@kameleoon/javascript-sdk 4.20.0 → 4.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.22.0 (2026-05-05)
4
+
5
+ ### Features
6
+
7
+ - Added support for **during the current visit** and **during any of the last visits** settings across the following targeting conditions:
8
+ - Converted Goal
9
+ - Feature Flag
10
+ - Web Experiment
11
+ - Personalization
12
+ - Exclusive Campaign
13
+
14
+ ### Patch Changes
15
+
16
+ - Fixed an issue where the **Web Experiment** condition could return incorrect non-targeted results.
17
+ - Updated dependencies
18
+ - @kameleoon/javascript-sdk-core@5.23.0
19
+
20
+ ## 4.21.0 (2026-04-23)
21
+
22
+ ### Features
23
+
24
+ - Improved the performance of the [`getDataFile()`](getDataFile) method. It now returns a cached [`DataFile`](DataFile) instance that is refreshed whenever the SDK configuration is updated.
25
+ - The [`getFeatureList`](getFeatureList) method has been deprecated in favor of `getDataFile()`.
26
+ - Added a new `dateModified` property to the [`DataFile`](DataFile) object returned by the [`getDataFile`](getDataFile) method.
27
+
28
+ [DataFile]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/js-sdk#datefile
29
+ [getFeatureList]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/js-sdk#getfeaturelist
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies
34
+ - @kameleoon/javascript-sdk-core@5.22.0
35
+
3
36
  ## 4.20.0 (2026-03-23)
4
37
 
5
38
  ### Features