|
| 1 | +# 7.0.0 / 2020-01-05 |
| 2 | + |
| 3 | +## :boom: Breaking Changes |
| 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): |
| 8 | + - `--list-interfaces` replaces `--interfaces` |
| 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) |
| 17 | + |
| 18 | +## :tada: Enhancements |
| 19 | + |
| 20 | +- #3980: Refactor and improve `--watch` mode with chokidar (@geigerzaehler): |
| 21 | + - adds command-line options `--watch-files` and `--watch-ignore` |
| 22 | + - removes `--watch-extensions` |
| 23 | +- #3979: Type "rs\n" to restart tests (@broofa) |
| 24 | + |
| 25 | +## :fax: Deprecations |
| 26 | + |
| 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 | + |
| 29 | +- #3968: Deprecate legacy configuration via `mocha.opts` (@juergba) |
| 30 | + |
| 31 | +## :bug: Fixes |
| 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) |
| 37 | + |
| 38 | +## :mag: Coverage |
| 39 | + |
| 40 | +- #4109: Add Node.js v13.x to CI test matrix (@juergba) |
| 41 | + |
| 42 | +## :book: Documentation |
| 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) |
| 52 | + |
| 53 | +## :nut_and_bolt: Other |
| 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) |
| 59 | + |
1 | 60 | # 6.2.2 / 2019-10-18
|
2 | 61 |
|
3 | 62 | ## :bug: Fixes
|
|
0 commit comments