Minor Changes
-
#11942
133bf95Thanks @penalosa! - Add support for Email Sending API's MessageBuilder interface in local modeMiniflare 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
-
#11925
8e4a0e5Thanks @dependabot! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260114.0 1.20260115.0 -
#11942
133bf95Thanks @penalosa! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To workerd 1.20260115.0 1.20260116.0 -
#11967
202c59eThanks @emily-shen! - chore: update undiciThe following dependency versions have been updated:
Dependency From To undici 7.14.0 7.18.2