github cloudflare/workers-sdk miniflare@4.20260219.0

latest release: wrangler@4.67.0
8 hours ago

Minor Changes

  • #12462 f239077 Thanks @petebacondarwin! - Add Miniflare#purgeCache() method to clear cache entries programmatically

    This allows developers to clear cached data during local development without
    restarting the Miniflare instance. Useful when working with Workers Sites
    or any application that uses the Cache API.

    const mf = new Miniflare({
    	/* options */
    });
    
    // Purge the default cache
    await mf.purgeCache();
    
    // Purge a specific named cache
    await mf.purgeCache("my-named-cache");
  • #12574 527e4f5 Thanks @emily-shen! - Local explorer: add /query endpoint to introspect sqlite in DOs

    This required adding a wrapper that extends user DO classes and adds in an extra method to access ctx.storage.sql. This shouldn't have any impact on user code, but is gated by the env var X_LOCAL_EXPLORER.

    This is for an experimental WIP feature.

Patch Changes

  • #12592 aaa7200 Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20260217.0 1.20260218.0
  • #12606 2f19a40 Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20260218.0 1.20260219.0
  • #12597 0b17117 Thanks @sdnts! - The maximum allowed delivery and retry delays for Queues is now 24 hours

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.