Zum Inhalt springen

Cloudflare Release Notes

Einträge
2.278
Quellen
14
Zuletzt aktualisiert

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

Workers SDK von Cloudflare

@cloudflare/workers-shared@0.20.4

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

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/workflows-shared@0.15.4

Patch Changes

  • #17086 9df88dc Thanks @iglesiasbrandon! - Make local Workflow create() and createBatch() errors match production

    In local development, create() and createBatch() now reject invalid options, IDs and params as production does, with the same error codes. They reject with a plain Error whose message starts with the code, such as (body) or (instance.invalid_id). Previously they threw a WorkflowError, which arrived as an Error whose message began with WorkflowError: unless the Worker listed the enhanced_error_serialization compatibility flag explicitly.

    • Invalid options, such as a non-string id, an unparseable retention duration or an unknown locationHint, reject with (body) followed by each problem. createBatch() checks every entry's options before any ID, and accepts zero and negative retention durations, as create() and production do.
    • IDs that are too long, use unsupported characters, or are reserved (batch, terminate, terminateAll, or cf_ followed by 64 lowercase hexadecimal characters) reject with (instance.invalid_id). …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/workers-utils@0.61.0

Minor Changes

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

    Source maps are only used to show readable stack traces, so Wrangler now uploads them by default only when the Worker's config enables observability (logs, traces or Issues). This applies to wrangler deploy, wrangler versions upload, wrangler preview and wrangler build --experimental-cf-build-output. The Cloudflare Vite plugin likewise emits Worker source maps by default only when observability is enabled.

    Set upload_source_maps = true (or Vite's build.sourcemap) to always include them, for example to get source-mapped stack traces in wrangler tail or Tail Workers without enabling observability. Set it to false to never include them.

Patch Changes

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

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

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/vitest-plugin@1.10.3

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/test-server@0.1.3

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/runtime-types@0.1.38

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/pages-shared@0.13.224

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/deploy-helpers@0.33.0

Minor Changes

  • #16694 ae8bcf3 Thanks @skepticfx! - Warn when deploying Containers with the deprecated default scheduling policy

    Deploying a Worker or uploading a new version now displays a nonblocking deprecation warning for Container applications configured with the default scheduling policy, including when the policy is omitted. The warning identifies affected applications and links to migration instructions for Durable Object scheduling. Existing applications require code changes and a replacement application; changing the policy setting alone does not migrate them.

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/containers-shared@0.28.3

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/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