github cloudflare/workers-sdk @cloudflare/workers-utils@0.11.2

Patch Changes

  • #12629 603fe18 Thanks @petebacondarwin! - Add removeDir and removeDirSync helpers with automatic retry logic for Windows EBUSY errors

    These new helpers wrap fs.rm/fs.rmSync with maxRetries: 5 and retryDelay: 100 to handle cases where file handles aren't immediately released (common on Windows with workerd).
    The async helper also has a fireAndForget option to silently swallow errors and not await removal.

    This improves reliability of cleanup operations across the codebase.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.