Releases: apollographql/apollo-link-rest
v0.9.0
- 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]
What's Changed
No currently known breaking changes, please report any issues!
- [CI] Use Node16 for tests/dev by @fbartho in #294
- Pass context to typePatcher by @justinr1234 in #261
- Allow to override fieldNameNormalizer per request by @alfondotnet in #253
- fix fieldNameNormalizer mangling ArrayBuffer/Blob types by @TylerShin in #247
globalThis
instead of global by @jean9696 in #293
New Contributors
- @justinr1234 made their first contribution in #261
- @alfondotnet made their first contribution in #253
- @TylerShin made their first contribution in #247
- @jean9696 made their first contribution in #293
Full Changelog: v0.8.0...v0.9.0-rc.1
Apollo Client 3!
Breaking Changes for Apollo Client 3
v0.7.3
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, responseTransformer
s 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
v0.7.2
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, responseTransformer
s 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
v0.7.1
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, responseTransformer
s 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
Breaking News: responseTransformer becomes more powerful!
Breaking changes around responseTransformer!
In this PR #165, we realized that the responseTransformer
feature added last release wasn't broad enough, responseTransformer
s 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
v0.6.0
v0.5.0
- Breaking Change: 404s now no longer throw an error! It's just null data! #142
- Default Accept header if no header configured for
Accept:
#143 - Improve/enable Support for Nested Queries from different apollo-links #138
- Remove Restriction that Mutation must not contain GET queries & vice versa #140
Tickets from this milestone: https://github.com/apollographql/apollo-link-rest/milestone/5