Minor Changes
-
#13011
b9b7e9dThanks @ruifigueira! - Add experimental headful browser rendering support for local developmentExperimental: This feature may be removed or changed without notice.
When developing locally with the Browser Rendering API, you can enable headful (visible) mode via the
X_BROWSER_HEADFULenvironment variable to see the browser while debugging:X_BROWSER_HEADFUL=true wrangler dev X_BROWSER_HEADFUL=true vite dev
Note: when using
@cloudflare/playwright, two Chrome windows may appear — the initial blank page and the one created bybrowser.newPage(). This is expected behavior due to how Playwright handles browser contexts via CDP. -
#13051
d5bffdeThanks @dario-piotrowicz! - UpdategetLocalWorkerdCompatibilityDateto return today's dateThe re-exported
getLocalWorkerdCompatibilityDatefunction from@cloudflare/vite-pluginpreviously resolved the workerd compatibility date by traversing the localminiflareinstallation, which was unreliable in some package manager setups. It now simply returns today's date. The function is also marked as deprecated — callers should just use today's date instead, for example like so:new Date().toISOString().slice(0, 10)
Patch Changes
-
#13125
f76652cThanks @kayluhb! - Fix SyntaxError when SSR-transformed module ends with a single-line commentWhen module code ends with a
//comment (e.g.//# sourceMappingURL=...preserved by vite-plus), the closing}of the async wrapper inrunInlinedModulewas absorbed into the comment, causingSyntaxError: Unexpected end of input. Adding a newline before the closing brace prevents this. -
#13188
110002cThanks @shulaoda! - Normalize the return value ofgetAssetsDirectory()withvite.normalizePath()to ensureassets.directoryin the outputwrangler.jsonalways uses forward slashes -
Updated dependencies [
9c4035b,5d29055,fb67a18,d5bffde,ab44870,48d83ca,b2f53ea,b9b7e9d,14e72eb,4dc94fd,b2f53ea,d5bffde,48d83ca]:- wrangler@4.80.0
- miniflare@4.20260401.0