This repository was archived by the owner on Feb 16, 2022. It is now read-only.
Releases: piotr-oles/redux-detector
Releases · piotr-oles/redux-detector
v1.0.0
1.0.0 (2019-09-01)
Bug Fixes
- 🐛 use reduceRight instead of reduce in composeDetectors (164d953)
Documentation
- ✏️ add API documentation and remove was* functions (15f1b08)
- ✏️ add api documentation for combine and compose fns (857537e)
Features
- 🎸 Add condition detector support (4eb8dfd)
- 🎸 add detector listener to handle disptach result (ba34de8)
- 🎸 Change API for better Developer Experience (8bdafb9)
- 🎸 Create more generic Detector<TState, TResult> type (051880d)
- 🎸 Extend
mapNextState
andmapPrevState
(fd07839) - 🎸 Make
composeDetectors
less type strict (2ca10cc) - 🎸 Make action type less strict (b093b56)
- 🎸 Rename reduceDetectors to composeDetectors (40ad2a4)
- 🎸 update dependencies (1dea7a1)
BREAKING CHANGES
- 🧨 composeDetectors reduce from right to left (reduces from left to right
before the fix) - 🧨 Renamed function
rmountDetector
tomapState
. - 🧨 Renamed function
reduceDetectors
tocomposeDetectors
. - 🧨 Renamed type Detector
to ActionsDetector<TState, TAction> and added
Detector<TState, TResult> type (more generic).
v1.0.0-rc.8@beta
v1.0.0-rc.7@beta
v1.0.0-rc.6@beta
1.0.0-rc.6 (2019-08-21)
Documentation
- ✏️ add API documentation and remove was* functions (0b5b1ca)
- ✏️ add api documentation for combine and compose fns (e2df6fb)
BREAKING CHANGES
- 🧨 Removed
wasEqual
,wasFalsy
andwasTruthy
functions - 🧨 rename conditionDetector function to composeIf to make API more
consistent
v1.0.0-rc.5@beta
1.0.0-rc.5 (2019-05-20)
Bug Fixes
- 🐛 use reduceRight instead of reduce in composeDetectors (d866a27)
BREAKING CHANGES
- 🧨 composeDetectors reduce from right to left (reduces from left to right
before the fix)
v1.0.0-rc.4@beta
v1.0.0-rc.3@beta
v1.0.0-rc.2@beta
1.0.0-rc.2 (2019-04-17)
Features
- 🎸 Change API for better Developer Experience (f9810b7)
BREAKING CHANGES
- 🧨
mapState
renamed tomapDetector
and now it requires both selector
and detector as an argument.mapFalsy
,mapTruthy
,changedFrom
,
changedFromFalsy
,changedFromTruthy
andchangedTo
removed.
changed
,changedToFalsy
andchangedToTruthy
now is a detector
factory and requires selector as an argument.
v1.0.0-rc.1@beta
1.0.0-rc.1 (2019-04-16)
Features
- 🎸 Add condition detector support (ab28511)
- 🎸 Create more generic Detector<TState, TResult> type (8cecae2)
- 🎸 Extend
mapNextState
andmapPrevState
(0132046) - 🎸 Rename reduceDetectors to composeDetectors (f0084b8)
- 🎸 Upgrade libraries and add support for redux@^4.0.0 (2d4772b)
BREAKING CHANGES
- 🧨 Renamed function
mountDetector
tomapState
. - 🧨 Renamed function
reduceDetectors
tocomposeDetectors
. - 🧨 Renamed type Detector
to ActionsDetector<TState, TAction> and added
Detector<TState, TResult> type (more generic).