Skip to content

Releases: sinonjs/sinon

Make resetHistory work for props

26 Jan 21:25
Compare
Choose a tag to compare
  • Fix #1638: Make resetHistory work for props

Speed up stub creation

23 Jan 19:33
Compare
Choose a tag to compare
  • Performance: spend less time stubbing methods (#1627)

Add match.every and match.some

23 Jan 19:34
Compare
Choose a tag to compare

Replace 4.1.5, which was a bad build

23 Jan 19:35
Compare
Choose a tag to compare
  • Fix bad build, missing nise@1.2.0 (#1656)
  • Upgrade dependency supports-color

Fix issue with `useFakeServer`

13 Jan 10:31
Compare
Choose a tag to compare

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

Minor fix for Symbol names and deprecation of spy.reset

08 Jan 10:38
Compare
Choose a tag to compare
  • Fix: assertion error messages did not handle Symbol names (#1640)
  • Deprecate spy.reset(), use spy.resetHistory() instead (#1446)

Add stub#resolvesThis

10 Aug 14:06
Compare
Choose a tag to compare
  • Fix #1521 by caching references to Array.prototype.filter (#1523)
  • Fix #1368 by adding stub#resolvesThis (#1517)

v3.1.0

08 Aug 07:33
Compare
Choose a tag to compare
  • 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

03 Aug 14:16
Compare
Choose a tag to compare
  • 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

13 Jul 08:28
Compare
Choose a tag to compare