miniflare@4.20260103.0
📦 cloudflare-workersView on GitHub →
✨ 1 features🐛 1 fixes🔧 2 symbols
Summary
This release introduces new test handlers for Cloudflare Workflows in vitest-pool-workers and resolves intermittent test failures on Windows related to connection handling in Miniflare.
✨ New Features
- Added Workflows test handlers in vitest-pool-workers: \`getOutput()\` to return the output of a successfully completed Workflow instance, and \`getError()\` to return error information for errored Workflow instances.
🐛 Bug Fixes
- Fixed intermittent "Fetch failed" errors in Miniflare tests on Windows by configuring the Dispatcher to prevent connection reuse and eliminate race conditions related to undici's Keep-Alive mechanism and server connection closing.
🔧 Affected Symbols
getOutput()getError()