Skip to content

Version Packages - #15036

Open
workers-devprod wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#15036
workers-devprod wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@workers-devprod

@workers-devprod workers-devprod commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

miniflare@5.20260801.1-alpha

Major Changes

  • #15040 99eb50c Thanks @edmundhung! - Add per-worker control over dev registry registration

    Miniflare workers must now opt in to the dev registry with unsafeRegisterWorker. Wrangler and the Cloudflare Vite plugin use this option to advertise user workers without exposing internal or external workers.

Patch Changes

  • #15037 b4f0c97 Thanks @petebacondarwin! - Stop deleting and recreating every dev registry entry on each config update

    Applying options rewrote this instance's dev registry entries by removing them and putting them straight back. Other dev sessions find Workers by watching that directory, so each update briefly looked to them like every Worker in the session had gone away — and a session that had already resolved one of those Workers could be left acting on that, up to and including tearing down a binding to a Worker that never actually stopped running.

    Entries are now reconciled instead: Workers that are still present are updated in place, and only the ones that have genuinely gone are removed. Switching to a different registry path still clears the entries from the directory being left behind.

  • #15015 a60ff4d Thanks @nickpatt! - Cut the per-request cost of local observability capture

    Every tail event was written to the trace store as its own Durable Object call, so a request paid two or three round-trips per span. On a module-heavy app under the Vite plugin that dominated dev request latency. Rows are now buffered and written in batches, taking a request from roughly thirty calls to three.

    Work in progress still shows up as it happens: the root span is written immediately, console logs and exceptions as they arrive, and a span's completion is written on the next event once 100ms has passed. An invocation that goes completely quiet writes nothing further until it ends, since the flush is driven by tail events rather than a timer.

    The Vite plugin's own router, asset and proxy workers are also no longer captured. Their traces were noise the Observability views already hid, and skipping them cuts the spans recorded per request — a side benefit being that a trace's root is now your Worker rather than __router-worker__.

@cloudflare/autoconfig@0.2.5

Patch Changes

  • Updated dependencies [6946da1]:
    • @cloudflare/workers-utils@0.31.2
    • @cloudflare/cli-shared-helpers@0.1.21

@cloudflare/cli-shared-helpers@0.1.21

Patch Changes

  • Updated dependencies [6946da1]:
    • @cloudflare/workers-utils@0.31.2

@cloudflare/deploy-helpers@0.6.6

Patch Changes

@cloudflare/pages-shared@0.13.165

Patch Changes

@cloudflare/vite-plugin@1.51.1

Patch Changes

  • #15015 a60ff4d Thanks @nickpatt! - Cut the per-request cost of local observability capture

    Every tail event was written to the trace store as its own Durable Object call, so a request paid two or three round-trips per span. On a module-heavy app under the Vite plugin that dominated dev request latency. Rows are now buffered and written in batches, taking a request from roughly thirty calls to three.

    Work in progress still shows up as it happens: the root span is written immediately, console logs and exceptions as they arrive, and a span's completion is written on the next event once 100ms has passed. An invocation that goes completely quiet writes nothing further until it ends, since the flush is driven by tail events rather than a timer.

    The Vite plugin's own router, asset and proxy workers are also no longer captured. Their traces were noise the Observability views already hid, and skipping them cuts the spans recorded per request — a side benefit being that a trace's root is now your Worker rather than __router-worker__.

  • Updated dependencies [b4f0c97, a60ff4d, 99eb50c]:

@cloudflare/vitest-pool-workers@0.20.3

Patch Changes

@cloudflare/workers-auth@0.6.1

Patch Changes

  • Updated dependencies [6946da1]:
    • @cloudflare/workers-utils@0.31.2

@cloudflare/workers-utils@0.31.2

Patch Changes

  • #15011 6946da1 Thanks @LeSingh1! - Validate observability.logs.head_sampling_rate and observability.traces.head_sampling_rate are between 0 and 1

    The 0–1 range check was only applied to the top level observability.head_sampling_rate. The two nested fields were type-checked as numbers but never bounds-checked, so a value such as 10 (a common mix-up with a percentage) was accepted locally and sent to the API.

    {
      "observability": {
        "logs": { "enabled": true, "head_sampling_rate": 10 }
      }
    }

    All three fields now report must be a value between 0 and 1. consistently.

wrangler@4.119.1

Patch Changes

  • #15015 a60ff4d Thanks @nickpatt! - Cut the per-request cost of local observability capture

    Every tail event was written to the trace store as its own Durable Object call, so a request paid two or three round-trips per span. On a module-heavy app under the Vite plugin that dominated dev request latency. Rows are now buffered and written in batches, taking a request from roughly thirty calls to three.

    Work in progress still shows up as it happens: the root span is written immediately, console logs and exceptions as they arrive, and a span's completion is written on the next event once 100ms has passed. An invocation that goes completely quiet writes nothing further until it ends, since the flush is driven by tail events rather than a timer.

    The Vite plugin's own router, asset and proxy workers are also no longer captured. Their traces were noise the Observability views already hid, and skipping them cuts the spans recorded per request — a side benefit being that a trace's root is now your Worker rather than __router-worker__.

  • Updated dependencies [b4f0c97, a60ff4d, 99eb50c]:

@cloudflare/remote-bindings@0.0.8

Patch Changes

@cloudflare/runtime-types@0.0.10

Patch Changes

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

⚠️ Issues found

.changeset/quiet-workers-register.md

  1. Version type should likely be minor, not major. The changeset introduces unsafeRegisterWorker — the unsafe prefix indicates an experimental/unstable API. Per the changeset guidelines (README.md):

    minor: New features, new CLI commands, new configuration options, deprecations, and changes to experimental/beta/pre-1.0 features (including breaking changes to those features).

    Breaking changes to experimental features should be minor, not major.

  2. Missing explicit experimental callout. The changeset guidelines require:

    When adding or changing experimental features, call this out explicitly in the changeset description.

    Since unsafeRegisterWorker is experimental, the description should explicitly note this and ideally mention how users can opt in (i.e., by setting unsafeRegisterWorker: true).

Other changesets

  • .changeset/lucky-pandas-wander.md — looks good
  • .changeset/observability-batch-writes.md — looks good
  • .changeset/observability-nested-sampling-rate.md — looks good

@pkg-pr-new

pkg-pr-new Bot commented Aug 5, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@15036

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@15036

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@15036

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@15036

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@15036

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@15036

miniflare

npm i https://pkg.pr.new/miniflare@15036

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@15036

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@15036

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@15036

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@15036

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@15036

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@15036

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@15036

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@15036

wrangler

npm i https://pkg.pr.new/wrangler@15036

commit: 53fd375

@workers-devprod
workers-devprod force-pushed the changeset-release/main branch 3 times, most recently from 8c84c9a to 8d9cff1 Compare August 6, 2026 13:00
@workers-devprod
workers-devprod force-pushed the changeset-release/main branch from 8d9cff1 to 53fd375 Compare August 6, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant