Skip to content

v1.0.1

Compare
Choose a tag to compare
@markerikson markerikson released this 02 Nov 20:04
· 3889 commits to master since this release

This release includes a TS type bugfix for prepare callbacks, adds a new match method for action creators, and re-exports additional functions from Redux.

Changes

The types for the recently added error field in prepare callbacks were too loose, and that caused them to fall back to any. This has been fixed.

There are cases when it is helpful to have a type guard to narrow action objects down to a known type, such as checking in a middleware. Generated action creators now have a actionCreator.match() type guard function attached.

We were re-exporting some methods from the Redux core, but not all of them. All Redux exports are now re-exported, including bindActionCreators.

Changelog

v1.0.0...v1.0.1