changelogs.md


aduth/refx

Repository  -  API  -  Source

3.1.1

February 17, 2018
  • Internal: Integrated Rollup build step for 12% browser bundle size reduction (274 to 241 bytes gzipped).

3.1.0

February 17, 2018
  • New: Middleware function exposes internal effects map via effects property

3.0.0

November 15, 2017
  • Breaking: Effects are now dispatched after the original action (previously occurred before)

2.1.0

July 27, 2017
  • Internal: Optimize effect flattening and handler iteration
  • Internal: Add package-lock.json

2.0.0

April 28, 2017
  • Breaking: Effect handler argument order has been reversed, with action as the first argument
  • Breaking: The middleware must be initialized with a single argument, either an object or array of objects
  • New: If an effect handler returns an action object, it will be dispatched

These changes are being made in an effort to discourage relying on the store instance and dispatching directly, instead preferring a synchronous flow where effect handlers can return actions in response to other actions, but aren't encouraged to perform ad hoc dispatches. In the future, support may be added to optionally omit the effect handler's store argument altogether.

1.0.0

December 15, 2016
  • Initial release