Skip to content

Releases: denisw/redux-preboiled

v0.5.1

11 Oct 17:43
Compare
Choose a tag to compare

Fixed

  • Don't throw a TypeError if the matches() method of an action creator is
    called independently from the action creator object. Allows idioms such as
    filter(actionCreator.matches) without having to resort to
    Function.prototype.bind.

v0.5.0

05 Sep 13:54
Compare
Choose a tag to compare

Added

  • createAction action creators now have a matches() method, which returns
    true if the passed action's type matches that of the creator. In TypeScript,
    matches() is defined as a type predicate.

Changed

  • TypeScript: The SimpleActionCreator type is now called
    BasicActionCreator. SimpleActionCreator is kept as a type alias, but
    is deprecated.

v0.4.1

26 Jan 22:11
Compare
Choose a tag to compare

Fixed

  • onAction: Accept symbols and numbers as action types (@judithhartman)

v0.4.0

12 Oct 09:47
Compare
Choose a tag to compare

Fixed

  • TypeScript: Fix a type error with TypeScript v3.6 when passing actions of different types to reduceActions and reduceActionsFrom.

  • Documentation fixes by @k-nut and @dannyfritz.

Internal

  • Redux Preboiled now has a suite of TypeScript type definition tests powered by tsd. This should help ensure that the typings don't break on new TypeScript releases.

  • Upgrade TypeScript to v3.6.4.

  • Upgrade Rollup to v1.23.1.

  • Upgrade Babel to v7.6.4.

v0.3.1

02 May 20:08
Compare
Choose a tag to compare

Fixed

  • Ship typings (they were accidentally ommitted from v0.3.0).

v0.3.0

02 May 20:08
Compare
Choose a tag to compare

Changed

  • The "main" build is now a UMD module which can be used both in Node.js
    and directly the browser. In the latter case, Redux Preboiled is exposed
    as a global named reduxPreboiled.

  • All builds (except the esnext one) are now transpiled to ES5, which makes
    them work in older browsers (most notably Internet Explorer 11).

v0.2.0

24 Apr 19:50
Compare
Choose a tag to compare

Added

Changed

  • Improved testing guide.
  • Added a license link to README.md.

v0.1.0

14 Apr 08:39
Compare
Choose a tag to compare

Initial release.