Skip to content

Latest commit

 

History

History
65 lines (34 loc) · 3.54 KB

CHANGELOG.md

File metadata and controls

65 lines (34 loc) · 3.54 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

2.0.0 - 2018-02-09

Changed

  • Update to flux-standard-action 2.0.0 (#14), drops support for Symbols as action types

1.0.0 - 2017-05-17

Releasing 0.3.2 as 1.0.0 with no changes.

0.3.2 - 2017-05-16

Added

  • Add documentation for the each of the utility functions to the README. (#11)

0.3.1 - 2017-05-12

Changed

  • createReducer now allows the caller to specify a whitelist function that can bypass the flux standard action (FSA) check. Some external libraries dispatch actions that do not conform to the FSA spec and we don't want those to trigger the NonStandardAction exception. The whitelist function should take an action and return true if it should bypass the FSA check, or false if it should be checked. Use it as follows: createReducer(initialState, actionHandlers, { allowNonStandardActionIf: whitelistFunction }). (#9)

0.3.0 - 2016-12-14

Changed

  • Check for flux standard actions (FSAs) in reducers created by createReducer. The check is performed only in development mode. Non-FSA actions raise a NonStandardAction exception. See flux-standard-action for a definition of what is an FSA. (#6)

Added

  • Add nullAction for use in reducer specs. A nullAction is a flux-standard-action-compliant action that shouldn't match any of your normal actions. It can be used to initialize the state in a reducer spec. e.g const initialState = reducer(undefined, nullAction) (#7)

Removed

  • Cleaned non-essential files out of the npm package to reduce package size. (#8)

Internal

  • Use yarn for all building and scripting tasks. (#8)

0.2.0 - 2016-12-14

Added

  • Add globalizeSelectors for adapting selectors that work on a slice of the state tree to allow them to work on the entire state tree. See Globalizing Redux Selectors for more information. (#2, #5)

0.1.1 - 2016-12-01

Added

  • [Internal only] Tests for createActionTypes and createReducer

0.1.0 - 2016-11-30

Added

  • Welcome to the world!
  • Add createActionTypes for creating namespaced Redux action type constants.
  • Add createReducer for creating Redux reducers without using case statements.