Packages

msw

3.0.7 · 18 Nov 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed

Upgrading msw From 0.47.4 to 3.0.7

163 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.47.4Newest 0.x0.49.3
  1. 0.47.4yours
  2. 0.48.0major
  3. 3 releases
  4. 0.49.0major
  5. 3 releases
  6. 1.0.0major
  7. 15 releases
  8. 2.0.0major
  9. 51 releases
  10. 2.4.8security
  11. 11 releases
  12. 2.6.3breaking
  13. 66 releases
  14. 3.0.0major
  15. 6 releases
  16. 3.0.7target

Start here

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

  • Address express and path-to-regexp vulnerabilities

    2.4.8

Release by release

  1. 3.0.7

    18 Nov 20261 fix
  2. 3.0.6

    15 Nov 20261 fix
    • Fixed

      Preserve optional path parameters and pipes in handler paths

  3. 3.0.5

    11 Nov 20261 new
    • New

      Add handler to the "request:match" event

  4. 3.0.4

    6 Nov 20261 new · 1 fix
    • New

      isCommonAssetRequest: add ico to common assets

    • Fixed

      worker: prevent the worker from going idle

  5. 3.0.3

    10 Oct 20262 fixes
    • Fixed

      HandlersController: dispose of reset handlers

    • Fixed

      Expose network context on enable in network sources

  6. 3.0.2

    3 Oct 20261 fix
    • Fixed

      vite: support virtual:msw imports in vitest

  7. 3.0.1

    30 Sep 20261 fix
    • Fixed

      Treat CONNECT requests as the transport mechanism

  8. 3.0.0

    Migration needed28 Sep 202611 new · 4 fixes
    • Breaking

      MSW is now ESM-only (#2765).

    • Breaking

      msw/native is removed in favor of @msw/react-native.

    • Breaking

      Require TypeScript 5.9 as the minimal version.

    • Breaking

      worker.stop() returns a Promise (#2724). Awaiting it is relevant only for in-flight critical scenarios.

6 other lines we could not sort, mostly version bumps
  • v3.0.0 (#2692) (2bb43428b79ac06f94bb8ea8aeacd6102fe31f56) @kettanaito @Andarist

    3.0.0
  • path-to-regexp

    3.0.0
  • strict-event-emitter

    3.0.0
  • Revert "graphql" as optional peer dependency

    2.4.3
  • context and related exports (defaultContext, restContext, graphqlContext).

    2.0.0
  • compose and createResponseComposition

    2.0.0

16 internal lines (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.