@splitsoftware/splitio 11.2.1-rc.1 → 11.2.1-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,5 +1,7 @@
1
- 11.2.1 (May 7, 2025)
2
- - Updated @splitsoftware/splitio-commons package to version 2.2.1, which optimizes Redis storage to avoid lazy require of the `ioredis` dependency when the SDK is initialized.
1
+ 11.2.1 (May XX, 2025)
2
+ - Updated @splitsoftware/splitio-commons package to version 2.2.1, which optimizes the Redis storage to:
3
+ - Avoid lazy require of the `ioredis` dependency when the SDK is initialized, and
4
+ - Flag the SDK as ready from cache immediately to allow queueing feature flag evaluations before SDK_READY event is emitted.
3
5
 
4
6
  11.2.0 (March 28, 2025)
5
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.
@@ -7,6 +9,7 @@
7
9
  - `storage.expirationDays` to specify the validity period of the rollout plan cache in days.
8
10
  - `storage.clearOnInit` to clear the rollout plan cache on SDK initialization.
9
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.
10
13
 
11
14
  11.1.0 (January 17, 2025)
12
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.
@@ -124,7 +127,8 @@
124
127
  10.22.0 (October 5, 2022)
125
128
  - Added a new impressions mode for the SDK called NONE, to be used in factory when there is no desire to capture impressions on an SDK factory to feed Split's analytics engine. Running NONE mode, the SDK will only capture unique keys evaluated for a particular feature flag instead of full blown impressions.
126
129
  - Updated default value of `scheduler.featuresRefreshRate` config parameter from 5 seconds to 60 seconds for Node.js and from 30 seconds to 60 seconds for Browser.
127
- - Updated @splitsoftware/splitio-commons package to version 1.7.1, that improves the performance of feature flag evaluations (i.e., `getTreatment(s)` method calls) when using the default storage in memory, among other improvements.
130
+ - Updated @splitsoftware/splitio-commons package to version 1.7.1, that improves the performance of feature flag evaluations (i.e., `getTreatment(s)` method calls) when using the default storage in memory,
131
+ and avoid calling the storage for cached feature flags when the SDK is not ready or ready from cache, among other improvements.
128
132
 
129
133
  10.21.1 (July 25, 2022)
130
134
  - Bugfixing - Added missed type definitions `enabled` from `sync`.
@@ -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.2.1-rc.1';
4
+ exports.packageVersion = '11.2.1-rc.3';
@@ -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.2.1-rc.1';
1
+ export var packageVersion = '11.2.1-rc.3';
@@ -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.2.1-rc.1",
3
+ "version": "11.2.1-rc.3",
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.2.1-rc.2",
41
+ "@splitsoftware/splitio-commons": "2.2.1-rc.4",
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.2.1-rc.1';
1
+ export const packageVersion = '11.2.1-rc.3';
@@ -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) {