Repository navigation
chore(deps): update dependency @cloudflare/vite-plugin to v1.66.0 - #337
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
renovate
Bot
force-pushed
the
renovate/cloudflare-vite-plugin-1.x-lockfile
branch
4 times, most recently
from
November 5, 2026 07:41
6f987fa to
a37422f
Compare
renovate
Bot
force-pushed
the
renovate/cloudflare-vite-plugin-1.x-lockfile
branch
10 times, most recently
from
November 6, 2026 08:12
9e94f3e to
1b78d48
Compare
renovate
Bot
force-pushed
the
renovate/cloudflare-vite-plugin-1.x-lockfile
branch
5 times, most recently
from
November 12, 2026 17:49
ce15de0 to
8f363d9
Compare
renovate
Bot
force-pushed
the
renovate/cloudflare-vite-plugin-1.x-lockfile
branch
from
November 13, 2026 01:49
8f363d9 to
0412fa1
Compare
renovate
Bot
force-pushed
the
renovate/cloudflare-vite-plugin-1.x-lockfile
branch
from
November 13, 2026 01:52
0412fa1 to
d346ed2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
1.31.1→1.66.0Release Notes
cloudflare/workers-sdk (@cloudflare/vite-plugin)
v1.66.0Compare Source
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
#16542
ef573d4Thanks @petebacondarwin! - Preserve machine-readable error properties from remote bindingsEnable enhanced error serialization on the remote proxy Worker used by Vite plugin v1. Combined with Miniflare 5.20261023.1-beta, remote binding errors retain properties such as
codeandnumericCodeso Worker code can handle them without parsing error messages.#16480
ccaa34aThanks @petebacondarwin! - Prevent malformed token-exchange responses from crashing remote binding startupUpdate the Undici dependency bundled from the retained remote-bindings package to
7.30.1. Responses with excessive content encodings now reject without a later unhandled stream error when the server closes the connection early.#16502
6f2eda1Thanks @petebacondarwin! - Update the retained asset configuration validator to Zod 4.6.6The Vite plugin validates
_headersand_redirectsthrough its private workers-shared package. Update that bundled copy to address excessive memory consumption when validating oversized collections.#16444
79678c4Thanks @petebacondarwin! - Update Vite plugin v1 to the October 23 Workers runtimeUse Miniflare
5.20261023.0-betaand the matching Wrangler release for local development and preview. Align bundled helpers and Workers types with this runtime, and use2026-10-23as the fallback compatibility date when none is configured. The runtime and helper updates also prevent malformed HTTP responses with excessive content encodings from causing unhandled stream errors. The published helpers also update their bundled Zod validator and fix Windows keyring setup for remote-binding credentials when the configuration path contains spaces.#16479
1d5354bThanks @petebacondarwin! - Treatcloudflare:durable-objectsas a built-in runtime moduleWorkers can import
retryable()fromcloudflare:durable-objectsto mark Durable Object methods as safe to retry. The plugin now leaves that import for the runtime to resolve, as it does forcloudflare:workers, instead of trying to resolve it as a package.#16493
4ce6176Thanks @petebacondarwin! - Preserve a Worker response'sstatusTextin Vite dev and previewResponses such as
new Response(body, { status: 231, statusText: "Custom" })now reach the browser as231 Custominstead of231 unknown. Empty status text is also preserved over HTTP/1.x.#16501
109844eThanks @petebacondarwin! - Preserve separateSet-Cookierequest headers in Vite dev and previewWorkers now receive each incoming
Set-Cookievalue separately for HTTP requests and WebSocket upgrades, including values with commas in anExpiresdate. Previously, multiple values could be combined into one header.#16503
ca116f9Thanks @petebacondarwin! - Fix a dev server failing to start when an earlier dev server in the same process had different Worker exportsThe Vite plugin now clears the Worker export types it detected when a dev server closes. A dev server created afterwards in the same process derives them from its own config again, so it no longer fails with
Class extends value undefinedfor a Durable Object the earlier server's Worker did not export.#16504
436fa9aThanks @petebacondarwin! - Fix Vite DevTools WebSocket connections closing unexpectedlyLeave upgrades at
/__devtools/__wsto Vite DevTools instead of forwarding them to the Worker. Sandbox preview requests continue to reach the Worker.v1.65.0Compare Source
Minor Changes
#16363
d3240f2Thanks @jamesopstad! - Remove theexperimental.newConfigoption from Vite plugin v1Vite plugin v1 now supports Wrangler configuration files only. Projects using
cloudflare.config.tsfor configuration should upgrade to Vite plugin v2 beta.Patch Changes
#16373
8cc5f87Thanks @petebacondarwin! - Report unsupported remote bindings under Bun instead of hangingStarting remote bindings now fails with an actionable error explaining Bun's unsupported request routing. Use Node.js or disable remote bindings to continue local development.
#16334
9cecd09Thanks @petebacondarwin! - Fix Container setup guidance in Vite development and previewContainer registry instructions now show the Wrangler command and the configuration location, including Wrangler files and inline Vite configuration.
#16333
68d6eecThanks @petebacondarwin! - Update the local Workers runtime to the October 19 releaseInclude the fix for nested asset paths during local development on Windows, together with the compatible Wrangler release.
The runtime update also disposes Workflow step results and introspection modifiers after use, preventing undisposed RPC warnings and cancelled local Workflow requests.
#16379
160e655Thanks @petebacondarwin! - Update the local Workflow runtime to use native storage cleanupConsume the Miniflare fix that queues Workflow persistence deletion with instance recreation, including deletion through the local Explorer. This prevents storage cleanup from racing reuse of the same Workflow instance ID.
#16289
bbe822fThanks @petebacondarwin! - Retry remote preview token refreshes after transient failuresBackport the retry fix to the private remote-bindings workspace package and require
wrangler@4.151.1so long-running remote development sessions recover after a network outage.#16291
0262f7dThanks @petebacondarwin! - Use published SDK dependencies for Vite plugin v1 maintenancePin the plugin's published SDK dependencies to their deployed npm versions. Keep private shared packages as workspace dependencies so their implementation and build tools remain available on the v1 maintenance branch.
v1.64.0Compare Source
Minor Changes
#16245
d6b1c82Thanks @WalshyDev! - Generate source maps for Worker environments by defaultWorker builds now emit source maps unless Vite's
build.sourcemapor the Worker'supload_source_mapsis set, so deployed Workers get stack traces that point at the original source. The source maps are written next to the Worker bundle and included in Build Output; the client environment is unchanged, so no source maps are added to public assets. Setbuild.sourcemap: falsefor the Worker environment, orupload_source_maps: falsein the Worker config, to opt out.Patch Changes
f360829,d6b1c82,97b2fb1,97b2fb1,acd2822]:v1.63.2Compare Source
Patch Changes
#16025
61e07fdThanks @kohjunhao! - Fix optional Docker lookups printing Docker CLI errors during successful buildscf buildlooks 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 asCannot 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
dc3e4dfThanks @dario-piotrowicz! - Use consumer-specific CLI names and commands in shared user-facing messagesShared deployment, container, configuration, and authentication helpers can now render commands and configuration filenames for their calling CLI while preserving Wrangler-compatible defaults. This prevents
cfworkflows from presenting Wrangler-branded guidance when an equivalentcfcommand exists.Updated dependencies [
fcf625d,091e5ec,5152bf8,9f87de8,daae435,18f061c,9be5ec7,61e07fd,cafd3f9,ea64ec4,d232454]:v1.63.1Compare Source
Patch Changes
#15617
93c1069Thanks @jpatel3! - Stop the update check from recommending deprecated versionsPreviously, the "update available" notice shown by
wranglerand@cloudflare/vite-pluginalways pointed at whichever version was taggedlateston 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-checkpackage, which discarded the deprecation information. The on-disk cache location and one-hour refresh interval are unchanged.#16003
6947df3Thanks @oddharsh! - Shipusingandawait usingdeclarations to the runtime as writtenWorker builds no longer lower explicit resource management into helper code, so Workers that use it ship about 1.7 KB less. workerd supports the syntax natively. On Vite 8 the plugin builds Workers at an
es2026target, so Oxc leaves the syntax alone. On Vite 6 and 7, where esbuild has noes2026target, the Worker environments tell esbuild thatusingis supported instead. Client builds keep their own targets: the plugin changes only the Worker environments.#16145
e820406Thanks @cpojer! - Honor the source-map setting in release buildsOmit the plugin's JavaScript and declaration source maps when building with
SOURCEMAPS=false, reducing the installed package size. Normal development builds keep source maps, and application source-map settings are unchanged.Updated dependencies [
2d1d563,85b14e7,e6f7663,fe607f9,ad7ff45,8de6b3c,ae29445,757faa6,cc8e969,417b186,93c1069,6947df3,82acf3c,9a58244]:v1.63.0Compare Source
Minor Changes
#16030
aa2f9b7Thanks @edmundhung! - Add email-protected Quick Tunnels to the Cloudflare Vite pluginSet
tunnel.allowedMailto 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
b4e1299,b75421f,0ec13b7,2b1a0ca,c492d63,ba52118,946aaa7,48f3c04,14f0339,5606a74,4d308f6,f8cdcb9,e44cf6b,aa2f9b7,42c7219,2dde890,26e03e2,2dde890,0b51fec]:v1.62.5Compare Source
Patch Changes
7f700ef,90e6a1b,7f57b1c,6a4b0fe]:v1.62.4Compare Source
Patch Changes
b8e7cc3,b00ef4f,9d7b08e,464a582,aee2842,efd67e6]:v1.62.3Compare Source
Patch Changes
b9f1cdc,ddaa558,8468487,a0712e5,a0712e5]:v1.62.2Compare Source
Patch Changes
91a3606,2a15ae2]:v1.62.1Compare Source
Patch Changes
#15938
62fd03aThanks @dieub! - Resolve the affected Undici dependency in new Wrangler and Vite plugin installsUndici 7.29.1 fixes GHSA-3wwx-pv8p-q78v. Update the shared dependency catalog and matching types used by Miniflare and Wrangler so downstream installs can resolve the patched runtime without an application-level override. A published release is still required for consumers; this changeset does not alter already published package metadata.
Updated dependencies [
7bb6eae,60ccdbd,62fd03a,06ed9c8,86211fe,c2bb4c8,eb1efe0,485cfb3]:v1.62.0Compare Source
Minor Changes
#15914
7f0734cThanks @jamesopstad! - Usecf/configforcloudflare.config.tsauthoringExperimental
cloudflare.config.tsprojects must now importdefineConfig, bindings, triggers, and related helpers fromcf/config. Generated declarations from Wrangler and the Vite plugin also reference this package, so projects using the experimental configuration flow must addcfas a dependency.The Vite plugin no longer exports
@cloudflare/vite-plugin/experimental-config.wrangler/experimental-configremains available fordefineWranglerConfig, but no longer re-exports Cloudflare configuration helpers.Patch Changes
#15878
e7915c1Thanks @dawNotPoi! - Keep dependency optimization caches stable on the first Vite dev server restart.The first dev server restart no longer re-optimizes unchanged dependencies, including in projects without Containers. Container images are still cleaned up when the server closes, even after a config reload removes the Cloudflare plugin.
Updated dependencies [
7f0734c]:v1.61.0Compare Source
Minor Changes
#15856
4c2993bThanks @Naapperas! - Support Workflows declared inexportsonctx.exportsin local developmentA Workflow declared in a Worker's
exportsis now available onctx.exportsinwrangler dev, the Vite plugin and the Vitest plugin, with the same API as a Workflow binding:ctx.exportsandworkflowsbindings with the same Workflownameshare their instances, including instances created before the Workflow was declared inexports. Two Workers can't export the same Workflow name, and a binding to an exported Workflow must refer to the Worker and class that export it.getPlatformProxy()ignores Workflows declared inexports, since it doesn't run the Worker's code.wrangler workflowscommands run with--localalso work with Workflows declared only inexports, without aworkflowsbinding.In the Vitest plugin,
introspectWorkflow()andintrospectWorkflowInstance()still need a Workflow binding, and now explain how to add one when passed a Workflow fromctx.exports. Instances created throughctx.exportsare introspected too. Aworkflowsbinding whosescript_nameis the Worker's own name now resolves to the Worker itself again.Patch Changes
8dc53ae,4c2993b]:v1.60.2Compare Source
Patch Changes
ee2b200,c91279b,8280086,bd56b98,805af2f]:v1.60.1Compare Source
Patch Changes
8f7916c]:v1.60.0Compare Source
Minor Changes
#15648
52c0e9fThanks @tpmmorris! - Advertise Local Explorer scheduled invocations to headless agentsThe Vite plugin's Local Explorer hint now documents how to invoke a Worker's scheduled handler and points agents to the OpenAPI schema for the complete request contract.
Patch Changes
52c0e9f,44f5295,be72815,479e1e8,940c692,52c0e9f,cd60c9c,15799d4,bdda4c3,fc3cbaa]:v1.59.0Compare Source
Minor Changes
#15817
6e77c53Thanks @jamesopstad! - Allow framework commands to produce Preview Build Output with the experimental configWhen
cf previews deployinvokes a framework build command, Preview intent is now preserved. Function-basedcloudflare.config.tsfiles receiveisPreview: true, and generated Build Output is marked as a Preview build.Patch Changes
#15806
8fade73Thanks @NuroDev! - Standardize Zod validation error outputFormat validation errors with Zod's built-in
prettifyError()helper so Miniflare, Wrangler, the Vite plugin, and the Vitest plugin show consistent messages and property paths.Updated dependencies [
a71237a,b03f960,8fade73,6e77c53]:v1.58.0Compare Source
Minor Changes
#15778
cd7508cThanks @jamesopstad! - Generate types during development and supported builds with Vite'sexperimental.newConfigoption or Wrangler's--experimental-new-configflag (and--experimental-cf-build-outputfor builds)When Wrangler's
--experimental-new-configflag or Vite'sexperimental.newConfigoption is enabled, inferred configuration and runtime declarations are now kept in.cloudflare/types/index.d.ts. Vite refreshes them during development and production builds. Wrangler refreshes them during development and when building with both--experimental-new-configand--experimental-cf-build-output. In the experimentalwrangler.config.tsformat, thetypesoption is now top-level because it applies to both commands.Patch Changes
#15765
1bdb96dThanks @th0m! - Prepare the required egress sidecar for local Containers without configured imagesWrangler dev and Vite dev/preview now pull the required sidecar for Durable Object-managed Containers that select their application image at start time. Previously, these Containers failed to start unless the sidecar image was already cached in Docker.
Updated dependencies [
1bdb96d,cd7508c,f5605f5]:v1.57.3Compare Source
Patch Changes
59267fc,6906bf0,354ebdb]:v1.57.2Compare Source
Patch Changes
ad20547,02c1d83,275184d,bd59eca]:v1.57.1Compare Source
Patch Changes
0ed4c54,703922d,14d946d]:v1.57.0Compare Source
Minor Changes
#15713
3c75cadThanks @jamesopstad! - Identify experimental Build Output resource configs by filename and locationThe root remains
config.json, Worker configs are nowworker.config.json, and Container configs are nowcontainer.config.json. Resource configs no longer contain top-leveltypediscriminators, while settings and build context are stored together in the root config.#15713
3c75cadThanks @jamesopstad! - Define experimental Cloudflare configuration with a single default exportExperimental
cloudflare.config.tsfiles now define settings and resources together in a default-exporteddefineConfig()call. Add a Worker underworker, add Containers to thecontainersarray, or omit both to provide settings only.Patch Changes
#15711
91e2f86Thanks @ghostwriternr! - Allow local Container images without exposed portsWrangler and the Cloudflare Vite plugin no longer reject images that omit Docker
EXPOSEmetadata. Local Containers can run command-only workloads or serve traffic through workerd without declaring an unused image port.Updated dependencies [
3c75cad,3c75cad,91e2f86,c5913a6,35668d7,3c75cad,45b3b81,8235e6a,0751490,43b1f85,731a2ee]:v1.56.0Compare Source
Minor Changes
#15609
1f070c8Thanks @emily-shen! - Build Containers when emitting experimental Build OutputWrangler and the Cloudflare Vite plugin now build Dockerfile-backed Container images when experimental Build Output is enabled. Container configs are emitted under
.cloudflare/output/v0/containerswith local image references, while existing registry references pass through unchanged.#15329
c4c9b75Thanks @akshitsinha! - Evaluate Flagship flags locally during developmentFlagship bindings now use the local Miniflare store by default in Wrangler and the Vite plugin, keeping development offline and isolated from production flags. Set
remote: trueon a binding to continue using its remote app.Use
wrangler flagship flags pull <APP_ID>to seed the storeConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.