@kameleoon/javascript-sdk 4.19.1 → 4.21.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,42 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.21.0 (2026-04-23)
4
+
5
+ ### Features
6
+
7
+ - 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.
8
+ - The [`getFeatureList`](getFeatureList) method has been deprecated in favor of `getDataFile()`.
9
+ - Added a new `dateModified` property to the [`DataFile`](DataFile) object returned by the [`getDataFile`](getDataFile) method.
10
+
11
+ [DataFile]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/js-sdk#datefile
12
+ [getFeatureList]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/js-sdk#getfeaturelist
13
+
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+ - @kameleoon/javascript-sdk-core@5.22.0
19
+
20
+ ## 4.20.0 (2026-03-23)
21
+
22
+ ### Features
23
+
24
+ - Added support for variation simulation when feature flags are **inactive (OFF state)** across the following methods:
25
+ - [`getVariation`][getVariation]
26
+ - [`getVariations`][getVariations]
27
+ - [`isFeatureFlagActive`][isFeatureFlagActive]
28
+ - This support is also extended to the following **deprecated methods**:
29
+ - [`getVisitorFeatureFlags`][getVisitorFeatureFlags]
30
+ - [`getActiveFeatureFlags`][getActiveFeatureFlags]
31
+ - [`getFeatureFlagVariationKey`][getFeatureFlagVariationKey]
32
+ - [`getFeatureFlagVariable`][getFeatureFlagVariable]
33
+ - [`getFeatureFlagVariables`][getFeatureFlagVariables]
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies
38
+ - @kameleoon/javascript-sdk-core@5.21.0
39
+
3
40
  ## 4.19.1 (2026-03-19)
4
41
 
5
42
  ### Patch Changes