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

Release v2.0.0 #216

Merged
merged 62 commits into from
Nov 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
d4a423c
Refactor draft using useSplitTreatments inside SplitTreatments, useSp…
EmilianoSanchez Jul 18, 2023
a1e7939
Updated getSplitClient util to set client lastUpdate timestamp, and u…
EmilianoSanchez Jul 18, 2023
5978e58
removed unnecessary condition: (client !== contextClient || client.la…
EmilianoSanchez Jul 18, 2023
89cf14f
Merge branch 'hooks_polishing' into react_v2_functional_components
EmilianoSanchez Jul 22, 2023
56454e8
Using function as useState initial state in SplitFactory
EmilianoSanchez Jul 22, 2023
849bcb3
Merge branch 'hooks_improvements' into react_v2_functional_components
EmilianoSanchez Nov 21, 2023
2383f52
Upgrade JS SDK dependency, which includes large segments and factory …
EmilianoSanchez Sep 20, 2024
6647127
rc
EmilianoSanchez Sep 20, 2024
7d004c2
Reuse ISplitComponentProps
EmilianoSanchez Oct 1, 2024
b2df913
useMemo in SplitFactoryProvider
EmilianoSanchez Oct 1, 2024
076151b
Test refactors
EmilianoSanchez Oct 3, 2024
1511d8d
Rename build folders
EmilianoSanchez Oct 19, 2024
044c9b8
Merge pull request #201 from splitio/release_v1.14.0
EmilianoSanchez Oct 19, 2024
13fa499
Remove deprecated modules
EmilianoSanchez Oct 19, 2024
e2681cc
Rename typescript interfaces: ISplitFactoryProviderProps, ISplitFacto…
EmilianoSanchez Oct 19, 2024
88d1f25
Rename SplitSdk to SplitFactory function
EmilianoSanchez Oct 19, 2024
258b4fe
Merge branch 'rename_SplitSdk_to_SplitFactory' into react_v2_function…
EmilianoSanchez Oct 19, 2024
9b9a5ac
Update React support: >=16.8.0
EmilianoSanchez Oct 19, 2024
60a20c5
Polishing
EmilianoSanchez Oct 19, 2024
f669720
Update error handling when components are not wrapped by SplitFactory…
EmilianoSanchez Oct 21, 2024
6d65bf0
Update tests
EmilianoSanchez Oct 21, 2024
e8e0d2a
Refactor context value to use undefined rather than null for factory …
EmilianoSanchez Oct 21, 2024
f23f0a4
Upgrade JS SDK to v11, which has clients without bound traffic type
EmilianoSanchez Oct 22, 2024
4688ff0
Update changelog entry
EmilianoSanchez Oct 22, 2024
628b185
Make factory and client context properties available in first render …
EmilianoSanchez Oct 23, 2024
833d6c9
Added test to validate bugfix
EmilianoSanchez Oct 24, 2024
6bfb15b
Polishing
EmilianoSanchez Oct 24, 2024
e1bad0a
Added test to validate useTrack does not re-render
EmilianoSanchez Oct 24, 2024
e262600
Polishing
EmilianoSanchez Oct 24, 2024
fec84b3
Polishing
EmilianoSanchez Oct 24, 2024
5009c20
Merge pull request #203 from splitio/remove_deprecated_modules
EmilianoSanchez Oct 24, 2024
e633ad2
Merge pull request #204 from splitio/rename_SplitSdk_to_SplitFactory
EmilianoSanchez Oct 24, 2024
7691dd9
Merge pull request #205 from splitio/react_v2_functional_components
EmilianoSanchez Oct 24, 2024
c33577f
Merge pull request #206 from splitio/error_handling_updates
EmilianoSanchez Oct 24, 2024
2cbc1d0
Merge branch 'breaking_changes_baseline' into issue_198_factory_avail…
EmilianoSanchez Oct 24, 2024
695960b
Remove SplitClient and SplitTreatments components
EmilianoSanchez Oct 25, 2024
64a635e
Reduce SplitContext only to the factory
EmilianoSanchez Oct 25, 2024
bafcfd9
Update JS SDK to use updated Type declaration files
EmilianoSanchez Oct 25, 2024
465af41
Fix import
EmilianoSanchez Oct 25, 2024
2d1a0d0
test namespace implicit import
EmilianoSanchez Oct 26, 2024
dff8b1f
Update changelog entry
EmilianoSanchez Oct 26, 2024
2c311b9
Add TSDoc linter rules
EmilianoSanchez Oct 29, 2024
3b55de4
Merge branch 'refactor_type_definitions' into poc_react_sdk_mini
EmilianoSanchez Oct 29, 2024
d26572e
Update changelog entry
EmilianoSanchez Oct 30, 2024
eb475cd
Upgrade JS SDK
EmilianoSanchez Oct 31, 2024
54b13ca
Polishing
EmilianoSanchez Oct 31, 2024
41d960b
rollback ci-cd
EmilianoSanchez Oct 31, 2024
6a723c7
Merge pull request #213 from splitio/refactor_type_definitions
EmilianoSanchez Oct 31, 2024
3b3eabc
Merge pull request #211 from splitio/issue_198_factory_available_in_i…
EmilianoSanchez Oct 31, 2024
6a7c8db
Merge pull request #208 from splitio/clients_without_tt
EmilianoSanchez Oct 31, 2024
b9cbb48
Merge pull request #207 from splitio/refactor_null_to_undefined
EmilianoSanchez Oct 31, 2024
7445552
Polishing
EmilianoSanchez Oct 31, 2024
df99c2b
Merge branch 'breaking_changes_baseline' into remove_render_props
EmilianoSanchez Oct 31, 2024
cdd1396
Update tests
EmilianoSanchez Oct 31, 2024
a715ff4
Revert HOCs and Render Props components
EmilianoSanchez Nov 1, 2024
8521d37
Polishing
EmilianoSanchez Nov 1, 2024
de83b2f
Update changelog entry
EmilianoSanchez Nov 1, 2024
f6f44d6
rc
EmilianoSanchez Nov 1, 2024
b927510
rollback rc
EmilianoSanchez Nov 1, 2024
3e12176
stable version
EmilianoSanchez Nov 2, 2024
1e5ec3e
Merge pull request #215 from splitio/revert_hocs_and_render_props
EmilianoSanchez Nov 2, 2024
5f34c9b
Merge pull request #212 from splitio/breaking_changes_baseline
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
test namespace implicit import
EmilianoSanchez committed Oct 26, 2024
commit 2d1a0d01a972780dd010e102deae232157ab32c5
1 change: 0 additions & 1 deletion src/__tests__/testUtils/mockSplitFactory.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { EventEmitter } from 'events';
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';
import jsSdkPackageJson from '@splitsoftware/splitio/package.json';
import reactSdkPackageJson from '../../../package.json';

2 changes: 0 additions & 2 deletions src/__tests__/testUtils/sdkConfigs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';

export const sdkBrowser: SplitIO.IBrowserSettings = {
core: {
authorizationKey: 'sdk-key',
1 change: 0 additions & 1 deletion src/__tests__/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CONTROL_WITH_CONFIG } from '../constants';
import { getControlTreatmentsWithConfig } from '../utils';
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';

describe('getControlTreatmentsWithConfig', () => {

1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';
import type { ReactNode } from 'react';

/**
1 change: 0 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@ import shallowEqual from 'shallowequal';
import { SplitFactory } from '@splitsoftware/splitio/client';
import { CONTROL_WITH_CONFIG, VERSION, WARN_NAMES_AND_FLAGSETS } from './constants';
import { ISplitStatus } from './types';
import SplitIO from '@splitsoftware/splitio-commons/types/splitio';

// Utils used to access singleton instances of Split factories and clients, and to gracefully shutdown all clients together.