Minor Changes
-
#11883
4714ca1Thanks @dario-piotrowicz! - AddMF-Original-Hostnameheader when using theupstreamoptionWhen using the
upstreamoption in Miniflare, theHostheader is rewritten to match the upstream server, which means the original hostname is lost. This change adds a newMF-Original-Hostnameheader that preserves the original hostname from the incoming request.This allows Workers to access the original hostname when proxying requests through an upstream server:
export default { async fetch(request) { const originalHostname = request.headers.get("MF-Original-Hostname"); // originalHostname contains the hostname before it was rewritten }, };
Patch Changes
-
#11908
e78186dThanks @dependabot! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260111.0 1.20260114.0 -
#11898
c17e971Thanks @petebacondarwin! - Bundle more third-party dependencies to reduce supply chain riskPreviously, several small utility packages were listed as runtime dependencies and
installed separately. These are now bundled directly into the published packages,
reducing the number of external dependencies users need to trust.Bundled dependencies:
- miniflare:
acorn,acorn-walk,exit-hook,glob-to-regexp,stoppable - kv-asset-handler:
mime - vite-plugin-cloudflare:
@remix-run/node-fetch-server,defu,get-port,picocolors,tinyglobby - vitest-pool-workers:
birpc,devalue,get-port,semver
- miniflare: