Changelog History
Page 6
-
v5.0.5 Changes
March 22, 2018Welcome @outsideris to the team!
๐ :bug: Fixes
- #3096: Fix
--bail
failing to bail within hooks (@outsideris) - #3184: Don't skip too many suites (using
describe.skip()
) (@outsideris)
๐ :book: Documentation
- ๐ #3133: Improve docs regarding "pending" behavior (@ematicipo)
- #3276, #3274: Fix broken stuff in
CHANGELOG.md
(@tagoro9, @honzajavorek)
:nut_and_bolt: Other
- โ #3208: Improve test coverage for AMD users (@outsideris)
- ๐ท #3267: Remove vestiges of PhantomJS from CI (@anishkny)
- #2952: Fix a debug message (@boneskull)
- #3096: Fix
-
v5.0.4 Changes
March 07, 2018๐ :bug: Fixes
- ๐ #3265: Fixes regression in "watch" functionality introduced in v5.0.2 (@outsideris)
-
v5.0.3 Changes
March 06, 2018๐ฆ This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
๐ :lock: Security Fixes
:nut_and_bolt: Other
- #3011: Expose
generateDiff()
inBase
reporter (@harrysarson)
- #3011: Expose
-
v5.0.2 Changes
March 05, 2018This release fixes a class of tests which report as false positives. Certain tests will now break, though they would have previously been reported as passing. Details below. Sorry for the inconvenience!
๐ :bug: Fixes
- โ #3226: Do not swallow errors that are thrown asynchronously from passing tests (@boneskull). Example:
```js it('should actually fail, sorry!', function (done) { // passing assertion assert(true === true);
// test complete & is marked as passing done();
// ...but something evil lurks within setTimeout(() => { 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.Maintainers of external reporters: If a test of this class is encountered, the
Runner
instance will emit theend
event twice; you may need to change your reporter to userunner.once('end')
intead ofrunner.on('end')
.- #3093: Fix stack trace reformatting problem (@outsideris)
:nut_and_bolt: Other
- โก๏ธ #3248: Update
browser-stdout
to v1.3.1 (@honzajavorek)
-
v5.0.1 Changes
February 07, 2018๐ ...your garden-variety patch release.
๐ Special thanks to Wallaby.js for their continued support! :heart:
๐ :bug: Fixes
- #1838:
--delay
now works with.only()
(@silviom) - #3119: Plug memory leak present in v8 (@boneskull)
๐ :book: Documentation
- โก๏ธ #3132, #3098: Update
--glob
docs (@outsideris) - โก๏ธ #3212: Update Wallaby.js-related docs (@ArtemGovorov)
- ๐ #3205: Remove outdated cruft (@boneskull)
:nut_and_bolt: Other
- #3224: Add proper Wallaby.js config (@ArtemGovorov)
- โก๏ธ #3230: Update copyright year (@josephlin55555)
- #1838:
-
v5.0.0 Changes
January 17, 2018Mocha starts off 2018 right by again dropping support for unmaintained rubbish.
Welcome @vkarpov15 to the team!
:boom: Breaking Changes
- ๐ #3148: Drop support for IE9 and IE10 (@Bamieh) Practically speaking, only code which consumes (through bundling or otherwise) the userland buffer module should be affected. However, Mocha will no longer test against these browsers, nor apply fixes for them.
:tada: Enhancements
- ๐ #3181: Add useful new
--file
command line argument (documentation) (@hswolff)
๐ :bug: Fixes
- โ #3187: Fix inaccurate test duration reporting (@FND)
- #3202: Fix bad markup in HTML reporter (@DanielRuf)
:sunglasses: Developer Experience
๐ :book: Documentation
- ๐ #3137: Add missing
--no-timeouts
docs (@dfberry) - ๐ #3134: Improve
done()
callback docs (@maraisr) - #3135: Fix cross-references (@vkarpov15)
- #3163: Fix tpyos (@tbroadley)
- #3177: Tweak
README.md
organization (@xxczaki) - โก๏ธ Misc updates (@boneskull)
:nut_and_bolt: Other
- ๐ #3118: Move TextMate Integration to its own repo (@Bamieh)
- ๐ #3185: Add Node.js v9 to build matrix; remove v7 (@xxczaki)
- ๐ #3172: Markdown linting (@boneskull)
- โก๏ธ Test & Netlify updates (@Munter, @boneskull)