Skip to content

v2.2.0

Choose a tag to compare

@MattCCC MattCCC released this 25 Jul 23:50
· 731 commits to master since this release

What's Changed

  • feat: Add native fetch() support by @MattCCC in #35 - with support for all of the same APIs as in Axios (native fetch() will be used automatically if axios instance is not passed)
  • Added easy request cancellation support for native fetch() (cancellable flag)
  • Added timeout support for native fetch()
  • Automatically stringify POST request body when using native fetch()

Fixes:

  • if requestConfig.data or requestConfig.body are specified together with queryParams when making API call, the API Handler will determine and utilize them accordingly
  • added clarification in the readme file that by default responses aren't flatten meaning that the response is passed as is

Full Changelog: v2.1.1...v2.2.0