fix(deps): update dependency @apollo/datasource-rest to v6 #55
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.0.2
->^6.0.0
Release Notes
apollographql/datasource-rest (@apollo/datasource-rest)
v6.3.0
Compare Source
Minor Changes
8a4578d
Thanks @nmrj! - Allow cache to be skipped on RestDataSource HTTP requestsv6.2.2
Compare Source
Patch Changes
#270
f6cf377
Thanks @Sean-Y-X! - Use lodash'scloneDeep
to clone parsed body instead ofJSON.parse(JSON.stringify(...))
#268
870ba80
Thanks @HishamAli81! - * Fix RequestOptions.cacheOptions function return type to also return a non-promise value.RequestOptions
andAugmentedRequest
.v6.2.1
Compare Source
Patch Changes
d31d275
Thanks @trevor-scheer! - ExportRequestDeduplicationPolicy
typev6.2.0
Compare Source
Minor Changes
#185
147f820
Thanks @HishamAli81! - Added support to the RESTDatasource to be able to specify a custom cache set options type. The cache set options may need to be customized to include additional set options supported by the underlying key value cache implementation.For example, if the InMemoryLRUCache is being used to cache HTTP responses, then
noDisposeOnSet
,noUpdateTTL
, etc cache options can be provided to the LRU cache:v6.1.1
Compare Source
Patch Changes
c6ac292
Thanks @lotmek! - Makerequest
andurl
optional parameters in theerrorFromResponse
method and clean up the implementation.v6.1.0
Compare Source
Minor Changes
#242
dfb8bcc
Thanks @trevor-scheer! - Add optionalurl
parameter todidEncounterErrors
hookIn previous versions of
RESTDataSource
, the URL of the request was available on theRequest
object passed in to the hook. TheRequest
object is no longer passed as an argument, so this restores the availability of theurl
to the hook.This is optional for now in order to keep this change forward compatible for existing
this.didEncounterErrors
call sites in userland code. In the next major version, this might become a required parameter.v6.0.1
Compare Source
Patch Changes
#214
c7b190a
Thanks @trevor-scheer! - Fix bug in Cloudflare Worker usage where we try to call the.raw()
method on its response headers object when it doesn't exist.For some reason, the Cloudflare Worker's global
fetch
HeadersList
object is passing the instanceof check againstnode-fetch
'sHeaders
class, but it doesn't have the.raw()
method we expect on it. To be sure, we can just make sure it's there before we call it.v6.0.0
Compare Source
Major Changes
#196
f8f0805
Thanks @trevor-scheer! - Drop Node v14 supportTo take this major version, the only change necessary is to ensure your node runtime is using version 16.14.0 or later.
Node v14 is EOL, so we should drop support for it and upgrade packages and testing accordingly. Note this package has a dependency on
@apollo/utils.keyvaluecache
which requires specifically node@>=16.14 due to its dependency onlru-cache
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.