Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

v1.0.0

Latest
Compare
Choose a tag to compare
@piotr-oles piotr-oles released this 01 Sep 10:55

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 and mapPrevState (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 to mapState.
  • 馃Ж Renamed function reduceDetectors to composeDetectors.
  • 馃Ж Renamed type Detector to ActionsDetector<TState, TAction> and added
    Detector<TState, TResult> type (more generic).