@kameleoon/react-sdk 10.3.0 → 10.5.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,34 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.5.0 (2025-02-10)
4
+
5
+ ### Features
6
+
7
+ - Added SDK support for **holdout experiments**. Visitors assigned to a holdout experiment are excluded from all other rollouts and experiments, and consistently receive the default variation. For visitors not in a holdout experiment, the standard evaluation process applies, allowing them to be evaluated for all feature flags as usual. Platform-wide release expected in February 2025.
8
+ - Introduced a new `personalization` parameter to [`RemoteVisitorDataFilter`][getRemoteVisitorData]. Default value of the parameter is `false`.
9
+ - The following targeting conditions are now supported:
10
+ - Exclusive Campaign
11
+ - Experiment
12
+ - Personalization
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+ - @kameleoon/javascript-sdk@4.5.0
18
+
19
+ ## 10.4.0 (2025-01-20)
20
+
21
+ ### Features
22
+
23
+ - Added support for specifying a custom `Environment` value as a string in the [configuration parameters][configurationParameters], alongside the standard options.
24
+
25
+ [configurationParameters]: https://developers.kameleoon.com/feature-management-and-experimentation/web-sdks/react-js-sdk/#configuration-parameters
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies
30
+ - @kameleoon/javascript-sdk@4.4.0
31
+
3
32
  ## 10.3.0 (2025-01-17)
4
33
 
5
34
  ### Features
@@ -1 +1 @@
1
- "use strict";var _javascriptSdk=require("@kameleoon/javascript-sdk");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createClient=createClient;function createClient(a){let{siteCode:b,configuration:c,externals:d}=a;const e=new _javascriptSdk.KameleoonClient({siteCode:b,configuration:c,externals:d,_internals:{packageInfo:{type:_javascriptSdk.SdkLanguageType.REACT,version:"10.3.0",isServer:!1},prng:null===d||void 0===d?void 0:d.prng}});return e}
1
+ "use strict";var _javascriptSdk=require("@kameleoon/javascript-sdk");Object.defineProperty(exports,"__esModule",{value:!0}),exports.createClient=createClient;function createClient(a){let{siteCode:b,configuration:c,externals:d}=a;const e=new _javascriptSdk.KameleoonClient({siteCode:b,configuration:c,externals:d,_internals:{packageInfo:{type:_javascriptSdk.SdkLanguageType.REACT,version:"10.5.0",isServer:!1},prng:null===d||void 0===d?void 0:d.prng}});return e}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kameleoon/react-sdk",
3
- "version": "10.3.0",
3
+ "version": "10.5.0",
4
4
  "description": "Kameleoon React SDK",
5
5
  "files": [
6
6
  "dist"
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "license": "ISC",
41
41
  "dependencies": {
42
- "@kameleoon/javascript-sdk": "4.3.0"
42
+ "@kameleoon/javascript-sdk": "4.5.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0"