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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@cloudflare/[email protected]
Minor Changes
#9575
5601fc3Thanks @jamesopstad! - Supportrun_worker_first.run_worker_firsthas 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.
{ "assets": { "not_found_handling": "single-page-application", "run_worker_first": [ "/api/*", // These routes go directly to the Worker "!/api/docs/*", // These routes are still treated as assets ], }, }The previous behavior of setting
"run_worker_first": trueto always invoke your Worker is also now supported.Patch Changes
#9583
70ba9fbThanks @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
0174e39Thanks @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
521eeb9Thanks @vicb! - Bump@cloudflare/unenv-presetto 2.3.3#9581
6bc0a2fThanks @petebacondarwin! - fix: ensure that globals are polyfilled before every import#9536
3b61c41Thanks @dario-piotrowicz! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changedUpdated dependencies [
3b61c41,bd528d5,2177fb4,1d3293f,04f9164,36113c2,49f5ac7,cf33417,521eeb9,02e2c1e,02e2c1e,3b61c41,e16fcc7,c117904,fae8c02]:[email protected]
Patch Changes
#9529
bd528d5Thanks @dependabot! - chore: update dependencies of "miniflare" packageThe following dependency versions have been updated:
#9582
2177fb4Thanks @vicb! - Update capnp generated code from the workerd.capnp#9506
36113c2Thanks @penalosa! - Strip theCF-Connecting-IPheader from outgoing fetches#9493
e16fcc7Thanks @vicb! - bump capnp-es to 0.0.11 in miniflare@cloudflare/[email protected]
Patch Changes
bd528d5,2177fb4,36113c2,e16fcc7]:@cloudflare/[email protected]
Patch Changes
#9595
9793e5bThanks @vicb! - Addtype: modulein package.json#9473
fae8c02Thanks @dario-piotrowicz! - add experimental support for mixed mode#9536
3b61c41Thanks @dario-piotrowicz! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changed#9495
5710518Thanks @vicb! - bump capnp-es to 0.0.10Updated dependencies [
3b61c41,bd528d5,2177fb4,1d3293f,04f9164,36113c2,49f5ac7,cf33417,521eeb9,02e2c1e,02e2c1e,3b61c41,e16fcc7,c117904,fae8c02]:[email protected]
Patch Changes
#9536
3b61c41Thanks @dario-piotrowicz! - exposeUnstable_Bindingtype#9564
1d3293fThanks @skepticfx! - Switch container registry toregistry.cloudflare.comfromregistry.cloudchamber.cfdata.org.Also adds the env var
CLOUDFLARE_CONTAINER_REGISTRYto override this#9520
04f9164Thanks @vicb! - fix the default value for keep_names (true)#9506
36113c2Thanks @penalosa! - Strip theCF-Connecting-IPheader from outgoing fetches#9592
49f5ac7Thanks @petebacondarwin! - Point to the right location for docs on telemetry#9593
cf33417Thanks @vicb! - drop unusedWRANGLER_UNENV_RESOLVE_PATHSenv var#9566
521eeb9Thanks @vicb! - Bump@cloudflare/unenv-presetto 2.3.3#9344
02e2c1eThanks @dario-piotrowicz! - add warning about env not specified to potentially risky wrangler commandsadd a warning suggesting users to specify their target environment (via
-eor--env)when their wrangler config file contains some environments and they are calling one
of the following commands:
this is a measure we're putting in place to try to prevent developers from accidentally applying
changes to an incorrect (potentially even production) environment
#9344
02e2c1eThanks @dario-piotrowicz! - allow passing an empty string to the-e|--envflag to target the top-level environment#9536
3b61c41Thanks @dario-piotrowicz! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changed#9550
c117904Thanks @dario-piotrowicz! - allowstartWorkerto acceptfalseas aninspectoroption (to disable the inspector server)#9473
fae8c02Thanks @dario-piotrowicz! - expose newexperimental_maybeStartOrUpdateMixedModeSessionutilityUpdated dependencies [
bd528d5,2177fb4,36113c2,e16fcc7]:@cloudflare/[email protected]
Patch Changes
b0b59e0Thanks @penalosa! - Update Devtools Patches