Packages

msw

3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed

Upgrading msw From 0.20.5 to 0.21.0

1 release in betweenevery note read

Other targets from 0.20.5Newest 0.x0.49.3Latest3.0.7
  1. 0.20.5yours
  2. 0.21.0target
1
change to make
0
advisories fixed
6
new
3
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.21.0

Release by release

  1. 0.21.0

    Migration needed10 Sep 20206 new · 3 fixes
    • Breaking

      ctx.fetch utility now returns the entire response, not just the body (#373).

    • New

      Adds support for mocking any GraphQL operation regardless of its type via graphql.operation API (#343).

    • New

      Adds support for request and response body type generics to rest.* request handlers (#345, #352).

    • New

      Adds support to rest.head() request handler to match HEAD method requests (#356).

2 other lines we could not sort, mostly version bumps
  • Adjusts internal tooling to support contributors with Windows machines (#363, #364).

    0.21.0
  • Updates dependencies (#376).

    0.21.0

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.