You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated dependencies, some of which require newer Node.js versions than previously supported.
Replaced the the package.jsonexports field public subpath folder mapping (deprecated by Node.js) with a subpath pattern. Deep require paths within apollo-upload-client/public/ must now include the .js file extension.
Removed Babel related dependencies, config, and scripts. Published modules now contain more modern ES syntax.
Published modules now contain JSDoc comments, which might affect TypeScript projects.
The tests are now ESM in .mjs files instead of CJS in .js files.
Patch
Stop using hard-rejection to detect unhandled Promise rejections in tests, as Node.js v15+ does this natively.
Test the bundle size manually using esbuild and gzip-size, removing size-limit related dev dependencies, config, and scripts.
Updated GitHub Actions CI config:
Run tests with Node.js v12, v14, v16.
Updated actions/checkout to v2.
Updated actions/setup-node to v2.
Don’t specify the CI environment variable as it’s set by default.
More specific package main field path.
Simplified JSDoc related package scripts now that jsdoc-md v10 automatically generates a Prettier formatted readme.
Added a package test:jsdoc script that checks the readme API docs are up to date with the source JSDoc.
Use the .js file extension in internal require paths.
Clearer package and function createUploadLink description, fixing #247.
Fixed function createUploadLink option fetchOptions.signal bugs:
If the given abort controller signal is already aborted, immediately abort the fetch.
Use once: true when adding the abort event listener on the given abort controller signal to avoid a possible memory leak.