Zum Inhalt springen

Workers SDK Updates & Release Notes

Einträge
242
Quellen
1
Zuletzt aktualisiert

Folge Workers SDK, um die Release Notes in deinen Feed zu holen.

Workers SDK von Cloudflare

@cloudflare/autoconfig@0.16.0

Minor Changes

  • #17314 b5d6e21 Thanks @petebacondarwin! - Remove the experimental cf:build script override

    Autoconfig no longer selects cf:build for Next.js projects. OpenNext applications that want to use cf should migrate to vinext. Wrangler's OpenNext support and the existing Next.js static export path are unchanged.

  • #16054 c99d3ee Thanks @minwookshin! - Pre-approve esbuild and workerd builds when autoconfig installs dependencies with pnpm

    Autoconfig updates the nearest pnpm workspace after setup confirmation, before installation. Existing build decisions remain unchanged, and dry runs do not write build approvals.

Patch Changes

  • #17298 dbcb8c2 Thanks @edmundhung! - Stop listing an existing cloudflare.config.ts as a file to create in the setup summary …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

miniflare@5.20261201.0-beta

Patch Changes

  • #17346 8a8df5c Thanks @DEY-code-007! - Bump ws from 8.21.0 to 8.23.1 to address GHSA-37g9-w4hg-h9qr

    GHSA-37g9-w4hg-h9qr (high severity) reports a memory-exhaustion DoS in ws@>=8.0.0 <8.23.0: a malicious peer can flood the other side with ping frames while not reading, forcing it to buffer the automatic pong replies until the process runs out of memory. The fix shipped in ws@8.23.0 (commit ace7248f, which also adds the maxPendingAutoPongs option); this bumps the workspace catalog entry to the latest patch release, 8.23.1, so that miniflare, wrangler, @cloudflare/vite-plugin and @cloudflare/deploy-helpers all pick up the patched version. Because miniflare pins ws exactly, downstream projects cannot clear the npm audit finding with a lockfile update alone.

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01 …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/vite-plugin@2.0.0-rc.9

Minor Changes

  • #17242 77a77a1 Thanks @petebacondarwin! - Apply the headers of every _headers block for a repeated Workers Static Assets path

    Workers Static Assets local development now merges repeated path blocks like production: repeated header names are combined in file order, and ! unsets are applied before all assignments for that path, even when the unset appears in a later block. Pages still uses only the last valid block for a repeated path, matching hosted Pages.

    For Workers Static Assets, when multiple distinct paths match a request, local development now applies those rules in sorted path-key order rather than file order, matching the production deploy pipeline. This also applies to the experimental _headers support in Vite dev, so it agrees with Vite preview. Pages retains its existing ordering for distinct paths.

  • #17319 2e19c17 Thanks @danlapid! - Include Worker source maps by default only when observability is enabled …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

wrangler@4.170.0

Minor Changes

  • #16678 7d57524 Thanks @mglewis! - Add local development support for /cdn-cgi/image/ URL transformations

    When images.url_transformations (or images.urlTransformations in cloudflare.config.ts) is enabled, Miniflare now handles /cdn-cgi/image/<options>/<source> requests locally before they reach your Worker. Requests return a 404 when URL transformations aren't enabled for the Worker, and a 403 when the source image isn't allowed by allowed_origins. Transforms use the same low-fidelity Sharp-backed mock as cf.image fetches, so only resize, rotate, format conversion and a small set of options are applied.

    This is a change in behaviour: previously /cdn-cgi/image/ requests were passed through to the Worker during local development.

    Requests made through SELF in @cloudflare/vitest-plugin bypass Miniflare's routing and are not intercepted.

  • #17266 b9bb1b0 Thanks @dependabot! - Support Analog 3 in wrangler setup …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

create-cloudflare@2.75.3

Patch Changes

  • #17266 b9bb1b0 Thanks @dependabot! - Scaffold new Analog projects with create-analog 3.0.0

    C3 configures Analog 3's standalone Nitro plugin to build for Cloudflare Workers, so new projects can use the generated preview and deploy scripts.

  • #17267 d61c0d6 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-vite 9.3.4 9.4.0
  • #17268 18eaa76 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-vike 0.0.695 0.0.697

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/workers-utils@0.60.0

Minor Changes

  • #16678 7d57524 Thanks @mglewis! - Add local development support for /cdn-cgi/image/ URL transformations

    When images.url_transformations (or images.urlTransformations in cloudflare.config.ts) is enabled, Miniflare now handles /cdn-cgi/image/<options>/<source> requests locally before they reach your Worker. Requests return a 404 when URL transformations aren't enabled for the Worker, and a 403 when the source image isn't allowed by allowed_origins. Transforms use the same low-fidelity Sharp-backed mock as cf.image fetches, so only resize, rotate, format conversion and a small set of options are applied.

    This is a change in behaviour: previously /cdn-cgi/image/ requests were passed through to the Worker during local development.

    Requests made through SELF in @cloudflare/vitest-plugin bypass Miniflare's routing and are not intercepted.

  • #17299 2a10aff Thanks @edmundhung! - Add a wranglerConfigName option to getWorkerName …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/workers-auth@0.19.2

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/vitest-plugin@1.10.2

Patch Changes

  • #17284 5b6e6bf Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-29

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17211 b91cef9 Thanks @jamesopstad! - Keep remote bindings working after a failed change to the account or API token is reverted

    Previously, changing the account ID or API token to credentials that failed to start a remote session (for example, a malformed account ID) disposed the existing session first. Reverting the change then reused that disposed session, so remote bindings stayed offline until the development server was restarted. The existing session is now disposed only once its replacement is ready, so it keeps working if the new credentials fail to start a session. …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/test-server@0.1.2

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/deploy-helpers@0.32.1

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/containers-shared@0.28.2

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/codemods@0.11.1

Patch Changes

  • #17284 5b6e6bf Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-29

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17238 8ffd9b3 Thanks @edmundhung! - Only ask about a Wrangler assets directory that Vite won't deploy

    Migrating to the Vite bundler always left a required TODO for assets.directory, although Vite deploys its build output and public folder. The TODO now only appears for another folder, and says how to make Vite deploy it.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/cli-shared-helpers@0.4.1

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden