|
1 | 1 | # @codecov/nextjs-webpack-plugin |
2 | 2 |
|
| 3 | +## 2.0.0 |
| 4 | + |
| 5 | +### Major Changes |
| 6 | + |
| 7 | +- 1950efe: Version 2.0.0 addresses critical security issues and dependency updates. It also drops support for Node 18 |
| 8 | + |
| 9 | + Bump `@actions/core` to ^3.0.0 and `@actions/github` to ^9.0.0, and set `engines.node` to `>=20.0.0` to match upstream. **Semver major** because supported Node.js drops below 20 (breaking for anyone still on Node 18). |
| 10 | + |
| 11 | + **@actions/core** ([actions/toolkit `packages/core/RELEASES.md`](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)) |
| 12 | + |
| 13 | + - **v3.0.0**: ESM-only release; apps that `require("@actions/core")` directly must use dynamic `import()`. **`@codecov/bundler-plugin-core` bundles `@actions/core` and `@actions/github` into `dist/index.cjs`**, so `require("@codecov/bundler-plugin-core")` (e.g. Rollup/Webpack CJS configs) keeps working. |
| 14 | + - **v2.x** (between 1.x and 3.x): Node 24 support and `@actions/http-client` upgrades (including 3.x in the 2.x line). |
| 15 | + |
| 16 | + **@actions/github** ([actions/toolkit `packages/github/RELEASES.md`](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)) |
| 17 | + |
| 18 | + - **v9.0.0**: ESM-only (same consideration as `@actions/core` for this package). Release notes also note improved TypeScript behavior with ESM and `@octokit/core/types`. |
| 19 | + - **v8.0.0**: **Minimum Node.js is now 20** (previously 18); Octokit dependencies move to current major lines (`@octokit/core`, REST plugins, request stack). |
| 20 | + - **v8.0.1**: Dependency updates (`undici`, `@actions/http-client`). |
| 21 | + |
| 22 | + **Impact here** |
| 23 | + |
| 24 | + - Runtime behavior we rely on is unchanged: `context` for GitHub Actions metadata and `getIDToken()` for OIDC uploads are still the supported APIs. |
| 25 | + - **Build**: unbuild inlines `@actions/*` (and their transitive deps) like `@sentry/core`; `failOnWarn: false` suppresses expected “inlined implicit external” noise. Published `dist` is larger (~9 MB CJS) but avoids `ERR_PACKAGE_PATH_NOT_EXPORTED` for CJS consumers. |
| 26 | + - **Node 18** is no longer a supported runtime for this package; use **Node 20+** (aligned with `@actions/github` 8+ and this repo’s Volta pin on Node 20). |
| 27 | + |
| 28 | +### Patch Changes |
| 29 | + |
| 30 | +- 866e31a: update GitHub Actions workflow permissions |
| 31 | +- Updated dependencies [1950efe] |
| 32 | +- Updated dependencies [866e31a] |
| 33 | + - @codecov/bundler-plugin-core@2.0.0 |
| 34 | + - @codecov/webpack-plugin@2.0.0 |
| 35 | + |
3 | 36 | ## 1.9.1 |
4 | 37 |
|
5 | 38 | ### Patch Changes |
|
0 commit comments