Skip to content

Breaking changes #127

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

Merged
merged 28 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
9a787a8
Upgrade JS-commons. Updated type definitions & tests
EmilianoSanchez Oct 14, 2024
cfd4859
Revert some removed type definitions
EmilianoSanchez Oct 14, 2024
982bff3
Add type definition comment
EmilianoSanchez Oct 14, 2024
4c5f3c6
rc
EmilianoSanchez Oct 23, 2024
f0b7dfe
Remove sync.localhostMode option and validation utils
EmilianoSanchez Oct 25, 2024
23668a9
Remove 'full' subpackage, since there is not significant difference w…
EmilianoSanchez Oct 25, 2024
b935a91
1st step: move SplitIO namespace definition from Browser SDK to JS-Co…
EmilianoSanchez Oct 25, 2024
d5104b5
update JS-commons
EmilianoSanchez Oct 25, 2024
59106de
Merge branch 'remove_pluggable_localhost_mode' into remove_full_entry…
EmilianoSanchez Oct 25, 2024
d9a18dd
Update changelog entry
EmilianoSanchez Oct 25, 2024
1d4444c
Merge branch 'remove_pluggable_localhost_mode' into remove_full_entry…
EmilianoSanchez Oct 25, 2024
a331623
Merge branch 'remove_full_entrypoint' into refactor_type_definitions
EmilianoSanchez Oct 25, 2024
dabfdab
2nd step: move SplitIO namespace definition from React Native SDK to …
EmilianoSanchez Oct 25, 2024
3e5d640
3rd step: move SplitIO namespace definition from JS SDK to JS-Commons…
EmilianoSanchez Oct 26, 2024
41519cd
rc
EmilianoSanchez Oct 26, 2024
1fedc69
Update eslint config
EmilianoSanchez Oct 28, 2024
eb06c6a
Update comments
EmilianoSanchez Oct 28, 2024
cca40d9
Add TSDoc linter rules
EmilianoSanchez Oct 29, 2024
cf7c9c7
rc
EmilianoSanchez Oct 29, 2024
558dd0a
Fixes
EmilianoSanchez Oct 29, 2024
4cfbd3b
Merge pull request #128 from splitio/remove_pluggable_localhost_mode
EmilianoSanchez Oct 31, 2024
0ee9331
Revert "Remove 'full' subpackage, since there is not significant diff…
EmilianoSanchez Oct 31, 2024
32fed5c
Merge branch 'breaking_changes' into refactor_type_definitions
EmilianoSanchez Oct 31, 2024
752f1c4
Update ts test
EmilianoSanchez Oct 31, 2024
c7be832
Upgrade JS-commons
EmilianoSanchez Oct 31, 2024
964235a
rc
EmilianoSanchez Oct 31, 2024
be8b75f
Merge pull request #130 from splitio/refactor_type_definitions
EmilianoSanchez Nov 2, 2024
bfcf5c9
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
Prev Previous commit
Next Next commit
Upgrade JS-commons
  • Loading branch information
EmilianoSanchez committed Oct 31, 2024
commit c7be832fd06cab6a96590a1e8add4817bf9ab5df
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- 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.
- BREAKING CHANGES:
- Renamed some TypeScript definitions in the SplitIO namespace to avoid conflicts with other libraries: `SplitIO.IBrowserSettings` to `SplitIO.IClientSideSettings`, `SplitIO.IBrowserAsyncSettings` to `SplitIO.IClientSideAsyncSettings`.
- Renamed some TypeScript definitions in the SplitIO namespace to avoid conflicts with other Split packages: `SplitIO.IBrowserSettings` to `SplitIO.IClientSideSettings`, `SplitIO.IBrowserAsyncSettings` to `SplitIO.IClientSideAsyncSettings`, `SplitIO.ISDK` to `SplitIO.IBrowserSDK`, and `SplitIO.IAsyncSDK` to `SplitIO.IBrowserAsyncSDK`.
- 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 `GoogleAnalyticsToSplit` and `SplitToGoogleAnalytics` pluggable integration modules, along with the related interfaces in the TypeScript definitions.
- Removed the `LocalhostFromObject` export from the default import (`import { LocalhostFromObject } from '@splitsoftware/splitio-browserjs'`). It is no longer necessary to manually import and configure it in the `sync.localhostMode` option to enable localhost mode.
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"bugs": "https://github.com/splitio/javascript-browser-client/issues",
"homepage": "https://github.com/splitio/javascript-browser-client#readme",
"dependencies": {
"@splitsoftware/splitio-commons": "2.0.0-rc.5",
"@splitsoftware/splitio-commons": "2.0.0-rc.6",
"tslib": "^2.3.1",
"unfetch": "^4.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/full/splitFactory.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';
import type SplitIO from '@splitsoftware/splitio-commons/types/splitio';
import { settingsFactory } from '../settings/full';
import { getModules } from '../platform/getModules';
import { sdkFactory } from '@splitsoftware/splitio-commons/src/sdkFactory/index';
Expand Down
2 changes: 1 addition & 1 deletion src/splitFactory.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';
import type SplitIO from '@splitsoftware/splitio-commons/types/splitio';
import { settingsFactory } from './settings';
import { getModules } from './platform/getModules';
import { sdkFactory } from '@splitsoftware/splitio-commons/src/sdkFactory/index';
Expand Down
Loading