Skip to content

Latest commit

 

History

History
91 lines (45 loc) · 5.45 KB

CHANGELOG.md

File metadata and controls

91 lines (45 loc) · 5.45 KB

Changelog

0.6.0 (2025-02-21)

Features

  • Add FetchMocker#mockObject() method to mock non-global fetch (#59) (43495c5)
  • Implement 'no-cors' mode for fetch (#62) (d394e75)

Bug Fixes

  • Ensure Response#mode is 'cors' when Request#type is 'cors' (#60) (910bc87)

0.5.2 (2025-02-19)

Bug Fixes

  • Limit Access-Control-Request-Headers to unsafe headers only (#53) (a604e46)
  • Unsafe CORS content-type throws error without Access-Control-Allow-Headers (#55) (ab3136b), closes #41

0.5.1 (2025-02-13)

Bug Fixes

  • Ensure forbidden CORS headers throw an error (#51) (e472e14), closes #40
  • Request without a body should not throw an error (#49) (0b6b981), closes #48

0.5.0 (2025-02-12)

Features

  • Add response creator function support (#45) (1af9805)
  • Mocking credentialed requests (#39) (cacb6d0)

0.4.0 (2025-02-05)

Features

Bug Fixes

0.3.0 (2025-01-31)

Features

  • Add ability to delay generating a response (#28) (9a384b3)
  • Implement Access-Control-Expose-Headers (#31) (60b5fd0)

Bug Fixes

0.2.0 (2025-01-29)

Features

Bug Fixes

  • deps: update dependency sharp to ^0.33.0 (#11) (235ca34)
  • Ensure request ArrayBuffer body works (#23) (b561ad7)

0.1.0 (2025-01-25)

Features

  • Add baseUrl option to FetchMocker (541a6bc)
  • Add MockServer#traceReceive() method (1a77cf5)
  • Add support for CORS requests (#14) (b3d0323)
  • Add URL parameter matching (8481d81)
  • Fetch Mocker cheks for partial matches (d73d72c)

Bug Fixes