github cloudflare/workers-sdk miniflare@4.20260103.0

latest releases: @cloudflare/pages-shared@0.13.97, miniflare@4.20260107.0, wrangler@4.58.0...
3 days ago

Minor Changes

  • #11648 eac5cf7 Thanks @pombosilva! - Add Workflows test handlers in vitest-pool-workers to get the Workflow instance output and error:

    • getOutput(): Returns the output of the successfully completed Workflow instance.
    • getError(): Returns the error information of the errored Workflow instance.

    Example:

    // First wait for the workflow instance to complete:
    await expect(
    	instance.waitForStatus({ status: "complete" })
    ).resolves.not.toThrow();
    
    // Then, get its output
    const output = await instance.getOutput();
    
    // Or for errored workflow instances, get their error:
    await expect(
    	instance.waitForStatus({ status: "errored" })
    ).resolves.not.toThrow();
    const error = await instance.getError();

Patch Changes

  • #11714 65d1850 Thanks @dependabot! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20251217.0 1.20251219.0
  • #11732 1615fce Thanks @dependabot! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20251219.0 1.20251221.0
  • #11748 b2769bf Thanks @dependabot! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20251221.0 1.20251223.0
  • #11791 554a4df Thanks @dependabot! - chore: update dependencies of "miniflare" package

    The following dependency versions have been updated:

    Dependency From To
    workerd 1.20251223.0 1.20260103.0
  • #11642 8eede3f Thanks @petebacondarwin! - Fix intermittent "Fetch failed" errors in Miniflare tests on Windows

    Miniflare tests would occasionally fail with "Fetch failed" errors (particularly on Windows CI runners) due to race conditions between undici's Keep-Alive mechanism and the Miniflare server closing idle connections. Miniflare now configures the Dispatcher to prevent connection reuse and eliminate these race condition errors.

  • #11493 6a05b1c Thanks @GameRoMan! - Update zod from 3.22.3 to 3.25.76

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.