Patch Changes
-
#13866
4e44ce6Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260507.1 1.20260508.1 -
#13837
b0cee1dThanks @matingathani! - Fix beta/open-beta status message ignoringprintBanner: false— when a command setsprintBanner: (args) => !args.json, the status banner no longer appears in JSON output -
#13887
d878e13Thanks @apeacock1991! - Fixwrangler devhanging on shutdown when remote bindings are presentstartDev() registers dev hotkeys before authenticating the user. During interactive dev sessions, the auth callback re-registers hotkeys, which updates the local unregisterHotKeys variable to a new cleanup function. However, the unregisterHotKeys value returned to callers was captured as a direct reference to the initial registration, so it would call the stale cleanup function instead of the current one.
This has been fixed by returning a wrapper function () => unregisterHotKeys?.() instead of the variable directly. The wrapper evaluates unregisterHotKeys at call time, ensuring it always invokes the latest cleanup function even after re-registration.
-
#13867
971dfe3Thanks @petebacondarwin! - Fix race inRemoteProxySession.updateBindingsso it waits for the remote worker to finish reloading with the new bindings before resolvingPreviously,
updateBindingsresolved as soon as the config update event was dispatched, long before the remote worker had been re-uploaded and the local proxy worker had unpaused. Callers that issued requests immediately afterwards could see flaky failures — typically "WebSocket connection failed" for JSRPC bindings such as service bindings or dispatch namespaces — because the local proxy worker was still in its paused state during the reload window.updateBindingsnow waits for the nextreloadCompleteevent and for the local proxy worker's runtime-message queue to drain before returning, so callers can safely issue requests afterawait session.updateBindings(...). If the reload fails, the rejection fromupdateBindingscarries the underlying error. -
#13867
971dfe3Thanks @petebacondarwin! - Fix unhandledAbortErrorfromwrangler dev's remote tail WebSocket when the bundle rebuilds or the dev session shuts downThe remote-runtime tail-logs WebSocket (
#activeTailinRemoteRuntimeController) was constructed with the sameAbortSignalthatonBundleStartaborts to cancel in-flight preview-session operations. The abort destroyed the WebSocket's underlying upgrade request withAbortError, which had noerrorlistener attached and propagated as an unhandled exception. We now attach anerrorlistener at WebSocket construction that ignores errors (logging at debug level), matching the safeguards already present on theterminatepaths in#previewTokenandteardown(). -
Updated dependencies [
4e44ce6,5d936c5]:- miniflare@4.20260508.0