@splitsoftware/splitio 11.1.1-rc.1 → 11.2.1-rc.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/CHANGES.txt CHANGED
@@ -1,9 +1,15 @@
1
+ 11.3.0 (April XX, 2025)
2
+ - Added support for targeting rules based on rule-based segments.
3
+ - Added support for feature flag prerequisites.
4
+ - Updated @splitsoftware/splitio-commons package to version 2.3.0.
5
+
1
6
  11.2.0 (March 28, 2025)
2
- - Added new optional argument to the client `getTreatment` methods to allow passing additional evaluation options, such as a map of properties to append to the generated impression object sent to Split's backend. Read more in our docs.
7
+ - Added a new optional argument to the client `getTreatment` methods to allow passing additional evaluation options, such as a map of properties to append to the generated impressions sent to Split backend. Read more in our docs.
3
8
  - Added two new configuration options for the SDK's `LOCALSTORAGE` storage type to control the behavior of the persisted rollout plan cache in the browser:
4
9
  - `storage.expirationDays` to specify the validity period of the rollout plan cache in days.
5
10
  - `storage.clearOnInit` to clear the rollout plan cache on SDK initialization.
6
11
  - Updated SDK_READY_FROM_CACHE event when using the `LOCALSTORAGE` storage type to be emitted alongside the SDK_READY event if it has not already been emitted.
12
+ - Updated @splitsoftware/splitio-commons package to version 2.2.0.
7
13
 
8
14
  11.1.0 (January 17, 2025)
9
15
  - Added support for the new impressions tracking toggle available on feature flags, both respecting the setting and including the new field being returned on `SplitView` type objects. Read more in our docs.
@@ -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 = '11.1.1-rc.1';
4
+ exports.packageVersion = '11.2.1-rc.0';
@@ -6,14 +6,11 @@ var builtinLogger_1 = require("@splitsoftware/splitio-commons/cjs/utils/settings
6
6
  var node_1 = require("./defaults/node");
7
7
  var node_2 = require("./storage/node");
8
8
  var node_3 = require("./runtime/node");
9
- var FLAG_SPEC_VERSION = '1.1';
10
9
  var params = {
11
10
  defaults: node_1.defaults,
12
11
  runtime: node_3.validateRuntime,
13
12
  storage: node_2.validateStorage,
14
13
  logger: builtinLogger_1.validateLogger,
15
- flagSpec: function () { return FLAG_SPEC_VERSION; }
16
- // In Node.js the SDK ignores `config.integrations`, so a validator for integrations is not required
17
14
  };
18
15
  function settingsFactory(config) {
19
16
  var settings = (0, settingsValidation_1.settingsValidation)(config, params);
@@ -1 +1 @@
1
- export var packageVersion = '11.1.1-rc.1';
1
+ export var packageVersion = '11.2.1-rc.0';
@@ -3,14 +3,11 @@ import { validateLogger } from '@splitsoftware/splitio-commons/esm/utils/setting
3
3
  import { defaults } from './defaults/node';
4
4
  import { validateStorage } from './storage/node';
5
5
  import { validateRuntime } from './runtime/node';
6
- var FLAG_SPEC_VERSION = '1.1';
7
6
  var params = {
8
7
  defaults: defaults,
9
8
  runtime: validateRuntime,
10
9
  storage: validateStorage,
11
10
  logger: validateLogger,
12
- flagSpec: function () { return FLAG_SPEC_VERSION; }
13
- // In Node.js the SDK ignores `config.integrations`, so a validator for integrations is not required
14
11
  };
15
12
  export function settingsFactory(config) {
16
13
  var settings = settingsValidation(config, params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "11.1.1-rc.1",
3
+ "version": "11.2.1-rc.0",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -38,7 +38,7 @@
38
38
  "node": ">=14.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@splitsoftware/splitio-commons": "2.1.1-rc.2",
41
+ "@splitsoftware/splitio-commons": "2.2.1-rc.0",
42
42
  "bloom-filters": "^3.0.4",
43
43
  "ioredis": "^4.28.0",
44
44
  "js-yaml": "^3.13.1",
@@ -1 +1 @@
1
- export const packageVersion = '11.1.1-rc.1';
1
+ export const packageVersion = '11.2.1-rc.0';
@@ -5,15 +5,11 @@ import { defaults } from './defaults/node';
5
5
  import { validateStorage } from './storage/node';
6
6
  import { validateRuntime } from './runtime/node';
7
7
 
8
- const FLAG_SPEC_VERSION = '1.1';
9
-
10
8
  const params = {
11
9
  defaults,
12
10
  runtime: validateRuntime,
13
11
  storage: validateStorage,
14
12
  logger: validateLogger,
15
- flagSpec: () => FLAG_SPEC_VERSION
16
- // In Node.js the SDK ignores `config.integrations`, so a validator for integrations is not required
17
13
  };
18
14
 
19
15
  export function settingsFactory(config) {