Skip to content

Commit 30cf67e

Browse files
committed
21.1.0
1 parent 0a5526c commit 30cf67e

5 files changed

Lines changed: 116 additions & 4 deletions

File tree

CHANGES.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,61 @@
11
# Changes
22

3+
## 21.1.0
4+
5+
- [`0a5526c5`](https://github.com/sinonjs/sinon/commit/0a5526c54b44885cd0e85fb3c42218e75caa93ee)
6+
updated deps (Carl-Erik Kopseng)
7+
- [`5262204f`](https://github.com/sinonjs/sinon/commit/5262204f018503e7f22e82f53cc776edda38d88e)
8+
fix: build artifacts before running bundled tests (Carl-Erik Kopseng)
9+
- [`819bb64b`](https://github.com/sinonjs/sinon/commit/819bb64b5b83e4811fabeaed1d21cef677647c34)
10+
Migration to ECMAScript modules (ESM) (#2683) (Carl-Erik Kopseng)
11+
> This allowed us to finally consume ESM-only dependencies and has broken us free from some CJS shackes. Now produce the same API surface for CJS consumers, as well, by generating `./lib`
12+
>
13+
> - Modern ignores 😁
14+
> - test: add distribution harness
15+
> - test: verify packed cjs and esm entrypoints
16+
> - test: lock distribution api manifest
17+
> - test: smoke test built pkg artifacts
18+
> - docs: require contract tests for package migration
19+
> - test: guard esm migration regressions
20+
> - docs: require contract gate for esm migration
21+
> - build: generate cjs lib from esm source entries
22+
> - refactor: port root api surface to esm
23+
> - build: clean port of root api to esm
24+
> - docs: include implementation plans
25+
> - fix: align lint and smoke tests with esm migration
26+
> - refactor: complete esm port of all core components
27+
> - refactor: finalize esm migration with sandbox and naming fixes
28+
> - fix: finish esm migration stabilization
29+
> - chore: stop tracking generated lib output
30+
> - remove plans
31+
> - prettier
32+
> - linting
33+
> - fix: make distribution tests self-contained
34+
> - fix: build before coverage test bundle
35+
> - refactor: move simple unit tests to src
36+
> - refactor: flatten test and coverage script chains
37+
> - refactor: use parallel mocha for node tests
38+
> - test: restore fake timers cleanup
39+
> - refactor: remove node test runner script
40+
> - remove unneccessary clutter
41+
> - fix: make mocha watch use polling
42+
> - simplify
43+
> - Increase coverage
44+
> - Fix coverage by removing duplicated tests
45+
>
46+
> These were covering the generated lib/ folder.
47+
>
48+
> - Move shared util into esm dir
49+
> - fix package dep issues
50+
> - Adjust coverage
51+
> - Upgrade all dependencies
52+
>
53+
> npx npm-check-updates -u
54+
- [`cd2bf5a3`](https://github.com/sinonjs/sinon/commit/cd2bf5a3025cc3f2adb51f5065cf7fb0a9721af3)
55+
Use newer endpoint (Carl-Erik Kopseng)
56+
57+
_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2026-04-09._
58+
359
## 21.0.3
460

561
- [`0494251b`](https://github.com/sinonjs/sinon/commit/0494251bc54c56e7e79258586238db88f0d191b3)

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: v21.0.3
8+
current_release: v21.1.0
99
current_major_version: 21
1010
markdown: kramdown
1111
kramdown:

docs/changelog.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,62 @@ permalink: /releases/changelog
66

77
# Changelog
88

9+
## 21.1.0
10+
11+
- [`0a5526c5`](https://github.com/sinonjs/sinon/commit/0a5526c54b44885cd0e85fb3c42218e75caa93ee)
12+
updated deps (Carl-Erik Kopseng)
13+
- [`5262204f`](https://github.com/sinonjs/sinon/commit/5262204f018503e7f22e82f53cc776edda38d88e)
14+
fix: build artifacts before running bundled tests (Carl-Erik Kopseng)
15+
- [`819bb64b`](https://github.com/sinonjs/sinon/commit/819bb64b5b83e4811fabeaed1d21cef677647c34)
16+
Migration to ECMAScript modules (ESM) (#2683) (Carl-Erik Kopseng)
17+
> This allowed us to finally consume ESM-only dependencies and has broken us free from some CJS shackes. Now produce the same API surface for CJS consumers, as well, by generating `./lib`
18+
>
19+
> - Modern ignores 😁
20+
> - test: add distribution harness
21+
> - test: verify packed cjs and esm entrypoints
22+
> - test: lock distribution api manifest
23+
> - test: smoke test built pkg artifacts
24+
> - docs: require contract tests for package migration
25+
> - test: guard esm migration regressions
26+
> - docs: require contract gate for esm migration
27+
> - build: generate cjs lib from esm source entries
28+
> - refactor: port root api surface to esm
29+
> - build: clean port of root api to esm
30+
> - docs: include implementation plans
31+
> - fix: align lint and smoke tests with esm migration
32+
> - refactor: complete esm port of all core components
33+
> - refactor: finalize esm migration with sandbox and naming fixes
34+
> - fix: finish esm migration stabilization
35+
> - chore: stop tracking generated lib output
36+
> - remove plans
37+
> - prettier
38+
> - linting
39+
> - fix: make distribution tests self-contained
40+
> - fix: build before coverage test bundle
41+
> - refactor: move simple unit tests to src
42+
> - refactor: flatten test and coverage script chains
43+
> - refactor: use parallel mocha for node tests
44+
> - test: restore fake timers cleanup
45+
> - refactor: remove node test runner script
46+
> - remove unneccessary clutter
47+
> - fix: make mocha watch use polling
48+
> - simplify
49+
> - Increase coverage
50+
> - Fix coverage by removing duplicated tests
51+
>
52+
> These were covering the generated lib/ folder.
53+
>
54+
> - Move shared util into esm dir
55+
> - fix package dep issues
56+
> - Adjust coverage
57+
> - Upgrade all dependencies
58+
>
59+
> npx npm-check-updates -u
60+
- [`cd2bf5a3`](https://github.com/sinonjs/sinon/commit/cd2bf5a3025cc3f2adb51f5065cf7fb0a9721af3)
61+
Use newer endpoint (Carl-Erik Kopseng)
62+
63+
_Released by [Carl-Erik Kopseng](https://github.com/fatso83) on 2026-04-09._
64+
965
## 21.0.3
1066

1167
- [`0494251b`](https://github.com/sinonjs/sinon/commit/0494251bc54c56e7e79258586238db88f0d191b3)

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": "21.0.3",
18+
"version": "21.1.0",
1919
"homepage": "https://sinonjs.org/",
2020
"author": "Christian Johansen",
2121
"repository": {

0 commit comments

Comments
 (0)