Skip to content

0.0.6

Choose a tag to compare

@jamesplease jamesplease released this 25 Feb 16:47
· 55 commits to master since this release

Breaking

  • The allowedOperations option has been renamed to supportedActions
  • Multiword resource names will now be snake-cased in action types. For
    instance, previously, a name of catPerson would have been CATPERSON. Now
    it will be CAT_PERSON.
  • Action creator placeholders have been removed from the library
  • The RETRIEVE action type has been renamed to READ_ONEand READ_MANY to
    make it more clear if you are fetching one or many resources.
  • In browser global environments, the variable name that is attached to the
    window has been renamed from simpleResource to createResource.

New features

  • You can now customize whether the reducers replace existing data or merge the
    new data with the old through the replace property of your action.
  • Helpful utilities are now available as named exports, which can help with
    manipulating data and metadata in the store.

Bug fixes

  • Newly-created resources now have the default metadata associated with them
  • The idAttribute option now works in all reducers
  • The action types that are included in the actionReducers options are now
    available on the actionTypes property of the resource