@splitsoftware/splitio 11.0.0-rc.5 → 11.0.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
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
11.0.0 (November 1, 2024)
|
|
2
|
-
- Added support for targeting rules based on large segments for browsers.
|
|
2
|
+
- Added support for targeting rules based on large segments for browsers (client-side API).
|
|
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
5
|
- Renamed distribution folders from `/lib` to `/cjs` for CommonJS build, and `/es` to `/esm` for ECMAScript Modules build.
|
|
6
6
|
- BREAKING CHANGES:
|
|
7
|
+
- Dropped support for Split Proxy below version 5.9.0, when using in the browser (client-side API). The SDK now requires Split Proxy 5.9.0 or above.
|
|
7
8
|
- Dropped support for NodeJS v6. The SDK now requires NodeJS v14 or above.
|
|
8
9
|
- 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.
|
|
9
10
|
- 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.
|
package/README.md
CHANGED
|
@@ -10,9 +10,9 @@ This SDK is designed to work with Split, the platform for controlled rollouts, w
|
|
|
10
10
|
## Compatibility
|
|
11
11
|
The JavaScript SDK is an isomorphic library for both Node.js and Web browser environments.
|
|
12
12
|
|
|
13
|
-
It supports **Node.js version
|
|
13
|
+
It supports **Node.js version 14.x or later**.
|
|
14
14
|
|
|
15
|
-
For browsers
|
|
15
|
+
For browsers, the library was build to support ES5 syntax and all major browsers. *However, there are a few polyfills that would be required when targeting old browsers that don't have native support for Promises, Map and Set global objects. You should include polyfills for those, like [es6-promise](https://github.com/stefanpenner/es6-promise) for promises.*
|
|
16
16
|
|
|
17
17
|
## Getting started
|
|
18
18
|
Below is a simple Node.js example that describes the instantiation and most basic usage of our SDK:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = '11.0.0
|
|
1
|
+
export var packageVersion = '11.0.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splitsoftware/splitio",
|
|
3
|
-
"version": "11.0.0
|
|
3
|
+
"version": "11.0.0",
|
|
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
|
|
41
|
+
"@splitsoftware/splitio-commons": "2.0.0",
|
|
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
|
|
1
|
+
export const packageVersion = '11.0.0';
|