npm msw 0.24.0

latest releases: 2.6.5, 2.6.4, 2.6.3...
3 years ago

Breaking changes

  • ctx.json context utility now always stringifies the response body (#468).
  • Removes JSON response body transformer as the default response body transformer. Nothing implicitly transforms the response body now.

Migration guidelines

  • Replace custom response transformers that might have affected the end response body, such as custom serializers, with custom response transformers.

Bug fixes

  • Fixes an issue that resulted in a response body being stringified twice (#466).

Don't miss a new msw release

NewReleases is sending notifications on new releases.