- Added a
DuckFactory
named export, which allows for creating ducks that share the same base configuration. - [BREAKING]: The default export has been replaced with a named export
Duck
. - [BREAKING]:
dispatch
is now passed to theonSuccess
andonError
callbacks as the first argument. The new signature is(dispatch, getState, [response, error])
. - Improvements to the fetch plugin
- Improved flow type support
- Added
onSuccess
andonError
request options.
- Added the
actionModifiers
request option, which allows modifying the object passed to thedispatch
function. - Fixed a bug where errors were not returning a rejected promise.
- Upgraded some dev dependencies.
- Initial release