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

Cloudflare Workers SDK 0.1.9 – sichere Domain für Typgenerierung

Die Typgenerierung von wrangler types verwendet jetzt die reservierte Domain .invalid statt dummy.com, wodurch fehlgeschlagene Anfragen sicher abgelehnt werden.

Patch Changes

  • #16148 57f2a71 Thanks @sx4im! - Use a reserved .invalid domain for runtime type generation

    wrangler types dispatched runtime type generation to http://dummy.com/..., which is a real, publicly registered domain. A misrouted request could download arbitrary web content into the generated .d.ts. The dispatch URL now uses dummy.invalid (RFC 2606), which can never resolve, so such requests fail closed instead.

  • Updated dependencies [2d1d563, e6f7663, fe607f9, 8de6b3c, ae29445, cc8e969, 417b186]:

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/remote-bindings 0.0.45 – Abhängigkeiten aktualisiert

Die Version aktualisiert nur die Abhängigkeiten von @cloudflare/deploy-helpers, miniflare und weiteren Paketen.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/quick-edit 0.4.8 – esbuild aktualisiert

Die esbuild-Abhängigkeit wurde auf Version 0.28.2 angehoben, 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

@cloudflare/pages-shared 0.13.195 – esbuild aktualisiert

Die esbuild-Abhängigkeit wurde auf Version 0.28.2 angehoben, um eine gemeinsame Installation mit anderen Tools zu ermöglichen.

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/pages-functions 0.1.1 – esbuild und using-Unterstützung

Neben der esbuild-Aktualisierung werden using- und await using-Deklarationen nun unverändert übertragen, wodurch Worker-Bundles kleiner werden.

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.

  • #16003 6947df3 Thanks @oddharsh! - Ship using and await using declarations to the runtime as written, for smaller Worker bundles

    Workers and Pages Functions that use explicit resource management no longer carry about 1 KB of bundled helper code to emulate it. workerd supports using and await using natively at every compatibility date, so wrangler deploy, wrangler versions upload and Pages Functions builds now leave these declarations untouched.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/deploy-helpers 0.20.1 – Retry-After und Drift-Fix

Statische Asset-Uploads respektieren jetzt Retry-After-Anweisungen, und falsche Konfigurationsdrift-Warnungen bei unveränderten Custom Domains werden vermieden.

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.

  • #15632 85b14e7 Thanks @petebacondarwin! - Honor Retry-After directives during static asset uploads

    Static asset uploads now pause retries and pending uploads until the latest outstanding deadline requested by the API. A per-request limiter also keeps gateway retries at the reduced concurrency after the pause ends, preventing a deployment from immediately overloading a constrained asset service again.

  • #16131 615c35b Thanks @Barbapapazes! - Avoid false config drift warnings for unchanged custom domains …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/containers-shared 0.21.5 – Abhängigkeiten aktualisiert

Die Version aktualisiert nur die Abhängigkeiten von @cloudflare/config, @cloudflare/build-output-utils und weiteren Paketen.

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/config 0.24.1 – Zod und Typdefinitionen

Zod wurde auf 4.6.5 aktualisiert, und die Deklarationsausgabe für Konfigurationen mit Durable Objects oder Helper-Wrappern wurde korrigiert.

Patch Changes

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

    Align the published Zod dependencies in Cloudflare configuration and the Vitest plugin with other tools using Zod 4.6.5 so consumers can reuse one installation.

  • #16138 b606624 Thanks @Derpedyea! - Fix declaration emit for configs that use Durable Objects or wrap config helpers

    Projects that generate TypeScript declarations can now export a Worker that declares a Durable Object, wrap helpers such as bindings.kv(), and re-export defineConfig, defineContainer, or defineWorker. Helper options types such as KvBindingOptions can now be imported by name, and bindings.json() values are no longer emitted as any.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/codemods 0.4.2 – gebündelte Abhängigkeiten

CLI- und Bibliothekseinstiegspunkte werden nun gemeinsam gebaut, um Migrationen und Abhängigkeiten nicht doppelt auszuliefern.

Patch Changes

  • #16143 271ac8e Thanks @cpojer! - Share bundled dependencies between the CLI and library entry points

    Build both entry points together to avoid shipping the same migration implementation and dependencies twice. The CLI command and public library exports remain unchanged.

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Build-Output-Utils 0.9.0

Der gemeinsame Reader lehnt Symlinks in experimentellen Build-Output-Verzeichnissen ab und meldet den betroffenen Pfad als Fehler; Asset-Links werden nun als reguläre Dateien kopiert, um portable Builds zu gewährleisten.

Minor Changes

  • #15981 0d1bd50 Thanks @petebacondarwin! - Reject symlinks when reading experimental Build Output directories

    Build Output directories must be portable and self-contained. The shared reader now rejects symlinks anywhere in the output tree, including links to files within it, and reports the offending path in a Build Output error before reading configs.

Patch Changes

  • #16154 7557322 Thanks @jamesopstad! - Keep experimental Build Output portable when source assets are symlinks

    Asset links are now copied as regular files and directories so Wrangler produces portable, self-contained Build Output that can be read successfully.

  • Updated dependencies [aaa6a88, b606624]:

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

Miniflare 5.20261006.1-alpha

Aktualisiert esbuild auf 0.28.2, behebt Timer-Limit-Probleme bei langen lokalen Workflows und aktualisiert die Abhängigkeit sharp von 0.35.4 auf 0.35.5.

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.

  • #16098 fe607f9 Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    sharp 0.35.4 0.35.5

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

wrangler 4.148.0: neue Queues-Flags und assets.base_path

wrangler 4.148.0 ergänzt für wrangler queues subscription create die für die Quelle artifacts.repo nötigen Flags --source-namespace und --source-repo-name und führt assets.base_path ein, mit dem ein Asset-Verzeichnis unter einem öffentlichen URL-Präfix ausgeliefert wird.

Minor Changes

  • #16051 b4e1299 Thanks @devteamaegis! - Add --source-namespace and --source-repo-name to wrangler queues subscription create for the artifacts.repo source

    The Event Subscriptions API requires source.namespace and source.repo_name for artifacts.repo subscriptions, but Wrangler had no way to pass them, so --source artifacts.repo always failed with a validation error. Both flags are now required for this source, and wrangler queues subscription get shows the subscription's resource as <namespace>/<repo-name>.

  • #15998 b75421f Thanks @dario-piotrowicz! - Add assets.base_path support to Workers Assets

    Serve an asset directory from a public URL prefix without changing its on-disk layout:

    {
      "assets": {
        "directory": "./public",
        "base_path": "/docs"
      }
    }
    ``` …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

create-cloudflare 2.73.3: aktualisierte Abhängigkeiten

create-cloudflare 2.73.3 aktualisiert die Abhängigkeiten create-next-app (16.3.8), create-analog (2.8.0) und @angular/create (22.2.1).

Patch Changes

  • #16057 ad54578 Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-next-app 16.3.6 16.3.8
  • #16058 f67fb2b Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    create-analog 2.7.5 2.8.0
  • #16060 17c6c0d Thanks @dependabot! - Update dependencies of "create-cloudflare"

    The following dependency versions have been updated:

    Dependency From To
    @angular/create 22.2.0 22.2.1

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/workers-utils 0.47.0: Unterstützung für assets.base_path

@cloudflare/workers-utils 0.47.0 unterstützt assets.base_path für Workers Assets, sodass ein Asset-Verzeichnis unter einem öffentlichen URL-Präfix bereitgestellt werden kann, ohne das Layout auf der Festplatte zu ändern.

Minor Changes

  • #15998 b75421f Thanks @dario-piotrowicz! - Add assets.base_path support to Workers Assets

    Serve an asset directory from a public URL prefix without changing its on-disk layout:

    {
      "assets": {
        "directory": "./public",
        "base_path": "/docs"
      }
    }
    

    Wrangler, preview, Miniflare, and generated build configuration preserve the explicitly selected value, while the Asset Worker normalizes it and strips the prefix only for asset lookup. Requests passed to a user Worker, request-facing headers, and redirects retain the public path. Relative pathname inputs are interpreted as root-relative prefixes, URL-shaped values are rejected, and omitting the option preserves existing root-path behavior.

    Authored _headers and _redirects rules continue to match full public paths. In particular, both the source and destination of an authored 200 asset rewrite must include the configured public prefix; Asset Worker-generated redirects are prefixed automatically.

Patch Changes …

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/workers-auth 0.13.0: Option temporaryAccountLogger

@cloudflare/workers-auth 0.13.0 führt die Option temporaryAccountLogger ein, mit der Hinweise zu temporären Konten, etwa an stderr, umgeleitet werden können.

Minor Changes

  • #16068 26e03e2 Thanks @edevil! - Add a temporaryAccountLogger option for temporary-account notices

    AuthContext.temporaryAccountLogger receives the terms notice, the proof-of-work message, and the "Temporary account ready" claim details. A CLI whose commands write parseable output to stdout can route these messages to stderr. When it is not set, the messages go to logger as before.

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden

Workers SDK von Cloudflare

@cloudflare/vite-plugin 1.63.0: E-Mail-geschützte Quick Tunnels

@cloudflare/vite-plugin 1.63.0 ermöglicht über tunnel.allowedMail E-Mail-geschützte Quick Tunnels für Vite-Entwicklungs- und Preview-Server.

Minor Changes

  • #16030 aa2f9b7 Thanks @edmundhung! - Add email-protected Quick Tunnels to the Cloudflare Vite plugin

    Set tunnel.allowedMail to a list of email addresses or domain patterns to require email authentication when exposing a Vite development or preview server through a Quick Tunnel.

Patch Changes

Originalquelle(öffnet in neuem Tab)Problem melden