Skip to content

Upgrading sinon 18 to 19

Breaking18.0.1 → 19.0.5Breaking1Deprecated2Changed4Fixed1Other19

BreakingUpgrade verdict

1 breaking change.

  • Updates the fake timers library and other dependencies; the fake timers update changes its API, so code using it may need adjustments.
  • The usingPromise helper is now marked as deprecated and should be avoided in new code.
  • The fake XMLHttpRequest and fake server helpers are now marked as deprecated.
3 items need code or config changes
Breaking1
Upgrades fake timers and other dependencies, including a breaking API change in Fake Timers.
Fake Timers
Deprecated2
Deprecates usingPromise.
usingPromise
Deprecates useFakeXMLHttpRequest and useFakeServer.
useFakeXMLHttpRequestuseFakeServer