Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large segments support in client-side #815

Merged
merged 82 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
4c7ab0d
Merge pull request #811 from splitio/development
EmilianoSanchez Jun 25, 2024
79fdb4a
Upgrade JS-commons that includes MyLargeSegments support
EmilianoSanchez Jul 17, 2024
a4d8d95
Update feature flag definitions adding a flag with large segments, to…
EmilianoSanchez Jul 17, 2024
141f052
Upgrade JS-commons
EmilianoSanchez Jul 22, 2024
2838820
Tests for polling
EmilianoSanchez Jul 24, 2024
4615c32
Add readiness tests
EmilianoSanchez Jul 24, 2024
4ed5f2b
Add tests for streaming mode
EmilianoSanchez Jul 24, 2024
7acf448
Update test
EmilianoSanchez Jul 25, 2024
cbcd0c9
rc
EmilianoSanchez Jul 25, 2024
5a37cb7
Merge pull request #814 from splitio/SDK-8407_e2e_tests_polling
EmilianoSanchez Jul 25, 2024
64d1cbc
Merge pull request #812 from splitio/SDKS-8407_integration
EmilianoSanchez Jul 25, 2024
0fd1d58
Merge pull request #813 from splitio/SDK-8407_e2e_tests
EmilianoSanchez Jul 25, 2024
71e0fec
Handle localhost mode
EmilianoSanchez Jul 26, 2024
b009049
Upgrade JS-commons with FLAG_SPEC_VERSION 1.2
EmilianoSanchez Jul 31, 2024
4cd2e9e
Merge branch 'SDKS-8407_baseline' into SDKS-8407_polishing
EmilianoSanchez Jul 31, 2024
ec40f54
Upgrade JS-commons
EmilianoSanchez Aug 1, 2024
957df00
rc
EmilianoSanchez Aug 2, 2024
052ba46
rc with update JS-commons version
EmilianoSanchez Aug 6, 2024
623add3
rollback ci-cd
EmilianoSanchez Aug 6, 2024
0b4c07b
Removed node-polyfill-webpack-plugin dev dependency, not used anymore…
EmilianoSanchez Aug 6, 2024
3ecea9c
Revert "Removed node-polyfill-webpack-plugin dev dependency, not used…
EmilianoSanchez Aug 7, 2024
bbdc7d9
Update MyLargeSegments payload mock
EmilianoSanchez Aug 7, 2024
049ee4e
Merge pull request #816 from splitio/SDKS-8407_polishing
EmilianoSanchez Aug 20, 2024
f9e24ed
Remove LS configs and unify endpoint
EmilianoSanchez Aug 20, 2024
3b3c3b5
Test updates
EmilianoSanchez Aug 29, 2024
917e063
Notification refactors: t->type, MEMBERSHIP_MS_UPDATE, MEMBERSHIP_LS_…
EmilianoSanchez Sep 1, 2024
3fbbfa6
rc
EmilianoSanchez Sep 2, 2024
087e772
Update tests with new auth payloads and notification types
EmilianoSanchez Sep 3, 2024
cdf411f
Test updates
EmilianoSanchez Sep 3, 2024
f7894ec
Merge branch 'development' into SDKS-8407_baseline
EmilianoSanchez Sep 16, 2024
51bb39c
Merge branch 'SDKS-8407_baseline' into SDKS-8407_unify_endpoint
EmilianoSanchez Sep 16, 2024
654e772
Update mock
EmilianoSanchez Sep 16, 2024
1f3094f
rc
EmilianoSanchez Sep 16, 2024
a5f8835
ci-cd update for rc
EmilianoSanchez Sep 16, 2024
f920053
rollback ci-cd
EmilianoSanchez Sep 16, 2024
bea657a
Merge pull request #818 from splitio/SDKS-8407_unify_endpoint
EmilianoSanchez Sep 17, 2024
5211a8a
Use flag spec version 1.1 for server-side
EmilianoSanchez Sep 18, 2024
62723ec
Update server-side tests with flag spec 1.1
EmilianoSanchez Sep 18, 2024
0591c35
Merge branch 'development' into SDKS-8407_baseline
EmilianoSanchez Sep 18, 2024
195b1b1
Add factory destroy method
EmilianoSanchez Sep 20, 2024
24137dc
fix test
EmilianoSanchez Sep 20, 2024
24eb000
Update ts tests and changelog entry
EmilianoSanchez Sep 20, 2024
001e882
rc
EmilianoSanchez Sep 20, 2024
8ba5830
rollback ci-cd
EmilianoSanchez Sep 20, 2024
d58d8e3
Bugfixing - Removed an overloaded method in the interface
EmilianoSanchez Oct 2, 2024
0a082b2
Rename dist folders: /lib -> /cjs, /es -> /esm
EmilianoSanchez Oct 4, 2024
4cfec03
Drop support for NodeJS v6
EmilianoSanchez Oct 4, 2024
4a58e9e
Merge branch 'add_factory_destroy_method' into breaking_changes
EmilianoSanchez Oct 8, 2024
9eefd1b
Upgrade JS-commons. Updated type definitions & tests
EmilianoSanchez Oct 8, 2024
aaad4a2
Remove lib folder
EmilianoSanchez Oct 8, 2024
42f06dc
Merge branch 'rename_dist_folders' into breaking_changes
EmilianoSanchez Oct 8, 2024
38469cf
Merge branch 'add_factory_destroy_method' into rename_dist_folders
EmilianoSanchez Oct 8, 2024
e3fe523
Merge branch 'rename_dist_folders' into breaking_changes
EmilianoSanchez Oct 8, 2024
7c0d050
rc
EmilianoSanchez Oct 8, 2024
3c1034b
Update changelog entry
EmilianoSanchez Oct 9, 2024
e0dd572
Update changelog entry
EmilianoSanchez Oct 9, 2024
9dce402
Update ts-test. Add tests for lazy init
EmilianoSanchez Oct 18, 2024
da09bce
Vulnerability fixes
EmilianoSanchez Oct 18, 2024
cba2a83
Merge pull request #825 from splitio/add_factory_destroy_method
EmilianoSanchez Oct 18, 2024
6325b9e
Merge branch 'development' into SDKS-8407_baseline
EmilianoSanchez Oct 18, 2024
2e5d502
Merge branch 'SDKS-8407_baseline' into rename_dist_folders
EmilianoSanchez Oct 18, 2024
33f6374
Merge branch 'rename_dist_folders' into breaking_changes
EmilianoSanchez Oct 18, 2024
79e33e7
Update JS-commons dep
EmilianoSanchez Oct 18, 2024
7a9782c
rc
EmilianoSanchez Oct 18, 2024
a3230a2
Fix test
EmilianoSanchez Oct 18, 2024
c078249
Internal refactor after removing sync.localhostMode option in JS-commons
EmilianoSanchez Oct 25, 2024
d7d6eb6
Move SplitIO namespace definition from JS SDK to JS-Commons and merge
EmilianoSanchez Oct 25, 2024
194e58a
Update changelog entry
EmilianoSanchez Oct 26, 2024
93d807e
Update eslint config
EmilianoSanchez Oct 28, 2024
e2f1b71
Update JS-commons and prepare rc
EmilianoSanchez Oct 29, 2024
e0229c4
rc in CDN
EmilianoSanchez Oct 30, 2024
a625171
Merge pull request #833 from splitio/remove_pluggable_localhost_mode
EmilianoSanchez Oct 31, 2024
8075815
Merge branch 'breaking_changes' into refactor_type_definitions
EmilianoSanchez Oct 31, 2024
7945e00
Update ts test
EmilianoSanchez Oct 31, 2024
98df0fd
Upgrade JS-commons
EmilianoSanchez Oct 31, 2024
9467095
Update ts test
EmilianoSanchez Oct 31, 2024
4c9b7af
rc
EmilianoSanchez Oct 31, 2024
8d92ba9
Merge pull request #834 from splitio/refactor_type_definitions
EmilianoSanchez Nov 2, 2024
ea5e43a
Merge pull request #827 from splitio/breaking_changes
EmilianoSanchez Nov 2, 2024
d744912
Merge pull request #828 from splitio/rename_dist_folders
EmilianoSanchez Nov 2, 2024
29c98c7
Merge branch 'development' into SDKS-8407_baseline
EmilianoSanchez Nov 2, 2024
72faa4b
stable version
EmilianoSanchez Nov 2, 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
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
],
"rules": {
"no-restricted-syntax": ["error", "ForOfStatement", "ForInStatement", "ArrayPattern"],
"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 Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ dump.rdb
/stats

## transpiled code
/lib
/es
/cjs
/esm
/umd

## TS tests compilated files
Expand Down
14 changes: 13 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
11.0.0 (November 1, 2024)
- Added support for targeting rules based on large segments for browsers (client-side API).
- Added `factory.destroy()` method, which invokes the `destroy` method of all clients created by the factory.
- Updated @splitsoftware/splitio-commons package to version 2.0.0 that includes major updates and updated some transitive dependencies for vulnerability fixes.
- Renamed distribution folders from `/lib` to `/cjs` for CommonJS build, and `/es` to `/esm` for ECMAScript Modules build.
- BREAKING CHANGES:
- 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.
- Dropped support for NodeJS v6. The SDK now requires NodeJS v14 or above.
- 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.
- 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.
- 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.

10.28.0 (September 6, 2024)
- Updated @splitsoftware/splitio-commons package to version 1.17.0 that includes minor updates:
- Added `sync.requestOptions.getHeaderOverrides` configuration option to enhance SDK HTTP request Headers for Authorization Frameworks.
Expand Down Expand Up @@ -507,7 +519,7 @@
- Bugfixing - Return correct label when consulted Split is not found.

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

9.1.0 (April 21, 2017)
Expand Down
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"main": "../lib/factory/browser.js",
"module": "../es/factory/browser.js",
"main": "../cjs/factory/browser.js",
"module": "../esm/factory/browser.js",
"types": "../types/client/index.d.ts"
}
20 changes: 0 additions & 20 deletions karma/e2e.gaIntegration.karma.conf.js

This file was deleted.

Loading
Loading