Releases: mochajs/mocha
Releases · mochajs/mocha
v4.1.0
4.1.0 / 2017-12-28
This is mainly a "housekeeping" release.
Welcome @Bamieh and @xxczaki to the team!
🐛: Fixes
- #2661:
progress
reporter now accepts reporter options (@canoztokmak) - #3142:
xit
inbdd
interface now properly returns itsTest
object (@Bamieh) - #3075: Diffs now computed eagerly to avoid misinformation when reported (@abrady0)
- #2745:
--help
will now help you even if you have amocha.opts
(@Zarel)
🎉 Enhancements
- #2514: The
--no-diff
flag will completely disable diff output (@CapacitorSet) - #3058: All "setters" in Mocha's API are now also "getters" if called without arguments (@makepanic)
📖 Documentation
- #3170: Optimization and site speed improvements (@Munter)
- #2987: Moved the old site repo into the main repo under
docs/
(@boneskull) - #2896: Add maintainer guide (@boneskull)
- Various fixes and updates (@xxczaki, @maty21, @leedm777)
🔩 Other
- Test improvements and fixes (@eugenet8k, @ngeor, @38elements, @Gerhut, @ScottFreeCode, @boneskull)
- Refactoring and cruft excision (@38elements, @Bamieh, @finnigantime, @boneskull)
v4.0.1
v4.0.0
4.0.0 / 2017-10-02
You might want to read this before filing a new bug! 😝
💥 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
node
from exiting will do so when run in Mocha. Supply the--exit
flag 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-pending
or--forbid-only
is specified (@ScottFreeCode) - #2814: Indent contexts for better readability when reporting failures (@charlierudolph)
👎 Deprecations
- #2493: The
--compilers
command-line option is now soft-deprecated and will emit a warning onSTDERR
. Read this for more info and workarounds (@ScottFreeCode, @boneskull)
🎉 Enhancements
📖 Documentation
🔩 Other
- #2890: Speed up build by (re-)consolidating SauceLabs tests (@boneskull)
v3.5.3
v3.5.2
v3.5.1
3.5.1 / 2017-09-09
📰 News
- 📣 Mocha is now sponsoring PDXNode! If you're in the Portland area, come check out the monthly talks and hack nights!
🐛 Fixes
- #2997: Fix missing
xit
export for "require" interface (@solodynamo) - #2957: Fix unicode character handling in XUnit reporter failures (@jkrems)
🔩 Other
- #2986: Add issue and PR templates (@kungapal)
- #2918: Drop bash dependency for glob-related tests (@ScottFreeCode)
- #2922: Improve
--compilers
coverage (@ScottFreeCode) - #2981: Fix tpyos and spelling errors (@jsoref)
v3.5.0
v3.5.0 / 2017-07-31
📰 News
- Mocha now has a code of conduct (thanks @kungapal!).
- Old issues and PRs are now being marked "stale" by Probot's "Stale" plugin. If an issue is marked as such, and you would like to see it remain open, simply add a new comment to the ticket or PR.
- WARNING: Support for non-ES5-compliant environments will be dropped starting with version 4.0.0 of Mocha!
🔒 Security Fixes
- #2860: Address CVE-2015-8315 via upgrade of debug (@boneskull)
🎉 Enhancements
- #2696: Add
--forbid-only
and--forbid-pending
flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! (@charlierudolph) - #2813: Support Node.js 8's
--napi-modules
flag (@jupp0r)
🔩 Other
- Various CI-and-test-related fixes and improvements (@boneskull, @dasilvacontin, @PopradiArpad, @Munter, @ScottFreeCode)
- "Officially" support Node.js 8 (@elergy)
fake-success
3.4.2 / 2017-05-24
🐛 Fixes
- #2802: Remove call to deprecated os.tmpDir (@makepanic)
- #2820: Eagerly set process.exitCode (@chrisleck)
🔩 Other
Ohai CRLF...
Fixed a publishing mishap with git's autocrlf settings.
v3.4.0
Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.
This week's highlights:
allowUncaught
added to commandline as--allow-uncaught
(and bugfixed)- warning-related Node flags
🎉 Enhancements
- #2793, #2697: add --allowUncaught to Node.js (@lrowe)
- #2733: Add
--no-warnings
and--trace-warnings
flags (@sonicdoe)
🐛 Fixes
🔩 Other
- #2778: Add license report and scan status (@xizhao)
- #2794: no special case for macOS running Karma locally (@boneskull)
- #2795: reverts use of semistandard directly ([#2648]) (@boneskull)