Redux Preboiled
  • Redux Preboiled
  • Guides
    • Getting Started
    • Actions
    • Reducers
    • Testing
  • API
    • API Overview
    • chainReducers
    • createAction
    • getInitialState
    • onAction
    • reduceActions
    • withInitialState
  • Misc
    • Changelog
    • License
Powered by GitBook
On this page
  • Unreleased
  • 0.5.1
  • Fixed
  • 0.5.0
  • Added
  • Changed
  • 0.4.1
  • Fixed
  • 0.4.0
  • Fixed
  • Internal
  • 0.3.1 - 2019-05-02
  • Fixed
  • 0.3.0 - 2019-05-02
  • Changed
  • 0.2.0 - 2019-04-24
  • Added
  • Changed
  1. Misc

Changelog

PreviouswithInitialStateNextLicense

Last updated 3 years ago

All notable changes to this project will be documented in this file.

The format is based on , and this project adheres to .

(Nothing yet.)

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 (actionCreator.matches.bind(actionCreator)).

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 .

Changed

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

Fixed

  • onAction: Accept symbols and numbers as action types ([@judithhartman][https://github.com/judithhartmann])

Fixed

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

Internal

  • Upgrade TypeScript to v3.6.4.

  • Upgrade Rollup to v1.23.1.

  • Upgrade Babel to v7.6.4.

Fixed

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

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).

Added

Changed

  • Improve testing guide.

  • Add a license link to README.md.

Documentation fixes by and .

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

- 2019-05-02

- 2019-05-02

- 2019-04-24

New helper: . Like , but starting with a custom state (instead of the reducer's initial state).

Keep a Changelog
Semantic Versioning
Unreleased
0.5.1
0.5.0
type predicate
0.4.1
0.4.0
@k-nut
@dannyfritz
tsd
0.3.1
0.3.0
0.2.0
reduceActionsFrom
reduceActions