- Fixed issue when using
margaret-fetcher
withreact-native
- Fixed additional pathnames in
rootUrl
not being respected
- Added subrequests to
AbstractRequest
- Fixed body of error responses not being parsed
- Added
setMiddlewares
,withMiddleware
andwithoutMiddlewares
- The
middleware
property has been renamed tomiddlewares
- The
fetch
method now doesn't use middlewares anymore and does a raw fetch request - The
includes
property has been deprecated in favor of using the query parameters methods
- Support partial root urls
- Missing JsonRequest export
- Export helpers and middlewares as well
- Split middlewares into separate modules
- A new
JsonRequest
was added,AbstractRequest
is now only a plain request
- Ignore empty responses when parsing JSON
- Add ability to use callables as options
- Support for Node 6
- Don't bundle in
fetch
module
- Add support for array query parameters
- Add ability to make raw fetch requests
- Add query parameter support
- Add ability to add middlewares.
- Add withBearerToken shortcut
- Pass response data to error handler when available
- Able to recover from errors in application code
- Fix recursive merge not cloning
- Fixed some error handling issues
- Use
response.ok
to check response status
- Added some error handling
- Leftover console log
- Add withOptions and setOptions
- Don't commit compiled files
- Fixed some issues with dist files
- Fixed incorrect exports
- Added production build
- Initial release