mocha 4.0.0
4.0.0 / 2017-10-02
You might want to read this before filing a new bug! :stuck_out_tongue_closed_eyes:
:boom: Breaking Changes
For more info, please read this article.
Compatibility
- #3016: Drop support for unmaintained versions of Node.js (@boneskull):
- 0.10.x
- 0.11.x
- 0.12.x
- iojs (any)
- 5.x.x
- #2979: Drop support for non-ES5-compliant browsers (@boneskull):
- IE7
- IE8
- PhantomJS 1.x
- #2615: Drop Bower support; old versions (3.x, etc.) will remain available (@ScottFreeCode, @boneskull)
Default Behavior
- #2879: By default, Mocha will no longer force the process to exit once all tests complete. This means any test code (or code under test) which would normally prevent
nodefrom exiting will do so when run in Mocha. Supply the--exitflag to revert to pre-v4.0.0 behavior (@ScottFreeCode, @boneskull)
Reporter Output
- #2095: Remove
stdout:prefix from browser reporter logs (@skeggse) - #2295: Add separator in "unified diff" output (@olsonpm)
- #2686: Print failure message when
--forbid-pendingor--forbid-onlyis specified (@ScottFreeCode) - #2814: Indent contexts for better readability when reporting failures (@charlierudolph)
:-1: Deprecations
- #2493: The
--compilerscommand-line option is now soft-deprecated and will emit a warning onSTDERR. Read this for more info and workarounds (@ScottFreeCode, @boneskull)
:tada: Enhancements
:book: Documentation
:nut_and_bolt: Other
- #2890: Speed up build by (re-)consolidating SauceLabs tests (@boneskull)