Releases: wheresrhys/fetch-mock
Releases · wheresrhys/fetch-mock
jest: v0.2.0
0.2.0 (2024-10-24)
⚠ BREAKING CHANGES
- Replaced legacy fetch-mock code with fetch-mock/core code
Features
- Replaced legacy fetch-mock code with fetch-mock/core code (999ce92)
Documentation Changes
- bring jest docs into website (18ae8b6)
Dependencies
- The following workspace dependencies were updated
- dependencies
- fetch-mock bumped from 11.1.5 to 12.0.0
- dependencies
fetch-mock: v11.1.5
vitest: v0.1.5
jest: v0.1.1
core: v0.7.1
codemods: v0.1.1
fetch-mock: v11.1.4
codemods: v0.1.0
0.1.0 (2024-09-19)
Features
- add an error to warn of calls() signature change (5bf6f67)
- add an error to warn of lastCall() signature change (62fc48c)
- allow manually specifying extra variables that hold fetch-mock instances (317ede7)
- can identify fetch mock in esm (e523711)
- codemod fro fallbackToNetwork option (c272f65)
- codemod reset() (a96f62b)
- codemod resetHistory to clearHistory (5f1203e)
- codemod restore() (21e54af)
- converted codemods to use tsx parser for greater reuse (376d5c3)
- finished implementing reset method codemods (e9d59df)
- first codemod for editing an option implemented (6ec5575)
- lastOptions() and lastResponse() (300e0b8)
- lastUrl() codemod implemented (a115a27)
- midway through implementing codemods for sandbox (dbb0b43)
- more option codemods (23201b0)
- progress on codemod to alter global options (f790205)
- remiving options from methods more or less works (e976e7e)
- remove codemods for sandbox() method (9a06c1e)
- set up basic codemods package structure (a76cee9)
- support converting getAny() etc (1ef70ec)
- use get("*") as a better replacement for getAny() (3b7daf7)
Bug Fixes
- avoided converting jest.mock() to jest.route() (a42817b)
- changed to use j.ObjectProperty instead of j.Property (78c2e35)
- defined types for codemod (0c3debf)
- reinstated codemods for options on all methods (3a610b7)