Skip to content

Releases: mswjs/interceptors

v0.17.1

04 Jul 12:56
Compare
Choose a tag to compare

v0.17.1 (2022-07-04)

Bug Fixes

  • IsomorphicRequest: keep body as a private "_body" property (#268) (66c5cf7)

v0.17.0

04 Jul 11:20
Compare
Choose a tag to compare

v0.17.0 (2022-07-04)

Features

  • use "IsomorphicRequest" class to handle request body as buffer (#267) (e305d38)

v0.16.6

15 Jun 23:22
Compare
Choose a tag to compare

v0.16.6 (2022-06-15)

Bug Fixes

  • assert unpatched modules state before applying patches (#261) (60e879e)

v0.16.5

09 Jun 23:21
Compare
Choose a tag to compare

v0.16.5 (2022-06-09)

Bug Fixes

  • ClientRequest: prevent requests issued by "follow-redirects" from hanging infinitely (#260) (aa4d55f)

v0.16.4

30 May 23:23
Compare
Choose a tag to compare

v0.16.4 (2022-05-30)

Bug Fixes

  • fetch: set "response.url" on mocked responses (#255) (5cf5909)

v0.16.3

30 May 00:46
Compare
Choose a tag to compare

v0.16.3 (2022-05-30)

Bug Fixes

  • ignore irrelevant request listeners during response patching (#253) (17d9794)

v0.16.2

28 May 11:19
Compare
Choose a tag to compare

v0.16.2 (2022-05-28)

Bug Fixes

  • remove "RemoteHttpInterceptor" export from the main (#250) (c8f167c)
  • XMLHttpRequest: set "responseURL" for mocked responses (#251) (26f7ef9)

v0.16.1

28 May 10:35
Compare
Choose a tag to compare

v0.16.1 (2022-05-28)

Bug Fixes

  • export "Interceptor", "BatchInterceptor" classes (#249) (6310fdd)

v0.16.0

21 May 12:18
Compare
Choose a tag to compare

v0.16.0 (2022-05-21)

Features

  • adopt event-based architecture (12dc549)

Bug Fixes

  • ClientRequest: add "EAI_AGAIN" to suppressed errors list (#243) (0c8f334)
  • getIncomingMessageBody: Make getIncomingMessageBody return on empty body (#223) (6ed8208)
  • ClientRequest: skip callback when writing empty chunk (#228) (4a58f8b)

v0.15.1

10 Mar 17:20
0a85d59
Compare
Choose a tag to compare

0.15.1 (2022-03-10)

Bug Fixes

  • set minimal supported Node.js version to 14 (cd803f9)