forked from splitio/react-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHANGES.txt
More file actions
39 lines (32 loc) · 2.82 KB
/
CHANGES.txt
File metadata and controls
39 lines (32 loc) · 2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
1.2.5 (April 29, 2021)
- Updated some NPM dependencies mostly for vulnerability fixes.
- Updated Split's SDK package for vulnerability fixes.
1.2.4 (February 11, 2021)
- Updated CommonJS and ES Modules builds to always resolve browser modules of the Javascript SDK and avoid issues when using Node-based testing framework such as Jest (issues #13, #34).
1.2.3 (February 8, 2021)
- Updated React peer dependency range to include [email protected].
- Added `memoize-one` dependency for basic memoization utilities.
- Bugfixing - Optimizing splits evaluation via memoization in order to remove `shouldComponentUpdate` method of `SplitTreatments` component and avoid stopping render propagation (issue #42).
1.2.2 (December 15, 2020)
- Updated @splitsoftware/splitio dependency to version 10.15.2.
- Updated internal validation to avoid errors when passing an invalid list of split names to `SplitTreatments` component and `useTreatments` hook.
- Updated node-fetch and init dev dependencies for vulnerability fixes
1.2.1 (Oct 7, 2020)
- Updated @splitsoftware/splitio dependency to version 10.15.0, which uses the optimized impressions sending and supports filtering the splits to be synced. Learn more in our javascript-client changelog or documentation.
- Updated some NPM dependencies mostly for vulnerability fixes.
1.2.0 (July 23, 2020)
- Updated @splitsoftware/splitio dependency to version 10.13.0, which uses streaming synchronization by default, amongst other updates. Learn more in our javascript-client changelog or documentation.
- Updated `shouldComponentUpdate` method of `SplitTreatments` component for optimization: it only updates if the treatment evaluation changes.
- Updated build configuration to exclude React library from UMD bundle.
- Added missing status properties of Split clients into SplitContext: `isReadyFromCache`, `hasTimedout`, and `isDestroyed`. They are passed down as props when using functions as a child of both SplitFactory, SplitClient and SplitTreatments components.
- Added an optional prop to `SplitFactory` and `SplitClient`: `updateOnSdkReadyFromCache`, to update the component when an SDK_READY_FROM_CACHE event is emitted. Its value is true by default.
- Added gracefull shutdown of the SDK, when SplitFactory component is unmounted.
- Added validation and error logs associated to the use of incompatible React library versions.
- Bugfixing - Incorrect status properties in SplitContext when using SplitClient component.
- Bugfixing - Properly handling side-effects (creating Split factory) in SplitFactory component constructor.
- Bugfixing - Properly handling component state updates in React commit phase.
1.1.0 (March 11, 2020)
- Exported `SplitContext` to access Split readiness state when using React hooks.
- Bugfixing - issue with SDK_READY_TIMED_OUT events.
1.0.0 (January 24, 2020)
- Initial public release!