miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
1 new1 fixed
Release note
Minor Changes
Add
unsafeHandleDevRegistryUpdatecallback option to MiniflareAdds a new option to Miniflare that allows users to register a callback function that gets invoked whenever the dev registry is updated with changes to external services that the current Worker depends on.
This callback is useful for scenarios where you need to react to changes in bound services, such as updating bindings tables or reloading configurations when dependent Workers are added, removed, or modified in the dev registry.
const mf = new Miniflare({ // ... other options unsafeHandleDevRegistryUpdate(registry) { console.log("Dev registry updated:", registry); // Handle registry updates (e.g., reprint bindings, reload config) }, });
Patch Changes
Browser Rendering for local development now uses @puppeteer/browsers package instead of puppeteer
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.