Releases: mswjs/msw
Releases Β· mswjs/msw
v2.2.1
v2.2.0
v2.2.0 (2024-02-12)
Features
- support concurrent test runs via "server.boundary" (announcement, #2000) (450e7bc) @kettanaito
- automatically set "Content-Length" on text/json responses (#1996) (a957235) @kettanaito
- add
msw/core/http
andmsw/core/graphql
export paths (#2004) (31442cf) @thepassle @kettanaito - drop webpack 4 support (remove "chokidar") (#2021) (a076142) @sairus2k @kettanaito
- use a lightweight "@inquirer/confirm" in the CLI (#2020) (f25af8a) @sairus2k @kettanaito
Bug Fixes
- setupWorker: set "response.url" in "response:*" events (#2031) (0e9d65f) @kettanaito
v2.1.7
v2.1.7 (2024-02-06)
Bug Fixes
- support intercepting fetch requests in React Native (#2017) (e430795) @sairus2k @kettanaito
- improve fetch compatibility with React Native (#2016) (aeafcd2) @kettanaito
Special thanks to @willdawsonme for investigating these issues.
v2.1.6
v2.1.5
v2.1.5 (2024-01-25)
Bug Fixes
- add "request" to response events (#1993) (bad537f) @kettanaito
- does not warn on unhandled "file://" requests (#1997) (5afedb1) @kettanaito
- resolve relative fetch urls in jsdom (#1999) (82ab765) @kettanaito
v2.1.4
v2.1.4 (2024-01-23)
Bug Fixes
- bundle browser build (#1988) (1cbf615) @thepassle @kettanaito
- removes request parsing from "onUnhandledRequest" (#1990) (bc0bea6) @kettanaito
v2.1.3
v2.1.3 (2024-01-22)
Bug Fixes
- export "getResponse" for batched GraphQL queries (#1982) (42f1473) @kettanaito
- reduce library footprint by avoiding barrel imports (#1987) (b803e26) @thepassle
v2.1.2
v2.1.2 (2024-01-17)
Bug Fixes
- export "HttpRequestHandler" and "GraphQLRequestHandler" types (#1973) (ca423d9) @kettanaito
v2.1.1
v2.1.0
v2.1.0 (2024-01-15)
Features
- up tsconfig target for more modern syntax (#1780) (29182ce) @thepassle @kettanaito
- add "requestId" as response resolver argument (#1942) (51ab8cc) @skvale @kettanaito
- support multiple directories in "msw.workerDirectory" (#1832) (4dbf99a) @kettanaito
- deprecate "waitUntilReady" (deferNetworkUntil) worker option (#1964) (86a22ac) @kettanaito
- support throwing responses in response resolvers (#1963) (39dc0e6) @kettanaito
Shoutout to @mattcosta7 for his continuous on the library's performance and stability π