Packages

msw

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

Upgrading msw From 2.13.6 to 3.0.7

17 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.13.6Newest 2.x2.15.0
  1. 2.13.6yours
  2. 9 releases
  3. 3.0.0major
  4. 6 releases
  5. 3.0.7target

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

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.

3 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

4 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.