Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 2.21 KB

CHANGELOG.md

File metadata and controls

67 lines (48 loc) · 2.21 KB
  • 2.3.0

    • Adding UpdateData action and updateData action creator.
  • 2.2.0

    • Support for adding and removing child data. Adding AddChildData and RemoveChildData actions and addChildData and removeChildData action creators.
  • 2.1.0

    • entitiesProjector takes an optional array of id strings (@juanpmarin) Closes #18
  • 2.0.0

    • Serialization support for actions. Details: The normalization of entities is now perfomed in the action constructor. Previously it was handled by the reducer. As (@PachowStudios) pointed out in Issue #16, ngrx-normalizr actions were not serializable. This could raise issues with other redux/ngrx libraries. The normalizr schema.Entity is not part of the action payload anymore, hence the interfaces for describing the payload have changed and the action constructor does no longer take the payload itself as an argument. As long as you did not type any action parameters in your code or dispatched actions directly with a simle pojo by using the exported action type names, you should have no problem updating, since the arity/keys of the constructor API did not change - see Breaking Changes. Closes #16

    • Breaking Changes

      • Action constructor parameters changed from NormalizeDataPayload to NormalizeActionConfig and from NormalizeRemovePayload to NormalizeRemoveActionConfig
      • Action payload property types changed from NormalizeDataPayload to NormalizeActionPayload and from NormalizeRemovePayload to NormalizeRemoveActionPayload
      • (might break) Internal used interface SchemaPayload replaced by NormalizeActionSchemaConfig
  • 1.0.4

    • exporting SchemaSelectors interface (@JSantha)
  • 1.0.3

    • fixed typos (@hoisel)
    • exporting types for reuse in other libraries
  • 1.0.2

    • improved documentation
    • improved code coverage (100%)
    • SetData action for setting entity data instead of updating and adding data
  • 1.0.1

    • actionCreators for creating schema bound actions
    • improved code coverage
  • 1.0.0

    • first production version
  • 0.0.1

    • first development version