Skip to content

Releases: wheresrhys/fetch-mock

vitest: v0.2.0

24 Oct 10:15
9cf34c9
Compare
Choose a tag to compare
vitest: v0.2.0 Pre-release
Pre-release

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 vitest docs into website (22b549b)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • fetch-mock bumped from 11.1.5 to 12.0.0

jest: v0.2.0

24 Oct 10:15
9cf34c9
Compare
Choose a tag to compare
jest: v0.2.0 Pre-release
Pre-release

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

fetch-mock: v11.1.5

25 Sep 20:06
d9a60ef
Compare
Choose a tag to compare

11.1.5 (2024-09-25)

Bug Fixes

  • change export order so default is last (bc9c41d)

vitest: v0.1.5

25 Sep 20:06
d9a60ef
Compare
Choose a tag to compare
vitest: v0.1.5 Pre-release
Pre-release

0.1.5 (2024-09-25)

Bug Fixes

  • change export order so default is last (bc9c41d)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @fetch-mock/core bumped from ^0.7.0 to ^0.7.1

jest: v0.1.1

25 Sep 20:06
d9a60ef
Compare
Choose a tag to compare
jest: v0.1.1 Pre-release
Pre-release

0.1.1 (2024-09-25)

Bug Fixes

  • change export order so default is last (bc9c41d)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @fetch-mock/core bumped from ^0.7.0 to ^0.7.1

core: v0.7.1

25 Sep 20:06
d9a60ef
Compare
Choose a tag to compare
core: v0.7.1 Pre-release
Pre-release

0.7.1 (2024-09-25)

Bug Fixes

  • change export order so default is last (bc9c41d)

codemods: v0.1.1

25 Sep 20:06
d9a60ef
Compare
Choose a tag to compare
codemods: v0.1.1 Pre-release
Pre-release

0.1.1 (2024-09-25)

Documentation Changes

  • fix mistakes in codemods docs (315365e)

fetch-mock: v11.1.4

19 Sep 09:48
2d18b63
Compare
Choose a tag to compare

11.1.4 (2024-09-19)

Documentation Changes

  • another occurrence of the cheatsheet ref (875e4f6)
  • fix link to cheatsheet (33e75b1)

codemods: v0.1.0

19 Sep 09:48
2d18b63
Compare
Choose a tag to compare
codemods: v0.1.0 Pre-release
Pre-release

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)

Documentation Changes

  • document how to use transform with jodeshift (517a6ac)
  • start documenting usage of codemods (f4a3c39)

vitest: v0.1.4

31 Aug 12:41
f2b0506
Compare
Choose a tag to compare
vitest: v0.1.4 Pre-release
Pre-release

0.1.4 (2024-08-31)

Bug Fixes

  • applied same type fixes to vitest wrapper (817af39)