github mswjs/msw v0.24.0

latest releases: v2.3.1, v2.3.0, v2.2.14...
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.