Skip to content

Releases: HollyPony/react-rest-api

v2.0.0

19 Feb 17:33
Compare
Choose a tag to compare

breaking changes

  • remove *Json methods. You can use resolveCallback={response => response.json()} to automatic json transformations and provide config={{ headers: { 'Content-Type': 'application/json' } }}. See README.md for more informations.
  • reverse queryParams and config in api methods signature. This is for matching more closely the original window.fetch method.

features

  • new reolveCallback and rejectCallback methods to the provider called for api requests
  • add _stringifyBody to config. This param will be not send to fetch method.

v1.0.1

12 Feb 20:01
Compare
Choose a tag to compare

Improve README and add .npmignore

v1.0.0

12 Feb 13:23
Compare
Choose a tag to compare

Unleash the publish!