|
2 | 2 |
|
3 | 3 | ## :boom: Breaking Changes
|
4 | 4 |
|
5 |
| -- #3885: **Drop Node.js v6.x support** (@mojosoeun) |
6 |
| -- #3890: Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument (@juergba) |
7 |
| -- #3962: Changes to command-line options (@ParkSB): |
| 5 | +- [#3885](https://github.com/mochajs/mocha/issues/3885): **Drop Node.js v6.x support** ([**@mojosoeun**](https://github.com/mojosoeun)) |
| 6 | +- [#3890](https://github.com/mochajs/mocha/issues/3890): Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument ([**@juergba**](https://github.com/juergba)) |
| 7 | +- [#3962](https://github.com/mochajs/mocha/issues/3962): Changes to command-line options ([**@ParkSB**](https://github.com/ParkSB)): |
8 | 8 | - `--list-interfaces` replaces `--interfaces`
|
9 | 9 | - `--list-reporters` replaces `--reporters`
|
10 |
| -- Hook pattern of `this.skip()` (@juergba): |
11 |
| - - #3859: When conditionally skipping in a `it` test, related `afterEach` hooks are now executed |
12 |
| - - #3741: When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed |
13 |
| - - #4136: Disallow `this.skip()` within `after` hooks |
14 |
| -- #3967: Remove deprecated `getOptions()` and `lib/cli/options.js` (@juergba) |
15 |
| -- #4083: Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code (@juergba) |
16 |
| -- #4004: Align `Mocha` constructor's option names with command-line options (@juergba) |
| 10 | +- Hook pattern of `this.skip()` ([**@juergba**](https://github.com/juergba)): |
| 11 | + - [#3859](https://github.com/mochajs/mocha/issues/3859): When conditionally skipping in a `it` test, related `afterEach` hooks are now executed |
| 12 | + - [#3741](https://github.com/mochajs/mocha/issues/3741): When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed |
| 13 | + - [#4136](https://github.com/mochajs/mocha/issues/4136): Disallow `this.skip()` within `after` hooks |
| 14 | +- [#3967](https://github.com/mochajs/mocha/issues/3967): Remove deprecated `getOptions()` and `lib/cli/options.js` ([**@juergba**](https://github.com/juergba)) |
| 15 | +- [#4083](https://github.com/mochajs/mocha/issues/4083): Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code ([**@juergba**](https://github.com/juergba)) |
| 16 | +- [#4004](https://github.com/mochajs/mocha/issues/4004): Align `Mocha` constructor's option names with command-line options ([**@juergba**](https://github.com/juergba)) |
17 | 17 |
|
18 | 18 | ## :tada: Enhancements
|
19 | 19 |
|
20 |
| -- #3980: Refactor and improve `--watch` mode with chokidar (@geigerzaehler): |
| 20 | +- [#3980](https://github.com/mochajs/mocha/issues/3980): Refactor and improve `--watch` mode with chokidar ([**@geigerzaehler**](https://github.com/geigerzaehler)): |
21 | 21 | - adds command-line options `--watch-files` and `--watch-ignore`
|
22 | 22 | - removes `--watch-extensions`
|
23 |
| -- #3979: Type "rs\n" to restart tests (@broofa) |
| 23 | +- [#3979](https://github.com/mochajs/mocha/issues/3979): Type "rs\\n" to restart tests ([**@broofa**](https://github.com/broofa)) |
24 | 24 |
|
25 | 25 | ## :fax: Deprecations
|
26 | 26 |
|
27 | 27 | These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
|
28 | 28 |
|
29 |
| -- #3968: Deprecate legacy configuration via `mocha.opts` (@juergba) |
| 29 | +- [#3968](https://github.com/mochajs/mocha/issues/3968): Deprecate legacy configuration via `mocha.opts` ([**@juergba**](https://github.com/juergba)) |
30 | 30 |
|
31 | 31 | ## :bug: Fixes
|
32 | 32 |
|
33 |
| -- #4125: Fix timeout handling with `--inspect-brk`/`--inspect` (@juergba) |
34 |
| -- #4070: `Mocha` constructor: improve browser setup (@juergba) |
35 |
| -- #4068: XUnit reporter should handle exceptions during diff generation (@rgroothuijsen) |
36 |
| -- #4030: Fix `--allow-uncaught` with `this.skip()` (@juergba) |
| 33 | +- [#4125](https://github.com/mochajs/mocha/issues/4125): Fix timeout handling with `--inspect-brk`/`--inspect` ([**@juergba**](https://github.com/juergba)) |
| 34 | +- [#4070](https://github.com/mochajs/mocha/issues/4070): `Mocha` constructor: improve browser setup ([**@juergba**](https://github.com/juergba)) |
| 35 | +- [#4068](https://github.com/mochajs/mocha/issues/4068): XUnit reporter should handle exceptions during diff generation ([**@rgroothuijsen**](https://github.com/rgroothuijsen)) |
| 36 | +- [#4030](https://github.com/mochajs/mocha/issues/4030): Fix `--allow-uncaught` with `this.skip()` ([**@juergba**](https://github.com/juergba)) |
37 | 37 |
|
38 | 38 | ## :mag: Coverage
|
39 | 39 |
|
40 |
| -- #4109: Add Node.js v13.x to CI test matrix (@juergba) |
| 40 | +- [#4109](https://github.com/mochajs/mocha/issues/4109): Add Node.js v13.x to CI test matrix ([**@juergba**](https://github.com/juergba)) |
41 | 41 |
|
42 | 42 | ## :book: Documentation
|
43 | 43 |
|
44 |
| -- #4129: Fix broken links (@SaeromB) |
45 |
| -- #4127: Add reporter alias names to docs (@khg0712) |
46 |
| -- #4101: Clarify invalid usage of `done()` (@jgehrcke) |
47 |
| -- #4092: Replace `:coffee:` with emoji ☕️ (@pzrq) |
48 |
| -- #4088: Initial draft of project charter (@boneskull) |
49 |
| -- #4066: Change `sh` to `bash` for code block in docs/index.md (@HyunSangHan) |
50 |
| -- #4045: Update README.md concerning GraphicsMagick installation (@HyunSangHan) |
51 |
| -- #3988: Fix sponsors background color for readability (@outsideris) |
| 44 | +- [#4129](https://github.com/mochajs/mocha/issues/4129): Fix broken links ([**@SaeromB**](https://github.com/SaeromB)) |
| 45 | +- [#4127](https://github.com/mochajs/mocha/issues/4127): Add reporter alias names to docs ([**@khg0712**](https://github.com/khg0712)) |
| 46 | +- [#4101](https://github.com/mochajs/mocha/issues/4101): Clarify invalid usage of `done()` ([**@jgehrcke**](https://github.com/jgehrcke)) |
| 47 | +- [#4092](https://github.com/mochajs/mocha/issues/4092): Replace `:coffee:` with emoji ☕️ ([**@pzrq**](https://github.com/pzrq)) |
| 48 | +- [#4088](https://github.com/mochajs/mocha/issues/4088): Initial draft of project charter ([**@boneskull**](https://github.com/boneskull)) |
| 49 | +- [#4066](https://github.com/mochajs/mocha/issues/4066): Change `sh` to `bash` for code block in docs/index.md ([**@HyunSangHan**](https://github.com/HyunSangHan)) |
| 50 | +- [#4045](https://github.com/mochajs/mocha/issues/4045): Update README.md concerning GraphicsMagick installation ([**@HyunSangHan**](https://github.com/HyunSangHan)) |
| 51 | +- [#3988](https://github.com/mochajs/mocha/issues/3988): Fix sponsors background color for readability ([**@outsideris**](https://github.com/outsideris)) |
52 | 52 |
|
53 | 53 | ## :nut_and_bolt: Other
|
54 | 54 |
|
55 |
| -- #4118: Update node-environment-flags to 1.0.6 (@kylef) |
56 |
| -- #4097: Add GH Funding Metadata (@SheetJSDev) |
57 |
| -- #4089: Add funding information to `package.json` (@Munter) |
58 |
| -- #4077: Improve integration tests (@soobing) |
| 55 | +- [#4118](https://github.com/mochajs/mocha/issues/4118): Update node-environment-flags to 1.0.6 ([**@kylef**](https://github.com/kylef)) |
| 56 | +- [#4097](https://github.com/mochajs/mocha/issues/4097): Add GH Funding Metadata ([**@SheetJSDev**](https://github.com/SheetJSDev)) |
| 57 | +- [#4089](https://github.com/mochajs/mocha/issues/4089): Add funding information to `package.json` ([**@Munter**](https://github.com/Munter)) |
| 58 | +- [#4077](https://github.com/mochajs/mocha/issues/4077): Improve integration tests ([**@soobing**](https://github.com/soobing)) |
59 | 59 |
|
60 | 60 | # 6.2.2 / 2019-10-18
|
61 | 61 |
|
|
0 commit comments