Skip to content

v0.7.3

Compare
Choose a tag to compare
@fbartho fbartho released this 23 Apr 22:32
· 86 commits to master since this release
62ca581

New Fixes in v0.7.3

  • Fix: Nested @rest(…) calls with nested @export(as:…) directives should keep their contexts distinct in order to work. #204

v0.7.x

  • Fix: FileList/File aren't available in react-native causing crashes. #200
  • Fix: Duplicated Content Type Header #188
  • Fix: FileList Support #183
  • Fix: Default Empty object when creating headers #178
  • Body-containing Queries #173

Breaking changes around responseTransformer!

In this PR #165, we realized that the responseTransformer feature added last release wasn't broad enough, responseTransformers now receive the raw response stream instead of just the json()-promise.

Code which relies on this feature will break, however the fix should be very simple:

Either the responseTransformer function is made `async` and to `await response.json()`, *or* if this syntax is not available, the existing code needs to be wrapped in `response.json().then(data => {/* existing implementation */})`.

Other Changes

  • Remove restriction that only allows request bodies to be built for Mutation operations. #154 & #173
  • Fix code sandbox examples #177
  • Bug-fix: default to empty headers instead of undefined for IE #178
  • Various docs typo fixes