Skip to content

Commit

Permalink
Release v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Jan 4, 2020
1 parent 99e085f commit 69339a3
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 32 deletions.
60 changes: 30 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mocha",
"version": "6.2.2",
"version": "7.0.0",
"description": "simple, flexible, fun test framework",
"keywords": [
"mocha",
Expand Down Expand Up @@ -197,6 +197,9 @@
"hokaccha <[email protected]>",
"Honza Javorek <[email protected]>",
"Hugo Giraudel <[email protected]>",
"Hugo Kim <[email protected]>",
"HYUNSANG HAN <[email protected]>",
"HyunSangHan <[email protected]>",
"Ian Storm Taylor <[email protected]>",
"Ian W. Remmel <[email protected]>",
"Ian Young <[email protected]>",
Expand All @@ -220,6 +223,7 @@
"Jan Kopriva <[email protected]>",
"Jan Krems <[email protected]>",
"Jan Lehnardt <[email protected]>",
"Jan-Philip Gehrcke <[email protected]>",
"Jason Barry <[email protected]>",
"Jason Lai <[email protected]>",
"Jason Leyba <[email protected]>",
Expand Down Expand Up @@ -285,6 +289,7 @@
"Konstantin Käfer <[email protected]>",
"Kris Rasmussen <[email protected]>",
"Kunal Nagpal <[email protected]>",
"Kyle Fuller <[email protected]>",
"Kyle Mitchell <[email protected]>",
"lakmeer <[email protected]>",
"Lane Kelly <[email protected]>",
Expand Down Expand Up @@ -355,6 +360,7 @@
"oveddan <[email protected]>",
"P. Roebuck <[email protected]>",
"Panu Horsmalahti <[email protected]>",
"Park Seong-beom <[email protected]>",
"Parker Moore <[email protected]>",
"Pascal <[email protected]>",
"Pat Finnigan <[email protected]>",
Expand All @@ -365,6 +371,7 @@
"Pete Hawkins <[email protected]>",
"Peter Müller <[email protected]>",
"Peter Rust <[email protected]>",
"Peter Schmidt <[email protected]>",
"Phil Sung <[email protected]>",
"Philip M. White <[email protected]>",
"Piotr Kuczynski <[email protected]>",
Expand All @@ -377,6 +384,7 @@
"R56 <[email protected]>",
"Raynos <[email protected]>",
"Refael Ackermann <[email protected]>",
"Rens Groothuijsen <[email protected]>",
"Rich Trott <[email protected]>",
"Richard Dingwall <[email protected]>",
"Richard Knop <[email protected]>",
Expand All @@ -385,6 +393,7 @@
"Rob Loach <[email protected]>",
"Rob Raux <[email protected]>",
"Rob Wu <[email protected]>",
"Robert Kieffer <[email protected]>",
"Robert Rossmann <[email protected]>",
"Romain Prieto <[email protected]>",
"Roman Neuhauser <[email protected]>",
Expand All @@ -399,6 +408,7 @@
"Ryan Tablada <[email protected]>",
"Ryunosuke SATO <[email protected]>",
"ryym <[email protected]>",
"Saerom Bang <[email protected]>",
"Salehen Shovon Rahman <[email protected]>",
"Sam Mussell <[email protected]>",
"samuel goldszmidt <[email protected]>",
Expand All @@ -415,6 +425,7 @@
"Sergio Santoro <[email protected]>",
"Shaine Hatch <[email protected]>",
"Shawn Krisman <telaviv@github>",
"SheetJSDev <[email protected]>",
"Shinnosuke Watanabe <[email protected]>",
"silentcloud <[email protected]>",
"Silvio Massari <[email protected]>",
Expand All @@ -426,6 +437,8 @@
"slyg <[email protected]>",
"Soel <[email protected]>",
"solodynamo <[email protected]>",
"Sona Lee <[email protected]>",
"Soobin Bak <[email protected]>",
"Sorin Iclanzan <[email protected]>",
"Standa Opichal <[email protected]>",
"startswithaj <[email protected]>",
Expand Down

0 comments on commit 69339a3

Please sign in to comment.