Releases: mswjs/msw
Releases · mswjs/msw
v2.0.11
v2.0.11 (2023-12-11)
Bug Fixes
- expose mockServiceWorker.js file in package exports (#1922) (5736efc) @thepassle
v2.0.10
v2.0.10 (2023-12-04)
Bug Fixes
- null-body responses enforced in createResponseListener instead o… (#1895) (ed09722) @mattcosta7
v2.0.9
v2.0.9 (2023-11-24)
Bug Fixes
- skip parsing GraphQL requests if the request url doesn't match (#1871) (565e802) @mattcosta7 @kettanaito
- throw on invalid request handlers value in ".use()" (#1876) (ce73dfe) @kettanaito
- resolve segfault issue caused by "node:events" import (#1885) (f188d77) @mattcosta7 @kettanaito
v2.0.8
v2.0.8 (2023-11-17)
Bug Fixes
- graphql: allow null for "data" and "errors" response property types (#1867) (a7ffd32) @kettanaito
v2.0.7
v2.0.7 (2023-11-16)
Bug Fixes
- encode cookie string before forwarding request cookies (#1815) (c2d8e98) @Jungzl @kettanaito
- react-native: import "node:events" lazily (#1858) (0d79ec4) @kettanaito
- change request cookie type to be Record<string, string> (#1857) (75bbb96) @ezzatron @kettanaito
v2.0.6
v2.0.6 (2023-11-13)
Bug Fixes
- GraphQL: expose request cookies in "cookies" argument (#1853) (463b74f) @kettanaito
- correct docs link for anonymous GraphQL operations (#1850) (e628278) @okkimus @kettanaito
v2.0.5
v2.0.5 (2023-11-10)
Bug Fixes
- xhr: support environments without location (React Native) (#1849) (f6601d9) @kettanaito
v2.0.4
v2.0.4 (2023-11-08)
Bug Fixes
- safely access "request.credentials" in cloudflare (#1845) (bd0cec7) @kettanaito @mattcosta7
- safely access "Response.type" in cloudflare (#1846) (ccd7096) @kettanaito @mattcosta7
- allow setting "timeout" on XMLHttpRequest (#1844) (6296429) @kettanaito
- update @mswjs/interceptors to 0.25.8 (#1842) (629a3cf) @kettanaito
- allow overriding "Content-Type" in HttpResponse static methods (#1839) (a037e3a) @kettanaito
- narrow
body
type forHttpResponse.json()
to be serializable json (#1838) (2af274c) @kettanaito - remove "formdata-node" dependency (#1837) (d49d48e) @kettanaito
v2.0.3
v2.0.3 (2023-11-04)
Bug Fixes
- correctly check "undefined" as response body type (#1824) (a0ec8be) @kettanaito
- Safari: send explicit null response bodies (#1833) (66fb437) @kettanaito
v2.0.2
v2.0.2 (2023-11-01)
Bug Fixes
- output a single formatted message to console (#1820) (2ead392) @kettanaito
- prevent one-time handlers from incorrectly marking themselves as used (#1822) (a179b68) @joshkel
- resolve the "eventTargets" error in JSDOM by dropping "instanceof" (#1813) (f6e5112) @mattcosta7