Zum Inhalt springen

Workers SDK Updates & Release Notes

Einträge
243
Quellen
1
Zuletzt aktualisiert

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

Workers SDK von Cloudflare

Aktualisierte Abhängigkeiten

Die Abhängigkeiten von @cloudflare/remote-bindings wurden auf aktuelle Versionen von workers-auth, deploy-helpers, miniflare und weiteren Paketen aktualisiert.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Docker-Fehler und CLI-Namen

Fehlermeldungen des Docker-CLI werden bei erfolgreichen Builds nicht mehr angezeigt und gemeinsame Hilfsfunktionen verwenden CLI-spezifische Namen.

Patch Changes

  • #16025 61e07fd Thanks @kohjunhao! - Fix optional Docker lookups printing Docker CLI errors during successful builds

    cf build looks for Container images left behind by earlier builds so it can remove them. This lookup is best effort, but when Docker could not be reached it still printed errors such as Cannot connect to the Docker daemon, even when the build succeeded and no image needed Docker. Docker commands whose output Wrangler reads no longer forward the Docker CLI's error output to the terminal. If one of these commands fails in a way that stops the command, the error message still includes the Docker CLI's output.

  • #16038 dc3e4df Thanks @dario-piotrowicz! - Use consumer-specific CLI names and commands in shared user-facing messages

    Shared deployment, container, configuration, and authentication helpers can now render commands and configuration filenames for their calling CLI while preserving Wrangler-compatible defaults. This prevents cf workflows from presenting Wrangler-branded guidance when an equivalent cf command exists. …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Bedingte Worker-Bindings

Worker-Bindings können nun bedingt eingebunden werden, indem sie auf false, null oder undefined gesetzt werden; generierte Typen machen sie optional.

Minor Changes

  • #16175 d8b1fca Thanks @jamesopstad! - Allow Worker bindings to be included conditionally

    Binding entries set to false, null, or undefined are now omitted from env. Generated environment types make conditionally included bindings optional.

    export default defineConfig(({ mode }) => ({
      worker: {
        name: "my-worker",
        compatibilityDate: "2026-10-09",
        env: {
          PRODUCTION_KV:
            mode === "production" && bindings.kv({ id: "production-kv-id" }),
          STAGING_API_ORIGIN:
            mode === "staging"
              ? bindings.text("https://staging.example.com")
              : undefined,
        },
      },
    }));
    

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

create-cloudflare 2.74.0 unterstützt cloudflare.config.ts und cf CLI

Framework-Generatoren können jetzt Projekte mit cloudflare.config.ts und der cf CLI erstellen, wobei Wrangler-basierte Projekte unverändert bleiben; zudem wurden Abhängigkeiten aktualisiert.

Minor Changes

  • #16129 070c3f2 Thanks @james-elicx! - Support projects configured with cloudflare.config.ts and the cf CLI

    Framework generators can now scaffold projects that use cloudflare.config.ts and the cf CLI in place of a Wrangler configuration file. C3 detects these projects and installs cf instead of Wrangler, logs in and selects accounts with cf, and looks up the deployed Worker's URL with cf. Projects that use Wrangler are unaffected.

Patch Changes

  • #16129 070c3f2 Thanks @james-elicx! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-vinext-app 1.0.0-beta.3 1.0.0
  • #16205 7e702ed Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated: …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/workers-auth 0.14.0 mit optionalem OAuth-Scope

cf-Nutzer können den hyperdrive-planetscale:setup OAuth-Scope explizit anfordern, der standardmäßig ausgeschlossen bleibt; gemeinsame Meldungen verwenden nun CLI-spezifische Namen und Befehle, und OAuth-Token-Anfragen haben ein Timeout.

Minor Changes

  • #16184 6c4153e Thanks @mtlemilio! - Allow cf consumers to explicitly request the hyperdrive-planetscale:setup OAuth scope

    The scope remains excluded from default logins so permission to create Cloudflare-billed PlanetScale databases is requested only by commands that need it.

  • #16038 dc3e4df Thanks @dario-piotrowicz! - Use consumer-specific CLI names and commands in shared user-facing messages

    Shared deployment, container, configuration, and authentication helpers can now render commands and configuration filenames for their calling CLI while preserving Wrangler-compatible defaults. This prevents cf workflows from presenting Wrangler-branded guidance when an equivalent cf command exists.

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/vitest-plugin 1.4.1 veröffentlicht

Diese Version enthält nur aktualisierte Abhängigkeiten (wrangler 4.150.0 und miniflare 5.20261006.2-beta), ohne eigene Änderungen.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Klarere Fehlermeldungen und CLI-spezifische Hinweise

Wrangler meldet jetzt präziser, wenn der konfigurierte Worker im Konto nicht gefunden wurde, teilt Meldungen an das jeweilige CLI an und erhält Bindungsoptionen bei weitergeleiteten Konfigurationen.

Patch Changes

  • #16161 fcf625d Thanks @dario-piotrowicz! - Clarify the Worker not found error during CI deploy validation

    Wrangler now reports that the configured Worker could not be found in the account instead of incorrectly describing the failure as a name mismatch.

  • #16038 dc3e4df Thanks @dario-piotrowicz! - Use consumer-specific CLI names and commands in shared user-facing messages

    Shared deployment, container, configuration, and authentication helpers can now render commands and configuration filenames for their calling CLI while preserving Wrangler-compatible defaults. This prevents cf workflows from presenting Wrangler-branded guidance when an equivalent cf command exists.

  • #15517 ea64ec4 Thanks @xgame92! - Preserve binding options when provisioning resources through a redirected config …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Miniflare behebt Hängen bei lokalen Sitzungen und Body-Replay

Lokale Einmalbefehle beenden sich nun korrekt, da der Dateisystem-Watcher freigegeben wird, und dispatchFetch() spielt bei HTTP-421-Wiederholungen den Request-Body erneut ab.

Patch Changes

  • #16224 5152bf8 Thanks @adrianhall! - Fix short-lived local sessions hanging instead of exiting after dispose()

    A Miniflare instance using shared local storage could keep the Node process alive after dispose() resolved, because a filesystem watcher on the dev registry directory was left running. A one-shot local command would do its work and print its result, then never exit — cf d1 migrations apply --local, for example, applied every migration successfully and still had to be killed. Disposal now releases the watcher reliably, so the process exits on its own.

  • #16146 9f87de8 Thanks @armancharan! - Replay the request body when dispatchFetch() retries HTTP 421

    A known-length POST that receives 421 used to throw UND_ERR_REQ_CONTENT_LENGTH_MISMATCH. The retry aborted the connection before the response was finished, which dropped the body while keeping the original Content-Length. The abort from that retry is now ignored so the same bytes are sent again. …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Wrangler 4.149.0 unterstützt temporäre Konten

Die Befehle wrangler r2 und wrangler containers unterstützen jetzt das versteckte Flag --temporary für temporäre Event-Konten sowie --event-code; zudem wurde esbuild auf 0.28.2 aktualisiert.

Minor Changes

  • #16036 9a58244 Thanks @edevil! - Support temporary event accounts in R2 and Containers commands

    wrangler r2 and wrangler containers commands now accept the hidden --temporary flag, so accounts created for an event can manage buckets, objects and containers directly. Every command that supports --temporary now also accepts a hidden --event-code flag, so the first command a participant runs can create the event account:

    wrangler r2 bucket create my-bucket --temporary --event-code <code>

    R2 and Containers are only available on event accounts. R2 custom domains, Sippy, external container registries and wrangler cloudchamber commands still require a logged-in account.

Patch Changes

  • #16139 2d1d563 Thanks @cpojer! - Update esbuild to 0.28.2

    Align esbuild dependency with tooling using the latest 0.28 patch so package managers can share one installation instead of downloading a second native binary. …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

create-cloudflare 2.73.4 aktualisiert esbuild

Die esbuild-Abhängigkeit wurde auf 0.28.2 aktualisiert, sodass Paketmanager eine gemeinsame Installation nutzen können.

Patch Changes

  • #16139 2d1d563 Thanks @cpojer! - Update esbuild to 0.28.2

    Align esbuild dependency with tooling using the latest 0.28 patch so package managers can share one installation instead of downloading a second native binary.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Workflows-Shared 0.15.1 behebt Timer-Problem

Lange lokale Workflows schlagen nicht mehr wegen Timer-Erschöpfung fehl, da Timer nach Abschluss oder Abbruch korrekt abgebrochen werden; zudem wurde esbuild auf 0.28.2 aktualisiert.

Patch Changes

  • #16139 2d1d563 Thanks @cpojer! - Update esbuild to 0.28.2

    Align esbuild dependency with tooling using the latest 0.28 patch so package managers can share one installation instead of downloading a second native binary.

  • #15939 e6f7663 Thanks @00200200! - Fix local Workflows hitting the timer quota on long runs

    Long local workflows no longer fail from timer exhaustion. Step timeout timers, sleep, waitForEvent, and grace-period waits now cancel their underlying timers when finished or aborted, instead of remaining until their original deadlines.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Workers-Utils 0.47.1 mit Dokumentation und Update-Fix

Die Dokumentation stellt klar, dass Catch-all-Adressen die Zonen-Apex verwenden müssen, und die Update-Prüfung empfiehlt keine veralteten Versionen mehr.

Patch Changes

  • #16093 ad7ff45 Thanks @DiogoSantoss! - Document that addresses catch-all entries must use the zone apex

    A *@domain entry in addresses must use the zone apex, such as *@example.com. The zone catch-all also receives mail for every subdomain in the zone that has no literal rule.

  • #15617 93c1069 Thanks @jpatel3! - Stop the update check from recommending deprecated versions

    Previously, the "update available" notice shown by wrangler and @cloudflare/vite-plugin always pointed at whichever version was tagged latest on npm, even after that version had been deprecated for shipping a bug. Deprecated versions are now never recommended: if the latest release has been deprecated, the newest non-deprecated stable release below it is suggested instead, or nothing at all if you are already on it.

    The check now reads the npm registry directly instead of going through the update-check package, which discarded the deprecation information. The on-disk cache location and one-hour refresh interval are unchanged.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Workers-Shared 0.20.1 aktualisiert esbuild

Die esbuild-Abhängigkeit wurde auf 0.28.2 aktualisiert, sodass Paketmanager eine gemeinsame Installation nutzen können.

Patch Changes

  • #16139 2d1d563 Thanks @cpojer! - Update esbuild to 0.28.2

    Align esbuild dependency with tooling using the latest 0.28 patch so package managers can share one installation instead of downloading a second native binary.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Vitest-Plugin 1.4.0 mit V8-Coverage und Vitest 5

Das Workers-Vitest-Plugin unterstützt jetzt V8-Codeabdeckung und Vitest 5; außerdem wurden esbuild auf 0.28.2 und Zod auf 4.6.5 aktualisiert.

Minor Changes

Patch Changes

  • #16139 2d1d563 Thanks @cpojer! - Update esbuild to 0.28.2

    Align esbuild dependency with tooling using the latest 0.28 patch so package managers can share one installation instead of downloading a second native binary.

  • #16140 aaa6a88 Thanks @cpojer! - Update Zod to 4.6.5 …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Vite-Plugin 1.63.1 mit Update-Fix

Die Update-Prüfung empfiehlt keine veralteten Versionen mehr, und using- sowie await using-Deklarationen werden unverändert an die Laufzeit übergeben.

Patch Changes

  • #15617 93c1069 Thanks @jpatel3! - Stop the update check from recommending deprecated versions

    Previously, the "update available" notice shown by wrangler and @cloudflare/vite-plugin always pointed at whichever version was tagged latest on npm, even after that version had been deprecated for shipping a bug. Deprecated versions are now never recommended: if the latest release has been deprecated, the newest non-deprecated stable release below it is suggested instead, or nothing at all if you are already on it.

    The check now reads the npm registry directly instead of going through the update-check package, which discarded the deprecation information. The on-disk cache location and one-hour refresh interval are unchanged.

  • #16003 6947df3 Thanks @oddharsh! - Ship using and await using declarations to the runtime as written …

Originalquelle(öffnet in neuem Tab)Problem melden