chore(deps): update dependency @cloudflare/vite-plugin to v1.48.0 - #3907
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/cloudflare-vite-plugin-1.x
branch
from
August 1, 2026 01:24
77ed489 to
90f2711
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.
This PR contains the following updates:
1.47.0→1.48.0Release Notes
cloudflare/workers-sdk (@cloudflare/vite-plugin)
v1.48.0Compare Source
Minor Changes
#14883
76e6014Thanks @jamesopstad! - Serve the bundled client HTML in dev when Vite'sexperimental.bundledDevis enabledNote that this feature is experimental and subject to change.
Patch Changes
#14862
c232d05Thanks @petebacondarwin! - Destroy the client socket instead of crashing when a WebSocket upgrade failsIf
dispatchFetchrejected while a WebSocket upgrade was still in flight (for example when Miniflare is disposed during a dev server shutdown or restart), the error escaped theasyncupgrade handler as an unhandled rejection. This could terminate the dev server process and leaked the client socket. The upgrade handler now catches such failures and tears the socket down cleanly.#14837
de6a951Thanks @1rgs! - Fix compatibility with Vite'sexperimental.bundledDevoption. Keep Miniflare, containers, and tunnels alive when a build runs in dev.The plugin used the
buildEndhook as its signal that the dev server was closing, and tore down its dev resources there. Vite'sexperimental.bundledDevruns a build pass duringserve, which firesbuildEndwhile the dev server is still live — so Miniflare was disposed (the next request failed withExpected \miniflare` to be defined`), locally-built container images were removed, and any active tunnel was closed, all mid-serve.During
serve, these resources are now torn down from a patchedserver.close. We will replace server patching with first-class APIs when they are added to Vite.#14851
fb89b72Thanks @exKAZUu! - Retry transient module-transport failures in the runner workerEach
fetchModuleinvoke was a single fetch to the dev server with no retry. If that one fetch failed transiently (e.g.Network connection lostwhen workerd reuses a loopback connection that Node just closed), Vite's module runner cached the rejection and every request importing the affected module failed for the rest of the dev session. The invoke is an idempotent request for module code, so retry it up to three times before giving up.Updated dependencies [
773ead4,773ead4,09b8a44,4dfb96e,1035f74,e426cb9,3a22ae5,465c0fb,465c0fb,e8b3a9d,552bcfc,b737676,6e0bf6e]:Configuration
📅 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.