-
-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency apollo-upload-client to v18 #5658
Conversation
🦋 Changeset detectedLatest commit: 7632f82 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Benchmark Results
|
360ce1b
to
0c98de3
Compare
💻 Website PreviewThe latest changes are available as preview in: https://a571770f.graphql-tools.pages.dev |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
d34fb65
to
b8bf584
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
17.0.0
->18.0.1
Release Notes
jaydenseric/apollo-upload-client (apollo-upload-client)
v18.0.1
Compare Source
Patch
createUploadLink
optionuri
type, fixing #316._
, fixing #317.v18.0.0
Compare Source
Major
Updated Node.js support to
^18.15.0 || >=20.4.0
.Updated the
@apollo/client
peer dependency to^3.8.0
.Updated the
extract-files
dependency to v13.React Native is no longer supported out of the box.
The class
ReactNativeFile
is no longer exported, or matched by the functionisExtractableFile
.This class was bloating non React Native environments with an extra module, increasing bundle sizes when building and adding an extra step to ESM loading waterfalls in browsers.
It’s the responsibility of Facebook to adhere to web standards and implement spec-complaint
Blob
,File
, andFormData
globals in the React Native environment.To migrate, React Native projects that are unable to use the standard globals can manually implement a class
ReactNativeFile
and match it with a custom functionisReactNativeFile
for use with the functioncreateUploadLink
optionisExtractableFile
.“Plain” objects in the GraphQL operation that aren’t
Object
instances (e.g.Object.create(null)
) are now also deep cloned when searching for extractable files.Updated dev dependencies, some of which require newer Node.js versions than previously supported.
Use the Node.js test runner API and remove the dev dependency
test-director
.Refactored tests to use the standard
AbortController
,AbortSignal
,File
,FormData
, andResponse
APIs available in modern Node.js and removed the dev dependenciesabort-controller
,formdata-node
, andnode-fetch
.Public modules are now individually listed in the package
files
andexports
fields.Removed the package main index module; deep imports must be used. To migrate:
Shortened public module deep import paths, removing the
/public/
. To migrate:The API is now ESM in
.mjs
files instead of CJS in.js
files, accessible viaimport
but notrequire
.Implemented TypeScript types via JSDoc comments.
Types published in
@types/apollo-upload-client
should no longer be used.Projects must configure TypeScript to use types from the ECMAScript modules that have a
// @​ts-check
comment:compilerOptions.allowJs
should betrue
.compilerOptions.maxNodeModuleJsDepth
should be reasonably large, e.g.10
.compilerOptions.module
should be"node16"
or"nodenext"
.Internally, use the function
selectHttpOptionsAndBodyInternal
that was added in@apollo/client
v3.5.5.Minor
print
for the functioncreateUploadLink
, to customize how the GraphQL query or mutation AST prints to a string for transport. It that works like the same option forHttpLink
.Patch
eslint-plugin-optimal-modules
.types
script.jsdoc-md
dev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.package.json
fieldrepository
to conform to new npm requirements.actions/checkout
to v4.actions/setup-node
to v3.node:
URL scheme for Node.js builtin module imports.headers
that as of@apollo/client
v3.7.0 is a null-prototype object, use the assertiondeepEqual
instead ofdeepStrictEqual
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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 Mend Renovate. View repository job log here.