@splitsoftware/splitio 10.21.2-rc.6 → 10.22.1

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,10 @@
1
- 10.21.2 (September XXX, 2022)
2
- - Updated @splitsoftware/splitio-commons package to version 1.6.2, that improves the performance of split evaluations (i.e., `getTreatment(s)` method calls) when using the default storage in memory.
1
+ 10.22.1 (October 14, 2022)
2
+ - Bugfixing - Upgrade @splitsoftware/splitio-commons package to version 1.7.2, that handles `Navigator.sendBeacon` API exceptions in the browser, and fallback to regular Fetch/XHR transport in case of error.
3
+
4
+ 10.22.0 (October 5, 2022)
5
+ - 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.
6
+ - Updated default value of `scheduler.featuresRefreshRate` config parameter from 5 seconds to 60 seconds for NodeJS and from 30 seconds to 60 seconds for Browser.
7
+ - Updated @splitsoftware/splitio-commons package to version 1.7.1, that improves the performance of split evaluations (i.e., `getTreatment(s)` method calls) when using the default storage in memory, among other improvements.
3
8
 
4
9
  10.21.1 (July 25, 2022)
5
10
  - Bugfixing - Added missed type definitions `enabled` from `sync`.
@@ -14,9 +14,6 @@ export var defaults = {
14
14
  // Don't wait a specific time for first flush on Node, no page load here.
15
15
  eventsFirstPushWindow: 0
16
16
  },
17
- scheduler: {
18
- featuresRefreshRate: 5
19
- },
20
17
  features: '.split',
21
18
  // Instance version.
22
19
  version: "nodejs-" + packageVersion,
@@ -1 +1 @@
1
- export var packageVersion = '10.21.2-rc.6';
1
+ export var packageVersion = '10.22.1';
@@ -17,9 +17,6 @@ exports.defaults = {
17
17
  // Don't wait a specific time for first flush on Node, no page load here.
18
18
  eventsFirstPushWindow: 0
19
19
  },
20
- scheduler: {
21
- featuresRefreshRate: 5
22
- },
23
20
  features: '.split',
24
21
  // Instance version.
25
22
  version: "nodejs-" + version_1.packageVersion,
@@ -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.21.2-rc.6';
4
+ exports.packageVersion = '10.22.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "10.21.2-rc.6",
3
+ "version": "10.22.1",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@ably/bloomit": "^1.4.2",
37
- "@splitsoftware/splitio-commons": "1.6.2-rc.14",
37
+ "@splitsoftware/splitio-commons": "1.7.2",
38
38
  "@types/google.analytics": "0.0.40",
39
39
  "@types/ioredis": "^4.28.0",
40
40
  "ioredis": "^4.28.0",
@@ -15,9 +15,7 @@ export const defaults = {
15
15
  // Don't wait a specific time for first flush on Node, no page load here.
16
16
  eventsFirstPushWindow: 0
17
17
  },
18
- scheduler: {
19
- featuresRefreshRate: 5
20
- },
18
+
21
19
  features: '.split',
22
20
 
23
21
  // Instance version.
@@ -1 +1 @@
1
- export const packageVersion = '10.21.2-rc.6';
1
+ export const packageVersion = '10.22.1';
@@ -230,8 +230,8 @@ interface ISharedSettings {
230
230
  * Impressions Collection Mode. Option to determine how impressions are going to be sent to Split Servers.
231
231
  * Possible values are 'DEBUG', 'OPTIMIZED', and 'NONE'.
232
232
  * - DEBUG: will send all the impressions generated (recommended only for debugging purposes).
233
- * - OPTIMIZED: will send unique impressions to Split Servers avoiding a considerable amount of traffic that duplicated impressions could generate.
234
- * - NONE: will send unique keys to Split Servers avoiding a considerable amount of traffic that impressions could generate.
233
+ * - OPTIMIZED: will send unique impressions to Split Servers, avoiding a considerable amount of traffic that duplicated impressions could generate.
234
+ * - NONE: will send unique keys evaluated per feature to Split Servers instead of full blown impressions, avoiding a considerable amount of traffic that impressions could generate.
235
235
  *
236
236
  * @property {string} impressionsMode
237
237
  * @default 'OPTIMIZED'
@@ -295,7 +295,7 @@ interface INodeBasicSettings extends ISharedSettings {
295
295
  /**
296
296
  * The SDK polls Split servers for changes to feature roll-out plans. This parameter controls this polling period in seconds.
297
297
  * @property {number} featuresRefreshRate
298
- * @default 5
298
+ * @default 60
299
299
  */
300
300
  featuresRefreshRate?: number,
301
301
  /**
@@ -969,7 +969,7 @@ declare namespace SplitIO {
969
969
  /**
970
970
  * The SDK polls Split servers for changes to feature roll-out plans. This parameter controls this polling period in seconds.
971
971
  * @property {number} featuresRefreshRate
972
- * @default 30
972
+ * @default 60
973
973
  */
974
974
  featuresRefreshRate?: number,
975
975
  /**