Skip to content

Commit 688f34e

Browse files
Merge pull request #815 from splitio/SDKS-8407_baseline
Large segments support in client-side
2 parents c83ea63 + 72faa4b commit 688f34e

File tree

111 files changed

+1228
-4131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+1228
-4131
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
],
4747
"rules": {
4848
"no-restricted-syntax": ["error", "ForOfStatement", "ForInStatement", "ArrayPattern"],
49-
"compat/compat": ["error", "defaults, ie 10, node 6"],
49+
"compat/compat": ["error", "defaults, node >=14"],
5050
"no-throw-literal": "error",
5151
"import/no-default-export": "error",
5252
"import/no-self-import": "error"

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ dump.rdb
1919
/stats
2020

2121
## transpiled code
22-
/lib
23-
/es
22+
/cjs
23+
/esm
2424
/umd
2525

2626
## TS tests compilated files

CHANGES.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
11.0.0 (November 1, 2024)
2+
- Added support for targeting rules based on large segments for browsers (client-side API).
3+
- Added `factory.destroy()` method, which invokes the `destroy` method of all clients created by the factory.
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 ECMAScript Modules build.
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.
8+
- Dropped support for NodeJS v6. The SDK now requires NodeJS v14 or above.
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.
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.
11+
- 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.
12+
113
10.28.0 (September 6, 2024)
214
- Updated @splitsoftware/splitio-commons package to version 1.17.0 that includes minor updates:
315
- Added `sync.requestOptions.getHeaderOverrides` configuration option to enhance SDK HTTP request Headers for Authorization Frameworks.
@@ -507,7 +519,7 @@
507519
- Bugfixing - Return correct label when consulted Split is not found.
508520

509521
9.1.1 (May 03, 2017)
510-
- Bugfixing - Fixed invalid behaviour when using native Fetch API and comparing statusText
522+
- Bugfixing - Fixed invalid behavior when using native Fetch API and comparing statusText
511523
instead of resp.ok
512524

513525
9.1.0 (April 21, 2017)

client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"main": "../lib/factory/browser.js",
3-
"module": "../es/factory/browser.js",
2+
"main": "../cjs/factory/browser.js",
3+
"module": "../esm/factory/browser.js",
44
"types": "../types/client/index.d.ts"
55
}

karma/e2e.gaIntegration.karma.conf.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)