Skip to content

Commit 0720b2f

Browse files
committed
15.1.1
1 parent 2e4918d commit 0720b2f

5 files changed

Lines changed: 78 additions & 4 deletions

File tree

CHANGES.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
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)

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >-
55
url: 'https://sinonjs.org'
66
github_username: sinonjs
77
sinon:
8-
current_release: v15.1.0
8+
current_release: v15.1.1
99
current_major_version: 15
1010
markdown: kramdown
1111
kramdown:

docs/changelog.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff 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)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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": {

0 commit comments

Comments
 (0)