Skip to content

Releases: sinonjs/sinon

Make resetHistory work for props

Choose a tag to compare

@mroderick mroderick released this 26 Jan 21:25
  • Fix #1638: Make resetHistory work for props

Speed up stub creation

Choose a tag to compare

@mroderick mroderick released this 23 Jan 19:33
  • Performance: spend less time stubbing methods (#1627)

Add match.every and match.some

Choose a tag to compare

@mroderick mroderick released this 23 Jan 19:34

Replace 4.1.5, which was a bad build

Choose a tag to compare

@mroderick mroderick released this 23 Jan 19:35
  • Fix bad build, missing nise@1.2.0 (#1656)
  • Upgrade dependency supports-color

Fix issue with `useFakeServer`

Choose a tag to compare

@mroderick mroderick released this 13 Jan 10:31

This release fixes an issue, where the server type from useFakeServer is unexpected (#1534)

Minor fix for Symbol names and deprecation of spy.reset

Choose a tag to compare

@mroderick mroderick released this 08 Jan 10:38
  • Fix: assertion error messages did not handle Symbol names (#1640)
  • Deprecate spy.reset(), use spy.resetHistory() instead (#1446)

Add stub#resolvesThis

Choose a tag to compare

@mroderick mroderick released this 10 Aug 14:06
  • Fix #1521 by caching references to Array.prototype.filter (#1523)
  • Fix #1368 by adding stub#resolvesThis (#1517)

v3.1.0

Choose a tag to compare

@fatso83 fatso83 released this 08 Aug 07:33
  • Add factory functions for sandbox and fake server (#1515)
  • Add support for passing a function to stub.throws(...). (#1511)
  • Lots of documentation updates
  • Fix regression on sandbox.stub(obj,protoMethod) (#1512)

v3.0.0

Choose a tag to compare

@mroderick mroderick released this 03 Aug 14:16
  • Remove deprecated exports see migration guide
  • Fix #1432: add details around expectations.withArgs behavior to docs (#1501)
  • Fix #1487: incorrect withArgs().returnValue
  • add format.setFormatter
  • Upgrade lolex to 2.1.2
  • Extract fakeXhr, fakeServer and fakeServerWithClock into own module nise and re-import it to keep api the same

Fix #1474: stub#usingPromise and stub#onNthCall have unexpected interactions

Choose a tag to compare

@mroderick mroderick released this 13 Jul 08:28

This release fixes #1474