@splitsoftware/splitio 11.0.0-rc.4 → 11.0.0-rc.5
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 +2 -3
- package/cjs/settings/defaults/version.js +1 -1
- package/esm/settings/defaults/version.js +1 -1
- package/package.json +2 -2
- package/src/settings/defaults/version.js +1 -1
- package/types/client/index.d.ts +1 -1
- package/types/index.d.ts +3 -3
- package/types/server/index.d.ts +2 -2
package/CHANGES.txt
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
11.0.0 (
|
|
1
|
+
11.0.0 (November 1, 2024)
|
|
2
2
|
- Added support for targeting rules based on large segments for browsers.
|
|
3
3
|
- Added `factory.destroy()` method, which invokes the `destroy` method of all clients created by the factory.
|
|
4
4
|
- Updated @splitsoftware/splitio-commons package to version 2.0.0 that includes major updates and updated some transitive dependencies for vulnerability fixes.
|
|
5
|
-
- Renamed distribution folders from `/lib` to `/cjs` for CommonJS build, and `/es` to `/esm` for
|
|
5
|
+
- Renamed distribution folders from `/lib` to `/cjs` for CommonJS build, and `/es` to `/esm` for ECMAScript Modules build.
|
|
6
6
|
- BREAKING CHANGES:
|
|
7
7
|
- Dropped support for NodeJS v6. The SDK now requires NodeJS v14 or above.
|
|
8
|
-
- Renamed some TypeScript definitions in the SplitIO namespace to avoid conflicts with other libraries: `ISDK` to `INodeSDK`, `IAsyncSDK` to `INodeAsyncSDK`, `IBrowserSDK` to `ISDK`, `IClient` to `INodeClient`, `IAsyncClient` to `INodeAsyncClient`, `IBrowserClient` to `IClient`.
|
|
9
8
|
- Removed internal ponyfills for the `Map` and `Set` global objects, dropping support for IE and other outdated browsers. The SDK now requires the runtime environment to support these features natively or provide a polyfill.
|
|
10
9
|
- Removed the deprecated `GOOGLE_ANALYTICS_TO_SPLIT` and `SPLIT_TO_GOOGLE_ANALYTICS` integrations. The `integrations` configuration option has been removed from the SDK factory configuration, along with the associated interfaces in the TypeScript definitions.
|
|
11
10
|
- Removed the `core.trafficType` configuration option (`SplitIO.IBrowserSettings['core']['trafficType]`) and the `trafficType` parameter from the SDK `client()` method in Browser (`SplitIO.IBrowserSDK['client']`). As a result, traffic types can no longer be bound to SDK clients, and the traffic type must be provided in the `track` method.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = '11.0.0-rc.
|
|
1
|
+
export var packageVersion = '11.0.0-rc.5';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splitsoftware/splitio",
|
|
3
|
-
"version": "11.0.0-rc.
|
|
3
|
+
"version": "11.0.0-rc.5",
|
|
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.0.0-rc.
|
|
41
|
+
"@splitsoftware/splitio-commons": "2.0.0-rc.6",
|
|
42
42
|
"bloom-filters": "^3.0.0",
|
|
43
43
|
"ioredis": "^4.28.0",
|
|
44
44
|
"js-yaml": "^3.13.1",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = '11.0.0-rc.
|
|
1
|
+
export const packageVersion = '11.0.0-rc.5';
|
package/types/client/index.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ declare module JsSdk {
|
|
|
11
11
|
* The settings parameter should be an object that complies with the SplitIO.IBrowserSettings.
|
|
12
12
|
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK#configuration}
|
|
13
13
|
*/
|
|
14
|
-
export function SplitFactory(settings: SplitIO.IBrowserSettings): SplitIO.
|
|
14
|
+
export function SplitFactory(settings: SplitIO.IBrowserSettings): SplitIO.IBrowserSDK;
|
|
15
15
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -12,17 +12,17 @@ declare module JsSdk {
|
|
|
12
12
|
* The settings parameter should be an object that complies with the SplitIO.INodeAsyncSettings.
|
|
13
13
|
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#configuration}
|
|
14
14
|
*/
|
|
15
|
-
export function SplitFactory(settings: SplitIO.INodeAsyncSettings): SplitIO.
|
|
15
|
+
export function SplitFactory(settings: SplitIO.INodeAsyncSettings): SplitIO.IAsyncSDK;
|
|
16
16
|
/**
|
|
17
17
|
* Split.io SDK factory function.
|
|
18
18
|
* The settings parameter should be an object that complies with the SplitIO.INodeSettings.
|
|
19
19
|
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#configuration}
|
|
20
20
|
*/
|
|
21
|
-
export function SplitFactory(settings: SplitIO.INodeSettings): SplitIO.
|
|
21
|
+
export function SplitFactory(settings: SplitIO.INodeSettings): SplitIO.ISDK;
|
|
22
22
|
/**
|
|
23
23
|
* Split.io SDK factory function.
|
|
24
24
|
* The settings parameter should be an object that complies with the SplitIO.IBrowserSettings.
|
|
25
25
|
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK#configuration}
|
|
26
26
|
*/
|
|
27
|
-
export function SplitFactory(settings: SplitIO.IBrowserSettings): SplitIO.
|
|
27
|
+
export function SplitFactory(settings: SplitIO.IBrowserSettings): SplitIO.IBrowserSDK;
|
|
28
28
|
}
|
package/types/server/index.d.ts
CHANGED
|
@@ -11,11 +11,11 @@ declare module JsSdk {
|
|
|
11
11
|
* The settings parameter should be an object that complies with the SplitIO.INodeAsyncSettings.
|
|
12
12
|
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#configuration}
|
|
13
13
|
*/
|
|
14
|
-
export function SplitFactory(settings: SplitIO.INodeAsyncSettings): SplitIO.
|
|
14
|
+
export function SplitFactory(settings: SplitIO.INodeAsyncSettings): SplitIO.IAsyncSDK;
|
|
15
15
|
/**
|
|
16
16
|
* Split.io SDK factory function.
|
|
17
17
|
* The settings parameter should be an object that complies with the SplitIO.INodeSettings.
|
|
18
18
|
* For more information read the corresponding article: @see {@link https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK#configuration}
|
|
19
19
|
*/
|
|
20
|
-
export function SplitFactory(settings: SplitIO.INodeSettings): SplitIO.
|
|
20
|
+
export function SplitFactory(settings: SplitIO.INodeSettings): SplitIO.ISDK;
|
|
21
21
|
}
|