miniflare
4.20260730.0 · 30 Jul 2026MIT57.5M / weekRepositoryHomepagenpmAtom feed
4.20260730.0 is the newest release of 4.x.
In short
1 new1 fixed2 internal
Release note
Minor Changes
Add support for Email Sending API's MessageBuilder interface in local mode
Miniflare now supports the simplified MessageBuilder interface for sending emails, alongside the existing
EmailMessagesupport.Example usage:
await env.EMAIL.send({ from: { name: "Alice", email: "alice@example.com" }, to: ["bob@example.com"], subject: "Hello", text: "Plain text version", html: "<h1>HTML version</h1>", attachments: [ { disposition: "attachment", filename: "report.pdf", type: "application/pdf", content: pdfData, }, ], });In local mode, email content (text, HTML, attachments) is stored to temporary files that you can open in your editor or browser for inspection. File paths are logged to the console when emails are sent.
Patch Changes
Bump capnp-es to ^0.0.14
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.