Change8

@cloudflare/vitest-pool-workers@0.18.7

📦 cloudflare-workersView on GitHub →
1 features🐛 3 fixes🔧 3 symbols

Summary

This patch release addresses issues with non-ASCII characters in Windows paths affecting Miniflare's WebSocket handshake and module fallback, and improves Durable Object handler behavior in Vitest.

✨ New Features

  • Support testing Streaming Tail Workers in Vitest Pool Workers.

🐛 Bug Fixes

  • Fixed a non-ASCII path failure during Miniflare WebSocket handshake by percent-encoding the `MF-Vitest-Worker-Data` header value.
  • Fixed a runtime start-up failure ("No such module \"cloudflare:test-internal\"") when the project workspace path contains non-ASCII characters on Windows by percent-encoding paths in the module fallback service's redirect response.
  • Treat `webSocketMessage()`, `webSocketClose()`, and `webSocketError()` as optional Durable Object handlers to match deployed behavior and prevent uncaught TypeErrors.

Affected Symbols