github cloudflare/workers-sdk miniflare@4.20260116.0

latest releases: wrangler@4.59.3, create-cloudflare@2.62.3, @cloudflare/devprod-status-bot@1.3.0...
8 hours ago

Minor Changes

  • #11942 133bf95 Thanks @penalosa! - 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 EmailMessage support.

    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 8e4a0e5 Thanks @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 133bf95 Thanks @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 202c59e Thanks @emily-shen! - chore: update undici

    The following dependency versions have been updated:

    Dependency From To
    undici 7.14.0 7.18.2
  • #11943 25e2c60 Thanks @vicb! - Bump capnp-es to ^0.0.14

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.