msw

Seamless REST/GraphQL API mocking library for browser and Node.js.

MIT License

Downloads
15.7M
Stars
14.9K
Committers
153

Bot releases are hidden (Show)

msw - v1.2.0

Published by kettanaito over 1 year ago

v1.2.0 (2023-03-22)

Features

  • add operationName to GraphQL request (#1568) (115b435aef089a3c4fe9a618d5756c9cb944fe13) @ligaz @kettanaito
msw - v1.1.1

Published by kettanaito over 1 year ago

v1.1.1 (2023-03-20)

Bug Fixes

  • typescript: support typescript 5.0 (#1566) (c0616d1473d168018ad8bba7194f8654a6ed153a) @mattcosta7
msw - v1.1.0

Published by kettanaito over 1 year ago

v1.1.0 (2023-02-24)

Features

  • support global fetch in Node.js (#1543) (049f21df0e7c1b9811e083e83b7534cf0a06021a) @kettanaito

Bug Fixes

  • return types of "setupWorker" and "setupServer" API (#1540) (78d18344388d5e17cb71ae67f5d250ce139baf59) @kettanaito
msw - v1.0.1

Published by kettanaito over 1 year ago

v1.0.1 (2023-02-10)

Bug Fixes

  • add "package.json" subpath export (#1530) (12a581f480e3a2f9bdcda7874f98114c148c9d85) @iceu-bb @kettanaito
msw - v1.0.0

Published by kettanaito over 1 year ago

v1.0.0 (2023-01-25)

⚠️ BREAKING CHANGES

  • rename "SetupWorkerApi"/"SetupServerApi" types to "SetupWorker"/"SetupServer" (#1478) (4fde47ef00bbddc6fdea2b6bdb8ac77b1d398c33) @gduliscouet-ubitransport @kettanaito

Features

  • throw and suggest a URL polyfill for React Native (#1520) (b4ac82921d13bd539f1d53ec9c6345c91dc6637b) @kettanaito
msw - v0.49.3

Published by kettanaito almost 2 years ago

v0.49.3 (2023-01-19)

Bug Fixes

  • use EventTarget-based event emitter (#1522) (6a94b8c06d7a6fbc7be0c5224ba35f38888964b1) @chrisguttandin
msw - v0.49.2

Published by kettanaito almost 2 years ago

v0.49.2 (2022-12-13)

Bug Fixes

  • use globalThis.fetch in ctx.fetch utility (#1490) (42cdbc79654d90b3edce747ea044513f2f964958) @Toxiapo @kettanaito
msw - v0.49.1

Published by kettanaito almost 2 years ago

v0.49.1 (2022-11-28)

Bug Fixes

  • setupWorker: resolve the TS4094 error (#1477) (c268796eb7a20a1b1f2959cdb1b256a36519a60d) @gduliscouet-ubitransport
msw - v0.49.0

Published by kettanaito almost 2 years ago

v0.49.0 (2022-11-19)

Features

  • support TypeScript 4.9, drop support for TypeScript 4.2, 4.3 (#1467) (af0277da900e20c7fb270ddb46be20deb487aefc) @wtchnm
msw - v0.48.3

Published by kettanaito almost 2 years ago

v0.48.3 (2022-11-15)

Bug Fixes

  • SetupApi: validate given request handlers (#1460) (a06a9447d09d93a2a0a108cb27bc183e5bd4716d) @kettanaito
  • inline statuses dependency during the build (#1458) (99d49f9b1ee71cdb945bd9ae3e78d89c23c2b74e) @mattcosta7 @kettanaito
msw - v0.48.2

Published by kettanaito almost 2 years ago

v0.48.2 (2022-11-13)

Bug Fixes

  • resolve absolute worker url against the current path (#1456) (f8d15b41a941613cd4868cf0e85d2d3aa075d067) @kettanaito
msw - v0.48.1

Published by kettanaito almost 2 years ago

v0.48.1 (2022-11-10)

Bug Fixes

  • bufferUtils import path (#1453) (91b2902ded79bea2d649057bd7858862ac91c4c4) @cksal0805
msw - v0.48.0

Published by kettanaito almost 2 years ago

v0.48.0 (2022-11-08)

Features

  • add "SetupApi" base class (#1445) (85ba8440f57d15e6ce948f2350488365e809dce5) @Toxiapo @kettanaito
  • do not interfere with shared workers (#1448) (670dda7b97f6430418d6faf09698f9a1bca5cf07) @mucsi96 @kettanaito
  • makes the library esm-compatible (#1399) (41798ebc695e04719e198a7867be6d80e053fd0e) @ivanhofer @kettanaito
msw - v0.47.4

Published by kettanaito about 2 years ago

v0.47.4 (2022-10-04)

Bug Fixes

  • correctly link types in package.json exports field (#1395) (3902b8c216b2254beef7c35519cc2242b4535b22) @ivanhofer @kettanaito
  • include error stack in log when handling uncaught exceptions (#1417) (933a9d607f12cb0d510c40ce3572168a39f26566) @jkieboom @kettanaito
  • remove duplicate response logging in the browser console (#1418) (78d155fd46b7b711dfd6c70f62da96fbad5c55fa) @snaka @kettanaito
msw - v0.47.3

Published by kettanaito about 2 years ago

v0.47.3 (2022-09-15)

Bug Fixes

  • update "headers-polyfill" and "@mswjs/interceptors" to fix "/lib" issue (#1407) (41d8c0895e5ca7bf12da86a8a94b974e19b93d5d)
msw - v0.47.2

Published by kettanaito about 2 years ago

v0.47.2 (2022-09-13)

Bug Fixes

  • fix a typo in the "listHandlers" method jsdoc (#1403) (c90eafb5caf0d27b81eced6cae4d1a257a7757b6)
msw - v0.47.1

Published by kettanaito about 2 years ago

v0.47.1 (2022-09-10)

Bug Fixes

  • print response log only when response arrives (#1392) (638fad9640885c0a85153c1b9ade61495d4295bb)
msw - v0.47.0

Published by kettanaito about 2 years ago

v0.47.0 (2022-09-04)

Features

  • add explicit exports map in package.json (#1383) (5e1c1a6a9ab4450073adf571d4b68978d177bf52)
msw - v0.46.1

Published by kettanaito about 2 years ago

v0.46.1 (2022-09-01)

Bug Fixes

  • deps: include "graphql" as a dependency (#1381) (8436515fd93e3f372205815b52ffc3a572da2690)
msw - v0.46.0

Published by kettanaito about 2 years ago

v0.46.0 (2022-08-31)

Features

  • fix a typo in the worker script (62f7c4d885c73c7401af85ca2e5da2db9f2cf212)
  • support typescript v4.8 (#1375) (631f6297979e0b398d1353963ad7b4166e53f40c)
  • add "listHandlers" method to server and worker (#1369) (18f57789f6ff620c0b1c2ee472673eb85d0575c9)
server.listHandlers()
worker.listHandlers()