Workers SDK Updates & Release Notes
- Einträge
- 242
- Quellen
- 1
- Zuletzt aktualisiert
Folge Workers SDK, um die Release Notes in deinen Feed zu holen.
@cloudflare/remote-bindings@0.0.56
Patch Changes
- Updated dependencies [
b4653b4,15fbaed,d8899ac,8b64bec]:- @cloudflare/cli-shared-helpers@0.3.0
- miniflare@5.20261023.3-beta
- @cloudflare/workers-utils@0.50.1
- @cloudflare/deploy-helpers@0.24.3
- @cloudflare/workers-auth@0.15.3
@cloudflare/deploy-helpers@0.24.3
Patch Changes
#16013
8b64becThanks @swalker326! - Fix Durable Object self-references in tests and container validationDurable Object bindings that explicitly name the Worker itself now resolve to the test runner in
@cloudflare/vitest-plugin, for bothcloudflare.config.tsand Wrangler configuration files. Named Wrangler environments use their effective Worker name, keeping bindings to the base Worker external. Container validation also accepts these self-references, using the effective deployment name to distinguish local and external bindings.Explicit binding targets remain intact during configuration conversion, so deploying with
--nameor a CI name override preserves the intended Durable Object target.Updated dependencies [
b4653b4,15fbaed,d8899ac,8b64bec]:- @cloudflare/cli-shared-helpers@0.3.0
- miniflare@5.20261023.3-beta
- @cloudflare/workers-utils@0.50.1 …
@cloudflare/containers-shared@0.23.5
Patch Changes
- Updated dependencies [
b4653b4,8b64bec]:- @cloudflare/cli-shared-helpers@0.3.0
- @cloudflare/workers-utils@0.50.1
- @cloudflare/build-output-utils@0.9.6
- @cloudflare/config@0.29.0
@cloudflare/cli-shared-helpers@0.3.0
Minor Changes
#16367
b4653b4Thanks @MattieTK! - Support writing.assetsignorefiles that keep local secrets and Pages-only files out of uploaded static assetsmaybeAppendWranglerToGitIgnoreLikeFilenow takes an options object.additionalEntriesappends further entries after the Wrangler ones, skipping any already in the file or already queued.requireEnvWildcardmakes the helper add.env*unless the file already has it, so that a narrower existing entry such as.envdoes not leave.env.productionor.env.localto be uploaded.PROJECT_ROOT_ASSETS_IGNORE_ENTRIESlists the entries to add when a project root is used as the static assets directory.
Patch Changes
- Updated dependencies [
8b64bec]:- @cloudflare/workers-utils@0.50.1
@cloudflare/autoconfig@0.8.3
Patch Changes
#16369
ec0bea4Thanks @MattieTK! - Stop autoconfig in non-interactive runs when a project root holds both static files and a PagesfunctionsdirectoryWhen a project without a detected framework has a
functionsdirectory, autoconfig asks whether it is a Cloudflare Pages project. Non-interactive runs (CI and coding agents) assume it is not and continue as a static site. When the static files are in the project root, that deploys the root as static assets, and the Pages Functions (the project's API routes) are not deployed.In that case autoconfig now stops with an error explaining that Pages Functions cannot be migrated automatically yet. For Pages Functions it suggests moving the static files into a subdirectory and deploying with
wrangler pages deploy, or migrating the Functions to a Worker; for afunctionsdirectory that is not Pages Functions, it suggests moving the static files into a subdirectory or adding a configuration file. Projects whose static files are already in a subdirectory, projects detected as Pages or with a detected framework, and interactive runs where the user answers the prompt are unaffected. …
miniflare@5.20261023.3-beta
Patch Changes
#16327
15fbaedThanks @dexvdev! - Keep cross-process bindings working after aworkerdcrash restartBindings to Workers running in another dev session are rerouted through the dev registry proxy. That reroute used to rewrite the stored worker options in place, so when Miniflare restarted
workerdafter a crash and assembled the config again from the same options, it rerouted the proxy binding through itself. Every call over a cross-process service binding, Durable Object binding or tail consumer then failed withWorker "dev-registry-proxy" not founduntil the options were next updated. The reroute now works on copies of the options, so a restarted runtime routes those bindings to the other dev session as before.#16426
d8899acThanks @pmiguel! - Fix signature verification for signedAccept-Encodingheaders on the experimental local R2 S3 endpoint …
@cloudflare/vite-plugin@2.0.0-beta.v.8
Patch Changes
#16013
8b64becThanks @swalker326! - Fix Durable Object self-references in tests and container validationDurable Object bindings that explicitly name the Worker itself now resolve to the test runner in
@cloudflare/vitest-plugin, for bothcloudflare.config.tsand Wrangler configuration files. Named Wrangler environments use their effective Worker name, keeping bindings to the base Worker external. Container validation also accepts these self-references, using the effective deployment name to distinguish local and external bindings.Explicit binding targets remain intact during configuration conversion, so deploying with
--nameor a CI name override preserves the intended Durable Object target.Updated dependencies [
15fbaed,d8899ac]:- miniflare@5.20261023.3-beta
- @cloudflare/runtime-types@0.1.19
- @cloudflare/build-output-utils@0.9.6
- @cloudflare/config@0.29.0
@cloudflare/vite-plugin@1.66.0
Minor Changes
#16539
046db08Thanks @petebacondarwin! - Update the development registry to use the canonical Cloudflare pathUpgrade Miniflare to 5.20261023.1-beta and Wrangler to 4.154.0. Vite plugin v1 now uses
CLOUDFLARE_DEV_REGISTRY_PATHor<Cloudflare config directory>/dev-registry/v5for Worker discovery.MINIFLARE_REGISTRY_PATHis no longer read. When mixing Vite and Wrangler development sessions, set the sameCLOUDFLARE_DEV_REGISTRY_PATHfor both because Wrangler retains its legacy default.#16407
9ec1101Thanks @petebacondarwin! - Support remote Hyperdrive bindings in Vite plugin v1 development and previewSet
remote: trueon a Hyperdrive binding inwrangler.jsoncto connect to its deployed configuration without a local database connection string. The retained remote proxy exposes the binding's connection string and socket streams, and remote session cleanup preserves startup errors and shares one disposal attempt.
Patch Changes …
@cloudflare/workers-auth@0.15.2
Patch Changes
- Updated dependencies [
a95d647]:- @cloudflare/workers-utils@0.50.0
@cloudflare/config@0.29.0
Minor Changes
#16536
a95d647Thanks @WalshyDev! - Support remote Analytics Engine bindings in local developmentSetting
remote: trueon an Analytics Engine dataset now sendswriteDataPoint()calls fromwrangler devand the Vite plugin to the real dataset. Without it, writes are still dropped locally.{ "analytics_engine_datasets": [ { "binding": "EVENTS", "dataset": "my-dataset", "remote": true } ] }
@cloudflare/build-output-utils@0.9.6
Patch Changes
- Updated dependencies [
a95d647]:- @cloudflare/config@0.29.0
@cloudflare/autoconfig@0.8.2
Patch Changes
#16546
dd31809Thanks @edmundhung! - Include the types generated bycf workers typesintsconfig.jsonwhen configuring forcfcf workers typeswrites the Worker's types to.cloudflare/types. Patterns in theincludearray oftsconfig.json, such as**/*, skip folders whose names start with a dot, so type checking couldn't findEnvafter autoconfig. Autoconfig now adds.cloudflare/typesto thatincludearray forcfprojects with a Worker, ascf initdoes for new projects. Whentsconfig.jsonhas noincludearray, autoconfig asks you to add the entry yourself.Updated dependencies [
a95d647]:- @cloudflare/config@0.29.0
- @cloudflare/workers-utils@0.50.0
- @cloudflare/cli-shared-helpers@0.2.10
wrangler@4.155.0
Minor Changes
#16536
a95d647Thanks @WalshyDev! - Support remote Analytics Engine bindings in local developmentSetting
remote: trueon an Analytics Engine dataset now sendswriteDataPoint()calls fromwrangler devand the Vite plugin to the real dataset. Without it, writes are still dropped locally.{ "analytics_engine_datasets": [ { "binding": "EVENTS", "dataset": "my-dataset", "remote": true } ] }
Patch Changes
#16526
dba0e81Thanks @petebacondarwin! - Render terminal control characters as visible text in tail outputPretty tail and remote-preview output now escape control characters in log strings, exceptions and event metadata. Unicode, tabs and multiline logs remain readable, and JSON output keeps the original structured values.
#16489
fc57bc0Thanks @akshitsinha! - Keep Flagship flag metadata when updating flags …
@cloudflare/workers-utils@0.50.0
Minor Changes
#16536
a95d647Thanks @WalshyDev! - Support remote Analytics Engine bindings in local developmentSetting
remote: trueon an Analytics Engine dataset now sendswriteDataPoint()calls fromwrangler devand the Vite plugin to the real dataset. Without it, writes are still dropped locally.{ "analytics_engine_datasets": [ { "binding": "EVENTS", "dataset": "my-dataset", "remote": true } ] }
@cloudflare/remote-bindings@0.0.55
Patch Changes
- Updated dependencies [
a95d647,c7a3373,c7a3373,c7a3373]:- @cloudflare/workers-utils@0.50.0
- miniflare@5.20261023.2-beta
- @cloudflare/deploy-helpers@0.24.2
- @cloudflare/cli-shared-helpers@0.2.10
- @cloudflare/workers-auth@0.15.2