Packages

msw

3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed

Upgrading msw From 0.28.2 to 0.29.0

1 release in betweenevery note read

Other targets from 0.28.2Newest 0.x0.49.3Latest3.0.7
  1. 0.28.2yours
  2. 0.29.0target
1
change to make
0
advisories fixed
2
new
4
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.29.0

Release by release

  1. 0.29.0

    Migration needed23 May 20212 new · 4 fixes
    • Breaking

      The onUnhandledRequest option is set to "warn" by default (previously ”bypass") (#703).

    • New

      Adds Fallback mode. This enables MSW in browsers that don’t support Service Worker API, or in the applications that run from a static file (#688). Fallback mode is enabled internally and is not configurable.

    • New

      Running npx msw init now recursively creates a non-existing worker directory (#699).

    • Fixed

      Fixes an issue that resulted in a memory leak when running multiple tests dependent on setupServer (#116).

    • Fixed

      Fixes an issue that resulted in a proper XML response body not being accessible under xhrInstance.responseXML in Node.js (#715).

    • Fixed

      Fixes an issue when an expired response cookie persisted on a mocked response after its expiration date (#708).

    • Fixed

      Fixes an issue that resulted in ESLint complaining about the pragma comment of the worker script (#693).

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.