Closed kettanaito closed 2 weeks ago
Improves an existing behavior
This shouldn't be needed anymore:
https://github.com/mswjs/msw/blob/6702d778c541ebae09d5799490f645b57a12c01f/src/core/utils/handleRequest.ts#L25-L29
This option used to exist to provide response format compatibility between the consumer and the interceptors. Now, it's always the Fetch API Response. We need to remove this option and its usage altogether.
Response
This has been released in v2.6.3!
Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.
npm i msw@latest
Predictable release automation by @ossjs/release.
Scope
Improves an existing behavior
Compatibility
Feature description
This shouldn't be needed anymore:
https://github.com/mswjs/msw/blob/6702d778c541ebae09d5799490f645b57a12c01f/src/core/utils/handleRequest.ts#L25-L29
This option used to exist to provide response format compatibility between the consumer and the interceptors. Now, it's always the Fetch API
Response
. We need to remove this option and its usage altogether.