Skip to content

Commit

Permalink
Release v7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaub committed May 23, 2020
1 parent d525345 commit 2aab607
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -488,5 +488,8 @@ Zirak <zirakertan@gmail.com>
Christian Holm <christian@peakon.com>
Kai Cataldo <kai@kaicataldo.com>
Gil Tayar <gil.tayar@applitools.com>
Arvid Ottenberg <arvid.ottenberg@gmx.de>
Daniel0113 <Daniel.febles97@gmail.com>
Nico Jansen <jansennico@gmail.com>

# Generated by scripts/update-authors.js
38 changes: 19 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@

## :tada: Enhancements

- #4234: Add ability to run tests in a mocha instance multiple times (@nicojs)
- #4219: Exposing filename in JSON, doc, and json-stream reporters (@Daniel0113)
- #4244: Add Root Hook Plugins (@boneskull)
- [#4234](/~https://github.com/mochajs/mocha/issues/4234): Add ability to run tests in a mocha instance multiple times ([**@nicojs**](/~https://github.com/nicojs))
- [#4219](/~https://github.com/mochajs/mocha/issues/4219): Exposing filename in JSON, doc, and json-stream reporters ([**@Daniel0113**](/~https://github.com/Daniel0113))
- [#4244](/~https://github.com/mochajs/mocha/issues/4244): Add Root Hook Plugins ([**@boneskull**](/~https://github.com/boneskull))

## :bug: Fixes

- #4258: Fix missing dot in name of configuration file (@sonicdoe)
- #4194: Check if module.paths really exists (@ematipico)
- #4256: `--forbid-only` does not recognize `it.only` when `before` crashes (@arvidOtt)
- #4152: Bug with multiple async done() calls (@boneskull)
- #4275: Improper warnings for invalid reporters (@boneskull)
- #4288: Broken hook.spec.js test for IE11 (@boneskull)
- [#4258](/~https://github.com/mochajs/mocha/issues/4258): Fix missing dot in name of configuration file ([**@sonicdoe**](/~https://github.com/sonicdoe))
- [#4194](/~https://github.com/mochajs/mocha/issues/4194): Check if module.paths really exists ([**@ematipico**](/~https://github.com/ematipico))
- [#4256](/~https://github.com/mochajs/mocha/issues/4256): `--forbid-only` does not recognize `it.only` when `before` crashes ([**@arvidOtt**](/~https://github.com/arvidOtt))
- [#4152](/~https://github.com/mochajs/mocha/issues/4152): Bug with multiple async done() calls ([**@boneskull**](/~https://github.com/boneskull))
- [#4275](/~https://github.com/mochajs/mocha/issues/4275): Improper warnings for invalid reporters ([**@boneskull**](/~https://github.com/boneskull))
- [#4288](/~https://github.com/mochajs/mocha/issues/4288): Broken hook.spec.js test for IE11 ([**@boneskull**](/~https://github.com/boneskull))

## :book: Documentation

- #4081: Insufficient white space for API docs in view on mobile (@HyunSangHan)
- #4255: Update mocha-docdash for UI fixes on API docs (@craigtaub)
- #4235: Enable emoji on website; enable normal ul elements (@boneskull)
- #4272: Fetch sponsors at build time, show ALL non-skeevy sponsors (@boneskull)
- [#4081](/~https://github.com/mochajs/mocha/issues/4081): Insufficient white space for API docs in view on mobile ([**@HyunSangHan**](/~https://github.com/HyunSangHan))
- [#4255](/~https://github.com/mochajs/mocha/issues/4255): Update mocha-docdash for UI fixes on API docs ([**@craigtaub**](/~https://github.com/craigtaub))
- [#4235](/~https://github.com/mochajs/mocha/issues/4235): Enable emoji on website; enable normal ul elements ([**@boneskull**](/~https://github.com/boneskull))
- [#4272](/~https://github.com/mochajs/mocha/issues/4272): Fetch sponsors at build time, show ALL non-skeevy sponsors ([**@boneskull**](/~https://github.com/boneskull))

## :nut_and_bolt: Other

- #4249: Refactoring improving encapsulation (@arvidOtt)
- #4242: CI add job names, add Node.js v14 to matrix (@boneskull)
- #4237: Refactor validatePlugins to throw coded errors (@boneskull)
- #4236: Better debug output (@boneskull)
- [#4249](/~https://github.com/mochajs/mocha/issues/4249): Refactoring improving encapsulation ([**@arvidOtt**](/~https://github.com/arvidOtt))
- [#4242](/~https://github.com/mochajs/mocha/issues/4242): CI add job names, add Node.js v14 to matrix ([**@boneskull**](/~https://github.com/boneskull))
- [#4237](/~https://github.com/mochajs/mocha/issues/4237): Refactor validatePlugins to throw coded errors ([**@boneskull**](/~https://github.com/boneskull))
- [#4236](/~https://github.com/mochajs/mocha/issues/4236): Better debug output ([**@boneskull**](/~https://github.com/boneskull))

# 7.1.2 / 2020-04-26

Expand Down Expand Up @@ -577,7 +577,7 @@ This release fixes a class of tests which report as _false positives_. **Certain

- [#3226](/~https://github.com/mochajs/mocha/issues/3226): Do not swallow errors that are thrown asynchronously from passing tests ([@boneskull](/~https://github.com/boneskull)). Example:

\```js
\`\`\`js
it('should actually fail, sorry!', function (done) {
// passing assertion
assert(true === true);
Expand All @@ -590,7 +590,7 @@ This release fixes a class of tests which report as _false positives_. **Certain
throw new Error('chaos!');
}, 100);
});
\```
\`\`\`

Previously to this version, Mocha would have _silently swallowed_ the `chaos!` exception, and you wouldn't know. Well, _now you know_. Mocha cannot recover from this gracefully, so it will exit with a nonzero code.

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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mocha",
"version": "7.1.2",
"version": "7.2.0",
"description": "simple, flexible, fun test framework",
"keywords": [
"mocha",
Expand Down

0 comments on commit 2aab607

Please sign in to comment.