From 69339a3e7710a790b106b922ce53fcb87772f689 Mon Sep 17 00:00:00 2001 From: juergba Date: Sat, 4 Jan 2020 18:43:48 +0100 Subject: [PATCH] Release v7.0.0 --- CHANGELOG.md | 60 +++++++++++++++++++++++------------------------ package-lock.json | 2 +- package.json | 15 +++++++++++- 3 files changed, 45 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2f1f52f74..998c625ff2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,60 +2,60 @@ ## :boom: Breaking Changes -- #3885: **Drop Node.js v6.x support** (@mojosoeun) -- #3890: Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument (@juergba) -- #3962: Changes to command-line options (@ParkSB): +- [#3885](https://github.com/mochajs/mocha/issues/3885): **Drop Node.js v6.x support** ([**@mojosoeun**](https://github.com/mojosoeun)) +- [#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)) +- [#3962](https://github.com/mochajs/mocha/issues/3962): Changes to command-line options ([**@ParkSB**](https://github.com/ParkSB)): - `--list-interfaces` replaces `--interfaces` - `--list-reporters` replaces `--reporters` -- Hook pattern of `this.skip()` (@juergba): - - #3859: When conditionally skipping in a `it` test, related `afterEach` hooks are now executed - - #3741: When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed - - #4136: Disallow `this.skip()` within `after` hooks -- #3967: Remove deprecated `getOptions()` and `lib/cli/options.js` (@juergba) -- #4083: Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code (@juergba) -- #4004: Align `Mocha` constructor's option names with command-line options (@juergba) +- Hook pattern of `this.skip()` ([**@juergba**](https://github.com/juergba)): + - [#3859](https://github.com/mochajs/mocha/issues/3859): When conditionally skipping in a `it` test, related `afterEach` hooks are now executed + - [#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 + - [#4136](https://github.com/mochajs/mocha/issues/4136): Disallow `this.skip()` within `after` hooks +- [#3967](https://github.com/mochajs/mocha/issues/3967): Remove deprecated `getOptions()` and `lib/cli/options.js` ([**@juergba**](https://github.com/juergba)) +- [#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)) +- [#4004](https://github.com/mochajs/mocha/issues/4004): Align `Mocha` constructor's option names with command-line options ([**@juergba**](https://github.com/juergba)) ## :tada: Enhancements -- #3980: Refactor and improve `--watch` mode with chokidar (@geigerzaehler): +- [#3980](https://github.com/mochajs/mocha/issues/3980): Refactor and improve `--watch` mode with chokidar ([**@geigerzaehler**](https://github.com/geigerzaehler)): - adds command-line options `--watch-files` and `--watch-ignore` - removes `--watch-extensions` -- #3979: Type "rs\n" to restart tests (@broofa) +- [#3979](https://github.com/mochajs/mocha/issues/3979): Type "rs\\n" to restart tests ([**@broofa**](https://github.com/broofa)) ## :fax: Deprecations These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha: -- #3968: Deprecate legacy configuration via `mocha.opts` (@juergba) +- [#3968](https://github.com/mochajs/mocha/issues/3968): Deprecate legacy configuration via `mocha.opts` ([**@juergba**](https://github.com/juergba)) ## :bug: Fixes -- #4125: Fix timeout handling with `--inspect-brk`/`--inspect` (@juergba) -- #4070: `Mocha` constructor: improve browser setup (@juergba) -- #4068: XUnit reporter should handle exceptions during diff generation (@rgroothuijsen) -- #4030: Fix `--allow-uncaught` with `this.skip()` (@juergba) +- [#4125](https://github.com/mochajs/mocha/issues/4125): Fix timeout handling with `--inspect-brk`/`--inspect` ([**@juergba**](https://github.com/juergba)) +- [#4070](https://github.com/mochajs/mocha/issues/4070): `Mocha` constructor: improve browser setup ([**@juergba**](https://github.com/juergba)) +- [#4068](https://github.com/mochajs/mocha/issues/4068): XUnit reporter should handle exceptions during diff generation ([**@rgroothuijsen**](https://github.com/rgroothuijsen)) +- [#4030](https://github.com/mochajs/mocha/issues/4030): Fix `--allow-uncaught` with `this.skip()` ([**@juergba**](https://github.com/juergba)) ## :mag: Coverage -- #4109: Add Node.js v13.x to CI test matrix (@juergba) +- [#4109](https://github.com/mochajs/mocha/issues/4109): Add Node.js v13.x to CI test matrix ([**@juergba**](https://github.com/juergba)) ## :book: Documentation -- #4129: Fix broken links (@SaeromB) -- #4127: Add reporter alias names to docs (@khg0712) -- #4101: Clarify invalid usage of `done()` (@jgehrcke) -- #4092: Replace `:coffee:` with emoji ☕️ (@pzrq) -- #4088: Initial draft of project charter (@boneskull) -- #4066: Change `sh` to `bash` for code block in docs/index.md (@HyunSangHan) -- #4045: Update README.md concerning GraphicsMagick installation (@HyunSangHan) -- #3988: Fix sponsors background color for readability (@outsideris) +- [#4129](https://github.com/mochajs/mocha/issues/4129): Fix broken links ([**@SaeromB**](https://github.com/SaeromB)) +- [#4127](https://github.com/mochajs/mocha/issues/4127): Add reporter alias names to docs ([**@khg0712**](https://github.com/khg0712)) +- [#4101](https://github.com/mochajs/mocha/issues/4101): Clarify invalid usage of `done()` ([**@jgehrcke**](https://github.com/jgehrcke)) +- [#4092](https://github.com/mochajs/mocha/issues/4092): Replace `:coffee:` with emoji ☕️ ([**@pzrq**](https://github.com/pzrq)) +- [#4088](https://github.com/mochajs/mocha/issues/4088): Initial draft of project charter ([**@boneskull**](https://github.com/boneskull)) +- [#4066](https://github.com/mochajs/mocha/issues/4066): Change `sh` to `bash` for code block in docs/index.md ([**@HyunSangHan**](https://github.com/HyunSangHan)) +- [#4045](https://github.com/mochajs/mocha/issues/4045): Update README.md concerning GraphicsMagick installation ([**@HyunSangHan**](https://github.com/HyunSangHan)) +- [#3988](https://github.com/mochajs/mocha/issues/3988): Fix sponsors background color for readability ([**@outsideris**](https://github.com/outsideris)) ## :nut_and_bolt: Other -- #4118: Update node-environment-flags to 1.0.6 (@kylef) -- #4097: Add GH Funding Metadata (@SheetJSDev) -- #4089: Add funding information to `package.json` (@Munter) -- #4077: Improve integration tests (@soobing) +- [#4118](https://github.com/mochajs/mocha/issues/4118): Update node-environment-flags to 1.0.6 ([**@kylef**](https://github.com/kylef)) +- [#4097](https://github.com/mochajs/mocha/issues/4097): Add GH Funding Metadata ([**@SheetJSDev**](https://github.com/SheetJSDev)) +- [#4089](https://github.com/mochajs/mocha/issues/4089): Add funding information to `package.json` ([**@Munter**](https://github.com/Munter)) +- [#4077](https://github.com/mochajs/mocha/issues/4077): Improve integration tests ([**@soobing**](https://github.com/soobing)) # 6.2.2 / 2019-10-18 diff --git a/package-lock.json b/package-lock.json index 83e2141110..e66be18a00 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mocha", - "version": "6.2.2", + "version": "7.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 378a91a8ba..aa77237f94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mocha", - "version": "6.2.2", + "version": "7.0.0", "description": "simple, flexible, fun test framework", "keywords": [ "mocha", @@ -197,6 +197,9 @@ "hokaccha ", "Honza Javorek ", "Hugo Giraudel ", + "Hugo Kim ", + "HYUNSANG HAN ", + "HyunSangHan ", "Ian Storm Taylor ", "Ian W. Remmel ", "Ian Young ", @@ -220,6 +223,7 @@ "Jan Kopriva ", "Jan Krems ", "Jan Lehnardt ", + "Jan-Philip Gehrcke ", "Jason Barry ", "Jason Lai ", "Jason Leyba ", @@ -285,6 +289,7 @@ "Konstantin Käfer ", "Kris Rasmussen ", "Kunal Nagpal ", + "Kyle Fuller ", "Kyle Mitchell ", "lakmeer ", "Lane Kelly ", @@ -355,6 +360,7 @@ "oveddan ", "P. Roebuck ", "Panu Horsmalahti ", + "Park Seong-beom ", "Parker Moore ", "Pascal ", "Pat Finnigan ", @@ -365,6 +371,7 @@ "Pete Hawkins ", "Peter Müller ", "Peter Rust ", + "Peter Schmidt ", "Phil Sung ", "Philip M. White ", "Piotr Kuczynski ", @@ -377,6 +384,7 @@ "R56 ", "Raynos ", "Refael Ackermann ", + "Rens Groothuijsen ", "Rich Trott ", "Richard Dingwall ", "Richard Knop ", @@ -385,6 +393,7 @@ "Rob Loach ", "Rob Raux ", "Rob Wu ", + "Robert Kieffer ", "Robert Rossmann ", "Romain Prieto ", "Roman Neuhauser ", @@ -399,6 +408,7 @@ "Ryan Tablada ", "Ryunosuke SATO ", "ryym ", + "Saerom Bang ", "Salehen Shovon Rahman ", "Sam Mussell ", "samuel goldszmidt ", @@ -415,6 +425,7 @@ "Sergio Santoro ", "Shaine Hatch ", "Shawn Krisman ", + "SheetJSDev ", "Shinnosuke Watanabe ", "silentcloud ", "Silvio Massari ", @@ -426,6 +437,8 @@ "slyg ", "Soel ", "solodynamo ", + "Sona Lee ", + "Soobin Bak ", "Sorin Iclanzan ", "Standa Opichal ", "startswithaj ",