Skip to content

Releases: redux-utilities/redux-actions

1.2.2

Choose a tag to compare

@globalchubby globalchubby released this 25 Feb 21:09

Fix #185.

69f7be1 - @yangmillstheory @inxilpro

v1.2.1

Choose a tag to compare

@globalchubby globalchubby released this 26 Jan 05:50

Enhancements

This approximately halves the minified bundle size. Original credit goes to @lxe.

v1.2.0

Choose a tag to compare

@globalchubby globalchubby released this 13 Dec 04:46

Mostly, this release adds a new ES2015 build in the es/ folder for tree-shaking bundlers like Webpack2 and Rollup.

v1.1.0

Choose a tag to compare

@globalchubby globalchubby released this 23 Nov 18:25

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

Choose a tag to compare

@timche timche released this 21 Nov 20:06

With #141 we have made other libraries incompatible with redux-actions and it resulted to an unexpected behavior (#164, #167). If an action is not a FSA, handleAction should not handle it and just pass it to the next reducer. This fix will remove the FSA check to support Non-FSA.

Fixes

v1.0.0

Choose a tag to compare

@timche timche released this 18 Nov 19:18

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

Choose a tag to compare

@globalchubby globalchubby released this 30 Oct 20:19

New Features & Enhancements

Internal Improvements

v0.12.0

Choose a tag to compare

@timche timche released this 01 Sep 18:10

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

Choose a tag to compare

@timche timche released this 19 Aug 08:03

New Features & Enhancements

  • Add UMD build (6675385) - @timche
  • Add createActions: create multiple action creators at once (812d5f2) - @yangmillstheory

Internal

  • Change actionCreator to payloadCreator for better naming (e7bdb2f) - @yangmillstheory
  • Refactor Build Process (d47a785) - @timche
  • Simplify return logic; remove typeof check (1dc2449) - @yangmillstheory
  • Simplify handleActions (5e78f25) - @yangmillstheory

v0.10.1

Choose a tag to compare

@timche timche released this 09 Jul 09:56

Fixes