- Bug fixes
- Fix retry check for status 4XX
- Added a retry option to request middleware. On by default, see readme.
- Added logging of errors.
- Added requestModifierMiddleware to allow altering requests before they're sent (moved here from fl-react-utils).
- Added requestLoggerMiddleware to help with react-native debugging (moved here from fl-react-utils).
- Back to Babel 5.
- Migrated to Babel 6.
- Code style switched to camelCase for variables.
- Frameworkstein initial release.
- The
by_id
property has been renamed tomodels
.models
has been renamed tomodelList
.
- Changed handling of null responses (again). They are now not considered an error.
- The http status code is appended to the action when parsing the response.
- A
model
prop is also added to the action which. It's null if no response is received.
- responseParser always parses ids to strings by default.
- Behave correctly when res is null (not undefined) with no error.
- Fixed up error handling a bit.
- responseParser also adds the models as a list. Format is {models: {model_map}, models: [modelList]}.
- responseParser middleware added to parse json / models into an {id: {model}} format.