File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changes
22
3+ ## 15.1.1
4+
5+ - [ ` 194fc2ef ` ] ( https://github.com/sinonjs/sinon/commit/194fc2ef726aba1cfd5753316414934d2551e18c )
6+ Change fake-timers version to specifically target the one containing the 'jump' feature (Carl-Erik Kopseng)
7+ > Instead of the later (breaking) version. See [ #470 ] ( https://github.com/sinonjs/fake-timers/issues/470 )
8+ - [ ` 05f05ac3 ` ] ( https://github.com/sinonjs/sinon/commit/05f05ac30b1cb95c57dde3e30a4952679afb309a )
9+ docs: Remove threw(obj) from docs (#2513 ) (Morgan Roderick)
10+ > Since the introduction of threw in
11+ >
12+ > 0feec9ffba0da6bc2996cefa0c6e71872e8bedb2, no one have reported that
13+ >
14+ > ` threw(obj) ` doesn't work as the documentation states.
15+ >
16+ > ``` js
17+ > const sinon = require (" sinon" );
18+ >
19+ > const o = { pie: " apple" };
20+ >
21+ > const f = sinon .fake .throws (o);
22+ >
23+ > f ();
24+ >
25+ > // this is supposed to return true
26+ >
27+ > f .threw (o);
28+ >
29+ > // => false
30+ > ` ` `
31+ >
32+ > Since it has been 12+ years without an error report, it's safe to assume
33+ >
34+ > that no one uses the ` threw` method in this way. Let's remove it from
35+ >
36+ > the documentation.
37+
38+ _Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2023-06-12._
39+
340## 15.1.0
441
542- [` 79e719f2 ` ](https://github.com/sinonjs/sinon/commit/79e719f21ecafd13130f0801231b5dd96ea0fb07)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: >-
55url : ' https://sinonjs.org'
66github_username : sinonjs
77sinon :
8- current_release : v15.1.0
8+ current_release : v15.1.1
99 current_major_version : 15
1010markdown : kramdown
1111kramdown :
Original file line number Diff line number Diff line change @@ -6,6 +6,43 @@ permalink: /releases/changelog
66
77# Changelog
88
9+ ## 15.1.1
10+
11+ - [ ` 194fc2ef ` ] ( https://github.com/sinonjs/sinon/commit/194fc2ef726aba1cfd5753316414934d2551e18c )
12+ Change fake-timers version to specifically target the one containing the 'jump' feature (Carl-Erik Kopseng)
13+ > Instead of the later (breaking) version. See [ #470 ] ( https://github.com/sinonjs/fake-timers/issues/470 )
14+ - [ ` 05f05ac3 ` ] ( https://github.com/sinonjs/sinon/commit/05f05ac30b1cb95c57dde3e30a4952679afb309a )
15+ docs: Remove threw(obj) from docs (#2513 ) (Morgan Roderick)
16+ > Since the introduction of threw in
17+ >
18+ > 0feec9ffba0da6bc2996cefa0c6e71872e8bedb2, no one have reported that
19+ >
20+ > ` threw(obj) ` doesn't work as the documentation states.
21+ >
22+ > ``` js
23+ > const sinon = require (" sinon" );
24+ >
25+ > const o = { pie: " apple" };
26+ >
27+ > const f = sinon .fake .throws (o);
28+ >
29+ > f ();
30+ >
31+ > // this is supposed to return true
32+ >
33+ > f .threw (o);
34+ >
35+ > // => false
36+ > ` ` `
37+ >
38+ > Since it has been 12+ years without an error report, it's safe to assume
39+ >
40+ > that no one uses the ` threw` method in this way. Let's remove it from
41+ >
42+ > the documentation.
43+
44+ _Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2023-06-12._
45+
946## 15.1.0
1047
1148- [` 79e719f2 ` ](https://github.com/sinonjs/sinon/commit/79e719f21ecafd13130f0801231b5dd96ea0fb07)
Original file line number Diff line number Diff line change 1515 " xhr" ,
1616 " assert"
1717 ],
18- "version" : " 15.1.0 " ,
18+ "version" : " 15.1.1 " ,
1919 "homepage" : " https://sinonjs.org/" ,
2020 "author" : " Christian Johansen" ,
2121 "repository" : {
You can’t perform that action at this time.
0 commit comments