Skip to content

Releases: apollographql/apollo-link-rest

Apollo Client v4! + Dependency Updates - [RC.2]

14 Nov 02:52
5445839

Choose a tag to compare

What's Changed

  • Breaking: v0.10.0 drops support for ApolloClient v3!
  • #330 by @jackstudd
  • Updates to all the dependencies for the modern era

The tracking PR for this release is #331

Apollo Client v4! + Dependency Updates - [RC.1]

13 Nov 21:20
67aac0c

Choose a tag to compare

What's Changed

  • #330 by @jackstudd 🎉
  • Updates to all the dependencies for the modern era.

The tracking PR for this release is #331

v0.9.0

15 Nov 02:17
5e30e2a

Choose a tag to compare

  • Feature: Pass context to typePatcher to make it possible to extract args from the URL for use when patching #260 #261
  • Feature: Allow per-request field-name normalization for symmetry with de-normalization #253
  • Improvement: Use globalThis instead of global #293
  • Fix: fieldNameNormalizer mangling ArrayBuffer/Blob types #247
  • Drop dependency on graphql-anywhere! #301

v0.9.0 - RC 1 [No known breaking changes]

05 Jan 23:10
cde5f56

Choose a tag to compare

What's Changed

No currently known breaking changes, please report any issues!

New Contributors

Full Changelog: v0.8.0...v0.9.0-rc.1

Apollo Client 3!

01 Dec 20:03
ec66b39

Choose a tag to compare

In beta for a unreasonably long time, this release has been stable (in-beta) for 2 years now!! It's about time we officially tag the stable version.

The main breaking change is that you need to be running Apollo Client >= 3.

A list of some specific relevant PRs:

Breaking Changes for Apollo Client 3

05 Mar 01:46
03b75d4

Choose a tag to compare

Pre-release

This is a beta build!

v0.7.3

23 Apr 22:32
62ca581

Choose a tag to compare

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

v0.7.2

26 Mar 15:28
1da9bd1

Choose a tag to compare

New Fixes in v0.7.2

  • Fix: FileList/File aren't available in react-native causing crashes. #200

v0.7.x

  • 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

v0.7.1

24 Mar 18:02
239146a

Choose a tag to compare

New Fixes in v0.7.1

  • Fix: Duplicated Content Type Header #188
  • Fix: FileList Support #183
  • Fix: Default Empty object when creating headers #178
  • Body-containing Queries #173

v0.7.x

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

Breaking News: responseTransformer becomes more powerful!

14 Dec 00:50
c704437

Choose a tag to compare

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