Repository navigation
[deps] Bump Undici to 7.30.2 for security fixes - #17043
Conversation
🦋 Changeset detectedLatest commit: 0e9f98f The changes in this PR will be included in the next version bump. This PR includes changesets to release 14 packages
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 |
|
Codeowners approval required for this PR:
Show detailed file reviewers |
|
LGTM |
There was a problem hiding this comment.
✅ Approved — A straightforward security patch bump of the Undici catalog pins. The changeset covers every published package that uses them, and no issues were found.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
This updates a shared runtime dependency used by several published packages, so the release risk is moderate. The patch changeset covers every published consumer of the undici catalog entry. The packages it leaves out are all private.
🔒 Security: ✅ LGTM
The bump picks up the upstream security fixes in Undici 7.30.2. No issues were found in the change.
📖 AGENTS.md: ✅ LGTM
No issues found.
📋 Code Quality: ✅ LGTM
No issues found.
⚡ Performance: ✅ LGTM
No issues found.
📝 Documentation: ✅ LGTM
No issues found.
Reviewed commit: 0e9f98f8
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/codemods
@cloudflare/config
@cloudflare/containers-shared
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/runtime-types
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-plugin
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
## pnpm-workspace.yaml (default) ## Dependency Updates | Package | From | To | Type | | --- | --- | --- | --- | | `@cloudflare/vitest-plugin` | 1.8.5 | 1.9.0 | minor | | `@cloudflare/workers-types` | 5.20261120.1 | 5.20261121.1 | minor | | `miniflare` | 5.20261118.0-beta | 5.20261119.0-beta | minor | | `wrangler` | 4.165.0 | 4.166.0 | minor | ## Release Notes <details> <summary><b>@<!---->cloudflare/vitest-plugin</b> (1.8.5 → 1.9.0)</summary> ### Minor Changes - [#16174](cloudflare/workers-sdk#16174) [`629f135`](cloudflare/workers-sdk@629f135) Thanks [@<!---->james-elicx](https://github.com/james-elicx)! - Remove the dependency on `wrangler` The Vitest plugin no longer depends on `wrangler`. Reading the Wrangler configuration file, generating Miniflare options, loading local variables and serving the Pages `ASSETS` binding now use shared workers-sdk packages that are bundled into the plugin. Installing the plugin no longer installs `wrangler` as well. If your project runs the `wrangler` CLI (for example `wrangler types`), add `wrangler` to your own `devDependencies`. ### Patch Changes - [#17031](cloudflare/workers-sdk#17031) [`95fd4c2`](cloudflare/workers-sdk@95fd4c2) Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-19 Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. - [#17043](cloudflare/workers-sdk#17043) [`4f5b118`](cloudflare/workers-sdk@4f5b118) Thanks [@<!---->petebacondarwin](https://github.com/petebacondarwin)! - Update Undici to 7.30.2 to include upstream security fixes This patch includes six upstream security fixes covering caching, redirects, and Subresource Integrity verification. Update the shared Undici dependency and matching types together so affected packages ship the patched version. - [#17035](cloudflare/workers-sdk#17035) [`1b563db`](cloudflare/workers-sdk@1b563db) Thanks [@<!---->petebacondarwin](https://github.com/petebacondarwin)! - Fix remote bindings authentication with API tokens scoped to an individual Worker Remote …[full notes](https://github.com/cloudflare/workers-sdk/releases/tag/%40cloudflare/vitest-plugin%401.9.0) </details> <details> <summary><b>miniflare</b> (5.20261118.0-beta → 5.20261119.0-beta)</summary> ### Minor Changes - [#17016](cloudflare/workers-sdk#17016) [`8f45554`](cloudflare/workers-sdk@8f45554) Thanks [@<!---->edmundhung](https://github.com/edmundhung)! - Add `unsafeIntrospectWorkflow()` and `unsafeIntrospectWorkflowInstance()` for exported Workflows They find a Workflow by its Worker's name and its class name, so code running in Node.js can introspect a Workflow on `ctx.exports` that has no `env` binding: ```ts const introspector = await mf.unsafeIntrospectWorkflow( "my-worker", "MyWorkflow" ); ``` ### Patch Changes - [#17034](cloudflare/workers-sdk#17034) [`8712fc5`](cloudflare/workers-sdk@8712fc5) Thanks [@<!---->petebacondarwin](https://github.com/petebacondarwin)! - Fix Local Explorer access through localhost subdomains Miniflare now trusts `*.localhost` in Host and Origin checks for `/cdn-cgi/` requests. This allows Local Explorer to load through localhost subdomains without returning `403 Invalid Origin header` for its module scripts and API requests. - [#17031](cloudflare/workers-sdk#17031) [`95fd4c2`](cloudflare/workers-sdk@95fd4c2) Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! - Update `DEFAULT_COMPAT_DATE` to 2026-11-19 Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured. - [#17031](cloudflare/workers-sdk#17031) [`95fd4c2`](cloudflare/workers-sdk@95fd4c2) Thanks [@<!---->dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" The following dependency versions have been updated: | Dependency | From | To | | ----------------------- …[full notes](https://github.com/cloudflare/workers-sdk/releases/tag/miniflare%405.20261119.0-beta) </details> <details> <summary><b>wrangler</b> (4.165.0 → 4.166.0)</summary> ### Minor Changes - [#16961](cloudflare/workers-sdk#16961) [`bf7568a`](cloudflare/workers-sdk@bf7568a) Thanks [@<!---->dario-piotrowicz](https://github.com/dario-piotrowicz)! - Show configured trigger targets during experimental `wrangler triggers deploy --dry-run` Dry runs now print a "Would deploy" summary of routes, custom domains, cron schedules, Queue producers and consumers, Workflows, event triggers, and Email Routing addresses instead of exiting without a summary. Explicitly empty cron schedules and Email Routing addresses are shown as removals. The preview makes no API requests or authentication checks; when workers.dev is enabled, it reports that setting without looking up the account's subdomain. - [#16679](cloudflare/workers-sdk#16679) [`be6aa81`](cloudflare/workers-sdk@be6aa81) Thanks [@<!---->mglewis](https://github.com/mglewis)! - Add `images.url_transformations` to the Wrangler configuration The `images` block now accepts a `url_transformations` object for controlling `/cdn-cgi/image/` transformations on requests served by a Worker. `enabled` is required, and `allowed_origins` optionally lists the origins images may be fetched from (use `["*"]` to allow any origin). `binding` is now optional, so `url_transformations` can be configured without an Images binding: ```jsonc { "images": { "url_transformations": { "enabled": true, "allowed_origins": ["images.example.com"] } } } ``` Like the rest of the `images` block, `url_transformations` is not inherited by named environments, and must be specified in each environment that needs it. `cloudflare.config.ts` gains the equivalent setting as a top-level `images` field on the Worker, with the Images binding remaining in `env`: ```ts export default defineConfig({ worker: { name: "my-worker …[full notes](https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.166.0) </details> --- *This PR was auto-generated by [catalog-update-action](https://github.com/brandhaug/catalog-update-action).* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Refs #16923.
Current
mainand the published Wrangler/Miniflare beta packages still use Undici 7.30.1. Undici 7.30.2 fixes six security vulnerabilities involving caching, redirects, and Subresource Integrity verification.Update the shared
undiciandundici-typespins to 7.30.2 and regenerate the lockfile. Include a patch changeset for runtime dependencies and bundled consumers, including create-cloudflare and the Vitest plugin. Vite consumers receive the update through Miniflare's runtime dependency.This targets the current main/Miniflare 5 line. A Miniflare 4 backport, also asked about in the issue, remains separate. This dependency update does not establish whether Miniflare exercises each affected upstream feature.
Validation:
git diff --check.The full workspace test suite has not been run locally.