Skip to content

Commit b875d03

Browse files
Merge pull request #357 from splitio/breaking_changes_update_supported_runtimes
[Breaking change] Remove internal ponyfills for `Map` and `Set` global objects
2 parents 7b6e433 + 2950ee6 commit b875d03

File tree

67 files changed

+353
-917
lines changed

Some content is hidden

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

67 files changed

+353
-917
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"message": "Don't declare const enum, because it is not supported by Babel used for building RN SDK"
8181
}
8282
],
83-
"compat/compat": ["error", "defaults, ie 10, node 6"],
83+
"compat/compat": ["error", "defaults, node >=14"],
8484
"no-throw-literal": "error",
8585
"import/no-default-export": "error",
8686
"import/no-self-import": "error"

CHANGES.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
- Added `factory.destroy()` method, which invokes the `destroy` method on all SDK clients created by the factory.
44
- Bugfixing - Fixed an issue with the server-side polling manager that caused dangling timers when the SDK was destroyed before it was ready.
55
- BREAKING CHANGES:
6-
- Removed the deprecated `GOOGLE_ANALYTICS_TO_SPLIT` and `SPLIT_TO_GOOGLE_ANALYTICS` integrations.
76
- Updated default flag spec version to 1.2.
87
- Removed `/mySegments` endpoint from SplitAPI module, as it is replaced by `/memberships` endpoint.
98
- Removed support for MY_SEGMENTS_UPDATE and MY_SEGMENTS_UPDATE_V2 notification types, as they are replaced by MEMBERSHIPS_MS_UPDATE and MEMBERSHIPS_LS_UPDATE notification types.
9+
- Removed the deprecated `GOOGLE_ANALYTICS_TO_SPLIT` and `SPLIT_TO_GOOGLE_ANALYTICS` integrations.
10+
- Removed the migration logic for the old format of MySegments keys in LocalStorage introduced in JavaScript SDK v10.17.3.
11+
- Removed the `sdkClientMethodCSWithTT` function, which handled the logic to bound an optional traffic type to SDK clients. Client-side SDK implementations must use `sdkClientMethodCS` module, which, unlike the previous function, does not allow passing a traffic type but simplifies the SDK API.
12+
- Removed internal ponyfills for `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 to provide a polyfill.
1013

1114
1.17.0 (September 6, 2024)
1215
- Added `sync.requestOptions.getHeaderOverrides` configuration option to enhance SDK HTTP request Headers for Authorization Frameworks.

0 commit comments

Comments
 (0)