Releases: mswjs/interceptors
Releases · mswjs/interceptors
v0.25.9
v0.25.9 (2023-11-08)
Bug Fixes
- xhr: allow setters for non-existing properties (#477) (4e73ed9) @kettanaito
v0.25.8
v0.25.8 (2023-11-07)
Bug Fixes
- XMLHttpRequest: prevent invalid listener name access (#472) (fb8a400) @hpohlmeyer
v0.25.7
v0.25.7 (2023-10-08)
Bug Fixes
- ClientRequest: support "http.request()" and "http.get()" without any arguments (#468) (65b7ac1) @kettanaito
- ClientRequest: support throwing custom errors in request listener (#453) (198533a) @mikicho @kettanaito
- ClientRequest: suppress the "EHOSTUNREACH" connection error (#467) (469fd9c) @kettanaito
- ClientRequest: suppress "ENETUNREACH" socket error (#454) (1c5fab5) @mikicho @kettanaito
- ClientRequest: preserve headers casing on mocked responses (#463) (fa5a34a) @mikicho @kettanaito
v0.25.6
v0.25.5
v0.25.5 (2023-09-26)
Bug Fixes
- ClientRequest: support empty "username" and "password" basic auth values (#447) (01aa28d) @mikicho @kettanaito
- ClientRequest: respect "options.path" over "url.pathname" (#441) (3ae4b4c) @mikicho @kettanaito
v0.25.4
v0.25.4 (2023-09-22)
Bug Fixes
- ClientRequest: support the "auth" option (#440) (8d04c08) @mikicho @kettanaito
v0.25.3
v0.25.3 (2023-09-21)
Bug Fixes
- ClientRequest: ignore message body for responses without body (#436) (db08d08) @kettanaito
- ClientRequest: ignore request destroyed state when responding with a mocked response (#432) (217c6e9) @kettanaito
- upgrade "strict-event-emitter" to 0.5.1 (#434) (e73e809) @kettanaito
v0.25.2
v0.25.2 (2023-09-20)
Bug Fixes
- Interceptor: wrap the "once" event listener, ditch "untilIdle" Promise (#430) (cf4e228) @kettanaito
- add "once", "off", and "removeAllListeners" to the Interceptor class (#427) (04152ed) @kettanaito
v0.25.1
v0.25.1 (2023-09-07)
Bug Fixes
- update @open-draft/deferred-promise to 2.2.0 (esm) (#415) (4687327) @kettanaito
v0.25.0
v0.25.0 (2023-09-07)
Features
- support "Response.error()" for mocking network errors (#414) (76a502b) @kettanaito