Skip to content

Releases: mswjs/interceptors

v0.34.3

13 Aug 23:18
Compare
Choose a tag to compare

v0.34.3 (2024-08-13)

Bug Fixes

v0.34.2

09 Aug 23:18
Compare
Choose a tag to compare

v0.34.2 (2024-08-09)

Bug Fixes

v0.34.1

06 Aug 12:31
Compare
Choose a tag to compare

v0.34.1 (2024-08-06)

Bug Fixes

v0.34.0

01 Aug 10:56
Compare
Choose a tag to compare

v0.34.0 (2024-08-01)

Features

v0.33.3

31 Jul 23:18
Compare
Choose a tag to compare

v0.33.3 (2024-07-31)

Bug Fixes

v0.33.2

24 Jul 21:37
Compare
Choose a tag to compare

v0.33.2 (2024-07-24)

Bug Fixes

v0.33.1

12 Jul 23:17
Compare
Choose a tag to compare

v0.33.1 (2024-07-12)

Bug Fixes

v0.33.0

11 Jul 17:02
Compare
Choose a tag to compare

v0.33.0 (2024-07-11)

Warning

This release contains BREAKING CHANGES.

⚠️ BREAKING CHANGES

  • request.respondWith() has been deprecated in favor of controller.respondWith()
interceptor.on('request',
-  ({ request }) => request.respondWith(new Response()),
+  ({ controller }) => controller.respondWith(new Response())

The request instance exposed in the listener arguments is a raw, unmodified Fetch API Request instance representing the intercepted request.

Features

  • implement a RequestController class (#595) (73dd07a) @kettanaito
  • support for erroring requests using controller.errorWith(error)

v0.32.2

11 Jul 16:58
Compare
Choose a tag to compare

v0.32.2 (2024-07-11)

Bug Fixes

v0.32.1

06 Jul 23:16
Compare
Choose a tag to compare

v0.32.1 (2024-07-06)

Bug Fixes