@kameleoon/javascript-sdk 4.23.0 → 4.24.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 +37 -0
- package/dist/constants.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/javascript-sdk.cjs.min.js +1 -1
- package/dist/javascript-sdk.cjs.min.js.map +1 -1
- package/dist/javascript-sdk.es.min.js +1 -1
- package/dist/javascript-sdk.es.min.js.map +1 -1
- package/dist/javascript-sdk.full.cjs.min.js +2 -0
- package/dist/javascript-sdk.full.cjs.min.js.map +1 -0
- package/dist/javascript-sdk.full.es.min.js +2 -0
- package/dist/javascript-sdk.full.es.min.js.map +1 -0
- package/dist/javascript-sdk.full.umd.min.js +2 -0
- package/dist/javascript-sdk.full.umd.min.js.map +1 -0
- package/dist/javascript-sdk.umd.min.js +1 -1
- package/dist/javascript-sdk.umd.min.js.map +1 -1
- package/dist/visitorActivity/visitorActivityManager.d.ts +3 -3
- package/package.json +14 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,30 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.24.0 (2026-05-13)
|
|
4
|
+
|
|
5
|
+
> [!WARNING]
|
|
6
|
+
> If you're upgrading from a version earlier than 4.24.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Removed [`INFO`][logging] and [`DEBUG`][logging] log messages from the standard bundles to significantly reduce the default JavaScript SDK bundle size.
|
|
11
|
+
- Added `/full` package exports for customers who require verbose SDK logging. Use `@kameleoon/javascript-sdk/full` when enabling logging with `KameleoonLogger.setLogLevel(LogLevel.INFO)` or `KameleoonLogger.setLogLevel(LogLevel.DEBUG)`.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @kameleoon/javascript-sdk-core@5.25.0
|
|
17
|
+
|
|
3
18
|
## 4.23.0 (2026-05-07)
|
|
4
19
|
|
|
20
|
+
> [!WARNING]
|
|
21
|
+
> If you're upgrading from a version earlier than 4.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
22
|
+
|
|
5
23
|
### Features
|
|
6
24
|
|
|
7
25
|
- Added support for processing and tracking visitor variations from `window.kameleoonQueue`, generated by the server-side SDK's [`getEngineTrackingCode`][getenginetrackingcode] method. Processing is initiated within [`getVisitorCode()`][getVisitorCode], immediately after the visitor code is determined.
|
|
8
26
|
- Improved [`getEngineTrackingCode`][getenginetrackingcode] performance by caching experiment metadata for reuse across calls.
|
|
27
|
+
|
|
9
28
|
### Patch Changes
|
|
10
29
|
|
|
11
30
|
- Updated dependencies
|
|
@@ -15,6 +34,9 @@
|
|
|
15
34
|
|
|
16
35
|
## 4.22.0 (2026-05-05)
|
|
17
36
|
|
|
37
|
+
> [!WARNING]
|
|
38
|
+
> If you're upgrading from a version earlier than 4.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
39
|
+
|
|
18
40
|
### Features
|
|
19
41
|
|
|
20
42
|
- Added support for **during the current visit** and **during any of the last visits** settings across the following targeting conditions:
|
|
@@ -32,6 +54,9 @@
|
|
|
32
54
|
|
|
33
55
|
## 4.21.0 (2026-04-23)
|
|
34
56
|
|
|
57
|
+
> [!WARNING]
|
|
58
|
+
> If you're upgrading from a version earlier than 4.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
59
|
+
|
|
35
60
|
### Features
|
|
36
61
|
|
|
37
62
|
- 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.
|
|
@@ -48,6 +73,9 @@
|
|
|
48
73
|
|
|
49
74
|
## 4.20.0 (2026-03-23)
|
|
50
75
|
|
|
76
|
+
> [!WARNING]
|
|
77
|
+
> If you're upgrading from a version earlier than 4.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
78
|
+
|
|
51
79
|
### Features
|
|
52
80
|
|
|
53
81
|
- Added support for variation simulation when feature flags are **inactive (OFF state)** across the following methods:
|
|
@@ -68,6 +96,9 @@
|
|
|
68
96
|
|
|
69
97
|
## 4.19.1 (2026-03-19)
|
|
70
98
|
|
|
99
|
+
> [!WARNING]
|
|
100
|
+
> If you're upgrading from a version earlier than 4.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
101
|
+
|
|
71
102
|
### Patch Changes
|
|
72
103
|
|
|
73
104
|
- Stability and performance improvements
|
|
@@ -76,6 +107,9 @@
|
|
|
76
107
|
|
|
77
108
|
## 4.19.0 (2026-03-04)
|
|
78
109
|
|
|
110
|
+
> [!WARNING]
|
|
111
|
+
> If you're upgrading from a version earlier than 4.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
112
|
+
|
|
79
113
|
### Features
|
|
80
114
|
|
|
81
115
|
- Introduced a new [`flushInstant`][flush] method — an asynchronous version of `flush` that returns `Promise<void>` and can be awaited:
|
|
@@ -89,6 +123,9 @@
|
|
|
89
123
|
|
|
90
124
|
## 4.18.0 (2026-02-13)
|
|
91
125
|
|
|
126
|
+
> [!WARNING]
|
|
127
|
+
> If you're upgrading from a version earlier than 4.14.0 and run into any unexpected build or SDK-related issues, please reach out to the Kameleoon Support Team. We're here to ensure your transition is smooth and will promptly address any concerns.
|
|
128
|
+
|
|
92
129
|
### Features
|
|
93
130
|
|
|
94
131
|
- Updated the allowed range for the [`trackingInterval`][configurationParameters]. The new range is from **`1000` ms** (default) to **`5000` ms**, allowing a reduction in the number of tracking requests.
|
package/dist/constants.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Ok, Err, KameleoonCore, KameleoonUtils, KameleoonException, KameleoonError,
|
|
1
|
+
export { Ok, Err, KameleoonCore, KameleoonUtils, KameleoonException, KameleoonError, KameleoonStorageKey, VisitorCodeManager, KameleoonLogger, LogLevel, Parser, SdkLanguageType, TrackingStatus, Environment, ApplicationVersion, CustomData, Conversion, Device, Cookie, Browser, UserAgent, DeviceType, GeolocationData, OperatingSystem, BrowserType, PageView, StaticData, KameleoonData, UniqueIdentifier, DataStorage, RequestType, VariableType, EventType, OperatingSystemType, } from '@kameleoon/javascript-sdk-core/browser';
|
|
2
2
|
export type { Result, IKameleoonCore, VisitorDataFiltersType, IExternalPRNG, FeatureFlagVariationsType, IExternalStorage, StorageDataType, EventCallbackType, EventDataType, EvaluationEventDataType, ConfigurationUpdateEventDataType, IVisitorCodeManager, IExternalLogger, JSONType, ConfigurationDataType, InternalsType, FeatureFlagType, FlushParamsType, JSONVariableType, SDKCoreParameters, NumberVariableType, StringVariableType, BooleanVariableType, SDKConfigurationType, KameleoonVariableType, KameleoonVariationType, FeatureFlagVariableType, TrackConversionParamsType, FeatureVariableResultType, RemoteVisitorDataParamsType, InternalSDKConfigurationType, IsFeatureFlagActiveParamsType, SetDataCallbackParametersType, GetFeatureFlagVariableParamsType, GetVisitorWarehouseAudienceParamsType, SimulateRequestDataType, GetVariationParamsType, GetVariationsParamsType, VariationType, SetForcedVariationParametersType, ExternalPackageInfoType, CookieType, GeolocationInfoType, ApplicationVersionDataType, IDataManager, IExternalEventSource, EventSourceOpenParametersType, HeadersType, IExternalRequester, RequestParametersType, RetryCountType, KameleoonResponseType, SendRequestParametersType, ITracker, SegmentType, TargetingDataType, DataInfoType, IStorage, MappingIdentifierType, CustomDataConfigurationType, BrowserDataType, CustomDataType, DataFilterType, DataManagerParametersType, DeviceDataType, GeolocationDataType, KameleoonVisitorDataType, MutUpdateTargetingDataParametersType, OperatingSystemDataType, PageViewDataType, ProcessCustomDataManagerParametersType, VisitDataType, VisitorsDataType, KameleoonDataType, PageViewParametersType, ConversionParametersType, AddDataParamsType, } from '@kameleoon/javascript-sdk-core/browser';
|
|
3
3
|
export type { FeatureFlag, Rule, DataFile, Variable, Variation, } from '@kameleoon/javascript-sdk-core/browser';
|
|
4
4
|
export { KameleoonClient } from './kameleoonClient';
|