Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
35953b7
1st step: move SplitIO namespace definition from Browser SDK to JS-Co…
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
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
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
14 changes: 14 additions & 0 deletions .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 @@ -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
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
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:
Expand Down
Loading
Loading