Releases: mochajs/mocha
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)
coverave
Thanks to all our contributors, maintainers, sponsors, and users! ❤️
As highlights:
- We've got coverage now!
- Testing is looking less flaky \o/.
- No more nitpicking about "mocha.js" build on PRs.
🎉 Enhancements
- #2659: Adds support for loading reporter from an absolute or relative path (@sul4bh)
- #2769: Support
--inspect-brk
on command-line (@igwejk)
🐛 Fixes
🔍 Coverage
- #2672: Add coverage for node tests (@c089, @Munter)
- #2680: Increase tests coverage for base reporter (@epallerols)
- #2690: Increase tests coverage for doc reporter (@craigtaub)
- #2701: Increase tests coverage for landing, min, tap and list reporters (@craigtaub)
- #2691: Increase tests coverage for spec + dot reporters (@craigtaub)
- #2698: Increase tests coverage for xunit reporter (@craigtaub)
- #2699: Increase tests coverage for json-stream, markdown and progress reporters (@craigtaub)
- #2703: Cover .some() function in utils.js with tests (@seppevs)
- #2773: Add tests for loading reporters w/ relative/absolute paths (@sul4bh)
🔩 Other
- Remove bin/.eslintrc; ensure execs are linted (@boneskull)
- #2542: Expand CONTRIBUTING.md (@boneskull)
- #2660: Double timeouts on integration tests (@Munter)
- #2653: Update copyright year ([@Scottkao85], @Munter)
- #2621: Update dependencies to enable Greenkeeper (@boneskull, @greenkeeper)
- #2625: Use trusty container in travis-ci; use "artifacts" addon (@boneskull)
- #2670: doc(CONTRIBUTING): fix link to org members (@coderbyheart)
- Add Mocha propaganda to README.md (@boneskull)
- #2470: Avoid test flake in "delay" test (@boneskull)
- #2675: Limit browser concurrency on sauce (@boneskull)
- #2669: Use temporary test-only build of mocha.js for browsers tests (@Munter)
- Fix "projects" link in README.md (@boneskull)
- #2678: Chore(Saucelabs): test on IE9, IE10 and IE11 (@coderbyheart)
- #2648: Use
semistandard
directly (@kt3k) - #2727: Make the build reproducible (@lamby)
testing-coma
3.2.0 / 2016-11-24
📰 News
Mocha is now a JS Foundation Project!
Mocha is proud to have joined the JS Foundation. For more information, read the announcement.
Contributor License Agreement
Under the foundation, all contributors to Mocha must sign the JS Foundation CLA before their code can be merged. When sending a PR--if you have not already signed the CLA--a friendly bot will ask you to do so.
Mocha remains licensed under the MIT license.
🐛 Bug Fix
- #2535: Fix crash when
--watch
encounters broken symlinks (@villesau) - #2593: Fix (old) regression; incorrect symbol shown in
list
reporter (@Aldaviva) - #2584: Fix potential error when running XUnit reporter (@vobujs)
🎉 Enhancement
- #2294: Improve timeout error messaging (@jeversmann, @boneskull)
- #2520: Add info about
--inspect
flag to CLI help (@ughitsaaron)
🔩 Other
- #2570: Use karma-mocha proper (@boneskull)
- Licenses updated to reflect new copyright, add link to license and browser matrix to
README.md
(@boneskull, @ScottFreeCode, @dasilvacontin)
Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon.
sock-monkeypatch
3.1.2 / 2016-10-10
🐛 Bug Fix
- #2528: Recovery gracefully if an
Error
'sstack
property isn't writable ([@boneskull])
useless-box
3.1.1 / 2016-10-09
🐛 Bug Fix
- #1417: Don't report
done()
was called multiple times when it wasn't (@frankleonrose)
🔩 Other
- #2490: Lint with semistandard config (@makepanic)
- #2525: Lint all
.js
files ([@boneskull]) - #2524: Provide workaround for developers unable to run browser tests on macOS Sierra ([@boneskull])