Minor Changes
-
#9575
5601fc3
Thanks @jamesopstad! - Supportrun_worker_first
.run_worker_first
has been expanded to accept an array of routes that should go directly to your Worker. Additionally, routes can be omitted by adding a!
prefix. These negative routes will be treated as assets.This is a new way to define routing explicitly and, when provided, overrides the implicit routing behavior.
The previous behavior of setting
"run_worker_first": true
to always invoke your Worker is also now supported.
Patch Changes
-
#9583
70ba9fb
Thanks @edmundhung! - fix: avoid crashing on unknown service bindings at startupWith Dev Registry support, the plugin no longer throws an assertion error during startup when a service binding references a named entrypoint from an unknown worker. Instead, an appropriate runtime error will be returned if the worker cannot be resolved.
-
#9548
0174e39
Thanks @jamesopstad! - Enable HTML handling for HTML files in the public directory.It is generally encouraged to use HTML files as entry points in Vite so that their dependencies are bundled. However, if you have plain HTML files that should simply be copied to the root of the output directory as-is, you can place these in the public directory and they will now work as expected in dev.
-
#9566
521eeb9
Thanks @vicb! - Bump@cloudflare/unenv-preset
to 2.3.3 -
#9581
6bc0a2f
Thanks @petebacondarwin! - fix: ensure that globals are polyfilled before every import -
#9536
3b61c41
Thanks @dario-piotrowicz! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changed -
Updated dependencies [
3b61c41
,bd528d5
,2177fb4
,1d3293f
,04f9164
,36113c2
,49f5ac7
,cf33417
,521eeb9
,02e2c1e
,02e2c1e
,3b61c41
,e16fcc7
,c117904
,fae8c02
]:- wrangler@4.20.1
- miniflare@4.20250612.0