Packages

msw

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

Upgrading msw From 1.2.1 to 3.0.7

149 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.2.1Newest 1.x1.3.5
  1. 1.2.1yours
  2. 10 releases
  3. 2.0.0major
  4. 51 releases
  5. 2.4.8security
  6. 11 releases
  7. 2.6.3breaking
  8. 66 releases
  9. 3.0.0major
  10. 6 releases
  11. 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

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