Skip to content

Releases: redux-loop/redux-loop

6.0.1

24 Jun 19:45
Compare
Choose a tag to compare

typescript bugfix: Make the configuration options to install optional.

6.0.0

24 Jun 19:44
Compare
Choose a tag to compare

BREAKING CHANGES

  • Removed a limitation from Cmd.map that required nested Cmd.lists to have the batch option enabled (#235 @bdwain)
  • mergeChildReducers is deprecated and will now emit a console warning. This can be avoided by renaming it to DEPRECATED_mergeChildReducers, though this will be removed in 7.0.0 along with the original method. (#248 @bdwain)
    • reduceReducers can be used in situations where mergeChildReducers was needed.
  • Typescript: Type safety improvements for Cmd.run. Typescript 3 now required. (#222 @domarmstrong)
  • Typescript: Type safety improvements for LoopReducer (#244 @nweber-gh)
    • It no longer specifies the action types that are dispatched by its Cmds. Only the action types it handles.
    • You are no longer allowed to not handle the default case in the switch statement or return an incorrect type from it.
  • Typescript: Dispatch type returns a promise (#241 @laszlopandy)
  • Flow types are no longer supported due to a lack of demand or ability to maintain them.

New Features

5.1.1

18 Nov 07:32
Compare
Choose a tag to compare

Switch typescript types to export instead of declare (#228 by @aeirola)

5.1.0

14 Nov 20:35
Compare
Choose a tag to compare

Added support for migration from redux thunk by adding an option to process thunks in redux loop. See more here

5.0.1

14 Nov 20:31
Compare
Choose a tag to compare

Added unique to symbol types for Cmd.getState and Cmd.dispatch (#217 by @laszlopandy)

5.0.0

27 Apr 22:32
Compare
Choose a tag to compare

BREAKING CHANGES

  • Remove deprecated functionality (becd636)
    • Cmd.batch
    • Cmd.sequence
    • customization parameters to combineReducers
  • Update TypeScript types for Cmd.run() (#207)

Other changes

  • Fix StoreCreator TypeScript def to match redux (#208)
  • Better typings for reducers (#210)
  • Add type for Cmd.run's options.testInvariants (#214)

Development Changes

  • Add prettier
  • Update build tools to latest version
  • Remove react-app lint rules
  • Fix typescript tests to actually fail on errors (#209)

4.5.4

17 Jan 08:55
Compare
Choose a tag to compare

Relax reudceReducers type definitions to allow reducers to not handle undefined state if they are not the first param (#206 by @aeirola)

4.5.3

16 Jan 10:53
Compare
Choose a tag to compare

The promise returned by dispatch now resolves with the underlying dispatch return value (#205 by @sasucker)

4.5.2

04 Dec 16:59
Compare
Choose a tag to compare

Fix typescript definition for install config object (#204 by @mllustosa)

NOTE: 4.5.1 was accidentally skipped

4.5.0

03 Dec 22:56
Compare
Choose a tag to compare

Feature: Added a config option to install that allows for disabling console.error when there are errors handled by a failActionCreator. (#198 by @jamesjtong)

See https://redux-loop.js.org/docs/api-docs/install.html