Skip to content

⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.13#7

Merged
IamPekka058 merged 5 commits into
mainfrom
renovate/cloudflare-vitest-pool-workers-0.x
Jun 8, 2026
Merged

⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.13#7
IamPekka058 merged 5 commits into
mainfrom
renovate/cloudflare-vitest-pool-workers-0.x

Conversation

@renovate

@renovate renovate Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@cloudflare/vitest-pool-workers (source) 0.9.140.16.13 age confidence

Release Notes

cloudflare/workers-sdk (@​cloudflare/vitest-pool-workers)

v0.16.13

Compare Source

Patch Changes

v0.16.12

Compare Source

Patch Changes
  • #​14152 3d7992e Thanks @​petebacondarwin! - Fix module resolution failing when project path contains spaces

    When a project lived under a directory with spaces (e.g. /Users/me/Documents/Master CMS/project), the vitest pool would fail with No such module "threads.js" before any test executed. The module fallback service now uses the rawSpecifier from workerd's fallback request to correctly decode file:// URLs, avoiding the double-encoding of spaces (%20%2520) that occurred when workerd resolved these URLs as relative paths.

  • #​14105 337e912 Thanks @​dario-piotrowicz! - Remove trailing periods from URLs in terminal output

    URLs printed to the terminal with a sentence-ending period (e.g. https://example.com/path.) would include the period when clicked in some terminal emulators, causing 404 errors. This removes trailing periods from all URLs displayed in CLI output across wrangler, miniflare, vitest-pool-workers, and workers-utils.

  • #​14112 3a746ac Thanks @​penalosa! - Pin non-bundled runtime dependencies to exact versions

    Dependencies that are not bundled into a package's published output are installed directly into consumers' dependency trees, so they are now pinned to exact versions instead of semver ranges. This closes a supply-chain gap where an unpinned external dependency could resolve to a compromised upstream release on a fresh install. A new pnpm check:pinned-deps lint enforces this for all published packages (and for the shared pnpm catalog) going forward.

  • #​14061 da8e306 Thanks @​Vardiak! - Preserve Durable Object WebSocket handler invocation order

    Durable Object WebSocket events could begin executing out of order in the Workers Vitest integration when several events arrived while the test wrapper was resolving user code.

    Handler invocation now preserves arrival order while still allowing asynchronous handler completion to run concurrently.

  • Updated dependencies [b210c5e, aec1bb8, e06cbb7, 9a26191, 5565823, 4ef790b, 890fca7, 6fc9777, 337e912, 8e7b74f, e86489a, 42288d4, 65b5f9e, 3a746ac, 64ef9fd, 94b29f7]:

    • wrangler@​4.97.0
    • miniflare@​4.20260601.0

v0.16.11

Compare Source

Patch Changes

v0.16.10

Compare Source

Patch Changes

v0.16.9

Compare Source

Patch Changes
  • #​13933 90092c0 Thanks @​petebacondarwin! - Derive bundler externals from package.json and shrink the published bundle

    The bundler's external list was previously hand-maintained and out of sync with package.jsonundici and semver were both listed as external despite being only devDependencies. The published dist/pool/index.mjs consequently contained a top-level import { fetch } from "undici" that was only resolvable because pnpm happened to hoist undici from other packages' devDependencies during local development.

    The bundler now derives its external list from dependencies + peerDependencies in package.json, making it impossible for a devDependency to silently end up externalized.

    Combined with the new "sideEffects": false declaration in @cloudflare/workers-utils, the unused cloudflared / tunnel exports (and their transitive undici import) are now tree-shaken out of the pool entirely. dist/pool/index.mjs no longer references undici at all, and shrinks from ~489 KB to ~125 KB.

  • Updated dependencies [52e9082, 0733688, fc1f7b9, 30657e1, 8c569c6, f598eac, 3a1fbed]:

    • wrangler@​4.94.0
    • miniflare@​4.20260521.0

v0.16.8

Compare Source

Patch Changes
  • #​13919 c7eab7f Thanks @​petebacondarwin! - Fix the outbound CF-Worker header reflecting the route pattern hostname instead of the parent zone, and falling back to <worker-name>.example.com under vite dev, vitest-pool-workers, and getPlatformProxy

    Two related issues affected the CF-Worker header on outbound subrequests in local development:

    1. Under @cloudflare/vite-plugin, @cloudflare/vitest-pool-workers, and getPlatformProxy, the header fell back to <worker-name>.example.com even when routes were configured, because unstable_getMiniflareWorkerOptions and the equivalent getPlatformProxy worker-options path did not propagate a zone value to Miniflare. This broke local development against services that reject unknown CF-Worker hosts (for example, Apple WeatherKit returns 403 Forbidden).
    2. Across the above paths and wrangler dev --local, when a route used the zone_name field (for example { pattern: "foo.example.com/*", zone_name: "example.com" }), the header was set to the pattern's hostname (foo.example.com) rather than the zone name (example.com). Production sets CF-Worker to the zone name that owns the Worker, so this was inconsistent with deployed behaviour.

    Both bugs are fixed: the new unstable_getMiniflareWorkerOptions / getPlatformProxy path now propagates a zone derived from the first configured route, and all four local-dev paths now prefer a route's explicit zone_name over the pattern hostname when computing that zone. When zone_name isn't set, the existing best-effort behaviour is preserved — for wrangler dev this means dev.host is still honoured as a local override and the pattern hostname is used as a final fallback. Resolving the parent zone for zone_id-only, custom_domain, or plain-string routes would require an API lookup, so locally we still approximate it with the pattern hostname.

    Note: dev.host is intentionally not consulted by the unstable_getMiniflareWorkerOptions / getPlatformProxy paths — the dev config block is specific to wrangler dev.

  • Updated dependencies [fa1f61f, 2679e05, 7e40d98, adc9221, 735852d, d803737, c7eab7f, e04e180, 59cd880, 62abf97, e8c2031, e349fe0, da0fa8c, a5c9365]:

    • miniflare@​4.20260520.0
    • wrangler@​4.93.1

v0.16.7

Compare Source

Patch Changes

v0.16.6

Compare Source

Patch Changes
  • #​13833 0e4a830 Thanks @​thegeekasteroid! - Filter benign disconnected: WebSocket peer disconnected workerd stderr noise during test runs.

    The ignoreMessages array in the pool already filters several benign workerd disconnect messages (e.g. disconnected: WebSocket was aborted). On recent workerd versions, tests that exercise the WebSocket API also surface disconnected: WebSocket peer disconnected warnings during normal teardown. These are not user-actionable and obscure real test failures. Add the message to the existing filter alongside the other disconnected: entries.

  • Updated dependencies [19ed49a, 3ff0a50, bf688f7, 2e72c83, 802eaf4, 506aa02, 8f5cdb1, be8a98c]:

    • miniflare@​4.20260515.0
    • wrangler@​4.92.0

v0.16.5

Compare Source

Patch Changes

v0.16.4

Compare Source

Patch Changes

v0.16.3

Compare Source

Patch Changes

v0.16.2

Compare Source

Patch Changes

v0.16.1

Compare Source

Patch Changes

v0.16.0

Compare Source

Minor Changes
  • #​13810 2b8c0cc Thanks @​jamesopstad! - Stabilize the secrets configuration property

    The secrets property in the Wrangler config file is no longer experimental and will no longer emit an experimental warning when used. Required secrets are validated during local development and deploy, and used as the source of truth for type generation.

    {
      "secrets": {
        "required": ["API_KEY", "DB_PASSWORD"]
      }
    }
Patch Changes
  • #​12974 1127114 Thanks @​ask-bonk! - Rewrite self-referencing service bindings to kCurrentWorker before renaming the runner worker

    When a wrangler config has a service binding to itself (e.g. services: [{ binding: "SELF", service: "my-worker" }] where the worker is named "my-worker"), the binding's literal name pointed to a worker that no longer existed once vitest-pool-workers renamed the runner to vitest-pool-workers-runner-<project>. The self-reference is now rewritten to the miniflare kCurrentWorker symbol, which resolves at request time relative to the referer worker and so survives the rename. Previously this rewrite lived in wrangler's unstable_getMiniflareWorkerOptions, but it's only needed for vitest-pool-workers' rename — other consumers (getPlatformProxy, @cloudflare/vite-plugin) preserve the original worker name and so don't need it.

  • Updated dependencies [e07825a, 58899d8, 3020214, 0099265, 25f5ef2, bb27219, 194d75e, 12fb5db, 18b9d5b, 9f532f7, 1127114, 3ceadef, 2b8c0cc, 1a5cc86]:

    • wrangler@​4.88.0
    • miniflare@​4.20260504.0

v0.15.2

Compare Source

Patch Changes

v0.15.1

Compare Source

Patch Changes

v0.15.0

Compare Source

Minor Changes
  • #​13623 b156b2e Thanks @​penalosa! - Add reset() and abortAllDurableObjects() helpers to cloudflare:test

    The reset() helper deletes all data from attached bindings, and resets all Durable Object instances. This is useful for resetting state between test blocks.

    The abortAllDurableObjects() helper resets all Durable Object instances without deleting persisted data.

    import { reset } from "cloudflare:test";
    import { afterEach } from "vitest";
    
    afterEach(async () => {
      await reset();
    });
Patch Changes

v0.14.9

Compare Source

Patch Changes

v0.14.8

Compare Source

Patch Changes
  • #​13548 1aee990 Thanks @​emily-shen! - Update warning message when attempting to access exports not defined on the main worker

    Previously this referred to the SELF worker, which is now a deprecated API in the Vitest integration.

  • #​13607 d5d0446 Thanks @​petebacondarwin! - fix: Restore workflow binding before async cleanup in WorkflowIntrospectorHandle.dispose()

    Previously, dispose() awaited all instance abort operations before restoring the original env binding. On slower CI environments (especially Windows), this left a window where the next test could see a stale proxy, causing "Trying to mock step multiple times" errors or failed introspection. The binding is now restored synchronously before the async instance cleanup begins.

  • #​13007 2c3258d Thanks @​sheplu! - Reduce default log verbosity from VERBOSE to INFO

    The pool logger was previously hardcoded to VERBOSE, causing noisy debug messages on every test run (e.g. [vpw:debug] Adding compatibility flag...). Only informational, warning, and error messages are now printed by default.

    For debugging, set NODE_DEBUG=vitest-pool-workers to restore the detailed output.

  • Updated dependencies [05f4443, 4a9ba90, d8c895a, b35617b, 7dc0433, 8ca78bb, b6e1351, d8314c6, b35617b, 7f50300, 4fda685, be5e6a0, e456952, 59eec63, 50bf819, cc1413a, d0a9d1c, 4eb1da9, 8ca78bb, 266c418, 6d887db, 5716d69]:

    • wrangler@​4.84.0
    • miniflare@​4.20260420.0

v0.14.7

Compare Source

Patch Changes

v0.14.6

Compare Source

Patch Changes
  • Updated dependencies [9b2b6ba]:
    • wrangler@​4.82.2

v0.14.5

Compare Source

Patch Changes

v0.14.4

Compare Source

Patch Changes

v0.14.3

Compare Source

Patch Changes

v0.14.2

Compare Source

Patch Changes
  • #​13095 65e6684 Thanks @​penalosa! - Reject V8 coverage provider with a clear error message

    V8 native code coverage (@vitest/coverage-v8) requires node:inspector to collect profiling data from V8's runtime. workerd only provides node:inspector as a non-functional stub, so V8 coverage would silently fail or crash with a confusing No such module "node:inspector" error.

    The pool now detects this configuration early — during Vite plugin setup, before Vitest tries to load the coverage provider — and throws a clear error directing users to use Istanbul coverage instead, which works by instrumenting source code at build time and runs on any JavaScript runtime.

  • Updated dependencies [a3e3b57, 7d318e1, fa6d84f, 96ee5d4, 7d318e1, 7a60d4b, 78cbe37, 6fa5dfd]:

    • miniflare@​4.20260405.0
    • wrangler@​4.81.0

v0.14.1

Compare Source

Patch Changes
  • #​13131 65acf66 Thanks @​dario-piotrowicz! - Use miniflare's handleStructuredLogs option instead of handleRuntimeStdio for processing workerd output

    Previously, vitest-pool-workers manually processed raw stdout/stderr streams from the workerd runtime via handleRuntimeStdio, with its own filtering of known noisy messages (e.g. LLVM symbolizer warnings). This switches to miniflare's handleStructuredLogs option, which parses workerd's structured JSON log output and automatically filters known unhelpful messages. This aligns with how both wrangler and vite-plugin-cloudflare handle workerd logs.

  • Updated dependencies [9c4035b, 5d29055, fb67a18, d5bffde, ab44870, 48d83ca, b2f53ea, b9b7e9d, 14e72eb, 4dc94fd, b2f53ea, d5bffde, 48d83ca]:

    • wrangler@​4.80.0
    • miniflare@​4.2026040

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the 📌 Dependencies External library or package updates label Apr 30, 2026
@renovate

renovate Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: gitdone-cloudflare-worker@0.0.0
npm error Found: vitest@3.2.4
npm error node_modules/vitest
npm error   dev vitest@"3.2.4" from the root project
npm error   peer vitest@"3.2.4" from @vitest/browser@3.2.4
npm error   node_modules/@vitest/browser
npm error     peerOptional @vitest/browser@"3.2.4" from vitest@3.2.4
npm error   1 more (@vitest/ui)
npm error
npm error Could not resolve dependency:
npm error peer vitest@"^4.1.0" from @cloudflare/vitest-pool-workers@0.16.13
npm error node_modules/@cloudflare/vitest-pool-workers
npm error   dev @cloudflare/vitest-pool-workers@"0.16.13" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-06-07T13_48_53_399Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-06-07T13_48_53_399Z-debug-0.log

@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from efd8b58 to 965f5ba Compare April 30, 2026 20:23
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to ^0.15.0 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.15.0 Apr 30, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 965f5ba to 1fe95bd Compare May 1, 2026 13:05
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.15.0 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.15.1 May 1, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 1fe95bd to 963366f Compare May 3, 2026 17:33
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.15.1 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.15.2 May 3, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 0259cdf to 7f86b88 Compare May 8, 2026 18:42
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.15.2 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.0 May 8, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 7f86b88 to eb7405d Compare May 10, 2026 17:56
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.0 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.2 May 10, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from eb7405d to 54fa113 Compare May 10, 2026 21:26
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.2 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.3 May 10, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 252013e to b871faf Compare May 15, 2026 14:15
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.3 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.4 May 15, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from b871faf to 44955cf Compare May 17, 2026 17:32
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.4 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.5 May 17, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch 2 times, most recently from 42de7b7 to 8b4e5d2 Compare May 18, 2026 15:15
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.5 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.6 May 18, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 8b4e5d2 to f758a65 Compare May 22, 2026 15:07
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.6 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.7 May 22, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from f758a65 to 3e93d19 Compare May 24, 2026 13:27
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.7 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.8 May 24, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 3e93d19 to 6c3982b Compare May 25, 2026 13:38
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.8 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.9 May 25, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 6c3982b to 06d65f2 Compare May 29, 2026 17:07
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.9 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.10 May 29, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 06d65f2 to 7c19f8a Compare June 4, 2026 15:46
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.10 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.11 Jun 4, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 7c19f8a to 754e939 Compare June 5, 2026 17:58
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.11 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.12 Jun 5, 2026
@renovate renovate Bot force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from 754e939 to c9c0219 Compare June 7, 2026 13:49
@renovate renovate Bot changed the title ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.12 ⬆️ Upgrade dependency @cloudflare/vitest-pool-workers to v0.16.13 Jun 7, 2026
@IamPekka058 IamPekka058 force-pushed the renovate/cloudflare-vitest-pool-workers-0.x branch from c9c0219 to ea1983d Compare June 8, 2026 06:54
@renovate

renovate Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate 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.

⚠️ Warning: custom changes will be lost.

@IamPekka058 IamPekka058 self-requested a review June 8, 2026 07:06
@IamPekka058 IamPekka058 merged commit e312734 into main Jun 8, 2026
5 checks passed
@IamPekka058 IamPekka058 deleted the renovate/cloudflare-vitest-pool-workers-0.x branch June 8, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📌 Dependencies External library or package updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant