Summary

MSW 3.0 is ESM-only, drops supported Node.js versions below 22 and requires TypeScript 5.9 or newer. The release adds a Vite plugin, GraphQL subscriptions, navigation and form interception, WebSocket events and fixes for browser-mode test flakiness.

Why it matters

MSW is widely used for API mocking, so its major runtime and module changes can affect frontend test suites and build pipelines at scale.

Sources