github mswjs/msw v2.13.0

5 hours ago

v2.13.0 (2026-04-06)

Features

  • use the network source architecture (defineNetwork) (#2650) (2b73790) @kettanaito @felmonon
  • handlers are now grouped internally by kind, making handler lookup a O(1) operation.
  • handlers filtering no longer uses an instanceof check. Instead, the kind property of the handler is used.

Bug fixes

  • fix an issue where a WebSocket connection would be logged in the console even when there are no matching event handlers for it.

Don't miss a new msw release

NewReleases is sending notifications on new releases.