@splitsoftware/splitio 10.22.3 → 10.22.4
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,7 @@
|
|
|
1
|
+
10.22.4 (March 9, 2023)
|
|
2
|
+
- Updated @splitsoftware/splitio-commons package to version 1.8.1 that includes minor improvements.
|
|
3
|
+
- Updated some transitive dependencies for vulnerability fixes.
|
|
4
|
+
|
|
1
5
|
10.22.3 (December 16, 2022)
|
|
2
6
|
- Updated some transitive dependencies for vulnerability fixes.
|
|
3
7
|
- Bugfixing - Upgrade @splitsoftware/splitio-commons package to version 1.7.3 which includes a memory leak fix for localhost mode (Related to issue https://github.com/splitio/javascript-commons/issues/181) among other improvements.
|
|
@@ -91,6 +95,7 @@
|
|
|
91
95
|
- Implemented handling of the new MySegmentsV2 notification types (SegmentRemoval, KeyList, Bounded and Unbounded)
|
|
92
96
|
- New control notification for environment scoped streaming reset.
|
|
93
97
|
- Updated some dependencies to their latest versions, including Webpack 4 to 5, to build a more optimized UMD bundle.
|
|
98
|
+
- NOTE: build script is configured to transpile to ES5 with Babel loose mode (https://2ality.com/2015/12/babel6-loose-mode.html). It results in a smaller bundle size and faster code execution but with some differences in the transpiled code, that may affect old browser versions like some builds of IE10.
|
|
94
99
|
|
|
95
100
|
10.15.9 (Aug 13, 2021)
|
|
96
101
|
- Updated some dependencies with vulnerability fixes.
|
|
@@ -141,7 +146,7 @@
|
|
|
141
146
|
- Updated TypeScript declarations to include the `urls` settings object (to connect to Split Synchronizer in proxy mode) for the non-async settings where it would be applicable.
|
|
142
147
|
- Bugfixing - Updating some imports of hashing utilities to use safe relative paths and avoid module resolution issues.
|
|
143
148
|
- Bugfixing - Updating logic to avoid a corner case issue with the sendHitTask callback handling of the GOOGLE_ANALYTICS_TO_SPLIT integration.
|
|
144
|
-
- Bugfixing - Updating the package.json version import to be compatible with latest standards (thanks @andrew-t-james-hm).
|
|
149
|
+
- Bugfixing - Updating the package.json version import to be compatible with latest standards (Related to issue https://github.com/splitio/javascript-client/pull/495, thanks @andrew-t-james-hm).
|
|
145
150
|
|
|
146
151
|
10.15.0 (Oct 6, 2020)
|
|
147
152
|
- Added impressions dedupe logic to avoid sending duplicated impressions:
|
|
@@ -169,6 +174,7 @@
|
|
|
169
174
|
- Added `sync.splitFilters` property to SDK configuration to pass a list of filters for the splits that will be downloaded. Read more in our docs.
|
|
170
175
|
- Added expiration policy to split cache for browsers using localStorage: cache is cleared after 10 days of the last successful update.
|
|
171
176
|
- Updated babel configuration to remove core-js dependency and refactored code in favor of size reduction of UMD, ESM and CommonJS builds.
|
|
177
|
+
- NOTE: removed some polyfills of global objects not available in some builds of IE10.
|
|
172
178
|
|
|
173
179
|
10.13.0 (Jun 25, 2020)
|
|
174
180
|
- Updated client.ready() and manager.ready() functions to be consumed on demand and return a promise reflecting the current status of the SDK at the time the method was invoked.
|
package/CONTRIBUTORS-GUIDE.md
CHANGED
|
@@ -7,10 +7,10 @@ Split SDK is an open source project and we welcome feedback and contribution. Th
|
|
|
7
7
|
### Development process
|
|
8
8
|
|
|
9
9
|
1. Fork the repository and create a topic branch from `development` branch. Please use a descriptive name for your branch.
|
|
10
|
-
2. Run `nvm use` to ensure that you are using the right npm and node version, and `npm install` to have the dependencies up to date.
|
|
10
|
+
2. Run `nvm use` to ensure that you are using the right npm and node version, and `npm install` to have the dependencies up to date.
|
|
11
11
|
3. While developing, use descriptive messages in your commits. Avoid short or meaningless sentences like: "fix bug".
|
|
12
12
|
4. Make sure to add tests for both positive and negative cases.
|
|
13
|
-
5. If your changes have any impact on the public API, make sure you update the TypeScript
|
|
13
|
+
5. If your changes have any impact on the public API, make sure you update the TypeScript declarations as well as it's related test file.
|
|
14
14
|
6. Run the linter script of the project and fix any issues you find.
|
|
15
15
|
7. Run the build script and make sure it runs with no errors.
|
|
16
16
|
8. Run all tests and make sure there are no failures.
|
package/LICENSE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = '10.22.
|
|
1
|
+
export var packageVersion = '10.22.4';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splitsoftware/splitio",
|
|
3
|
-
"version": "10.22.
|
|
3
|
+
"version": "10.22.4",
|
|
4
4
|
"description": "Split SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"README.md",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"node": ">=6"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@splitsoftware/splitio-commons": "1.
|
|
38
|
+
"@splitsoftware/splitio-commons": "1.8.1",
|
|
39
39
|
"@types/google.analytics": "0.0.40",
|
|
40
40
|
"@types/ioredis": "^4.28.0",
|
|
41
41
|
"bloom-filters": "^3.0.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = '10.22.
|
|
1
|
+
export const packageVersion = '10.22.4';
|
package/types/splitio.d.ts
CHANGED
|
@@ -458,9 +458,12 @@ interface IStatusInterface extends EventEmitter {
|
|
|
458
458
|
*/
|
|
459
459
|
interface IBasicClient extends IStatusInterface {
|
|
460
460
|
/**
|
|
461
|
-
*
|
|
461
|
+
* Destroys the client instance.
|
|
462
|
+
* In 'standalone' mode, this method will flush any pending impressions and events, and stop the synchronization of feature flag definitions with the backend.
|
|
463
|
+
* In 'consumer' mode, this method will disconnect the SDK from the Redis or Pluggable storage.
|
|
464
|
+
*
|
|
462
465
|
* @function destroy
|
|
463
|
-
* @returns {Promise<void>}
|
|
466
|
+
* @returns {Promise<void>} A promise that will be resolved once the client is destroyed.
|
|
464
467
|
*/
|
|
465
468
|
destroy(): Promise<void>
|
|
466
469
|
}
|
|
@@ -1130,13 +1133,13 @@ declare namespace SplitIO {
|
|
|
1130
1133
|
/**
|
|
1131
1134
|
* Synchronous storage type to be instantiated by the SDK.
|
|
1132
1135
|
* @property {NodeSyncStorage} type
|
|
1133
|
-
* @default MEMORY
|
|
1136
|
+
* @default 'MEMORY'
|
|
1134
1137
|
*/
|
|
1135
1138
|
type?: NodeSyncStorage,
|
|
1136
1139
|
/**
|
|
1137
1140
|
* Optional prefix to prevent any kind of data collision between SDK versions.
|
|
1138
1141
|
* @property {string} prefix
|
|
1139
|
-
* @default SPLITIO
|
|
1142
|
+
* @default 'SPLITIO'
|
|
1140
1143
|
*/
|
|
1141
1144
|
prefix?: string
|
|
1142
1145
|
},
|
|
@@ -1145,7 +1148,7 @@ declare namespace SplitIO {
|
|
|
1145
1148
|
* For "localhost" mode, use "localhost" as authorizationKey.
|
|
1146
1149
|
*
|
|
1147
1150
|
* @property {'standalone'} mode
|
|
1148
|
-
* @default standalone
|
|
1151
|
+
* @default 'standalone'
|
|
1149
1152
|
*/
|
|
1150
1153
|
mode?: 'standalone'
|
|
1151
1154
|
}
|
|
@@ -1234,7 +1237,7 @@ declare namespace SplitIO {
|
|
|
1234
1237
|
/**
|
|
1235
1238
|
* Optional prefix to prevent any kind of data collision between SDK versions.
|
|
1236
1239
|
* @property {string} prefix
|
|
1237
|
-
* @default SPLITIO
|
|
1240
|
+
* @default 'SPLITIO'
|
|
1238
1241
|
*/
|
|
1239
1242
|
prefix?: string
|
|
1240
1243
|
},
|