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
- 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
- Breaking
ctx.fetchutility now returns the entire response, not just the body (#373). - New
Adds support for mocking any GraphQL operation regardless of its type via
graphql.operationAPI (#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 matchHEADmethod requests (#356).
- Breaking
2 other lines we could not sort, mostly version bumps
- 0.21.0
Adjusts internal tooling to support contributors with Windows machines (#363, #364).
- 0.21.0
Updates dependencies (#376).
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.