|
1 | 1 | # apollo-upload-client changelog |
2 | 2 |
|
| 3 | +## Next |
| 4 | + |
| 5 | +### Major |
| 6 | + |
| 7 | +- Updated Node.js support to `^20.9.0 || >=22.0.0`. |
| 8 | +- Use the TypeScript v5.5+ JSDoc tag `@import` to import types in modules. |
| 9 | +- Updated dev dependencies, some of which require newer Node.js versions than previously supported. |
| 10 | + |
| 11 | +### Patch |
| 12 | + |
| 13 | +- Updated the package scripts: |
| 14 | + - Reordered and renamed scripts. |
| 15 | + - Replaced `npm run` with `node --run`. |
| 16 | +- Updated GitHub Actions CI config: |
| 17 | + - Run checks in separate jobs. |
| 18 | + - Removed custom step names. |
| 19 | + - Updated `actions/checkout` to v5. |
| 20 | + - Updated `actions/setup-node` to v4. |
| 21 | + - Replaced `npm run` with `node --run`. |
| 22 | + - Run tests with Node.js v20, v22, v24. |
| 23 | +- Enabled the TypeScript compiler options `noUnusedLocals` and `noUnusedParameters`. |
| 24 | +- Migrated to the ESLint v9 CLI and “flat” config. |
| 25 | +- In tests, removed the no longer needed polyfill for the global `File`. |
| 26 | + |
3 | 27 | ## 18.0.1 |
4 | 28 |
|
5 | 29 | ### Patch |
|
15 | 39 | - Updated Node.js support to `^18.15.0 || >=20.4.0`. |
16 | 40 | - Updated the [`@apollo/client`](https://npm.im/@apollo/client) peer dependency to `^3.8.0`. |
17 | 41 | - Updated the [`extract-files`](http://npm.im/extract-files) dependency to v13. |
18 | | - |
19 | 42 | - React Native is no longer supported out of the box. |
20 | 43 |
|
21 | 44 | The class `ReactNativeFile` is no longer exported, or matched by the function `isExtractableFile`. |
|
64 | 87 | Types published in [`@types/apollo-upload-client`](https://npm.im/@types/apollo-upload-client) should no longer be used. |
65 | 88 |
|
66 | 89 | Projects must configure TypeScript to use types from the ECMAScript modules that have a `// @ts-check` comment: |
67 | | - |
68 | 90 | - [`compilerOptions.allowJs`](https://www.typescriptlang.org/tsconfig#allowJs) should be `true`. |
69 | 91 | - [`compilerOptions.maxNodeModuleJsDepth`](https://www.typescriptlang.org/tsconfig#maxNodeModuleJsDepth) should be reasonably large, e.g. `10`. |
70 | 92 | - [`compilerOptions.module`](https://www.typescriptlang.org/tsconfig#module) should be `"node16"` or `"nodenext"`. |
|
0 commit comments