Skip to content

Commit fc3a6b8

Browse files
Updated bloom-filters and other dependencies for vulnerability fixes
1 parent 5ee7b85 commit fc3a6b8

File tree

5 files changed

+38
-59
lines changed

5 files changed

+38
-59
lines changed

CHANGES.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
11.0.1 (November 8, 2024)
1+
11.0.2 (November 22, 2024)
2+
- Updated bloom-filters and other dependencies for vulnerability fixes.
3+
4+
11.0.1 (November 11, 2024)
25
- Bugfixing - Revert removal of TypeScript `SplitIO` namespace at `/types/splitio.d.ts` to allow explicit imports of types from the JavaScript SDK package. E.g., `import type { IBrowserSettings } from '@splitsoftware/splitio/types/splitio';`.
36

47
11.0.0 (November 1, 2024)

MIGRATION-GUIDE.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ While JavaScript SDK previously supported Node.js v6 and above, the SDK now requ
1010

1111
Below you will find a list of the changes:
1212

13-
- **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.**
13+
### 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
1414

1515
This change was made to align the SDK with the client-side APIs of the [Browser SDK](https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK) and [React Native SDK](https://help.split.io/hc/en-us/articles/4406066357901-React-Native-SDK).
1616

@@ -47,24 +47,24 @@ const factory = SplitFactory({
4747
const client = factory.client();
4848
const accountClient = factory.client(ACCOUNT_ID);
4949

50-
client.track('usuer', 'my_event');
50+
client.track('user', 'my_event');
5151
accountClient.track('account', 'my_event');
5252
```
5353

54-
- **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.**
54+
### 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
5555

5656
The Google Analytics integrations were removed since they integrate with the *Google Universal Analytics* library, which was shut down on July 1, 2024, and [replaced by *Google Analytics 4*](https://support.google.com/analytics/answer/11583528?hl=en). Go to Split's [Google Analytics integration guide](https://help.split.io/hc/en-us/articles/360040838752-Google-Analytics) for more information on how to integrate Split with Google Analytics 4.
5757

5858
The integrations have stopped being used and maintained, and were removed from the SDK, together with the `integrations` configuration option. If you were using the `integrations` option, you should remove it from your SDK configuration object.
5959

60-
- **Removed internal polyfills for the `Map` and `Set` global objects, dropping support for IE and other outdated browsers.**
60+
### Removed internal polyfills for the `Map` and `Set` global objects, dropping support for IE and other outdated browsers
6161

62-
The SDK no longer ships with internal implementations for the `Map` and `Set` global objects, which were used to support old browsers like IE.
62+
The SDK no longer ships with internal implementations for the `Map` and `Set` global objects, which were used to support old browsers like Internet Explorer.
6363

6464
If you need to target environments that do not support these features natively, you should provide a polyfill for them. For example, [es6-map](https://github.com/medikoo/es6-map) for `Map`, and [es6-set](https://github.com/medikoo/es6-set) for `Set`.
6565

6666
In addition, the Split SDK depends on support for ES6 promises. Since v10.2.0, the SDK does not pollute any global variable to add the ES6 promise polyfill. If your environment does not support ES6 promises, you can [polyfill](https:/github.com/stefanpenner/es6-promise).
6767

68-
- **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.**
68+
### 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
6969

7070
If using the Split Proxy with the SDK in the browser, make sure to update it to version 5.9.0 or above. This is required due to the introduction of Large Segments matchers in the SDK on client-side, which uses a new HTTP endpoint to retrieve the segments data and is only supported by Split Proxy 5.9.0.

package-lock.json

+25-49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@splitsoftware/splitio",
3-
"version": "11.0.1",
3+
"version": "11.0.2",
44
"description": "Split SDK",
55
"files": [
66
"README.md",
@@ -39,7 +39,7 @@
3939
},
4040
"dependencies": {
4141
"@splitsoftware/splitio-commons": "2.0.0",
42-
"bloom-filters": "^3.0.0",
42+
"bloom-filters": "^3.0.4",
4343
"ioredis": "^4.28.0",
4444
"js-yaml": "^3.13.1",
4545
"node-fetch": "^2.7.0",

src/settings/defaults/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const packageVersion = '11.0.1';
1+
export const packageVersion = '11.0.2';

0 commit comments

Comments
 (0)