All Versions
56
Latest Version
Avg Release Cycle
35 days
Latest Release
558 days ago

Changelog History
Page 6

  • v5.0.5 Changes

    March 22, 2018

    Welcome @outsideris to the team!

    ๐Ÿ›  :bug: Fixes

    ๐Ÿ“š :book: Documentation

    :nut_and_bolt: Other

  • 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

  • v5.0.2 Changes

    March 05, 2018

    This 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 the end event twice; you may need to change your reporter to use runner.once('end') intead of runner.on('end').

    :nut_and_bolt: Other

  • v5.0.1 Changes

    February 07, 2018

    ๐Ÿš€ ...your garden-variety patch release.

    ๐Ÿ‘ Special thanks to Wallaby.js for their continued support! :heart:

    ๐Ÿ›  :bug: Fixes

    ๐Ÿ“š :book: Documentation

    :nut_and_bolt: Other

  • v5.0.0 Changes

    January 17, 2018

    Mocha 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

    ๐Ÿ›  :bug: Fixes

    :sunglasses: Developer Experience

    ๐Ÿ“š :book: Documentation

    :nut_and_bolt: Other