Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
7b6e433
Removed the deprecated GOOGLE_ANALYTICS_TO_SPLIT and SPLIT_TO_GOOGLE_…
EmilianoSanchez Oct 4, 2024
bb9a458
Update objectAssign polyfill to reduce code size
EmilianoSanchez Oct 7, 2024
9d97256
Update compat linter: 'defaults, ie 10, node 6' -> 'defaults, node 14'
EmilianoSanchez Oct 7, 2024
f82c7c6
Removed Map and Set polyfills
EmilianoSanchez Oct 7, 2024
781e72a
Simplify set utils and add CHANGELOG entry
EmilianoSanchez Oct 7, 2024
e1a49f5
Removed eslint-disable-next-line compat/compat
EmilianoSanchez Oct 8, 2024
4c979f7
Removed the migration logic for the old format of MySegments keys in …
EmilianoSanchez Oct 8, 2024
66210e6
Removed the function, which handled the logic to bound an optional t…
EmilianoSanchez Oct 8, 2024
9af5a94
Update changelog entry
EmilianoSanchez Oct 8, 2024
464102f
rc
EmilianoSanchez Oct 8, 2024
c7a2002
Adding setToArray util to avoid depending on Array.from
EmilianoSanchez Oct 9, 2024
2459b10
Merge branch 'breaking_changes_update_supported_runtimes' into breaki…
EmilianoSanchez Oct 18, 2024
2950ee6
Merge pull request #359 from splitio/breaking_changes_remove_deprecat…
EmilianoSanchez Oct 18, 2024
b875d03
Merge pull request #357 from splitio/breaking_changes_update_supporte…
EmilianoSanchez Oct 18, 2024
2cbfe21
Merge pull request #356 from splitio/breaking_changes
EmilianoSanchez Oct 18, 2024
e954789
Merge branch 'SDKS-8407_baseline' into breaking_changes_baseline
EmilianoSanchez Oct 18, 2024
18b3243
rc
EmilianoSanchez Oct 18, 2024
e79229a
Merge branch 'SDKS-8407_baseline' into breaking_changes_baseline
EmilianoSanchez Oct 18, 2024
9c381e1
Remove sync.localhostMode option and validation utils
EmilianoSanchez Oct 25, 2024
35953b7
1st step: move SplitIO namespace definition from Browser SDK to JS-Co…
EmilianoSanchez Oct 25, 2024
b415e43
rc
EmilianoSanchez Oct 25, 2024
7d91cc6
Merge branch 'remove_pluggable_localhost_mode' into refactor_type_def…
EmilianoSanchez Oct 25, 2024
c600e3d
2nd step: move SplitIO namespace definition from React Native SDK to …
EmilianoSanchez Oct 25, 2024
6905ae6
Polishing
EmilianoSanchez Oct 25, 2024
61eaece
Rename IClientSS to INodeClient and IAsyncClientSS to INodeAsyncClient
EmilianoSanchez Oct 25, 2024
7c3e6fa
3rc step: move SplitIO namespace definition from JS SDK to JS-Commons…
EmilianoSanchez Oct 25, 2024
901140a
rc
EmilianoSanchez Oct 25, 2024
d383fc5
Formatting
EmilianoSanchez Oct 25, 2024
61580e5
Add IReactNativeSettings to specialize the type. Fixed some defaults
EmilianoSanchez Oct 26, 2024
49d76b2
Polishing
EmilianoSanchez Oct 28, 2024
b09832f
Remove SplitIO namespace from 'src/types.ts' and reuse it from 'types…
EmilianoSanchez Oct 29, 2024
0ff9901
Fixed some types
EmilianoSanchez Oct 29, 2024
2e5df35
Polishing
EmilianoSanchez Oct 29, 2024
25a4b41
Merge branch 'refactor_type_definitions' into refactor_type_definitio…
EmilianoSanchez Oct 29, 2024
e40a824
Polishing
EmilianoSanchez Oct 29, 2024
d94771d
Merge branch 'refactor_type_definitions' into refactor_type_definitio…
EmilianoSanchez Oct 29, 2024
1e64d19
Refactor Settings interfaces
EmilianoSanchez Oct 29, 2024
4d2a5a4
Merge branch 'refactor_type_definitions' into refactor_type_definitio…
EmilianoSanchez Oct 29, 2024
912f20e
Add TSDoc linter rules
EmilianoSanchez Oct 29, 2024
1351df6
rc
EmilianoSanchez Oct 29, 2024
c1f766f
Merge pull request #361 from splitio/remove_pluggable_localhost_mode
EmilianoSanchez Oct 31, 2024
d13c68e
Merge branch 'breaking_changes_baseline' into refactor_type_definitions
EmilianoSanchez Oct 31, 2024
c7e8050
Merge branch 'refactor_type_definitions' into refactor_type_definitio…
EmilianoSanchez Oct 31, 2024
b352f71
Rename some TS interfaces to minimize breaking changes in JS SDK
EmilianoSanchez Oct 31, 2024
d8a3445
Polishing
EmilianoSanchez Oct 31, 2024
d052757
Move internal types outside namespace
EmilianoSanchez Oct 31, 2024
1e1d827
Revert specialization of the INodeAsyncSettings interface
EmilianoSanchez Oct 31, 2024
ecae2b2
rc
EmilianoSanchez Oct 31, 2024
549ee4f
Polishing
EmilianoSanchez Oct 31, 2024
5e115c2
Merge pull request #363 from splitio/refactor_type_definitions_intern…
EmilianoSanchez Nov 1, 2024
05aa2af
Merge pull request #362 from splitio/refactor_type_definitions
EmilianoSanchez Nov 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"eslint-plugin-tsdoc",
"import"
],

Expand Down Expand Up @@ -80,7 +81,7 @@
"message": "Don't declare const enum, because it is not supported by Babel used for building RN SDK"
}
],
"compat/compat": ["error", "defaults, ie 10, node 6"],
"compat/compat": ["error", "defaults, node >=14"],
"no-throw-literal": "error",
"import/no-default-export": "error",
"import/no-self-import": "error"
Expand All @@ -90,6 +91,19 @@
"sourceType": "module"
}
},
{
"files": ["types/**"],
"rules": {
"no-use-before-define": "off"
}
},
{
// Enable TSDoc rules for TypeScript files, allowing the use of JSDoc in JS files.
"files": ["**/*.ts"],
"rules": {
"tsdoc/syntax": "warn"
}
},
// @TODO remove when moving InLocalStorage to js-browser
{
"files": ["src/storages/inLocalStorage/**/*.ts"],
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
## transpiled code
/esm
/cjs
/types

## coverage info
/coverage
6 changes: 6 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
2.0.0 (October XX, 2024)
- Added support for targeting rules based on large segments.
- Added `factory.destroy()` method, which invokes the `destroy` method on all SDK clients created by the factory.
- Added `SplitIO` namespace with the public TypeScript definitions to be reused by the SDKs, rather than having each SDK define its own types.
- Updated the handling of timers and async operations inside an `init` factory method to enable lazy initialization of the SDK in standalone mode. This update is intended for the React SDK.
- Bugfixing - Fixed an issue with the server-side polling manager that caused dangling timers when the SDK was destroyed before it was ready.
- BREAKING CHANGES:
- Updated default flag spec version to 1.2.
- Removed `/mySegments` endpoint from SplitAPI module, as it is replaced by `/memberships` endpoint.
- 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.
- Removed the deprecated `GOOGLE_ANALYTICS_TO_SPLIT` and `SPLIT_TO_GOOGLE_ANALYTICS` integrations.
- Removed the migration logic for the old format of MySegments keys in LocalStorage introduced in JavaScript SDK v10.17.3.
- 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.
- 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.
- Removed the `sync.localhostMode` configuration option to plug the LocalhostMode module.

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