UNPKG

preact-material-components

Version:
1,099 lines (857 loc) 74.7 kB
# 5.0.1 / 2018-02-07 ...your garden-variety patch release. :heart: Special thanks to [Wallaby.js](https://wallabyjs.com) for their continued support! ## :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](https://wallabyjs.com)-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]: https://github.com/mochajs/mocha/issues/1838 [#3119]: https://github.com/mochajs/mocha/issues/3119 [#3132]: https://github.com/mochajs/mocha/issues/3132 [#3098]: https://github.com/mochajs/mocha/issues/3098 [#3212]: https://github.com/mochajs/mocha/pulls/3212 [#3205]: https://github.com/mochajs/mocha/pulls/3205 [#3224]: https://github.com/mochajs/mocha/pulls/3224 [#3230]: https://github.com/mochajs/mocha/pulls/3230 [@silviom]: https://github.com/silviom [@outsideris]: https://github.com/outsideris [@ArtemGovorov]: https://github.com/ArtemGovorov [@josephlin55555]: https://github.com/josephlin55555 # 5.0.0 / 2018-01-17 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](https://npm.im/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](https://mochajs.org/#--file-file)) ([@hswolff]) ## :bug: Fixes - [#3187]: Fix inaccurate test duration reporting ([@FND]) - [#3202]: Fix bad markup in HTML reporter ([@DanielRuf]) ## :sunglasses: Developer Experience - [#2352]: Ditch GNU Make for [nps](https://npm.im/nps) to manage scripts ([@TedYav]) ## :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](https://github.com/mochajs/mocha.tmbundle) ([@Bamieh]) - [#3185]: Add Node.js v9 to build matrix; remove v7 ([@xxczaki]) - [#3172]: Markdown linting ([@boneskull]) - Test & Netlify updates ([@Munter], [@boneskull]) [#3148]: https://github.com/mochajs/mocha/issues/3148 [#3181]: https://github.com/mochajs/mocha/issues/3181 [#3187]: https://github.com/mochajs/mocha/issues/3187 [#3202]: https://github.com/mochajs/mocha/pull/3148 [#2352]: https://github.com/mochajs/mocha/issues/2352 [#3137]: https://github.com/mochajs/mocha/issues/3137 [#3134]: https://github.com/mochajs/mocha/issues/3134 [#3135]: https://github.com/mochajs/mocha/issues/3135 [#3163]: https://github.com/mochajs/mocha/pull/3163 [#3177]: https://github.com/mochajs/mocha/pull/3177 [#3118]: https://github.com/mochajs/mocha/issues/3118 [#3185]: https://github.com/mochajs/mocha/issues/3185 [#3172]: https://github.com/mochajs/mocha/issues/3172 [@hswolff]: https://github.com/hswolff [@FND]: https://github.com/FND [@DanielRuf]: https://github.com/DanielRuf [@TedYav]: https://github.com/TedYav [@dfberry]: https://github.com/dfberry [@maraisr]: https://github.com/maraisr [@vkarpov15]: https://github.com/vkarpov15 [@tbroadley]: https://github.com/tbroadley # 4.1.0 / 2017-12-28 This is mainly a "housekeeping" release. Welcome [@Bamieh] and [@xxczaki] to the team! ## :bug: Fixes - [#2661]: `progress` reporter now accepts reporter options ([@canoztokmak]) - [#3142]: `xit` in `bdd` interface now properly returns its `Test` object ([@Bamieh]) - [#3075]: Diffs now computed eagerly to avoid misinformation when reported ([@abrady0]) - [#2745]: `--help` will now help you even if you have a `mocha.opts` ([@Zarel]) ## :tada: 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]) ## :book: Documentation - [#3170]: Optimization and site speed improvements ([@Munter]) - [#2987]: Moved the old [site repo](https://github.com/mochajs/mochajs.github.io) into the main repo under `docs/` ([@boneskull]) - [#2896]: Add [maintainer guide](https://github.com/mochajs/mocha/blob/master/MAINTAINERS.md) ([@boneskull]) - Various fixes and updates ([@xxczaki], [@maty21], [@leedm777]) ## :nut_and_bolt: Other - Test improvements and fixes ([@eugenet8k], [@ngeor], [@38elements], [@Gerhut], [@ScottFreeCode], [@boneskull]) - Refactoring and cruft excision ([@38elements], [@Bamieh], [@finnigantime], [@boneskull]) [#2661]: https://github.com/mochajs/mocha/issues/2661 [#3142]: https://github.com/mochajs/mocha/issues/3142 [#3075]: https://github.com/mochajs/mocha/pull/3075 [#2745]: https://github.com/mochajs/mocha/issues/2745 [#2514]: https://github.com/mochajs/mocha/issues/2514 [#3058]: https://github.com/mochajs/mocha/issues/3058 [#3170]: https://github.com/mochajs/mocha/pull/3170 [#2987]: https://github.com/mochajs/mocha/issues/2987 [#2896]: https://github.com/mochajs/mocha/issues/2896 [@canoztokmak]: https://github.com/canoztokmak [@Bamieh]: https://github.com/Bamieh [@abrady0]: https://github.com/abrady0 [@Zarel]: https://github.com/Zarel [@CapacitorSet]: https://github.com/CapacitorSet [@xxczaki]: https://github.com/xxczaki [@maty21]: https://github.com/maty21 [@leedm777]: https://github.com/leedm777 [@eugenet8k]: https://github.com/eugenet8k [@38elements]: https://github.com/38elements [@Gerhut]: https://github.com/Gerhut [@finnigantime]: https://github.com/finnigantime # 4.0.1 / 2017-10-05 ## :bug: Fixes - [#3051]: Upgrade Growl to v1.10.3 to fix its [peer dep problems](https://github.com/tj/node-growl/pull/68) ([@dpogue]) [#3051]: https://github.com/mochajs/mocha/pull/3051 [@dpogue]: https://github.com/dpogue # 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](https://boneskull.com/mocha-v4-nears-release/). ### 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]) ## :-1: Deprecations - [#2493]: The `--compilers` command-line option is now soft-deprecated and will emit a warning on `STDERR`. Read [this](https://github.com/mochajs/mocha/wiki/compilers-deprecation) for more info and workarounds ([@ScottFreeCode], [@boneskull]) ## :tada: Enhancements - [#2628]: Allow override of default test suite name in XUnit reporter ([@ngeor]) ## :book: Documentation - [#3020]: Link to CLA in `README.md` and `CONTRIBUTING.md` ([@skeggse]) ## :nut_and_bolt: Other - [#2890]: Speed up build by (re-)consolidating SauceLabs tests ([@boneskull]) [#3016]: https://github.com/mochajs/mocha/issues/3016 [#2979]: https://github.com/mochajs/mocha/issues/2979 [#2615]: https://github.com/mochajs/mocha/issues/2615 [#2879]: https://github.com/mochajs/mocha/issues/2879 [#2095]: https://github.com/mochajs/mocha/issues/2095 [#2295]: https://github.com/mochajs/mocha/issues/2295 [#2686]: https://github.com/mochajs/mocha/issues/2686 [#2814]: https://github.com/mochajs/mocha/pull/2814 [#2493]: https://github.com/mochajs/mocha/issues/2493 [#2628]: https://github.com/mochajs/mocha/issues/2628 [#3020]: https://github.com/mochajs/mocha/pull/3020 [#2890]: https://github.com/mochajs/mocha/issues/2890 [@skeggse]: https://github.com/skeggse [@olsonpm]: https://github.com/olsonpm [@ngeor]: https://github.com/ngeor # 3.5.3 / 2017-09-11 ## :bug: Fixes - [#3003]: Fix invalid entities in xUnit reporter first appearing in v3.5.1 ([@jkrems]) [#3003]: https://github.com/mochajs/mocha/pull/3003 # 3.5.2 / 2017-09-10 ## :bug: Fixes - [#3001]: Fix AMD-related failures first appearing in v3.5.1 ([@boneskull]) [#3001]: https://github.com/mochajs/mocha/pull/3001 # 3.5.1 / 2017-09-09 ## :newspaper: News - :mega: Mocha is now sponsoring [PDXNode](http://pdxnode.org)! If you're in the [Portland](https://wikipedia.org/wiki/Portland,_Oregon) area, come check out the monthly talks and hack nights! ## :bug: Fixes - [#2997]: Fix missing `xit` export for "require" interface ([@solodynamo]) - [#2957]: Fix unicode character handling in XUnit reporter failures ([@jkrems]) ## :nut_and_bolt: 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]) [#2997]: https://github.com/mochajs/mocha/pull/2997 [#2957]: https://github.com/mochajs/mocha/pull/2957 [#2918]: https://github.com/mochajs/mocha/pull/2918 [#2986]: https://github.com/mochajs/mocha/pull/2986 [#2922]: https://github.com/mochajs/mocha/pull/2922 [#2981]: https://github.com/mochajs/mocha/pull/2981 [@solodynamo]: https://github.com/solodynamo [@jkrems]: https://github.com/jkrems [@jsoref]: https://github.com/jsoref # 3.5.0 / 2017-07-31 ## :newspaper: News - Mocha now has a [code of conduct](https://github.com/mochajs/mocha/blob/master/.github/CODE_OF_CONDUCT.md) (thanks [@kungapal]!). - Old issues and PRs are now being marked "stale" by [Probot's "Stale" plugin](https://github.com/probot/stale). 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! ## :lock: Security Fixes - [#2860]: Address [CVE-2015-8315](https://nodesecurity.io/advisories/46) via upgrade of [debug](https://npm.im/debug) ([@boneskull]) ## :tada: 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]) ## :nut_and_bolt: Other - Various CI-and-test-related fixes and improvements ([@boneskull], [@dasilvacontin], [@PopradiArpad], [@Munter], [@ScottFreeCode]) - "Officially" support Node.js 8 ([@elergy]) [#2860]: https://github.com/mochajs/mocha/pulls/2860 [#2696]: https://github.com/mochajs/mocha/pulls/2696 [#2813]: https://github.com/mochajs/mocha/pulls/2813 [@charlierudolph]: https://github.com/charlierudolph [@PopradiArpad]: https://github.com/PopradiArpad [@kungapal]: https://github.com/kungapal [@elergy]: https://github.com/elergy [@jupp0r]: https://github.com/jupp0r # 3.4.2 / 2017-05-24 ## :bug: Fixes - [#2802]: Remove call to deprecated `os.tmpDir` ([@makepanic]) - [#2820]: Eagerly set `process.exitCode` ([@chrisleck]) ## :nut_and_bolt: Other - [#2778]: Move linting into an npm script ([@Munter]) [@chrisleck]: https://github.com/chrisleck [@makepanic]: https://github.com/makepanic [@Munter]: https://github.com/Munter [#2778]: https://github.com/mochajs/mocha/pulls/2778 [#2802]: https://github.com/mochajs/mocha/issues/2802 [#2820]: https://github.com/mochajs/mocha/pull/2820 # 3.4.1 / 2017-05-14 Fixed a publishing mishap with git's autocrlf settings. # 3.4.0 / 2017-05-14 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 ## :tada: Enhancements - [#2793], [#2697]: add --allowUncaught to Node.js ([@lrowe]) - [#2733]: Add `--no-warnings` and `--trace-warnings` flags ([@sonicdoe]) ## :bug: Fixes - [#2793], [#2697]: fix broken allowUncaught ([@lrowe]) ## :nut_and_bolt: 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]) [@lrowe]: https://github.com/lrowe [@sonicdoe]: https://github.com/sonicdoe [@xizhao]: https://github.com/xizhao [@boneskull]: https://github.com/boneskull [#2795]: https://github.com/mochajs/mocha/pull/2795 [#2733]: https://github.com/mochajs/mocha/pull/2733 [#2793]: https://github.com/mochajs/mocha/pull/2793 [#2697]: https://github.com/mochajs/mocha/pull/2697 [#2778]: https://github.com/mochajs/mocha/pull/2778 [#2794]: https://github.com/mochajs/mocha/pull/2794 # 3.3.0 / 2017-04-24 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. ## :tada: Enhancements - [#2659]: Adds support for loading reporter from an absolute or relative path ([@sul4bh]) - [#2769]: Support `--inspect-brk` on command-line ([@igwejk]) ## :bug: Fixes - [#2662]: Replace unicode chars w/ hex codes in HTML reporter ([@rotemdan]) ## :mag: 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]) ## :nut_and_bolt: 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]) [@boneskull]: https://github.com/boneskull [@c089]: https://github.com/c089 [@coderbyheart]: https://github.com/coderbyheart [@craigtaub]: https://github.com/craigtaub [@epallerols]: https://github.com/epallerols [@greenkeeper]: https://github.com/greenkeeper [@igwejk]: https://github.com/igwejk [@kt3k]: https://github.com/kt3k [@lamby]: https://github.com/lamby [@Munter]: https://github.com/Munter [@rotemdan]: https://github.com/rotemdan [@seppevs]: https://github.com/seppevs [@sul4bh]: https://github.com/sul4bh [#2470]: https://github.com/mochajs/mocha/pull/2470 [#2542]: https://github.com/mochajs/mocha/issues/2542 [#2621]: https://github.com/mochajs/mocha/pull/2621 [#2625]: https://github.com/mochajs/mocha/pull/2625 [#2648]: https://github.com/mochajs/mocha/pull/2648 [#2653]: https://github.com/mochajs/mocha/pull/2653 [#2659]: https://github.com/mochajs/mocha/pull/2659 [#2660]: https://github.com/mochajs/mocha/pull/2660 [#2662]: https://github.com/mochajs/mocha/pull/2662 [#2669]: https://github.com/mochajs/mocha/pull/2669 [#2670]: https://github.com/mochajs/mocha/pull/2670 [#2672]: https://github.com/mochajs/mocha/pull/2672 [#2675]: https://github.com/mochajs/mocha/pull/2675 [#2678]: https://github.com/mochajs/mocha/pull/2678 [#2680]: https://github.com/mochajs/mocha/pull/2680 [#2690]: https://github.com/mochajs/mocha/pull/2690 [#2691]: https://github.com/mochajs/mocha/pull/2691 [#2698]: https://github.com/mochajs/mocha/pull/2698 [#2699]: https://github.com/mochajs/mocha/pull/2699 [#2701]: https://github.com/mochajs/mocha/pull/2701 [#2703]: https://github.com/mochajs/mocha/pull/2703 [#2727]: https://github.com/mochajs/mocha/pull/2727 [#2769]: https://github.com/mochajs/mocha/pull/2769 [#2773]: https://github.com/mochajs/mocha/pull/2773 # 3.2.0 / 2016-11-24 ## :newspaper: News ### Mocha is now a JS Foundation Project! Mocha is proud to have joined the [JS Foundation](https://js.foundation). For more information, [read the announcement](https://js.foundation/announcements/2016/10/17/Linux-Foundation-Unites-JavaScript-Community-Open-Web-Development/). ### Contributor License Agreement Under the foundation, all contributors to Mocha must sign the [JS Foundation CLA](https://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](https://github.com/mochajs/mocha/blob/master/LICENSE). ## :bug: 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]) ## :tada: Enhancement - [#2294]: Improve timeout error messaging ([@jeversmann], [@boneskull]) - [#2520]: Add info about `--inspect` flag to CLI help ([@ughitsaaron]) ## :nut_and_bolt: Other - [#2570]: Use [karma-mocha](https://npmjs.com/package/karma-mocha) proper ([@boneskull]) - Licenses updated to reflect new copyright, add link to license and browser matrix to `README.md` ([@boneskull], [@ScottFreeCode], [@dasilvacontin]) [#2294]: https://github.com/mochajs/mocha/issues/2294 [#2535]: https://github.com/mochajs/mocha/issues/2535 [#2520]: https://github.com/mochajs/mocha/pull/2520 [#2593]: https://github.com/mochajs/mocha/pull/2593 [#2584]: https://github.com/mochajs/mocha/issues/2584 [#2570]: https://github.com/mochajs/mocha/issues/2570 [@Aldaviva]: https://github.com/Aldaviva [@jeversmann]: https://github.com/jeversmann [@ughitsaaron]: https://github.com/ughitsaaron [@villesau]: https://github.com/villesau [@vobujs]: https://github.com/vobujs Thanks to all our contributors, sponsors and backers! Keep on the lookout for a public roadmap and new contribution guide coming soon. # 3.1.2 / 2016-10-10 ## :bug: Bug Fix - [#2528]: Recovery gracefully if an `Error`'s `stack` property isn't writable ([@boneskull]) [#2528]: https://github.com/mochajs/mocha/issues/2528 # 3.1.1 / 2016-10-09 ## :bug: Bug Fix - [#1417]: Don't report `done()` was called multiple times when it wasn't ([@frankleonrose]) ## :nut_and_bolt: Other - [#2490]: Lint with [semistandard](https://npmjs.com/package/semistandard) config ([@makepanic]) - [#2525]: Lint all `.js` files ([@boneskull]) - [#2524]: Provide workaround for developers unable to run browser tests on macOS Sierra ([@boneskull]) [#1417]: https://github.com/mochajs/mocha/issues/1417 [#2490]: https://github.com/mochajs/mocha/issues/2490 [#2525]: https://github.com/mochajs/mocha/issues/2525 [#2524]: https://github.com/mochajs/mocha/issues/2524 [@makepanic]: https://github.com/makepanic [@frankleonrose]: https://github.com/frankleonrose # 3.1.0 / 2016-09-27 ## :tada: Enhancement - [#2357]: Support `--inspect` on command-line ([@simov]) - [#2194]: Human-friendly error if no files are matched on command-line ([@Munter]) - [#1744]: Human-friendly error if a Suite has no callback (BDD/TDD only) ([@anton]) ## :bug: Bug Fix - [#2488]: Fix case in which *variables beginning with lowercase "D"* may not have been reported properly as global leaks ([@JustATrick]) :laughing: - [#2465]: Always halt execution in async function when `this.skip()` is called ([@boneskull]) - [#2445]: Exits with expected code 130 when `SIGINT` encountered; exit code can no longer rollover at 256 ([@Munter]) - [#2315]: Fix uncaught TypeError thrown from callback stack ([@1999]) - Fix broken `only()`/`skip()` in IE7/IE8 ([@boneskull]) - [#2502]: Fix broken stack trace filter on Node.js under Windows ([@boneskull]) - [#2496]: Fix diff output for objects instantiated with `String` constructor ([more](https://youtrack.jetbrains.com/issue/WEB-23383)) ([@boneskull]) [#2496]: https://github.com/mochajs/mocha/issues/2496 [#2502]: https://github.com/mochajs/mocha/issues/2502 [#2315]: https://github.com/mochajs/mocha/issues/2315 [#2445]: https://github.com/mochajs/mocha/pull/2445 [#2465]: https://github.com/mochajs/mocha/issues/2465 [#2488]: https://github.com/mochajs/mocha/issues/2488 [#1744]: https://github.com/mochajs/mocha/issues/1744 [#2194]: https://github.com/mochajs/mocha/issues/2194 [#2357]: https://github.com/mochajs/mocha/issues/2357 [@1999]: https://github.com/1999 [@JustATrick]: https://github.com/JustATrick [@anton]: https://github.com/anton [@simov]: https://github.com/simov # 3.0.2 / 2016-08-08 ## :bug: Bug Fix - [#2424]: Fix error loading Mocha via Require.js ([@boneskull]) - [#2417]: Fix execution of *deeply* nested `describe.only()` suites ([@not-an-aardvark]) - Remove references to `json-cov` and `html-cov` reporters in CLI ([@boneskull]) [#2417]: https://github.com/mochajs/mocha/issues/2417 [#2424]: https://github.com/mochajs/mocha/issues/2424 # 3.0.1 / 2016-08-03 ## :bug: Bug Fix - [#2406]: Restore execution of nested `describe.only()` suites ([@not-an-aardvark]) [#2406]: https://github.com/mochajs/mocha/issues/2406 [@not-an-aardvark]: https://github.com/not-an-aardvark # 3.0.0 / 2016-07-31 ## :boom: Breaking Changes - :warning: Due to the increasing difficulty of applying security patches made within its dependency tree, as well as looming incompatibilities with Node.js v7.0, **Mocha no longer supports Node.js v0.8**. - :warning: **Mocha may no longer be installed by versions of `npm` less than `1.4.0`.** Previously, this requirement only affected Mocha's development dependencies. In short, this allows Mocha to depend on packages which have dependencies fixed to major versions (`^`). - `.only()` is no longer "fuzzy", can be used multiple times, and generally just works like you think it should. :joy: - To avoid common bugs, when a test injects a callback function (suggesting asynchronous execution), calls it, *and* returns a `Promise`, Mocha will now throw an exception: ```js const assert = require('assert'); it('should complete this test', function (done) { return new Promise(function (resolve) { assert.ok(true); resolve(); }) .then(done); }); ``` The above test will fail with `Error: Resolution method is overspecified. Specify a callback *or* return a Promise; not both.`. - When a test timeout value *greater than* `2147483648` is specified in any context (`--timeout`, `mocha.setup()`, per-suite, per-test, etc.), the timeout will be *disabled* and the test(s) will be allowed to run indefinitely. This is equivalent to specifying a timeout value of `0`. See [MDN](https://developer.mozilla.org/docs/Web/API/WindowTimers/setTimeout#Maximum_delay_value) for reasoning. - The `dot` reporter now uses more visually distinctive characters when indicating "pending" and "failed" tests. - Mocha no longer supports [component](https://www.npmjs.com/package/component). - The long-forsaken `HTMLCov` and `JSONCov` reporters--and any relationship to the "node-jscoverage" project--have been removed. - `spec` reporter now omits leading carriage returns (`\r`) in non-TTY environment. ## :tada: Enhancements - [#808]: Allow regular-expression-like strings in `--grep` and browser's `grep` querystring; enables flags such as `i` for case-insensitive matches and `u` for unicode. ([@a8m]) - [#2000]: Use distinctive characters in `dot` reporter; `,` will denote a "pending" test and `!` will denote a "failing" test. ([@elliottcable]) - [#1632]: Throw a useful exception when a suite or test lacks a title. ([@a8m]) - [#1481]: Better `.only()` behavior. ([@a8m]) - [#2334]: Allow `this.skip()` in async tests and hooks. ([@boneskull]) - [#1320]: Throw a useful exception when test resolution method is overspecified. ([@jugglinmike]) - [#2364]: Support `--preserve-symlinks`. ([@rosswarren]) ## :bug: Bug Fixes - [#2259]: Restore ES3 compatibility. Specifically, support an environment lacking `Date.prototype.toISOString()`, `JSON`, or has a non-standard implementation of `JSON`. ([@ndhoule], [@boneskull]) - [#2286]: Fix `after()` failing to execute if test skipped using `this.skip()` in `beforeEach()`; no longer marks the entire suite as "pending". ([@dasilvacontin], [@boneskull]) - [#2208]: Fix function name display in `markdown` and `html` (browser) reporters. ([@ScottFreeCode]) - [#2299]: Fix progress bar in `html` (browser) reporter. ([@AviVahl]) - [#2307]: Fix `doc` reporter crashing when test fails. ([@jleyba]) - [#2323]: Ensure browser entry point (`browser-entry.js`) is published to npm (for use with bundlers). ([@boneskull]) - [#2310]: Ensure custom reporter with an absolute path works in Windows. ([@silentcloud]) - [#2311]: Fix problem wherein calling `this.slow()` without a value would blast any previously set value. ([@boneskull]) - [#1813]: Ensure Mocha's own test suite will run in Windows. ([@tswaters], [@TimothyGu], [@boneskull]) - [#2317]: Ensure all interfaces are displayed in `--help` on CLI. ([@ScottFreeCode]) - [#1644]: Don't exhibit undefined behavior when calling `this.timeout()` with very large values ([@callumacrae], [@boneskull]) - [#2361]: Don't truncate name of thrown anonymous exception. ([@boneskull]) - [#2367]: Fix invalid CSS. ([@bensontrent]) - [#2401]: Remove carriage return before each test line in spec reporter. ([@Munter]) ## :nut_and_bolt: Other - Upgrade production dependencies to address security advisories (and because now we can): `glob`, `commander`, `escape-string-regexp`, and `supports-color`. ([@boneskull], [@RobLoach]) - Add Windows to CI. ([@boneskull], [@TimothyGu]) - Ensure appropriate `engines` field in `package.json`. ([@shinnn], [@boneskull]) - [#2348]: Upgrade ESLint to v2 ([@anthony-redfox]) We :heart: our [backers and sponsors](https://opencollective.com/mochajs)! :shipit: [#2401]: https://github.com/mochajs/mocha/pull/2401 [#2348]: https://github.com/mochajs/mocha/issues/2348 [#808]: https://github.com/mochajs/mocha/issues/808 [#2361]: https://github.com/mochajs/mocha/pull/2361 [#2367]: https://github.com/mochajs/mocha/pull/2367 [#2364]: https://github.com/mochajs/mocha/pull/2364 [#1320]: https://github.com/mochajs/mocha/pull/1320 [#2307]: https://github.com/mochajs/mocha/pull/2307 [#2259]: https://github.com/mochajs/mocha/pull/2259 [#2208]: https://github.com/mochajs/mocha/pull/2208 [#2299]: https://github.com/mochajs/mocha/pull/2299 [#2286]: https://github.com/mochajs/mocha/issues/2286 [#1644]: https://github.com/mochajs/mocha/issues/1644 [#2310]: https://github.com/mochajs/mocha/issues/2310 [#2311]: https://github.com/mochajs/mocha/issues/2311 [#2323]: https://github.com/mochajs/mocha/issues/2323 [#2000]: https://github.com/mochajs/mocha/pull/2000 [#1632]: https://github.com/mochajs/mocha/issues/1632 [#1813]: https://github.com/mochajs/mocha/issues/1813 [#2334]: https://github.com/mochajs/mocha/issues/2334 [#2317]: https://github.com/mochajs/mocha/issues/2317 [#1481]: https://github.com/mochajs/mocha/issues/1481 [@elliottcable]: https://github.com/elliottcable [@RobLoach]: https://github.com/robloach [@AviVahl]: https://github.com/avivahl [@silentcloud]: https://github.com/silentcloud [@tswaters]: https://github.com/tswaters [@jleyba]: https://github.com/jleyba [@TimothyGu]: https://github.com/timothygu [@callumacrae]: https://github.com/callumacrae [@shinnn]: https://github.com/shinnn [@bensontrent]: https://github.com/bensontrent [@jugglinmike]: https://github.com/jugglinmike [@rosswarren]: https://github.com/rosswarren [@anthony-redfox]: https://github.com/anthony-redfox [@Munter]: https://github.com/munter # 2.5.3 / 2016-05-25 - [#2112] - Fix HTML reporter regression causing duplicate error output ([@danielstjules] via 6d24063) - [#2119] - Make HTML reporter failure/passed links preventDefault to avoid SPA's hash navigation ([@jimenglish81] via 9e93efc) [@danielstjules]: https://github.com/danielstjules [@jimenglish81]: https://github.com/jimenglish81 [#2112]: https://github.com/mochajs/mocha/pull/2112 [#2119]: https://github.com/mochajs/mocha/pull/2119 # 2.5.2 / 2016-05-24 - [#2178] - Avoid double and triple xUnit XML escaping ([@graingert] via 49b5ff1) [@graingert]: https://github.com/graingert [#2178]: https://github.com/mochajs/mocha/pull/2178 # 2.5.1 / 2016-05-23 - Fix [to-iso-string](https://npmjs.com/package/to-iso-string) dependency ([@boneskull] via bd9450b) Thanks @entertainyou, @SimenB, @just-paja for the heads-up. # 2.5.0 / 2016-05-23 This has been awhile coming! We needed to feel confident that the next release wouldn't break browser compatibility (e.g. the last few patch releases). ## Browser Tests in CI We now run unit tests against PhantomJS v1.x and an assortment of browsers on [SauceLabs](https://saucelabs.com), including: - Internet Explorer v8.0 - Chrome (latest) - Firefox (latest) - Safari (latest) - Microsoft Edge (latest) To accomplish this, we now run Mocha's unit tests (and a handful of integration tests) via [Karma](https://npmjs.com/package/karma) and a modified [karma-mocha](https://npmjs.com/package/karma-mocha). Along the way, we had to solve issue [#880] (apologies to @mderijcke and @sukima who had PRs addressing this), as well as replace most usages of [should](https://npmjs.com/package/should) with [expect.js](https://npmjs.com/package/expect.js) for IE8. Going forward, when sending PRs, your code will *only* run against PhantomJS v1.x (and not hit SauceLabs) [because security](https://docs.travis-ci.com/user/pull-requests/#Security-Restrictions-when-testing-Pull-Requests). ## Node.js 6.x Node.js 6.x "just worked" before, but now it's in the CI matrix, so it's "officially" supported. Mocha *still retains support* for Node.js 0.8.x. ## "Minor" Release You'll see mostly bug fixes below, but also a couple features--as such, it's a "minor" release. ## TYVM Thanks to everyone who contributed, and our fabulous [sponsors and backers](https://opencollective.com/mochajs)! - [#2079] - Add browser checks to CI; update [browserify](https://npmjs.com/package/browserify) to v13.0.0 ([@dasilvacontin], [@ScottFreeCode], [@boneskull] via c04c1d7, 0b1e9b3, 0dde0fa, f8a3d86, 9e8cbaa) - [#880] - Make Mocha browserifyable ([@boneskull] via 524862b) - [#2121] - Update [glob](https://npmjs.com/package/glob) to v3.2.11 ([@astorije] via 7920fc4) - [#2126] - Fix dupe error messages in stack trace filter ([@Turbo87] via 4301caa) - [#2109] - Fix certain diffs when objects cannot be coerced into primitives ([@joshlory] via 61fbb7f) - [#1827] - Fix TWBS/`mocha.css` collisions ([@irnc] via 0543798) - [#1760], [#1936] - Fix `this.skip()` in HTML reporter ([@mislav] via cb4248b) - [#2115] - Fix exceptions thrown from hooks in HTML reporter ([@danielstjules] via e290bc0) - [#2089] - Handle Symbol values in `util.stringify()` ([@ryym] via ea61d05) - [#2097] - Fix diff for objects overriding `Object.prototype.hasOwnProperty` ([@mantoni] via b20fdfe) - [#2101] - Properly handle non-string "messages" thrown from assertion libraries ([@jkimbo] via 9c41051) - [#2124] - Update [growl](https://npmjs.com/package/growl) ([@benjamine] via 9ae6a85) - [#2162], [#2205] - JSDoc fixes ([@OlegTsyba] via 8031f20, [@ScottFreeCode] via f83b1d9) - [#2132] - Remove Growl-related cruft ([@julienw] via 00d6469) - [#2172] - Add [OpenCollective](https://opencollective.com) badge, sponsors & backers ([@xdamman], [@boneskull] via caee94f) - [#1841] - Add new logo, banner assets ([@dasilvacontin] via 00fd0e1) - [#2214] - Update `README.md` header ([@dasilvacontin] via c0f9be2) - [#2236] - Better checks for Node.js v0.8 compatibility in CI ([@dasilvacontin] via ba5637d) - [#2239] - Add Node.js v6.x to CI matrix ([@boneskull] via 3904da4) [#880]: https://github.com/mochajs/mocha/issues/880 [#1841]: https://github.com/mochajs/mocha/pull/1841 [#2239]: https://github.com/mochajs/mocha/issues/2239 [#2153]: https://github.com/mochajs/mocha/pull/2153 [#2214]: https://github.com/mochajs/mocha/pull/2214 [#2236]: https://github.com/mochajs/mocha/pull/2236 [#2079]: https://github.com/mochajs/mocha/issues/2079 [#2231]: https://github.com/mochajs/mocha/pull/2231 [#2089]: https://github.com/mochajs/mocha/issues/2089 [#2097]: https://github.com/mochajs/mocha/pull/2097 [#1760]: https://github.com/mochajs/mocha/issues/1760 [#1936]: https://github.com/mochajs/mocha/issues/1936 [#2115]: https://github.com/mochajs/mocha/pull/2115 [#1827]: https://github.com/mochajs/mocha/pull/1827 [#2101]: https://github.com/mochajs/mocha/pull/2101 [#2124]: https://github.com/mochajs/mocha/pull/2124 [#2109]: https://github.com/mochajs/mocha/issues/2109 [#2162]: https://github.com/mochajs/mocha/pull/2162 [#2132]: https://github.com/mochajs/mocha/issues/2132 [#2126]: https://github.com/mochajs/mocha/issues/2126 [#2121]: https://github.com/mochajs/mocha/issues/2121 [#2205]: https://github.com/mochajs/mocha/pull/2205 [#2172]: https://github.com/mochajs/mocha/pull/2172 [@xdamman]: https://github.com/xdamman [@Turbo87]: https://github.com/Turbo87 [@OlegTsyba]: https://github.com/OlegTsyba [@ryym]: https://github.com/ryym [@mantoni]: https://github.com/mantoni [@mislav]: https://github.com/mislav [@irnc]: https://github.com/irnc [@jkimbo]: https://github.com/jkimbo [@benjamine]: https://github.com/benjamine [@joshlory]: https://github.com/joshlory [@julienw]: https://github.com/julienw [@ScottFreeCode]: https://github.com/ScottFreeCode [@astorije]: https://github.com/astorije [@dasilvacontin]: https://github.com/dasilvacontin # 2.4.5 / 2016-01-28 - [#2080], [#2078], [#2072], [#2073], [#1200] - Revert changes to console colors in changeset [1192914](https://github.com/mochajs/mocha/commit/119291449cd03a11cdeda9e37cf718a69a012896) and subsequent related changes thereafter. Restores compatibility with IE8 & PhantomJS. See also [mantoni/mochify.js#129](https://github.com/mantoni/mochify.js/issues/129) and [openlayers/ol3#4746](https://github.com/openlayers/ol3/pull/4746) ([@boneskull]) - [#2082] - Fix several test assertions ([@mislav]) [#1200]: https://github.com/mochajs/mocha/issues/1200 [#2082]: https://github.com/mochajs/mocha/pull/2082 # 2.4.4 / 2016-01-27 - [#2080] - Fix broken RequireJS compatibility ([@boneskull]) [#2080]: https://github.com/mochajs/mocha/issues/2080 # 2.4.3 / 2016-01-27 - [#2078] - Fix broken IE8 ([@boneskull]) [#2078]: https://github.com/mochajs/mocha/issues/2078 # 2.4.2 / 2016-01-26 - [#2053] - Fix web worker compatibility ([@mislav]) - [#2072] - Fix Windows color output ([@thedark1337]) - [#2073] - Fix colors in `progress` and `landing` reporters ([@gyandeeps]) [#2053]: https://github.com/mochajs/mocha/pull/2053 [#2072]: https://github.com/mochajs/mocha/pull/2072 [#2073]: https://github.com/mochajs/mocha/pull/2073 [@gyandeeps]: https://github.com/gyandeeps [@thedark1337]: https://github.com/thedark1337 # 2.4.1 / 2016-01-26 - [#2067] - Fix HTML/doc reporter regressions ([@danielstjules]) [#2067]: https://github.com/mochajs/mocha/pull/2067 # 2.4.0 / 2016-01-25 - [#1945] - Correctly skip tests when skipping in suite's before() ([@ryanshawty]) - [#2056] - chore(license): update license year to 2016 ([@pra85]) - [#2048] - Fix `this.skip` from spec with HTML reporter ([@mislav]) - [#2033] - Update tests for newer versions of should.js ([@tomhughes]) - [#2037] - Fix for memory leak caused by referenced to deferred test ([@bd82]) - [#2038] - Also run Travis-CI on node.js 4 & 5 ([@bd82]) - [#2028] - Remove reference to test before afterAll hook runs ([@stonelgh]) - Bump mkdirp to 0.5.1 to support strict mode ([@danielstjules]) - [#1977] - safely stringify PhantomJS undefined value ([@ahamid]) - Add the ability to retry tests ([@@longlho]) - [#1982] - Enable --log-timer-events option [@Alaneor] - Fix #1980: Load mocha.opts from bin/mocha and bin/_mocha ([@danielstjules]) - [#1976] - Simplify function call ([@iclanzan]) - [#1963] - Add support --perf-basic-prof ([@robraux]) - [#1981] - Fix HTML reporter handling of done and exceptions ([@Standard8]) - [#1993] - propagate "file" property for "exports" interface ([@segrey]) - [#1999] - Add support for strict mode ([@tmont]) - [#2005] - XUnit Reporter Writes to stdout, falls back to console.log ([@jonnyreeves]) - [#2021] - Fix non ES5 compliant regexp ([@zetaben]) - [#1965] - Don't double install BDD UI ([@cowboyd]) - [#1995] - Make sure the xunit output dir exists before writing to it ([@ianwremmel]) - Use chalk for the base reporter colors; closes #1200 ([@boneskull]) - Fix requiring custom interfaces ([@jgkim]) - [#1967] Silence Bluebird js warnings ([@krisr]) [#1945]: https://github.com/mochajs/mocha/pull/1945 [#2056]: https://github.com/mochajs/mocha/pull/2056 [#2048]: https://github.com/mochajs/mocha/pull/2048 [#2033]: https://github.com/mochajs/mocha/pull/2033 [#2037]: https://github.com/mochajs/mocha/pull/2037 [#2038]: https://github.com/mochajs/mocha/pull/2038 [#2028]: https://github.com/mochajs/mocha/pull/2028 [#1977]: https://github.com/mochajs/mocha/pull/1977 [#1982]: https://github.com/mochajs/mocha/pull/1982 [#1976]: https://github.com/mochajs/mocha/pull/1976 [#1963]: https://github.com/mochajs/mocha/pull/1963 [#1981]: https://github.com/mochajs/mocha/pull/1981 [#1993]: https://github.com/mochajs/mocha/pull/1993 [#1999]: https://github.com/mochajs/mocha/pull/1999 [#2005]: https://github.com/mochajs/mocha/pull/2005 [#2021]: https://github.com/mochajs/mocha/pull/2021 [1965#]: https://github.com/mochajs/mocha/pull/1965 [#1995]: https://github.com/mochajs/mocha/pull/1995 [#1967]: https://github.com/mochajs/mocha/pull/1967 [@ryanshawty]: https://github.com/ryanshawty [@pra85]: https://github.com/pra85 [@mislav]: https://github.com/mislav [@tomhughes]: https://github.com/tomhughes [@bd82]: https://github.com/bd82 [@stonelgh]: https://github.com/stonelgh [@danielstjules]: https://github.com/danielstjules [@ahamid]: https://github.com/ahamid [@longlho]: https://github.com/longlho [@Alaneor]: https://github.com/Alaneor [@iclanzan]: https://github.com/iclanzan [@robraux]: https://github.com/robraux [@Standard8]: https://github.com/Standard8 [@segrey]: https://github.com/segrey [@tmont]: https://github.com/tmont [@jonnyreeves]: https://github.com/jonnyreeves [@zetaben]: https://github.com/zetaben [@cowboyd]: https://github.com/cowboyd [@ianwremmel]: https://github.com/ianwremmel [@boneskull]: https://github.com/boneskull [@jgkim]: https://github.com/jgkim [@krisr]: https://github.com/krisr # 2.3.4 / 2015-11-15 - Update debug dependency to 2.2.0 - remove duplication of mocha.opts on process.argv - Fix typo in test/reporters/nyan.js # 2.3.3 / 2015-09-19 - [#1875] - Fix Markdown reporter exceeds maximum call stack size ([@danielstjules]) - [#1864] - Fix xunit missing output with --reporter-options output ([@danielstjules]) - [#1846] - Support all harmony flags ([@danielstjules]) - Fix fragile xunit reporter spec ([@danielstjules]) - [#1669] - Fix catch uncaught errors outside test suite execution ([@danielstjules]) - [#1868] - Revert jade to support npm < v1.3.7 ([@danielstjules]) - [#1766] - Don't remove modules/components from stack trace in the browser ([@danielstjules]) - [#1798] - Fix correctly attribute mutiple done err with hooks ([@danielstjules]) - Fix use utils.reduce for IE8 compatibility ([@wsw0108]) - Some linting errors fixed by [@danielstjules] - Call the inspect() function if message is not set ([@kevinburke]) [#1875]: https://github.com/mochajs/mocha/issues/1875 [#1864]: https://github.com/mochajs/mocha/issues/1864 [#1846]: https://github.com/mochajs/mocha/issues/1846 [#1669]: https://github.com/mochajs/mocha/issues/1669 [#1868]: https://github.com/mochajs/mocha/issues/1868 [#1766]: https://github.com/mochajs/mocha/issues/1766 [#1798]: https://github.com/mochajs/mocha/issues/1798 [@danielstjules]: https://github.com/danielstjules [@wsw0108]: https://github.com/wsw0108 [@kevinburke]: https://github.com/kevinburke # 2.3.2 / 2015-09-07 - [#1868] - Fix compatibility with older versions of NPM ([@boneskull]) [#1868]: https://github.com/mochajs/mocha/issues/1868 # 2.3.1 / 2015-09-06 - [#1812] - Fix: Bail flag causes before() hooks to be run even after a failure ([@aaroncrows]) [#1812]: https://github.com/mochajs/mocha/issues/1812 [aaroncrows]: https://github.com/aaroncrows # 2.3.0 / 2015-08-30 - [#553] - added --allowUncaught option ([@amsul]) - [#1490] - Allow --async-only to be satisfied by returning a promise ([@jlai]) - [#1829] - support --max-old-space-size ([@gigadude]) - [#1811] - upgrade Jade dependency ([@outsideris]) - [#1769] - Fix async hook error handling ([@ajaykodali]) - [#1230] - More descriptive beforeEach/afterEach messages ([@duncanbeevers]) - [#1787] - Scope loading behaviour instead of using early return ([@aryeguy]) - [#1789] - Fix: html-runner crashing ([@sunesimonsen]) - [#1749] - Fix maximum call stack error on large amount of tests ([@tinganho]) - [#1230] - Decorate failed hook titles with test title ([@duncanbeevers]) - [#1260] - Build using Browserify ([@ndhoule]) - [#1728] - Don't use `__proto__` ([@ndhoule]) - [#1781] - Fix hook error tests ([@glenjamin]) - [#1754] - Allow boolean --reporter-options ([@papandreou]) - [#1766] - Fix overly aggressive stack suppression ([@moll]) - [#1752] - Avoid potential infinite loop ([@gsilk]) - [#1761] - Fix problems running under PhantomJS ([@chromakode]) - [#1700] - Fix more problems running under PhantomJS ([@jbnicolai]) - [#1774] - Support escaped spaces in CLI options ([@adamgruber]) - [#1687] - Fix HTML reporter links with special chars ([@benvinegar]) - [#1359] - Adopt code style and enforce it using ESLint ([@ndhoule] w/ assist from [@jbnicolai] & [@boneskull]) - various refactors ([@jbnicolai]) - [#1758] - Add cross-frame compatible Error checking ([@outdooricon]) - [#1741] - Remove moot `version` property from bower.json ([@kkirsche]) - [#1739] - Improve `HISTORY.md` ([@rstacruz]) - [#1730] - Support more io.js flags ([@ryedog]) - [#1349] - Allow HTML in HTML reporter errors ([@papandreou] / [@sunesimonsen]) - [#1572] - Prevent default browser behavior for failure/pass links ([@jschilli]) - [#1630] - Support underscored harmony flags ([@dominicbarnes]) - [#1718] - Support more harmony flags ([@slyg]) - [#1689] - Add stack to JSON-stream reporter ([@jonathandelgado]) - [#1654] - Fix `ReferenceError` "location is not defined" ([@jakemmarsh]) [#553]: https://github.com/mochajs/mocha/issues/553 [#1490]: https://github.com/mochajs/mocha/issues/1490 [#1829]: https://github.com/mochajs/mocha/issues/1829 [#1811]: https://github.com/mochajs/mocha/issues/1811 [#1769]: https://github.com/mochajs/mocha/issues/1769 [#1230]: https://github.com/mochajs/mocha/issues/1230 [#1787]: https://github.com/mochajs/mocha/issues/1787 [#1789]: https://github.com/mochajs/mocha/issues/1789 [#1749]: https://github.com/mochajs/mocha/issues/1749 [#1230]: https://github.com/mochajs/mocha/issues/1230 [#1260]: https://github.com/mochajs/mocha/issues/1260 [#1728]: https://github.com/mochajs/mocha/issues/1728 [#1781]: https://github.com/mochajs/mocha/issues/1781 [#1754]: https://github.com/mochajs/mocha/issues/1754 [#1766]: https://github.com/mochajs/mocha/issues/1766 [#1752]: https://github.com/mochajs/mocha/issues/1752 [#1761]: https://github.com/mochajs/mocha/issues/1761 [#1700]: https://github.com/mochajs/mocha/issues/1700 [#1774]: https://github.com/mochajs/mocha/issues/1774 [#1687]: https://github.com/mochajs/mocha/issues/1687 [#1359]: https://github.com/mochajs/mocha/issues/1359 [#1758]: https://github.com/mochajs/mocha/issues/1758 [#1741]: https://github.com/mochajs/mocha/issues/1741 [#1739]: https://github.com/mochajs/mocha/issues/1739 [#1730]: https://github.com/mochajs/mocha/issues/1730 [#1349]: https://github.com/mochajs/mocha/issues/1349 [#1572]: https://github.com/mochajs/mocha/issues/1572 [#1630]: https://github.com/mochajs/mocha/issues/1630 [#1718]: https://github.com/mochajs/mocha/issues/1718 [#1689]: https://github.com/mochajs/mocha/issues/1689 [#1654]: https://github.com/mochajs/mocha/issues/1654 [@adamgruber]: https://github.com/adamgruber [@ajaykodali]: https://github.com/ajaykodali [@amsul]: https://github.com/amsul [@aryeguy]: https://github.com/aryeguy [@benvinegar]: https://github.com/benvinegar [@boneskull]: https://github.com/boneskull [@chromakode]: https://github.com/chromakode [@dominicbarnes]: https://github.com/dominicbarnes [@duncanbeevers]: https://github.com/duncanbeevers [@gigadude]: https://github.com/gigadude [@glenjamin]: https://github.com/glenjamin [@gsilk]: https://github.com/gsilk [@jakemmarsh]: https://github.com/jakemmarsh [@jbnicolai]: https://github.com/jbnicolai [@jlai]: https://github.com/jlai [@jonathandelgado]: https://github.com/jonathandelgado [@jschilli]: https://github.com/jschilli [@kkirsche]: https://github.com/kkirsche [@moll]: https://github.com/moll [@ndhoule]: https://github.com/ndhoule [@outdooricon]: https://github.com/outdooricon [@outsideris]: https://github.com/outsideris [@papandreou]: https://github.com/papandreou [@rstacruz]: https://github.com/rstacruz [@ryedog]: https://github.com/ryedog [@slyg]: https://github.com/slyg [@sunesimonsen]: https://github.com/sunesimonsen [@tinganho]: https://github.com/tinganho # 2.2.5 / 2015-05-14 - [#1699] - Upgrade jsdiff to v1.4.0 ([@nylen]) - [#1648] - fix diff background colors in the console ([@nylen]) - [#1327] - fix tests running twice, a regression issue. ([#1686], [@danielstjules]) - [#1675] - add integration tests ([@danielstjules]) - [#1682] - use a valid SPDX license identifier in package.json ([@kemitchell]) - [#1660] - fix assertion of invalid dates ([#1661], [@a8m]) - [#1241] - fix issue with multiline diffs appearing as single line ([#1655], [@a8m]) [#1699]: https://github.com/mochajs/mocha/issues/1699 [#1648]: https://github.com/mochajs/mocha/issues/1648 [#1327]: https://github.com/mochajs/mocha/issues/1327 [#1686]: https://github.com/mochajs/mocha/issues/1686 [#1675]: https://github.com/mochajs/mocha/issues/1675 [#1682]: https://github.com/mochajs/mocha/issues/1682 [#1660]: https://github.com/mochajs/mocha/issues/1660 [#1661]: https://github.com/mochajs/mocha/issues/1661 [#1241]: https://github.com/mochajs/mocha/issues/1241 [#1655]: https://github.com/mochajs/mocha/issues/1655 [@nylen]: https://github.com/nylen [@danielstjules]: https://github.com/danielstjules [@kemitchell]: https://github.com/kemitchell [@a8m]: https://github.com/a8m # 2.2.4 / 2015-04-08 - Load mocha.opts in _mocha for now (close #1645) # 2.2.3 / 2015-04-07 - fix(reporter/base): string diff - issue #1241 - fix(reporter/base): string diff - issue #1241 - fix(reporter/base): don't show diffs for errors without expectation - fix(reporter/base): don't assume error message is first line of stack - improve: dry up reporter/base test - fix(reporter/base): explicitly ignore showDiff #1614 - Add iojs to travis build - Pass `--allow-natives-syntax` flag to node. - Support --harmony_classes flag for io.js - Fix 1556: Update utils.clean to handle newlines in func declarations - Fix 1606: fix err handling in IE <= 8 and non-ES5 browsers - Fix 1585: make _mocha executable again - chore(package.json): add a8m as a contributor - Fixed broken link on html-cov reporter - support --es_staging flag - fix issue where menu overlaps content. - update contributors in package.json - Remove trailing whitespace from reporter output - Remove contributors list from readme - log third-party reporter errors - [Fix] Exclude not own properties when looping on options - fix: support node args in mocha.opts (close #1573) - fix(reporter/base): string diff - issue #1241 # 2.2.1 / 2015-03-09 - Fix passing of args intended for node/iojs. # 2.2.0 / 2015-03-06 - Update mocha.js - Add --fgrep. Use grep for RegExp, fgrep for str - Ignore async global errors after spec resolution - Fixing errors that prevent mocha.js from loading in the browser - fixes #1558 - fix(utils): issue #1558 + make - add ability to delay root suite; closes #362, closes #1124 - fix insanity in http tests - update travis: add node 0.12, add gitter, remove slack - building - resolve #1548: ensure the environment's "node" execu