@splitsoftware/splitio 11.3.0 → 11.3.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,3 +1,8 @@
1
+ 11.4.0 (May 20, 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.4.0.
5
+
1
6
  11.3.0 (May 16, 2025)
2
7
  - Updated @splitsoftware/splitio-commons package to version 2.3.0, which optimizes the Redis storage to:
3
8
  - Avoid lazy require of the `ioredis` dependency when the SDK is initialized, and
@@ -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.3.0';
4
+ exports.packageVersion = '11.3.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.3.0';
1
+ export var packageVersion = '11.3.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.3.0",
3
+ "version": "11.3.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.3.0",
41
+ "@splitsoftware/splitio-commons": "2.3.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.3.0';
1
+ export const packageVersion = '11.3.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) {