0.0.6
Breaking
- The
allowedOperationsoption has been renamed tosupportedActions - Multiword resource names will now be snake-cased in action types. For
instance, previously, a name ofcatPersonwould have beenCATPERSON. Now
it will beCAT_PERSON. - Action creator placeholders have been removed from the library
- The
RETRIEVEaction type has been renamed toREAD_ONEandREAD_MANYto
make it more clear if you are fetching one or many resources. - In browser global environments, the variable name that is attached to the
windowhas been renamed fromsimpleResourcetocreateResource.
New features
- You can now customize whether the reducers replace existing data or merge the
new data with the old through thereplaceproperty 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
idAttributeoption now works in all reducers - The action types that are included in the
actionReducersoptions are now
available on theactionTypesproperty of the resource