Releases: redux-utilities/redux-actions
1.2.2
Fix #185.
v1.2.1
v1.2.0
v1.1.0
We found that lots of library users were specifying null
payload creators in createActions
and createAction
. Rather than force them into a strict paradigm of passing just undefined
, we decided to continue allowing this behavior. See #170, #169.
Also, this adds an example of how to use combineActions
with createActions
in the README, in response to #163.
Fixes
- Convert
null
payload creator to the identity (114115b) - @yangmillstheory
Documentation
combineActions
example in README (6679a29) - @yangmillstheory
v1.0.1
v1.0.0
This is our first major release. If you experience any undocumented issues, please let us know immediately in the issues or feel free to open a pull request. Any contribution is much appreciated. We try our best to ship new fix releases as fast as we can.
From now on we are checking heavily for correct usage of this library and using invariant
for throwing errors. It is a mirror of Facebooks invariant
in React and makes use of the process.env.NODE_ENV
value as well.
Another big change is that the payload can only be omitted with undefined
. That allows us to pass null
as payload, which has been requested many times by the community. We also had a long discussion on the proper usage of null
and undefined
for omitting values in general. You can read it in #115 and #128.
If you want to have a quick chat with us, tweet us @yangmillstheory or @timche_.
BREAKING CHANGES
- Omit payload on undefined only (#128) (aaaa110) - @timche
- Make defaultState required when creating reducers (#127) (26a9ccb) - @yangmillstheory
- Enforce reducer type in handleAction (#156) (69f69ec) - @yangmillstheory
- Check type of payload creator (#129) (f9bf59e) - @yangmillstheory
- Add descriptive error for missing or invalid actions (ea04ccf) - @JaKXz
Enhancements
- standardize on invariant for runtime checks (227db63) - @yangmillstheory
v0.13.0
New Features & Enhancements
- Set error to true when payload is an
Error
(f0f3c94) - @xiaohanzhang
Internal Improvements
- Rename
actionHandler
toactionCreator
(1e818ab) - @yangmillstheory - Add
.editorconfig
(00f936d) - @JaKXz - Remove node v5.x in
travis.yml
(1e48e1c) - @JaKXz - Ignore
.idea
folder (19e967e) - @JaKXz - Include NPM statistics with badge (5910917) - @yangmillstheory
v0.12.0
New Features & Enhancements
- Add
combineActions
: handle multiple actions with the same reducer (6589c31) - @yangmillstheory
Notes
npmcdn.com is moving to unpkg.com, so if you are using our UMD build, please update your URL to http://unpkg.com or take a look at the README.
v0.11.0
New Features & Enhancements
- Add UMD build (6675385) - @timche
- Add
createActions
: create multiple action creators at once (812d5f2) - @yangmillstheory
Internal
- Change
actionCreator
topayloadCreator
for better naming (e7bdb2f) - @yangmillstheory - Refactor Build Process (d47a785) - @timche
- Simplify return logic; remove typeof check (1dc2449) - @yangmillstheory
- Simplify
handleActions
(5e78f25) - @yangmillstheory