@splitsoftware/splitio 10.21.2-rc.5 → 10.22.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 +4 -2
- package/es/settings/defaults/node.js +0 -3
- package/es/settings/defaults/version.js +1 -1
- package/lib/settings/defaults/node.js +0 -3
- package/lib/settings/defaults/version.js +1 -1
- package/package.json +2 -2
- package/src/factory/node.js +1 -1
- package/src/settings/defaults/node.js +1 -3
- package/src/settings/defaults/version.js +1 -1
- package/types/splitio.d.ts +6 -4
package/CHANGES.txt
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
10.
|
|
2
|
-
-
|
|
1
|
+
10.22.0 (October 5, 2022)
|
|
2
|
+
- 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.
|
|
3
|
+
- 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.
|
|
4
|
+
- 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
5
|
|
|
4
6
|
10.21.1 (July 25, 2022)
|
|
5
7
|
- 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.
|
|
1
|
+
export var packageVersion = '10.22.0';
|
|
@@ -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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splitsoftware/splitio",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.22.0",
|
|
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.
|
|
37
|
+
"@splitsoftware/splitio-commons": "1.7.1",
|
|
38
38
|
"@types/google.analytics": "0.0.40",
|
|
39
39
|
"@types/ioredis": "^4.28.0",
|
|
40
40
|
"ioredis": "^4.28.0",
|
package/src/factory/node.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = '10.
|
|
1
|
+
export const packageVersion = '10.22.0';
|
package/types/splitio.d.ts
CHANGED
|
@@ -228,9 +228,11 @@ interface ISharedSettings {
|
|
|
228
228
|
splitFilters?: SplitIO.SplitFilter[]
|
|
229
229
|
/**
|
|
230
230
|
* Impressions Collection Mode. Option to determine how impressions are going to be sent to Split Servers.
|
|
231
|
-
* Possible values are 'DEBUG' and '
|
|
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.
|
|
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
|
+
*
|
|
234
236
|
* @property {string} impressionsMode
|
|
235
237
|
* @default 'OPTIMIZED'
|
|
236
238
|
*/
|
|
@@ -293,7 +295,7 @@ interface INodeBasicSettings extends ISharedSettings {
|
|
|
293
295
|
/**
|
|
294
296
|
* The SDK polls Split servers for changes to feature roll-out plans. This parameter controls this polling period in seconds.
|
|
295
297
|
* @property {number} featuresRefreshRate
|
|
296
|
-
* @default
|
|
298
|
+
* @default 60
|
|
297
299
|
*/
|
|
298
300
|
featuresRefreshRate?: number,
|
|
299
301
|
/**
|
|
@@ -967,7 +969,7 @@ declare namespace SplitIO {
|
|
|
967
969
|
/**
|
|
968
970
|
* The SDK polls Split servers for changes to feature roll-out plans. This parameter controls this polling period in seconds.
|
|
969
971
|
* @property {number} featuresRefreshRate
|
|
970
|
-
* @default
|
|
972
|
+
* @default 60
|
|
971
973
|
*/
|
|
972
974
|
featuresRefreshRate?: number,
|
|
973
975
|
/**
|