github cloudflare/workers-sdk @cloudflare/vite-plugin@1.70.0

one hour ago

Minor Changes

  • #16898 e1d4554 Thanks @petebacondarwin! - Use the local simulator for Artifacts bindings that omit remote

    Artifacts now works locally without Cloudflare credentials by default. Set remote: true to use deployed repositories, or remote: false to silence the migration warning. The updated Miniflare runtime also supplies Browser Run quick actions and local Artifacts fixes.

  • #16929 319aec4 Thanks @petebacondarwin! - Start local Workflows from Artifacts events

    Configure triggers.events in your Wrangler configuration to deliver local Artifacts repository and token events to a Workflow defined by the same Worker. Miniflare 5.20261116.0-beta and Wrangler 4.163.0 support this beta feature through Vite plugin v1. Local push, clone, fetch, and queue subscriptions remain unsupported.

Patch Changes

  • #16818 befc1ad Thanks @petebacondarwin! - Remove unsupported CLI flag advice from v1 Container Docker errors

    When Docker is unavailable, suggest disabling local Containers through dev.enable_containers in the Wrangler configuration. The Vite plugin does not accept the --enable-containers CLI flag.

  • #16859 9dd3468 Thanks @petebacondarwin! - Update the v1 development runtime to Miniflare 5.20261110.2-beta

    Update Wrangler to 4.161.0 to keep its public Miniflare types aligned with the runtime. Use the latest compatible runtime, including relative asset redirect normalization, while retaining Wrangler configuration through the Miniflare v4 compatibility adapter.

  • #16860 b1b66cd Thanks @petebacondarwin! - Normalize relative asset redirect pathnames without changing query values or fragments

    Keep repeated separators captured by redirect placeholders within the site's path. Preserve explicitly configured external targets, including scheme-less URLs, when serving assets during development.

  • #16930 6fa6b99 Thanks @petebacondarwin! - Reuse Wrangler credentials refreshed by another process during remote development

    Update authentication for retained remote bindings so a running Vite server can reuse a valid token saved by another process without another exchange or an older credential write.

  • #16861 2906560 Thanks @petebacondarwin! - Keep v1 remote bindings on Wrangler authentication

    Ignore the obsolete CLOUDFLARE_CF_AUTH environment flag so development and preview sessions continue using the project's Wrangler profile and configured account.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.