0.8.0 (2025-03-07)
0.7.1 (2025-03-03)
0.7.0 (2025-02-27)
- Implement fetch with mode: 'same-origin' (9add18f)
- Implement fetch with mode: "same-origin" (#65) (9add18f)
- Pass more detail to response creator functions (#67) (dc78d00)
- CORS errors should be TypeErrors (#70) (98a46ba)
- Ensure Access-Control-Allow-Origin header contains valid origin (#68) (0e529ee)
0.6.0 (2025-02-21)
- Add FetchMocker#mockObject() method to mock non-global fetch (#59) (43495c5)
- Implement 'no-cors' mode for fetch (#62) (d394e75)
0.5.2 (2025-02-19)
- 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)
- 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)
0.4.0 (2025-02-05)
0.3.0 (2025-01-31)
- Add ability to delay generating a response (#28) (9a384b3)
- Implement Access-Control-Expose-Headers (#31) (60b5fd0)
0.2.0 (2025-01-29)
- deps: update dependency sharp to ^0.33.0 (#11) (235ca34)
- Ensure request ArrayBuffer body works (#23) (b561ad7)
- 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)
- docs: Update READMEs (941b3d0)