@splitsoftware/splitio 10.23.2-rc.2 → 10.23.2-rc.3

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/CHANGES.txt CHANGED
@@ -1,6 +1,13 @@
1
1
  10.24.0 (October XX, 2023)
2
+ - Added support for Flag Sets on the SDK, which enables grouping feature flags and interacting with the group rather than individually (more details in our documentation):
3
+ - Added new variations of the get treatment methods to support evaluating flags in given flag set/s.
4
+ - getTreatmentsByFlagSet and getTreatmentsByFlagSets
5
+ - getTreatmentsWithConfigByFlagSets and getTreatmentsWithConfigByFlagSets
6
+ - Added a new optional Split Filter configuration option. This allows the SDK and Split services to only synchronize the flags in the specified flag sets, avoiding unused or unwanted flags from being synced on the SDK instance, bringing all the benefits from a reduced payload.
7
+ - Note: Only applicable when the SDK is in charge of the rollout data synchronization. When not applicable, the SDK will log a warning on init.
8
+ - Updated the following SDK manager methods to expose flag sets on flag views.
2
9
  - Added `defaultTreatment` property to the `SplitView` object returned by the `split` and `splits` methods of the SDK manager (Related to issue https://github.com/splitio/javascript-commons/issues/225).
3
- - Updated @splitsoftware/splitio-commons package to version 1.10.0 that includes vulnerability fixes, and adds the `defaultTreatment` property to the `SplitView` object.
10
+ - Updated @splitsoftware/splitio-commons package to version 1.11.0 that includes vulnerability fixes, and adds the `defaultTreatment` property to the `SplitView` object.
4
11
 
5
12
  10.23.1 (September 22, 2023)
6
13
  - Updated @splitsoftware/splitio-commons package to version 1.9.1. This update removes the handler for 'unload' DOM events, that can prevent browsers from being able to put pages in the back/forward cache for faster back and forward loads (Related to issue https://github.com/splitio/javascript-client/issues/759).
@@ -1 +1 @@
1
- export var packageVersion = '10.23.2-rc.2';
1
+ export var packageVersion = '10.23.2-rc.3';
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageVersion = void 0;
4
- exports.packageVersion = '10.23.2-rc.2';
4
+ exports.packageVersion = '10.23.2-rc.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "10.23.2-rc.2",
3
+ "version": "10.23.2-rc.3",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -40,7 +40,7 @@
40
40
  "node": ">=6"
41
41
  },
42
42
  "dependencies": {
43
- "@splitsoftware/splitio-commons": "1.10.1-rc.0",
43
+ "@splitsoftware/splitio-commons": "1.10.1-rc.3",
44
44
  "@types/google.analytics": "0.0.40",
45
45
  "@types/ioredis": "^4.28.0",
46
46
  "bloom-filters": "^3.0.0",
@@ -1 +1 @@
1
- export const packageVersion = '10.23.2-rc.2';
1
+ export const packageVersion = '10.23.2-rc.3';
@@ -664,6 +664,11 @@ declare namespace SplitIO {
664
664
  configs: {
665
665
  [treatmentName: string]: string
666
666
  },
667
+ /**
668
+ * List of sets of the feature flag.
669
+ * @property {string[]} sets
670
+ */
671
+ sets?: string[],
667
672
  /**
668
673
  * The default treatment of the feature flag.
669
674
  * @property {string} defaultTreatment
package/src/.DS_Store DELETED
Binary file
Binary file