| OLD | NEW |
| (Empty) | |
| 1 # 3.4.2 / 2017-05-24 |
| 2 |
| 3 ## :bug: Fixes |
| 4 |
| 5 - [#2802]: Remove call to deprecated os.tmpDir ([@makepanic]) |
| 6 - [#2820]: Eagerly set process.exitCode ([@chrisleck]) |
| 7 |
| 8 ## :nut_and_bolt: Other |
| 9 |
| 10 - [#2778]: Move linting into an npm script ([@Munter]) |
| 11 |
| 12 [@chrisleck]: https://github.com/chrisleck |
| 13 [@makepanic]: https://github.com/makepanic |
| 14 [@Munter]: https://github.com/Munter |
| 15 |
| 16 [#2802]: https://github.com/mochajs/mocha/issues/2802 |
| 17 [#2820]: https://github.com/mochajs/mocha/pull/2820 |
| 18 |
| 19 # 3.4.1 / 2017-05-14 |
| 20 |
| 21 Fixed a publishing mishap with git's autocrlf settings. |
| 22 |
| 23 # 3.4.0 / 2017-05-14 |
| 24 |
| 25 Mocha is now moving to a quicker release schedule: when non-breaking changes are
merged, a release should happen that week. |
| 26 |
| 27 This week's highlights: |
| 28 |
| 29 - `allowUncaught` added to commandline as `--allow-uncaught` (and bugfixed) |
| 30 - warning-related Node flags |
| 31 |
| 32 ## :tada: Enhancements |
| 33 |
| 34 - [#2793], [#2697]: add --allowUncaught to Node.js ([@lrowe]) |
| 35 - [#2733]: Add `--no-warnings` and `--trace-warnings` flags ([@sonicdoe]) |
| 36 |
| 37 ## :bug: Fixes |
| 38 |
| 39 - [#2793], [#2697]: fix broken allowUncaught ([@lrowe]) |
| 40 |
| 41 ## :nut_and_bolt: Other |
| 42 |
| 43 - [#2778]: Add license report and scan status ([@xizhao]) |
| 44 - [#2794]: no special case for macOS running Karma locally ([@boneskull]) |
| 45 - [#2795]: reverts use of semistandard directly ([#2648]) ([@boneskull]) |
| 46 |
| 47 [@lrowe]: https://github.com/lrowe |
| 48 [@sonicdoe]: https://github.com/sonicdoe |
| 49 [@xizhao]: https://github.com/xizhao |
| 50 [@boneskull]: https://github.com/boneskull |
| 51 |
| 52 [#2795]: https://github.com/mochajs/mocha/pull/2795 |
| 53 [#2733]: https://github.com/mochajs/mocha/pull/2733 |
| 54 [#2793]: https://github.com/mochajs/mocha/pull/2793 |
| 55 [#2697]: https://github.com/mochajs/mocha/pull/2697 |
| 56 [#2778]: https://github.com/mochajs/mocha/pull/2778 |
| 57 [#2794]: https://github.com/mochajs/mocha/pull/2794 |
| 58 |
| 59 # 3.3.0 / 2017-04-24 |
| 60 |
| 61 Thanks to all our contributors, maintainers, sponsors, and users! ❤️ |
| 62 |
| 63 As highlights: |
| 64 |
| 65 - We've got coverage now! |
| 66 - Testing is looking less flaky \o/. |
| 67 - No more nitpicking about "mocha.js" build on PRs. |
| 68 |
| 69 ## :tada: Enhancements |
| 70 |
| 71 - [#2659]: Adds support for loading reporter from an absolute or relative path (
[@sul4bh]) |
| 72 - [#2769]: Support `--inspect-brk` on command-line ([@igwejk]) |
| 73 |
| 74 ## :bug: Fixes |
| 75 |
| 76 - [#2662]: Replace unicode chars w/ hex codes in HTML reporter ([@rotemdan]) |
| 77 |
| 78 ## :mag: Coverage |
| 79 |
| 80 - [#2672]: Add coverage for node tests ([@c089], [@Munter]) |
| 81 - [#2680]: Increase tests coverage for base reporter ([@epallerols]) |
| 82 - [#2690]: Increase tests coverage for doc reporter ([@craigtaub]) |
| 83 - [#2701]: Increase tests coverage for landing, min, tap and list reporters ([@c
raigtaub]) |
| 84 - [#2691]: Increase tests coverage for spec + dot reporters ([@craigtaub]) |
| 85 - [#2698]: Increase tests coverage for xunit reporter ([@craigtaub]) |
| 86 - [#2699]: Increase tests coverage for json-stream, markdown and progress report
ers ([@craigtaub]) |
| 87 - [#2703]: Cover .some() function in utils.js with tests ([@seppevs]) |
| 88 - [#2773]: Add tests for loading reporters w/ relative/absolute paths ([@sul4bh]
) |
| 89 |
| 90 ## :nut_and_bolt: Other |
| 91 |
| 92 - Remove bin/.eslintrc; ensure execs are linted ([@boneskull]) |
| 93 - [#2542]: Expand CONTRIBUTING.md ([@boneskull]) |
| 94 - [#2660]: Double timeouts on integration tests ([@Munter]) |
| 95 - [#2653]: Update copyright year ([@Scottkao85], [@Munter]) |
| 96 - [#2621]: Update dependencies to enable Greenkeeper ([@boneskull], [@greenkeepe
r]) |
| 97 - [#2625]: Use trusty container in travis-ci; use "artifacts" addon ([@boneskull
]) |
| 98 - [#2670]: doc(CONTRIBUTING): fix link to org members ([@coderbyheart]) |
| 99 - Add Mocha propaganda to README.md ([@boneskull]) |
| 100 - [#2470]: Avoid test flake in "delay" test ([@boneskull]) |
| 101 - [#2675]: Limit browser concurrency on sauce ([@boneskull]) |
| 102 - [#2669]: Use temporary test-only build of mocha.js for browsers tests ([@Munte
r]) |
| 103 - Fix "projects" link in README.md ([@boneskull]) |
| 104 - [#2678]: Chore(Saucelabs): test on IE9, IE10 and IE11 ([@coderbyheart]) |
| 105 - [#2648]: Use `semistandard` directly ([@kt3k]) |
| 106 - [#2727]: Make the build reproducible ([@lamby]) |
| 107 |
| 108 [@boneskull]: https://github.com/boneskull |
| 109 [@c089]: https://github.com/c089 |
| 110 [@coderbyheart]: https://github.com/coderbyheart |
| 111 [@craigtaub]: https://github.com/craigtaub |
| 112 [@epallerols]: https://github.com/epallerols |
| 113 [@greenkeeper]: https://github.com/greenkeeper |
| 114 [@igwejk]: https://github.com/igwejk |
| 115 [@kt3k]: https://github.com/kt3k |
| 116 [@lamby]: https://github.com/lamby |
| 117 [@Munter]: https://github.com/Munter |
| 118 [@rotemdan]: https://github.com/rotemdan |
| 119 [@seppevs]: https://github.com/seppevs |
| 120 [@sul4bh]: https://github.com/sul4bh |
| 121 |
| 122 [#2470]: https://github.com/mochajs/mocha/pull/2470 |
| 123 [#2542]: https://github.com/mochajs/mocha/issues/2542 |
| 124 [#2621]: https://github.com/mochajs/mocha/pull/2621 |
| 125 [#2625]: https://github.com/mochajs/mocha/pull/2625 |
| 126 [#2648]: https://github.com/mochajs/mocha/pull/2648 |
| 127 [#2653]: https://github.com/mochajs/mocha/pull/2653 |
| 128 [#2659]: https://github.com/mochajs/mocha/pull/2659 |
| 129 [#2660]: https://github.com/mochajs/mocha/pull/2660 |
| 130 [#2662]: https://github.com/mochajs/mocha/pull/2662 |
| 131 [#2669]: https://github.com/mochajs/mocha/pull/2669 |
| 132 [#2670]: https://github.com/mochajs/mocha/pull/2670 |
| 133 [#2672]: https://github.com/mochajs/mocha/pull/2672 |
| 134 [#2675]: https://github.com/mochajs/mocha/pull/2675 |
| 135 [#2678]: https://github.com/mochajs/mocha/pull/2678 |
| 136 [#2680]: https://github.com/mochajs/mocha/pull/2680 |
| 137 [#2690]: https://github.com/mochajs/mocha/pull/2690 |
| 138 [#2691]: https://github.com/mochajs/mocha/pull/2691 |
| 139 [#2698]: https://github.com/mochajs/mocha/pull/2698 |
| 140 [#2699]: https://github.com/mochajs/mocha/pull/2699 |
| 141 [#2701]: https://github.com/mochajs/mocha/pull/2701 |
| 142 [#2703]: https://github.com/mochajs/mocha/pull/2703 |
| 143 [#2727]: https://github.com/mochajs/mocha/pull/2727 |
| 144 [#2769]: https://github.com/mochajs/mocha/pull/2769 |
| 145 [#2773]: https://github.com/mochajs/mocha/pull/2773 |
| 146 |
| 147 # 3.2.0 / 2016-11-24 |
| 148 |
| 149 ## :newspaper: News |
| 150 |
| 151 ### Mocha is now a JS Foundation Project! |
| 152 |
| 153 Mocha is proud to have joined the [JS Foundation](https://js.foundation). For m
ore information, [read the announcement](https://js.foundation/announcements/201
6/10/17/Linux-Foundation-Unites-JavaScript-Community-Open-Web-Development/). |
| 154 |
| 155 ### Contributor License Agreement |
| 156 |
| 157 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 P
R--if you have not already signed the CLA--a friendly bot will ask you to do so. |
| 158 |
| 159 Mocha remains licensed under the [MIT license](https://github.com/mochajs/mocha/
blob/master/LICENSE). |
| 160 |
| 161 ## :bug: Bug Fix |
| 162 |
| 163 - [#2535]: Fix crash when `--watch` encounters broken symlinks ([@villesau]) |
| 164 - [#2593]: Fix (old) regression; incorrect symbol shown in `list` reporter ([@Al
daviva]) |
| 165 - [#2584]: Fix potential error when running XUnit reporter ([@vobujs]) |
| 166 |
| 167 ## :tada: Enhancement |
| 168 |
| 169 - [#2294]: Improve timeout error messaging ([@jeversmann], [@boneskull]) |
| 170 - [#2520]: Add info about `--inspect` flag to CLI help ([@ughitsaaron]) |
| 171 |
| 172 ## :nut_and_bolt: Other |
| 173 |
| 174 - [#2570]: Use [karma-mocha](https://npmjs.com/package/karma-mocha) proper ([@bo
neskull]) |
| 175 - Licenses updated to reflect new copyright, add link to license and browser mat
rix to `README.md` ([@boneskull], [@ScottFreeCode], [@dasilvacontin]) |
| 176 |
| 177 [#2294]: https://github.com/mochajs/mocha/issues/2294 |
| 178 [#2535]: https://github.com/mochajs/mocha/issues/2535 |
| 179 [#2520]: https://github.com/mochajs/mocha/pull/2520 |
| 180 [#2593]: https://github.com/mochajs/mocha/pull/2593 |
| 181 [#2584]: https://github.com/mochajs/mocha/issues/2584 |
| 182 [#2570]: https://github.com/mochajs/mocha/issues/2570 |
| 183 [@Aldaviva]: https://github.com/Aldaviva |
| 184 [@jeversmann]: https://github.com/jeversmann |
| 185 [@ughitsaaron]: https://github.com/ughitsaaron |
| 186 [@villesau]: https://github.com/villesau |
| 187 [@vobujs]: https://github.com/vobujs |
| 188 |
| 189 Thanks to all our contributors, sponsors and backers! Keep on the lookout for a
public roadmap and new contribution guide coming soon. |
| 190 |
| 191 # 3.1.2 / 2016-10-10 |
| 192 |
| 193 ## :bug: Bug Fix |
| 194 |
| 195 - [#2528]: Recovery gracefully if an `Error`'s `stack` property isn't writable (
[@boneskull]) |
| 196 |
| 197 [#2528]: https://github.com/mochajs/mocha/issues/2528 |
| 198 |
| 199 # 3.1.1 / 2016-10-09 |
| 200 |
| 201 ## :bug: Bug Fix |
| 202 |
| 203 - [#1417]: Don't report `done()` was called multiple times when it wasn't ([@fra
nkleonrose]) |
| 204 |
| 205 ## :nut_and_bolt: Other |
| 206 |
| 207 - [#2490]: Lint with [semistandard](https://npmjs.com/package/semistandard) conf
ig ([@makepanic]) |
| 208 - [#2525]: Lint all `.js` files ([@boneskull]) |
| 209 - [#2524]: Provide workaround for developers unable to run browser tests on macO
S Sierra ([@boneskull]) |
| 210 |
| 211 [#1417]: https://github.com/mochajs/mocha/issues/1417 |
| 212 [#2490]: https://github.com/mochajs/mocha/issues/2490 |
| 213 [#2525]: https://github.com/mochajs/mocha/issues/2525 |
| 214 [#2524]: https://github.com/mochajs/mocha/issues/2524 |
| 215 [@makepanic]: https://github.com/makepanic |
| 216 [@frankleonrose]: https://github.com/frankleonrose |
| 217 |
| 218 # 3.1.0 / 2016-09-27 |
| 219 |
| 220 ## :tada: Enhancement |
| 221 |
| 222 - [#2357]: Support `--inspect` on command-line ([@simov]) |
| 223 - [#2194]: Human-friendly error if no files are matched on command-line ([@Munte
r]) |
| 224 - [#1744]: Human-friendly error if a Suite has no callback (BDD/TDD only) ([@ant
on]) |
| 225 |
| 226 ## :bug: Bug Fix |
| 227 |
| 228 - [#2488]: Fix case in which *variables beginning with lowercase "D"* may not ha
ve been reported properly as global leaks ([@JustATrick]) :laughing: |
| 229 - [#2465]: Always halt execution in async function when `this.skip()` is called
([@boneskull]) |
| 230 - [#2445]: Exits with expected code 130 when `SIGINT` encountered; exit code can
no longer rollover at 256 ([@Munter]) |
| 231 - [#2315]: Fix uncaught TypeError thrown from callback stack ([@1999]) |
| 232 - Fix broken `only()`/`skip()` in IE7/IE8 ([@boneskull]) |
| 233 - [#2502]: Fix broken stack trace filter on Node.js under Windows ([@boneskull])
|
| 234 - [#2496]: Fix diff output for objects instantiated with `String` constructor ([
more](https://youtrack.jetbrains.com/issue/WEB-23383)) ([@boneskull]) |
| 235 |
| 236 [#2496]: https://github.com/mochajs/mocha/issues/2496 |
| 237 [#2502]: https://github.com/mochajs/mocha/issues/2502 |
| 238 [#2315]: https://github.com/mochajs/mocha/issues/2315 |
| 239 [#2445]: https://github.com/mochajs/mocha/pull/2445 |
| 240 [#2465]: https://github.com/mochajs/mocha/issues/2465 |
| 241 [#2488]: https://github.com/mochajs/mocha/issues/2488 |
| 242 [#1744]: https://github.com/mochajs/mocha/issues/1744 |
| 243 [#2194]: https://github.com/mochajs/mocha/issues/2194 |
| 244 [#2357]: https://github.com/mochajs/mocha/issues/2357 |
| 245 [@1999]: https://github.com/1999 |
| 246 [@JustATrick]: https://github.com/JustATrick |
| 247 [@anton]: https://github.com/anton |
| 248 [@simov]: https://github.com/simov |
| 249 |
| 250 # 3.0.2 / 2016-08-08 |
| 251 |
| 252 ## :bug: Bug Fix |
| 253 |
| 254 - [#2424]: Fix error loading Mocha via Require.js ([@boneskull]) |
| 255 - [#2417]: Fix execution of *deeply* nested `describe.only()` suites ([@not-an-a
ardvark]) |
| 256 - Remove references to `json-cov` and `html-cov` reporters in CLI ([@boneskull])
|
| 257 |
| 258 [#2417]: https://github.com/mochajs/mocha/issues/2417 |
| 259 [#2424]: https://github.com/mochajs/mocha/issues/2424 |
| 260 |
| 261 # 3.0.1 / 2016-08-03 |
| 262 |
| 263 ## :bug: Bug Fix |
| 264 |
| 265 - [#2406]: Restore execution of nested `describe.only()` suites ([@not-an-aardva
rk]) |
| 266 |
| 267 [#2406]: https://github.com/mochajs/mocha/issues/2406 |
| 268 [@not-an-aardvark]: https://github.com/not-an-aardvark |
| 269 |
| 270 # 3.0.0 / 2016-07-31 |
| 271 |
| 272 ## :boom: Breaking Changes |
| 273 |
| 274 - :warning: Due to the increasing difficulty of applying security patches made w
ithin its dependency tree, as well as looming incompatibilities with Node.js v7.
0, **Mocha no longer supports Node.js v0.8**. |
| 275 - :warning: **Mocha may no longer be installed by versions of `npm` less than `1
.4.0`.** Previously, this requirement only affected Mocha's development depende
ncies. In short, this allows Mocha to depend on packages which have dependencie
s fixed to major versions (`^`). |
| 276 - `.only()` is no longer "fuzzy", can be used multiple times, and generally just
works like you think it should. :joy: |
| 277 - To avoid common bugs, when a test injects a callback function (suggesting asyn
chronous execution), calls it, *and* returns a `Promise`, Mocha will now throw a
n exception: |
| 278 |
| 279 ```js |
| 280 const assert = require('assert'); |
| 281 |
| 282 it('should complete this test', function (done) { |
| 283 return new Promise(function (resolve) { |
| 284 assert.ok(true); |
| 285 resolve(); |
| 286 }) |
| 287 .then(done); |
| 288 }); |
| 289 ``` |
| 290 |
| 291 The above test will fail with `Error: Resolution method is overspecified. Spec
ify a callback *or* return a Promise; not both.`. |
| 292 - When a test timeout value *greater than* `2147483648` is specified in any cont
ext (`--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 equi
valent to specifying a timeout value of `0`. See [MDN](https://developer.mozill
a.org/docs/Web/API/WindowTimers/setTimeout#Maximum_delay_value) for reasoning. |
| 293 - The `dot` reporter now uses more visually distinctive characters when indicati
ng "pending" and "failed" tests. |
| 294 - Mocha no longer supports [component](https://www.npmjs.com/package/component). |
| 295 - The long-forsaken `HTMLCov` and `JSONCov` reporters--and any relationship to t
he "node-jscoverage" project--have been removed. |
| 296 - `spec` reporter now omits leading carriage returns (`\r`) in non-TTY environme
nt. |
| 297 |
| 298 ## :tada: Enhancements |
| 299 |
| 300 - [#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]) |
| 301 - [#2000]: Use distinctive characters in `dot` reporter; `,` will denote a "pend
ing" test and `!` will denote a "failing" test. ([@elliottcable]) |
| 302 - [#1632]: Throw a useful exception when a suite or test lacks a title. ([@a8m]) |
| 303 - [#1481]: Better `.only()` behavior. ([@a8m]) |
| 304 - [#2334]: Allow `this.skip()` in async tests and hooks. ([@boneskull]) |
| 305 - [#1320]: Throw a useful exception when test resolution method is overspecified
. ([@jugglinmike]) |
| 306 - [#2364]: Support `--preserve-symlinks`. ([@rosswarren]) |
| 307 |
| 308 ## :bug: Bug Fixes |
| 309 |
| 310 - [#2259]: Restore ES3 compatibility. Specifically, support an environment lack
ing `Date.prototype.toISOString()`, `JSON`, or has a non-standard implementation
of `JSON`. ([@ndhoule], [@boneskull]) |
| 311 - [#2286]: Fix `after()` failing to execute if test skipped using `this.skip()`
in `beforeEach()`; no longer marks the entire suite as "pending". ([@dasilvacont
in], [@boneskull]) |
| 312 - [#2208]: Fix function name display in `markdown` and `html` (browser) reporter
s. ([@ScottFreeCode]) |
| 313 - [#2299]: Fix progress bar in `html` (browser) reporter. ([@AviVahl]) |
| 314 - [#2307]: Fix `doc` reporter crashing when test fails. ([@jleyba]) |
| 315 - [#2323]: Ensure browser entry point (`browser-entry.js`) is published to npm (
for use with bundlers). ([@boneskull]) |
| 316 - [#2310]: Ensure custom reporter with an absolute path works in Windows. ([@sil
entcloud]) |
| 317 - [#2311]: Fix problem wherein calling `this.slow()` without a value would blast
any previously set value. ([@boneskull]) |
| 318 - [#1813]: Ensure Mocha's own test suite will run in Windows. ([@tswaters], [@Ti
mothyGu], [@boneskull]) |
| 319 - [#2317]: Ensure all interfaces are displayed in `--help` on CLI. ([@ScottFree
Code]) |
| 320 - [#1644]: Don't exhibit undefined behavior when calling `this.timeout()` with v
ery large values ([@callumacrae], [@boneskull]) |
| 321 - [#2361]: Don't truncate name of thrown anonymous exception. ([@boneskull]) |
| 322 - [#2367]: Fix invalid CSS. ([@bensontrent]) |
| 323 - [#2401]: Remove carriage return before each test line in spec reporter. ([@Mun
ter]) |
| 324 |
| 325 ## :nut_and_bolt: Other |
| 326 |
| 327 - Upgrade production dependencies to address security advisories (and because no
w we can): `glob`, `commander`, `escape-string-regexp`, |
| 328 and `supports-color`. ([@boneskull], [@RobLoach]) |
| 329 - Add Windows to CI. ([@boneskull], [@TimothyGu]) |
| 330 - Ensure appropriate `engines` field in `package.json`. ([@shinnn], [@boneskull]
) |
| 331 - [#2348]: Upgrade ESLint to v2 ([@anthony-redfox]) |
| 332 |
| 333 We :heart: our [backers and sponsors](https://opencollective.com/mochajs)! |
| 334 |
| 335 :shipit: |
| 336 |
| 337 [#2401]: https://github.com/mochajs/mocha/pull/2401 |
| 338 [#2348]: https://github.com/mochajs/mocha/issues/2348 |
| 339 [#808]: https://github.com/mochajs/mocha/issues/808 |
| 340 [#2361]: https://github.com/mochajs/mocha/pull/2361 |
| 341 [#2367]: https://github.com/mochajs/mocha/pull/2367 |
| 342 [#2364]: https://github.com/mochajs/mocha/pull/2364 |
| 343 [#1320]: https://github.com/mochajs/mocha/pull/1320 |
| 344 [#2307]: https://github.com/mochajs/mocha/pull/2307 |
| 345 [#2259]: https://github.com/mochajs/mocha/pull/2259 |
| 346 [#2208]: https://github.com/mochajs/mocha/pull/2208 |
| 347 [#2299]: https://github.com/mochajs/mocha/pull/2299 |
| 348 [#2286]: https://github.com/mochajs/mocha/issues/2286 |
| 349 [#1644]: https://github.com/mochajs/mocha/issues/1644 |
| 350 [#2310]: https://github.com/mochajs/mocha/issues/2310 |
| 351 [#2311]: https://github.com/mochajs/mocha/issues/2311 |
| 352 [#2323]: https://github.com/mochajs/mocha/issues/2323 |
| 353 [#2000]: https://github.com/mochajs/mocha/pull/2000 |
| 354 [#1632]: https://github.com/mochajs/mocha/issues/1632 |
| 355 [#1813]: https://github.com/mochajs/mocha/issues/1813 |
| 356 [#2334]: https://github.com/mochajs/mocha/issues/2334 |
| 357 [#2317]: https://github.com/mochajs/mocha/issues/2317 |
| 358 [#1481]: https://github.com/mochajs/mocha/issues/1481 |
| 359 [@elliottcable]: https://github.com/elliottcable |
| 360 [@RobLoach]: https://github.com/robloach |
| 361 [@AviVahl]: https://github.com/avivahl |
| 362 [@silentcloud]: https://github.com/silentcloud |
| 363 [@tswaters]: https://github.com/tswaters |
| 364 [@jleyba]: https://github.com/jleyba |
| 365 [@TimothyGu]: https://github.com/timothygu |
| 366 [@callumacrae]: https://github.com/callumacrae |
| 367 [@shinnn]: https://github.com/shinnn |
| 368 [@bensontrent]: https://github.com/bensontrent |
| 369 [@jugglinmike]: https://github.com/jugglinmike |
| 370 [@rosswarren]: https://github.com/rosswarren |
| 371 [@anthony-redfox]: https://github.com/anthony-redfox |
| 372 [@Munter]: https://github.com/munter |
| 373 |
| 374 # 2.5.3 / 2016-05-25 |
| 375 |
| 376 - [#2112] - Fix HTML reporter regression causing duplicate error output ([@danie
lstjules] via 6d24063) |
| 377 - [#2119] - Make HTML reporter failure/passed links preventDefault to avoid SPA'
s hash navigation ([@jimenglish81] via 9e93efc) |
| 378 |
| 379 [@danielstjules]: https://github.com/danielstjules |
| 380 [@jimenglish81]: https://github.com/jimenglish81 |
| 381 [#2112]: https://github.com/mochajs/mocha/pull/2112 |
| 382 [#2119]: https://github.com/mochajs/mocha/pull/2119 |
| 383 |
| 384 # 2.5.2 / 2016-05-24 |
| 385 |
| 386 - [#2178] - Avoid double and triple xUnit XML escaping ([@graingert] via 49b5ff1
) |
| 387 |
| 388 [@graingert]: https://github.com/graingert |
| 389 [#2178]: https://github.com/mochajs/mocha/pull/2178 |
| 390 |
| 391 # 2.5.1 / 2016-05-23 |
| 392 |
| 393 - Fix [to-iso-string](https://npmjs.com/package/to-iso-string) dependency ([@bon
eskull] via bd9450b) |
| 394 |
| 395 Thanks @entertainyou, @SimenB, @just-paja for the heads-up. |
| 396 |
| 397 # 2.5.0 / 2016-05-23 |
| 398 |
| 399 > This has been awhile coming! We needed to feel confident that the next releas
e wouldn't break browser compatibility (e.g. the last few patch releases). |
| 400 > |
| 401 > ### Browser Tests in CI |
| 402 > |
| 403 > We now run unit tests against PhantomJS v1.x and an assortment of browsers on
[SauceLabs](https://saucelabs.com), including: |
| 404 > - Internet Explorer v8.0 |
| 405 > - Chrome (latest) |
| 406 > - Firefox (latest) |
| 407 > - Safari (latest) |
| 408 > - Microsoft Edge (latest) |
| 409 > |
| 410 > To accomplish this, we now run Mocha's unit tests (and a handful of integratio
n tests) via [Karma](https://npmjs.com/package/karma) and a modified [karma-moch
a](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 we
ll as replace most usages of [should](https://npmjs.com/package/should) with [ex
pect.js](https://npmjs.com/package/expect.js) for IE8. |
| 411 > |
| 412 > Going forward, when sending PRs, your code will *only* run against PhantomJS v
1.x (and not hit SauceLabs) [because security](https://docs.travis-ci.com/user/p
ull-requests/#Security-Restrictions-when-testing-Pull-Requests). |
| 413 > |
| 414 > ### Node.js 6.x |
| 415 > Node.js 6.x "just worked" before, but now it's in the CI matrix, so it's "offi
cially" supported. Mocha *still retains support* for Node.js 0.8.x. |
| 416 > |
| 417 > ### "Minor" Release |
| 418 > You'll see mostly bug fixes below, but also a couple features--as such, it's a
"minor" release. |
| 419 > |
| 420 > ### TYVM |
| 421 > |
| 422 > Thanks to everyone who contributed, and our fabulous [sponsors and backers](ht
tps://opencollective.com/mochajs)! |
| 423 |
| 424 - [#2079] - Add browser checks to CI; update [browserify](https://npmjs.com/pack
age/browserify) to v13.0.0 ([@dasilvacontin], [@ScottFreeCode], [@boneskull] via
c04c1d7, 0b1e9b3, 0dde0fa, f8a3d86, 9e8cbaa) |
| 425 - [#880] - Make Mocha browserifyable ([@boneskull] via 524862b) |
| 426 - [#2121] - Update [glob](https://npmjs.com/package/glob) to v3.2.11 ([@astorije
] via 7920fc4) |
| 427 - [#2126] - Fix dupe error messages in stack trace filter ([@Turbo87] via 4301ca
a) |
| 428 - [#2109] - Fix certain diffs when objects cannot be coerced into primitives ([@
joshlory] via 61fbb7f) |
| 429 - [#1827] - Fix TWBS/`mocha.css` collisions ([@irnc] via 0543798) |
| 430 - [#1760], [#1936] - Fix `this.skip()` in HTML reporter ([@mislav] via cb4248b) |
| 431 - [#2115] - Fix exceptions thrown from hooks in HTML reporter ([@danielstjules]
via e290bc0) |
| 432 - [#2089] - Handle Symbol values in `util.stringify()` ([@ryym] via ea61d05) |
| 433 - [#2097] - Fix diff for objects overriding `Object.prototype.hasOwnProperty` ([
@mantoni] via b20fdfe) |
| 434 - [#2101] - Properly handle non-string "messages" thrown from assertion librarie
s ([@jkimbo] via 9c41051) |
| 435 - [#2124] - Update [growl](https://npmjs.com/package/growl) ([@benjamine] via 9a
e6a85) |
| 436 - [#2162], [#2205] - JSDoc fixes ([@OlegTsyba] via 8031f20, [@ScottFreeCode] via
f83b1d9) |
| 437 - [#2132] - Remove Growl-related cruft ([@julienw] via 00d6469) |
| 438 - [#2172] - Add [OpenCollective](https://opencollective.com) badge, sponsors & b
ackers ([@xdamman], [@boneskull] via caee94f) |
| 439 - [#1841] - Add new logo, banner assets ([@dasilvacontin] via 00fd0e1) |
| 440 - [#2214] - Update `README.md` header ([@dasilvacontin] via c0f9be2) |
| 441 - [#2236] - Better checks for Node.js v0.8 compatibility in CI ([@dasilvacontin]
via ba5637d) |
| 442 - [#2239] - Add Node.js v6.x to CI matrix ([@boneskull] via 3904da4) |
| 443 |
| 444 [#880]: https://github.com/mochajs/mocha/issues/880 |
| 445 [#1841]: https://github.com/mochajs/mocha/pull/1841 |
| 446 [#2239]: https://github.com/mochajs/mocha/issues/2239 |
| 447 [#2153]: https://github.com/mochajs/mocha/pull/2153 |
| 448 [#2214]: https://github.com/mochajs/mocha/pull/2214 |
| 449 [#2236]: https://github.com/mochajs/mocha/pull/2236 |
| 450 [#2079]: https://github.com/mochajs/mocha/issues/2079 |
| 451 [#2231]: https://github.com/mochajs/mocha/pull/2231 |
| 452 [#2089]: https://github.com/mochajs/mocha/issues/2089 |
| 453 [#2097]: https://github.com/mochajs/mocha/pull/2097 |
| 454 [#1760]: https://github.com/mochajs/mocha/issues/1760 |
| 455 [#1936]: https://github.com/mochajs/mocha/issues/1936 |
| 456 [#2115]: https://github.com/mochajs/mocha/pull/2115 |
| 457 [#1827]: https://github.com/mochajs/mocha/pull/1827 |
| 458 [#2101]: https://github.com/mochajs/mocha/pull/2101 |
| 459 [#2124]: https://github.com/mochajs/mocha/pull/2124 |
| 460 [#2109]: https://github.com/mochajs/mocha/issues/2109 |
| 461 [#2162]: https://github.com/mochajs/mocha/pull/2162 |
| 462 [#2132]: https://github.com/mochajs/mocha/issues/2132 |
| 463 [#2126]: https://github.com/mochajs/mocha/issues/2126 |
| 464 [#2121]: https://github.com/mochajs/mocha/issues/2121 |
| 465 [#2205]: https://github.com/mochajs/mocha/pull/2205 |
| 466 [#2172]: https://github.com/mochajs/mocha/pull/2172 |
| 467 [@xdamman]: https://github.com/xdamman |
| 468 [@Turbo87]: https://github.com/Turbo87 |
| 469 [@OlegTsyba]: https://github.com/OlegTsyba |
| 470 [@ryym]: https://github.com/ryym |
| 471 [@mantoni]: https://github.com/mantoni |
| 472 [@mislav]: https://github.com/mislav |
| 473 [@irnc]: https://github.com/irnc |
| 474 [@jkimbo]: https://github.com/jkimbo |
| 475 [@benjamine]: https://github.com/benjamine |
| 476 [@joshlory]: https://github.com/joshlory |
| 477 [@julienw]: https://github.com/julienw |
| 478 [@ScottFreeCode]: https://github.com/ScottFreeCode |
| 479 [@astorije]: https://github.com/astorije |
| 480 [@dasilvacontin]: https://github.com/dasilvacontin |
| 481 |
| 482 2.4.5 / 2016-01-28 |
| 483 ================== |
| 484 |
| 485 * [#2080], [#2078], [#2072], [#2073], [#1200] - Revert changes to console colors
in changeset [1192914](https://github.com/mochajs/mocha/commit/119291449cd03a11
cdeda9e37cf718a69a012896) and subsequent related changes thereafter. Restores c
ompatibility with IE8 & PhantomJS. See also [mantoni/mochify.js#129](https://gi
thub.com/mantoni/mochify.js/issues/129) and [openlayers/ol3#4746](https://github
.com/openlayers/ol3/pull/4746) ([@boneskull]) |
| 486 * [#2082] - Fix several test assertions ([@mislav]) |
| 487 |
| 488 [#1200]: https://github.com/mochajs/mocha/issues/1200 |
| 489 [#2082]: https://github.com/mochajs/mocha/pull/2082 |
| 490 |
| 491 2.4.4 / 2016-01-27 |
| 492 ================== |
| 493 |
| 494 * [#2080] - Fix broken RequireJS compatibility ([@boneskull]) |
| 495 |
| 496 [#2080]: https://github.com/mochajs/mocha/issues/2080 |
| 497 |
| 498 2.4.3 / 2016-01-27 |
| 499 ================== |
| 500 |
| 501 * [#2078] - Fix broken IE8 ([@boneskull]) |
| 502 |
| 503 [#2078]: https://github.com/mochajs/mocha/issues/2078 |
| 504 |
| 505 2.4.2 / 2016-01-26 |
| 506 ================== |
| 507 |
| 508 * [#2053] - Fix web worker compatibility ([@mislav]) |
| 509 * [#2072] - Fix Windows color output ([@thedark1337]) |
| 510 * [#2073] - Fix colors in `progress` and `landing` reporters ([@gyandeeps]) |
| 511 |
| 512 [#2053]: https://github.com/mochajs/mocha/pull/2053 |
| 513 [#2072]: https://github.com/mochajs/mocha/pull/2072 |
| 514 [#2073]: https://github.com/mochajs/mocha/pull/2073 |
| 515 [@gyandeeps]: https://github.com/gyandeeps |
| 516 [@thedark1337]: https://github.com/thedark1337 |
| 517 |
| 518 2.4.1 / 2016-01-26 |
| 519 ================== |
| 520 |
| 521 * [#2067] - Fix HTML/doc reporter regressions ([@danielstjules]) |
| 522 |
| 523 [#2067]: https://github.com/mochajs/mocha/pull/2067 |
| 524 |
| 525 2.4.0 / 2016-01-25 |
| 526 ================== |
| 527 |
| 528 * [#1945] - Correctly skip tests when skipping in suite's before() ([@ryanshawty
]) |
| 529 * [#2056] - chore(license): update license year to 2016 ([@pra85]) |
| 530 * [#2048] - Fix `this.skip` from spec with HTML reporter ([@mislav]) |
| 531 * [#2033] - Update tests for newer versions of should.js ([@tomhughes]) |
| 532 * [#2037] - Fix for memory leak caused by referenced to deferred test ([@bd82]) |
| 533 * [#2038] - Also run Travis-CI on node.js 4 & 5 ([@bd82]) |
| 534 * [#2028] - Remove reference to test before afterAll hook runs ([@stonelgh]) |
| 535 * Bump mkdirp to 0.5.1 to support strict mode ([@danielstjules]) |
| 536 * [#1977] - safely stringify PhantomJS undefined value ([@ahamid]) |
| 537 * Add the ability to retry tests ([@@longlho]) |
| 538 * [#1982] - Enable --log-timer-events option [@Alaneor] |
| 539 * Fix #1980: Load mocha.opts from bin/mocha and bin/_mocha ([@danielstjules]) |
| 540 * [#1976] - Simplify function call ([@iclanzan]) |
| 541 * [#1963] - Add support --perf-basic-prof ([@robraux]) |
| 542 * [#1981] - Fix HTML reporter handling of done and exceptions ([@Standard8]) |
| 543 * [#1993] - propagate "file" property for "exports" interface ([@segrey]) |
| 544 * [#1999] - Add support for strict mode ([@tmont]) |
| 545 * [#2005] - XUnit Reporter Writes to stdout, falls back to console.log ([@jonnyr
eeves]) |
| 546 * [#2021] - Fix non ES5 compliant regexp ([@zetaben]) |
| 547 * [#1965] - Don't double install BDD UI ([@cowboyd]) |
| 548 * [#1995] - Make sure the xunit output dir exists before writing to it ([@ianwre
mmel]) |
| 549 * Use chalk for the base reporter colors; closes #1200 ([@boneskull]) |
| 550 * Fix requiring custom interfaces ([@jgkim]) |
| 551 * [#1967] Silence Bluebird js warnings ([@krisr]) |
| 552 |
| 553 [#1945]: https://github.com/mochajs/mocha/pull/1945 |
| 554 [#2056]: https://github.com/mochajs/mocha/pull/2056 |
| 555 [#2048]: https://github.com/mochajs/mocha/pull/2048 |
| 556 [#2033]: https://github.com/mochajs/mocha/pull/2033 |
| 557 [#2037]: https://github.com/mochajs/mocha/pull/2037 |
| 558 [#2038]: https://github.com/mochajs/mocha/pull/2038 |
| 559 [#2028]: https://github.com/mochajs/mocha/pull/2028 |
| 560 [#1977]: https://github.com/mochajs/mocha/pull/1977 |
| 561 [#1982]: https://github.com/mochajs/mocha/pull/1982 |
| 562 [#1976]: https://github.com/mochajs/mocha/pull/1976 |
| 563 [#1963]: https://github.com/mochajs/mocha/pull/1963 |
| 564 [#1981]: https://github.com/mochajs/mocha/pull/1981 |
| 565 [#1993]: https://github.com/mochajs/mocha/pull/1993 |
| 566 [#1999]: https://github.com/mochajs/mocha/pull/1999 |
| 567 [#2005]: https://github.com/mochajs/mocha/pull/2005 |
| 568 [#2021]: https://github.com/mochajs/mocha/pull/2021 |
| 569 [1965#]: https://github.com/mochajs/mocha/pull/1965 |
| 570 [#1995]: https://github.com/mochajs/mocha/pull/1995 |
| 571 [#1967]: https://github.com/mochajs/mocha/pull/1967 |
| 572 [@ryanshawty]: https://github.com/ryanshawty |
| 573 [@pra85]: https://github.com/pra85 |
| 574 [@mislav]: https://github.com/mislav |
| 575 [@tomhughes]: https://github.com/tomhughes |
| 576 [@bd82]: https://github.com/bd82 |
| 577 [@stonelgh]: https://github.com/stonelgh |
| 578 [@danielstjules]: https://github.com/danielstjules |
| 579 [@ahamid]: https://github.com/ahamid |
| 580 [@longlho]: https://github.com/longlho |
| 581 [@Alaneor]: https://github.com/Alaneor |
| 582 [@iclanzan]: https://github.com/iclanzan |
| 583 [@robraux]: https://github.com/robraux |
| 584 [@Standard8]: https://github.com/Standard8 |
| 585 [@segrey]: https://github.com/segrey |
| 586 [@tmont]: https://github.com/tmont |
| 587 [@jonnyreeves]: https://github.com/jonnyreeves |
| 588 [@zetaben]: https://github.com/zetaben |
| 589 [@cowboyd]: https://github.com/cowboyd |
| 590 [@ianwremmel]: https://github.com/ianwremmel |
| 591 [@boneskull]: https://github.com/boneskull |
| 592 [@jgkim]: https://github.com/jgkim |
| 593 [@krisr]: https://github.com/krisr |
| 594 |
| 595 2.3.4 / 2015-11-15 |
| 596 ================== |
| 597 |
| 598 * Update debug dependency to 2.2.0 |
| 599 * remove duplication of mocha.opts on process.argv |
| 600 * Fix typo in test/reporters/nyan.js |
| 601 |
| 602 2.3.3 / 2015-09-19 |
| 603 ================== |
| 604 |
| 605 * [#1875] - Fix Markdown reporter exceeds maximum call stack size ([@danielstju
les]) |
| 606 * [#1864] - Fix xunit missing output with --reporter-options output ([@danielst
jules]) |
| 607 * [#1846] - Support all harmony flags ([@danielstjules]) |
| 608 * Fix fragile xunit reporter spec ([@danielstjules]) |
| 609 * [#1669] - Fix catch uncaught errors outside test suite execution ([@danielstj
ules]) |
| 610 * [#1868] - Revert jade to support npm < v1.3.7 ([@danielstjules]) |
| 611 * [#1766] - Don't remove modules/components from stack trace in the browser ([@
danielstjules]) |
| 612 * [#1798] - Fix correctly attribute mutiple done err with hooks ([@danielstjule
s]) |
| 613 * Fix use utils.reduce for IE8 compatibility ([@wsw0108]) |
| 614 * Some linting errors fixed by [@danielstjules] |
| 615 * Call the inspect() function if message is not set ([@kevinburke]) |
| 616 |
| 617 [#1875]: https://github.com/mochajs/mocha/issues/1875 |
| 618 [#1864]: https://github.com/mochajs/mocha/issues/1864 |
| 619 [#1846]: https://github.com/mochajs/mocha/issues/1846 |
| 620 [#1669]: https://github.com/mochajs/mocha/issues/1669 |
| 621 [#1868]: https://github.com/mochajs/mocha/issues/1868 |
| 622 [#1766]: https://github.com/mochajs/mocha/issues/1766 |
| 623 [#1798]: https://github.com/mochajs/mocha/issues/1798 |
| 624 [@danielstjules]: https://github.com/danielstjules |
| 625 [@wsw0108]: https://github.com/wsw0108 |
| 626 [@kevinburke]: https://github.com/kevinburke |
| 627 |
| 628 2.3.2 / 2015-09-07 |
| 629 ================== |
| 630 * [#1868] - Fix compatibility with older versions of NPM ([@boneskull]) |
| 631 |
| 632 [#1868]: https://github.com/mochajs/mocha/issues/1868 |
| 633 |
| 634 2.3.1 / 2015-09-06 |
| 635 ================== |
| 636 |
| 637 * [#1812] - Fix: Bail flag causes before() hooks to be run even after a failur
e ([@aaroncrows]) |
| 638 |
| 639 [#1812]: https://github.com/mochajs/mocha/issues/1812 |
| 640 [aaroncrows]: https://github.com/aaroncrows |
| 641 |
| 642 2.3.0 / 2015-08-30 |
| 643 ================== |
| 644 |
| 645 * [#553] - added --allowUncaught option ([@amsul]) |
| 646 * [#1490] - Allow --async-only to be satisfied by returning a promise ([@jlai]
) |
| 647 * [#1829] - support --max-old-space-size ([@gigadude]) |
| 648 * [#1811] - upgrade Jade dependency ([@outsideris]) |
| 649 * [#1769] - Fix async hook error handling ([@ajaykodali]) |
| 650 * [#1230] - More descriptive beforeEach/afterEach messages ([@duncanbeevers]) |
| 651 * [#1787] - Scope loading behaviour instead of using early return ([@aryeguy]) |
| 652 * [#1789] - Fix: html-runner crashing ([@sunesimonsen]) |
| 653 * [#1749] - Fix maximum call stack error on large amount of tests ([@tinganho]
) |
| 654 * [#1230] - Decorate failed hook titles with test title ([@duncanbeevers]) |
| 655 * [#1260] - Build using Browserify ([@ndhoule]) |
| 656 * [#1728] - Don't use `__proto__` ([@ndhoule]) |
| 657 * [#1781] - Fix hook error tests ([@glenjamin]) |
| 658 * [#1754] - Allow boolean --reporter-options ([@papandreou]) |
| 659 * [#1766] - Fix overly aggressive stack suppression ([@moll]) |
| 660 * [#1752] - Avoid potential infinite loop ([@gsilk]) |
| 661 * [#1761] - Fix problems running under PhantomJS ([@chromakode]) |
| 662 * [#1700] - Fix more problems running under PhantomJS ([@jbnicolai]) |
| 663 * [#1774] - Support escaped spaces in CLI options ([@adamgruber]) |
| 664 * [#1687] - Fix HTML reporter links with special chars ([@benvinegar]) |
| 665 * [#1359] - Adopt code style and enforce it using ESLint ([@ndhoule] w/ assist
from [@jbnicolai] & [@boneskull]) |
| 666 * various refactors ([@jbnicolai]) |
| 667 * [#1758] - Add cross-frame compatible Error checking ([@outdooricon]) |
| 668 * [#1741] - Remove moot `version` property from bower.json ([@kkirsche]) |
| 669 * [#1739] - Improve `HISTORY.md` ([@rstacruz]) |
| 670 * [#1730] - Support more io.js flags ([@ryedog]) |
| 671 * [#1349] - Allow HTML in HTML reporter errors ([@papandreou] / [@sunesimonsen
]) |
| 672 * [#1572] - Prevent default browser behavior for failure/pass links ([@jschill
i]) |
| 673 * [#1630] - Support underscored harmony flags ([@dominicbarnes]) |
| 674 * [#1718] - Support more harmony flags ([@slyg]) |
| 675 * [#1689] - Add stack to JSON-stream reporter ([@jonathandelgado]) |
| 676 * [#1654] - Fix `ReferenceError` "location is not defined" ([@jakemmarsh]) |
| 677 |
| 678 [#553]: https://github.com/mochajs/mocha/issues/553 |
| 679 [#1490]: https://github.com/mochajs/mocha/issues/1490 |
| 680 [#1829]: https://github.com/mochajs/mocha/issues/1829 |
| 681 [#1811]: https://github.com/mochajs/mocha/issues/1811 |
| 682 [#1769]: https://github.com/mochajs/mocha/issues/1769 |
| 683 [#1230]: https://github.com/mochajs/mocha/issues/1230 |
| 684 [#1787]: https://github.com/mochajs/mocha/issues/1787 |
| 685 [#1789]: https://github.com/mochajs/mocha/issues/1789 |
| 686 [#1749]: https://github.com/mochajs/mocha/issues/1749 |
| 687 [#1230]: https://github.com/mochajs/mocha/issues/1230 |
| 688 [#1260]: https://github.com/mochajs/mocha/issues/1260 |
| 689 [#1728]: https://github.com/mochajs/mocha/issues/1728 |
| 690 [#1781]: https://github.com/mochajs/mocha/issues/1781 |
| 691 [#1754]: https://github.com/mochajs/mocha/issues/1754 |
| 692 [#1766]: https://github.com/mochajs/mocha/issues/1766 |
| 693 [#1752]: https://github.com/mochajs/mocha/issues/1752 |
| 694 [#1761]: https://github.com/mochajs/mocha/issues/1761 |
| 695 [#1700]: https://github.com/mochajs/mocha/issues/1700 |
| 696 [#1774]: https://github.com/mochajs/mocha/issues/1774 |
| 697 [#1687]: https://github.com/mochajs/mocha/issues/1687 |
| 698 [#1359]: https://github.com/mochajs/mocha/issues/1359 |
| 699 [#1758]: https://github.com/mochajs/mocha/issues/1758 |
| 700 [#1741]: https://github.com/mochajs/mocha/issues/1741 |
| 701 [#1739]: https://github.com/mochajs/mocha/issues/1739 |
| 702 [#1730]: https://github.com/mochajs/mocha/issues/1730 |
| 703 [#1349]: https://github.com/mochajs/mocha/issues/1349 |
| 704 [#1572]: https://github.com/mochajs/mocha/issues/1572 |
| 705 [#1630]: https://github.com/mochajs/mocha/issues/1630 |
| 706 [#1718]: https://github.com/mochajs/mocha/issues/1718 |
| 707 [#1689]: https://github.com/mochajs/mocha/issues/1689 |
| 708 [#1654]: https://github.com/mochajs/mocha/issues/1654 |
| 709 [@adamgruber]: https://github.com/adamgruber |
| 710 [@ajaykodali]: https://github.com/ajaykodali |
| 711 [@amsul]: https://github.com/amsul |
| 712 [@aryeguy]: https://github.com/aryeguy |
| 713 [@benvinegar]: https://github.com/benvinegar |
| 714 [@boneskull]: https://github.com/boneskull |
| 715 [@chromakode]: https://github.com/chromakode |
| 716 [@dominicbarnes]: https://github.com/dominicbarnes |
| 717 [@duncanbeevers]: https://github.com/duncanbeevers |
| 718 [@gigadude]: https://github.com/gigadude |
| 719 [@glenjamin]: https://github.com/glenjamin |
| 720 [@gsilk]: https://github.com/gsilk |
| 721 [@jakemmarsh]: https://github.com/jakemmarsh |
| 722 [@jbnicolai]: https://github.com/jbnicolai |
| 723 [@jlai]: https://github.com/jlai |
| 724 [@jonathandelgado]: https://github.com/jonathandelgado |
| 725 [@jschilli]: https://github.com/jschilli |
| 726 [@kkirsche]: https://github.com/kkirsche |
| 727 [@moll]: https://github.com/moll |
| 728 [@ndhoule]: https://github.com/ndhoule |
| 729 [@outdooricon]: https://github.com/outdooricon |
| 730 [@outsideris]: https://github.com/outsideris |
| 731 [@papandreou]: https://github.com/papandreou |
| 732 [@rstacruz]: https://github.com/rstacruz |
| 733 [@ryedog]: https://github.com/ryedog |
| 734 [@slyg]: https://github.com/slyg |
| 735 [@sunesimonsen]: https://github.com/sunesimonsen |
| 736 [@tinganho]: https://github.com/tinganho |
| 737 |
| 738 2.2.5 / 2015-05-14 |
| 739 ================== |
| 740 |
| 741 * [#1699] - Upgrade jsdiff to v1.4.0 ([@nylen]) |
| 742 * [#1648] - fix diff background colors in the console ([@nylen]) |
| 743 * [#1327] - fix tests running twice, a regression issue. ([#1686], [@danielstj
ules]) |
| 744 * [#1675] - add integration tests ([@danielstjules]) |
| 745 * [#1682] - use a valid SPDX license identifier in package.json ([@kemitchell]
) |
| 746 * [#1660] - fix assertion of invalid dates ([#1661], [@a8m]) |
| 747 * [#1241] - fix issue with multiline diffs appearing as single line ([#1655],
[@a8m]) |
| 748 |
| 749 [#1699]: https://github.com/mochajs/mocha/issues/1699 |
| 750 [#1648]: https://github.com/mochajs/mocha/issues/1648 |
| 751 [#1327]: https://github.com/mochajs/mocha/issues/1327 |
| 752 [#1686]: https://github.com/mochajs/mocha/issues/1686 |
| 753 [#1675]: https://github.com/mochajs/mocha/issues/1675 |
| 754 [#1682]: https://github.com/mochajs/mocha/issues/1682 |
| 755 [#1660]: https://github.com/mochajs/mocha/issues/1660 |
| 756 [#1661]: https://github.com/mochajs/mocha/issues/1661 |
| 757 [#1241]: https://github.com/mochajs/mocha/issues/1241 |
| 758 [#1655]: https://github.com/mochajs/mocha/issues/1655 |
| 759 [@nylen]: https://github.com/nylen |
| 760 [@danielstjules]: https://github.com/danielstjules |
| 761 [@kemitchell]: https://github.com/kemitchell |
| 762 [@a8m]: https://github.com/a8m |
| 763 |
| 764 2.2.4 / 2015-04-08 |
| 765 ================== |
| 766 |
| 767 * Load mocha.opts in _mocha for now (close #1645) |
| 768 |
| 769 2.2.3 / 2015-04-07 |
| 770 ================== |
| 771 |
| 772 * fix(reporter/base): string diff - issue #1241 |
| 773 * fix(reporter/base): string diff - issue #1241 |
| 774 * fix(reporter/base): don't show diffs for errors without expectation |
| 775 * fix(reporter/base): don't assume error message is first line of stack |
| 776 * improve: dry up reporter/base test |
| 777 * fix(reporter/base): explicitly ignore showDiff #1614 |
| 778 * Add iojs to travis build |
| 779 * Pass `--allow-natives-syntax` flag to node. |
| 780 * Support --harmony_classes flag for io.js |
| 781 * Fix 1556: Update utils.clean to handle newlines in func declarations |
| 782 * Fix 1606: fix err handling in IE <= 8 and non-ES5 browsers |
| 783 * Fix 1585: make _mocha executable again |
| 784 * chore(package.json): add a8m as a contributor |
| 785 * Fixed broken link on html-cov reporter |
| 786 * support --es_staging flag |
| 787 * fix issue where menu overlaps content. |
| 788 * update contributors in package.json |
| 789 * Remove trailing whitespace from reporter output |
| 790 * Remove contributors list from readme |
| 791 * log third-party reporter errors |
| 792 * [Fix] Exclude not own properties when looping on options |
| 793 * fix: support node args in mocha.opts (close #1573) |
| 794 * fix(reporter/base): string diff - issue #1241 |
| 795 |
| 796 2.2.1 / 2015-03-09 |
| 797 ================== |
| 798 |
| 799 * Fix passing of args intended for node/iojs. |
| 800 |
| 801 2.2.0 / 2015-03-06 |
| 802 ================== |
| 803 |
| 804 * Update mocha.js |
| 805 * Add --fgrep. Use grep for RegExp, fgrep for str |
| 806 * Ignore async global errors after spec resolution |
| 807 * Fixing errors that prevent mocha.js from loading in the browser - fixes #155
8 |
| 808 * fix(utils): issue #1558 + make |
| 809 * add ability to delay root suite; closes #362, closes #1124 |
| 810 * fix insanity in http tests |
| 811 * update travis: add node 0.12, add gitter, remove slack |
| 812 * building |
| 813 * resolve #1548: ensure the environment's "node" executable is used |
| 814 * reporters/base: use supports-color to detect colorable term |
| 815 * travis: use docker containers |
| 816 * small fix: commander option for --expose-gc |
| 817 * Ignore asynchronous errors after global failure |
| 818 * Improve error output when a test fails with a non-error |
| 819 * updated travis badge, uses svg instead of img |
| 820 * Allow skip from test context for #332 |
| 821 * [JSHINT] Unnecessary semicolon fixed in bin/_mocha |
| 822 * Added a reminder about the done() callback to test timeout error messages |
| 823 * fixes #1496, in Mocha.run(fn), check if fn exists before executing it, added
tests too |
| 824 * Add Harmony Proxy flag for iojs |
| 825 * test(utils|ms|*): test existing units |
| 826 * add support for some iojs flags |
| 827 * fix(utils.stringify): issue #1229, diff viewer |
| 828 * Remove slack link |
| 829 * Prevent multiple 'grep=' querystring params in html reporter |
| 830 * Use grep as regexp (close #1381) |
| 831 * utils.stringify should handle objects without an Object prototype |
| 832 * in runnable test, comparing to undefined error's message rather than a liter
al |
| 833 * Fix test running output truncation on async STDIO |
| 834 * ammended for deprecated customFds option in child_process |
| 835 |
| 836 2.1.0 / 2014-12-23 |
| 837 ================== |
| 838 |
| 839 * showDiff: don’t stringify strings |
| 840 * Clean up unused module dependencies. |
| 841 * Filter zero-length strings from mocha.opts |
| 842 * only write to stdout in reporters |
| 843 * Revert "only write to stdout in reporters" |
| 844 * Print colored output only to a tty |
| 845 * update summary in README.md |
| 846 * rename Readme.md/History.md to README.md/HISTORY.md because neurotic |
| 847 * add .mailmap to fix "git shortlog" or "git summary" output |
| 848 * fixes #1461: nyan-reporter now respects Base.useColors, fixed bug where Base.
color would not return a string when str wasn't a string. |
| 849 * Use existing test URL builder in failed replay links |
| 850 * modify .travis.yml: use travis_retry; closes #1449 |
| 851 * fix -t 0 behavior; closes #1446 |
| 852 * fix tests (whoops) |
| 853 * improve diff behavior |
| 854 * Preserve pathname when linking to individual tests |
| 855 * Fix test |
| 856 * Tiny typo in comments fixed |
| 857 * after hooks now being called on failed tests when using bail, fixes #1093 |
| 858 * fix throwing undefined/null now makes tests fail, fixes #1395 |
| 859 * compiler extensions are added as watched extensions, removed non-standard ext
ensions from watch regex, resolves #1221 |
| 860 * prefix/namespace for suite titles in markdown reporter, fixes #554 |
| 861 * fix more bad markdown in CONTRIBUTING.md |
| 862 * fix bad markdown in CONTRIBUTING.md |
| 863 * add setImmediate/clearImmediate to globals; closes #1435 |
| 864 * Fix buffer diffs (closes #1132, closes #1433) |
| 865 * add a CONTRIBUTING.md. closes #882 |
| 866 * fix intermittent build failures (maybe). closes #1407 |
| 867 * add Slack notification to .travis.yml |
| 868 * Fix slack link |
| 869 * Add slack room to readme |
| 870 * Update maintainers |
| 871 * update maintainers and contributors |
| 872 * resolves #1393: kill children with more effort on SIGINT |
| 873 * xunit reporter support for optionally writing to a file |
| 874 * if a reporter has a .done method, call it before exiting |
| 875 * add support for reporter options |
| 876 * only write to stdout in reporters |
| 877 |
| 878 2.0.0 / 2014-10-21 |
| 879 ================== |
| 880 |
| 881 * remove: support for node 0.6.x, 0.4.x |
| 882 * fix: landing reporter with non ansi characters (#211) |
| 883 * fix: html reporter - preserve query params when navigating to suites/tests (#
1358) |
| 884 * fix: json stream reporter add error message to failed test |
| 885 * fix: fixes for visionmedia -> mochajs |
| 886 * fix: use stdio, fixes node deprecation warnings (#1391) |
| 887 |
| 888 1.21.5 / 2014-10-11 |
| 889 ================== |
| 890 |
| 891 * fix: build for NodeJS v0.6.x |
| 892 * fix: do not attempt to highlight syntax when non-HTML reporter is used |
| 893 * update: escape-string-regexp to 1.0.2. |
| 894 * fix: botched indentation in canonicalize() |
| 895 * fix: .gitignore: ignore .patch and .diff files |
| 896 * fix: changed 'Catched' to 'Caught' in uncaught exception error handler messag
es |
| 897 * add: `pending` field for json reporter |
| 898 * fix: Runner.prototype.uncaught: don't double-end runnables that already have
a state. |
| 899 * fix: --recursive, broken by f0facd2e |
| 900 * update: replaces escapeRegexp with the escape-string-regexp package. |
| 901 * update: commander to 2.3.0. |
| 902 * update: diff to 1.0.8. |
| 903 * fix: ability to disable syntax highlighting (#1329) |
| 904 * fix: added empty object to errorJSON() call to catch when no error is present |
| 905 * fix: never time out after calling enableTimeouts(false) |
| 906 * fix: timeout(0) will work at suite level (#1300) |
| 907 * Fix for --watch+only() issue (#888 ) |
| 908 * fix: respect err.showDiff, add Base reporter test (#810) |
| 909 |
| 910 1.22.1-3 / 2014-07-27 |
| 911 ================== |
| 912 |
| 913 * fix: disabling timeouts with this.timeout(0) (#1301) |
| 914 |
| 915 1.22.1-3 / 2014-07-27 |
| 916 ================== |
| 917 |
| 918 * fix: local uis and reporters (#1288) |
| 919 * fix: building 1.21.0's changes in the browser (#1284) |
| 920 |
| 921 1.21.0 / 2014-07-23 |
| 922 ================== |
| 923 |
| 924 * add: --no-timeouts option (#1262, #1268) |
| 925 * add: --*- deprecation node flags (#1217) |
| 926 * add: --watch-extensions argument (#1247) |
| 927 * change: spec reporter is default (#1228) |
| 928 * fix: diff output showing incorrect +/- (#1182) |
| 929 * fix: diffs of circular structures (#1179) |
| 930 * fix: re-render the progress bar when progress has changed only (#1151) |
| 931 * fix support for environments with global and window (#1159) |
| 932 * fix: reverting to previously defined onerror handler (#1178) |
| 933 * fix: stringify non error objects passed to done() (#1270) |
| 934 * fix: using local ui, reporters (#1267) |
| 935 * fix: cleaning es6 arrows (#1176) |
| 936 * fix: don't include attrs in failure tag for xunit (#1244) |
| 937 * fix: fail tests that return a promise if promise is rejected w/o a reason (#
1224) |
| 938 * fix: showing failed tests in doc reporter (#1117) |
| 939 * fix: dot reporter dots being off (#1204) |
| 940 * fix: catch empty throws (#1219) |
| 941 * fix: honoring timeout for sync operations (#1242) |
| 942 * update: growl to 1.8.0 |
| 943 |
| 944 1.20.1 / 2014-06-03 |
| 945 ================== |
| 946 |
| 947 * update: should dev dependency to ~4.0.0 (#1231) |
| 948 |
| 949 1.20.0 / 2014-05-28 |
| 950 ================== |
| 951 |
| 952 * add: filenames to suite objects (#1222) |
| 953 |
| 954 1.19.0 / 2014-05-17 |
| 955 ================== |
| 956 |
| 957 * add: browser script option to package.json |
| 958 * add: export file in Mocha.Test objects (#1174) |
| 959 * add: add docs for wrapped node flags |
| 960 * fix: mocha.run() to return error status in browser (#1216) |
| 961 * fix: clean() to show failure details (#1205) |
| 962 * fix: regex that generates html for new keyword (#1201) |
| 963 * fix: sibling suites have inherited but separate contexts (#1164) |
| 964 |
| 965 |
| 966 1.18.2 / 2014-03-18 |
| 967 ================== |
| 968 |
| 969 * fix: html runner was prevented from using #mocha as the default root el (#11
62) |
| 970 |
| 971 1.18.1 / 2014-03-18 |
| 972 ================== |
| 973 |
| 974 * fix: named before/after hooks in bdd, tdd, qunit interfaces (#1161) |
| 975 |
| 976 1.18.0 / 2014-03-13 |
| 977 ================== |
| 978 |
| 979 * add: promise support (#329) |
| 980 * add: named before/after hooks (#966) |
| 981 |
| 982 1.17.1 / 2014-01-22 |
| 983 ================== |
| 984 |
| 985 * fix: expected messages in should.js (should.js#168) |
| 986 * fix: expect errno global in node versions < v0.9.11 (#1111) |
| 987 * fix: unreliable checkGlobals optimization (#1110) |
| 988 |
| 989 1.17.0 / 2014-01-09 |
| 990 ================== |
| 991 |
| 992 * add: able to require globals (describe, it, etc.) through mocha (#1077) |
| 993 * fix: abort previous run on --watch change (#1100) |
| 994 * fix: reset context for each --watch triggered run (#1099) |
| 995 * fix: error when cli can't resolve path or pattern (#799) |
| 996 * fix: canonicalize objects before stringifying and diffing them (#1079) |
| 997 * fix: make CR call behave like carriage return for non tty (#1087) |
| 998 |
| 999 |
| 1000 1.16.2 / 2013-12-23 |
| 1001 ================== |
| 1002 |
| 1003 * fix: couple issues with ie 8 (#1082, #1081) |
| 1004 * fix: issue running the xunit reporter in browsers (#1068) |
| 1005 * fix: issue with firefox < 3.5 (#725) |
| 1006 |
| 1007 |
| 1008 1.16.1 / 2013-12-19 |
| 1009 ================== |
| 1010 |
| 1011 * fix: recompiled for missed changes from the last release |
| 1012 |
| 1013 |
| 1014 1.16.0 / 2013-12-19 |
| 1015 ================== |
| 1016 |
| 1017 * add: Runnable.globals(arr) for per test global whitelist (#1046) |
| 1018 * add: mocha.throwError(err) for assertion libs to call (#985) |
| 1019 * remove: --watch's spinner (#806) |
| 1020 * fix: duplicate test output for multi-line specs in spec reporter (#1006) |
| 1021 * fix: gracefully exit on SIGINT (#1063) |
| 1022 * fix expose the specified ui only in the browser (#984) |
| 1023 * fix: ensure process exit code is preserved when using --no-exit (#1059) |
| 1024 * fix: return true from window.onerror handler (#868) |
| 1025 * fix: xunit reporter to use process.stdout.write (#1068) |
| 1026 * fix: utils.clean(str) indentation (#761) |
| 1027 * fix: xunit reporter returning test duration a NaN (#1039) |
| 1028 |
| 1029 1.15.1 / 2013-12-03 |
| 1030 ================== |
| 1031 |
| 1032 * fix: recompiled for missed changes from the last release |
| 1033 |
| 1034 1.15.0 / 2013-12-02 |
| 1035 ================== |
| 1036 |
| 1037 * add: `--no-exit` to prevent `process.exit()` (#1018) |
| 1038 * fix: using inline diffs (#1044) |
| 1039 * fix: show pending test details in xunit reporter (#1051) |
| 1040 * fix: faster global leak detection (#1024) |
| 1041 * fix: yui compression (#1035) |
| 1042 * fix: wrapping long lines in test results (#1030, #1031) |
| 1043 * fix: handle errors in hooks (#1043) |
| 1044 |
| 1045 1.14.0 / 2013-11-02 |
| 1046 ================== |
| 1047 |
| 1048 * add: unified diff (#862) |
| 1049 * add: set MOCHA_COLORS env var to use colors (#965) |
| 1050 * add: able to override tests links in html reporters (#776) |
| 1051 * remove: teamcity reporter (#954) |
| 1052 * update: commander dependency to 2.0.0 (#1010) |
| 1053 * fix: mocha --ui will try to require the ui if not built in, as --reporter do
es (#1022) |
| 1054 * fix: send cursor commands only if isatty (#184, #1003) |
| 1055 * fix: include assertion message in base reporter (#993, #991) |
| 1056 * fix: consistent return of it, it.only, and describe, describe.only (#840) |
| 1057 |
| 1058 1.13.0 / 2013-09-15 |
| 1059 ================== |
| 1060 |
| 1061 * add: sort test files with --sort (#813) |
| 1062 * update: diff depedency to 1.0.7 |
| 1063 * update: glob dependency to 3.2.3 (#927) |
| 1064 * fix: diffs show whitespace differences (#976) |
| 1065 * fix: improve global leaks (#783) |
| 1066 * fix: firefox window.getInterface leak |
| 1067 * fix: accessing iframe via window[iframeIndex] leak |
| 1068 * fix: faster global leak checking |
| 1069 * fix: reporter pending css selector (#970) |
| 1070 |
| 1071 1.12.1 / 2013-08-29 |
| 1072 ================== |
| 1073 |
| 1074 * remove test.js from .gitignore |
| 1075 * update included version of ms.js |
| 1076 |
| 1077 1.12.0 / 2013-07-01 |
| 1078 ================== |
| 1079 |
| 1080 * add: prevent diffs for differing types. Closes #900 |
| 1081 * add `Mocha.process` hack for phantomjs |
| 1082 * fix: use compilers with requires |
| 1083 * fix regexps in diffs. Closes #890 |
| 1084 * fix xunit NaN on failure. Closes #894 |
| 1085 * fix: strip tab indentation in `clean` utility method |
| 1086 * fix: textmate bundle installation |
| 1087 |
| 1088 1.11.0 / 2013-06-12 |
| 1089 ================== |
| 1090 |
| 1091 * add --prof support |
| 1092 * add --harmony support |
| 1093 * add --harmony-generators support |
| 1094 * add "Uncaught " prefix to uncaught exceptions |
| 1095 * add web workers support |
| 1096 * add `suite.skip()` |
| 1097 * change to output # of pending / passing even on failures. Closes #872 |
| 1098 * fix: prevent hooks from being called if we are bailing |
| 1099 * fix `this.timeout(0)` |
| 1100 |
| 1101 1.10.0 / 2013-05-21 |
| 1102 ================== |
| 1103 |
| 1104 * add add better globbing support for windows via `glob` module |
| 1105 * add support to pass through flags such as --debug-brk=1234. Closes #852 |
| 1106 * add test.only, test.skip to qunit interface |
| 1107 * change to always use word-based diffs for now. Closes #733 |
| 1108 * change `mocha init` tests.html to index.html |
| 1109 * fix `process` global leak in the browser |
| 1110 * fix: use resolve() instead of join() for --require |
| 1111 * fix: filterLeaks() condition to not consider indices in global object as leak
s |
| 1112 * fix: restrict mocha.css styling to #mocha id |
| 1113 * fix: save timer references to avoid Sinon interfering in the browser build. |
| 1114 |
| 1115 1.9.0 / 2013-04-03 |
| 1116 ================== |
| 1117 |
| 1118 * add improved setImmediate implementation |
| 1119 * replace --ignore-leaks with --check-leaks |
| 1120 * change default of ignoreLeaks to true. Closes #791 |
| 1121 * remove scrolling for HTML reporter |
| 1122 * fix retina support |
| 1123 * fix tmbundle, restrict to js scope |
| 1124 |
| 1125 1.8.2 / 2013-03-11 |
| 1126 ================== |
| 1127 |
| 1128 * add `setImmediate` support for 0.10.x |
| 1129 * fix mocha -w spinner on windows |
| 1130 |
| 1131 1.8.1 / 2013-01-09 |
| 1132 ================== |
| 1133 |
| 1134 * fix .bail() arity check causing it to default to true |
| 1135 |
| 1136 1.8.0 / 2013-01-08 |
| 1137 ================== |
| 1138 |
| 1139 * add Mocha() options bail support |
| 1140 * add `Mocha#bail()` method |
| 1141 * add instanceof check back for inheriting from Error |
| 1142 * add component.json |
| 1143 * add diff.js to browser build |
| 1144 * update growl |
| 1145 * fix TAP reporter failures comment :D |
| 1146 |
| 1147 1.7.4 / 2012-12-06 |
| 1148 ================== |
| 1149 |
| 1150 * add total number of passes and failures to TAP |
| 1151 * remove .bind() calls. re #680 |
| 1152 * fix indexOf. Closes #680 |
| 1153 |
| 1154 1.7.3 / 2012-11-30 |
| 1155 ================== |
| 1156 |
| 1157 * fix uncaught error support for the browser |
| 1158 * revert uncaught "fix" which breaks node |
| 1159 |
| 1160 1.7.2 / 2012-11-28 |
| 1161 ================== |
| 1162 |
| 1163 * fix uncaught errors to expose the original error message |
| 1164 |
| 1165 1.7.0 / 2012-11-07 |
| 1166 ================== |
| 1167 |
| 1168 * add `--async-only` support to prevent false positives for missing `done()` |
| 1169 * add sorting by filename in code coverage |
| 1170 * add HTML 5 doctype to browser template. |
| 1171 * add play button to html reporter to rerun a single test |
| 1172 * add `this.timeout(ms)` as Suite#timeout(ms). Closes #599 |
| 1173 * update growl dependency to 1.6.x |
| 1174 * fix encoding of test-case ?grep. Closes #637 |
| 1175 * fix unicode chars on windows |
| 1176 * fix dom globals in Opera/IE. Closes #243 |
| 1177 * fix markdown reporter a tags |
| 1178 * fix `this.timeout("5s")` support |
| 1179 |
| 1180 1.6.0 / 2012-10-02 |
| 1181 ================== |
| 1182 |
| 1183 * add object diffs when `err.showDiff` is present |
| 1184 * add hiding of empty suites when pass/failures are toggled |
| 1185 * add faster `.length` checks to `checkGlobals()` before performing the filter |
| 1186 |
| 1187 1.5.0 / 2012-09-21 |
| 1188 ================== |
| 1189 |
| 1190 * add `ms()` to `.slow()` and `.timeout()` |
| 1191 * add `Mocha#checkLeaks()` to re-enable global leak checks |
| 1192 * add `this.slow()` option [aheckmann] |
| 1193 * add tab, CR, LF to error diffs for now |
| 1194 * add faster `.checkGlobals()` solution [guille] |
| 1195 * remove `fn.call()` from reduce util |
| 1196 * remove `fn.call()` from filter util |
| 1197 * fix forEach. Closes #582 |
| 1198 * fix relaying of signals [TooTallNate] |
| 1199 * fix TAP reporter grep number |
| 1200 |
| 1201 1.4.2 / 2012-09-01 |
| 1202 ================== |
| 1203 |
| 1204 * add support to multiple `Mocha#globals()` calls, and strings |
| 1205 * add `mocha.reporter()` constructor support [jfirebaugh] |
| 1206 * add `mocha.timeout()` |
| 1207 * move query-string parser to utils.js |
| 1208 * move highlight code to utils.js |
| 1209 * fix third-party reporter support [exogen] |
| 1210 * fix client-side API to match node-side [jfirebaugh] |
| 1211 * fix mocha in iframe [joliss] |
| 1212 |
| 1213 1.4.1 / 2012-08-28 |
| 1214 ================== |
| 1215 |
| 1216 * add missing `Markdown` export |
| 1217 * fix `Mocha#grep()`, escape regexp strings |
| 1218 * fix reference error when `devicePixelRatio` is not defined. Closes #549 |
| 1219 |
| 1220 1.4.0 / 2012-08-22 |
| 1221 ================== |
| 1222 |
| 1223 * add mkdir -p to `mocha init`. Closes #539 |
| 1224 * add `.only()`. Closes #524 |
| 1225 * add `.skip()`. Closes #524 |
| 1226 * change str.trim() to use utils.trim(). Closes #533 |
| 1227 * fix HTML progress indicator retina display |
| 1228 * fix url-encoding of click-to-grep HTML functionality |
| 1229 |
| 1230 1.3.2 / 2012-08-01 |
| 1231 ================== |
| 1232 |
| 1233 * fix exports double-execution regression. Closes #531 |
| 1234 |
| 1235 1.3.1 / 2012-08-01 |
| 1236 ================== |
| 1237 |
| 1238 * add passes/failures toggling to HTML reporter |
| 1239 * add pending state to `xit()` and `xdescribe()` [Brian Moore] |
| 1240 * add the @charset "UTF-8"; to fix #522 with FireFox. [Jonathan Creamer] |
| 1241 * add border-bottom to #stats links |
| 1242 * add check for runnable in `Runner#uncaught()`. Closes #494 |
| 1243 * add 0.4 and 0.6 back to travis.yml |
| 1244 * add `-E, --growl-errors` to growl on failures only |
| 1245 * add prefixes to debug() names. Closes #497 |
| 1246 * add `Mocha#invert()` to js api |
| 1247 * change dot reporter to use sexy unicode dots |
| 1248 * fix error when clicking pending test in HTML reporter |
| 1249 * fix `make tm` |
| 1250 |
| 1251 1.3.0 / 2012-07-05 |
| 1252 ================== |
| 1253 |
| 1254 * add window scrolling to `HTML` reporter |
| 1255 * add v8 `--trace-*` option support |
| 1256 * add support for custom reports via `--reporter MODULE` |
| 1257 * add `--invert` switch to invert `--grep` matches |
| 1258 * fix export of `Nyan` reporter. Closes #495 |
| 1259 * fix escaping of `HTML` suite titles. Closes #486 |
| 1260 * fix `done()` called multiple times with an error test |
| 1261 * change `--grep` - regexp escape the input |
| 1262 |
| 1263 1.2.2 / 2012-06-28 |
| 1264 ================== |
| 1265 |
| 1266 * Added 0.8.0 support |
| 1267 |
| 1268 1.2.1 / 2012-06-25 |
| 1269 ================== |
| 1270 |
| 1271 * Added `this.test.error(err)` support to after each hooks. Closes #287 |
| 1272 * Added: export top-level suite on global mocha object (mocha.suite). Closes #
448 |
| 1273 * Fixed `js` code block format error in markdown reporter |
| 1274 * Fixed deprecation warning when using `path.existsSync` |
| 1275 * Fixed --globals with wildcard |
| 1276 * Fixed chars in nyan when his head moves back |
| 1277 * Remove `--growl` from test/mocha.opts. Closes #289 |
| 1278 |
| 1279 1.2.0 / 2012-06-17 |
| 1280 ================== |
| 1281 |
| 1282 * Added `nyan` reporter [Atsuya Takagi] |
| 1283 * Added `mocha init <path>` to copy client files |
| 1284 * Added "specify" synonym for "it" [domenic] |
| 1285 * Added global leak wildcard support [nathanbowser] |
| 1286 * Fixed runner emitter leak. closes #432 |
| 1287 * Fixed omission of .js extension. Closes #454 |
| 1288 |
| 1289 1.1.0 / 2012-05-30 |
| 1290 ================== |
| 1291 |
| 1292 * Added: check each `mocha(1)` arg for directories to walk |
| 1293 * Added `--recursive` [tricknotes] |
| 1294 * Added `context` for BDD [hokaccha] |
| 1295 * Added styling for new clickable titles |
| 1296 * Added clickable suite titles to HTML reporter |
| 1297 * Added warning when strings are thrown as errors |
| 1298 * Changed: green arrows again in HTML reporter styling |
| 1299 * Changed ul/li elements instead of divs for better copy-and-pasting [joliss] |
| 1300 * Fixed issue #325 - add better grep support to js api |
| 1301 * Fixed: save timer references to avoid Sinon interfering. |
| 1302 |
| 1303 1.0.3 / 2012-04-30 |
| 1304 ================== |
| 1305 |
| 1306 * Fixed string diff newlines |
| 1307 * Fixed: removed mocha.css target. Closes #401 |
| 1308 |
| 1309 1.0.2 / 2012-04-25 |
| 1310 ================== |
| 1311 |
| 1312 * Added HTML reporter duration. Closes #47 |
| 1313 * Fixed: one postMessage event listener [exogen] |
| 1314 * Fixed: allow --globals to be used multiple times. Closes #100 [brendannee] |
| 1315 * Fixed #158: removes jquery include from browser tests |
| 1316 * Fixed grep. Closes #372 [brendannee] |
| 1317 * Fixed #166 - When grepping don't display the empty suites |
| 1318 * Removed test/browser/style.css. Closes #385 |
| 1319 |
| 1320 1.0.1 / 2012-04-04 |
| 1321 ================== |
| 1322 |
| 1323 * Fixed `.timeout()` in hooks |
| 1324 * Fixed: allow callback for `mocha.run()` in client version |
| 1325 * Fixed browser hook error display. Closes #361 |
| 1326 |
| 1327 1.0.0 / 2012-03-24 |
| 1328 ================== |
| 1329 |
| 1330 * Added js API. Closes #265 |
| 1331 * Added: initial run of tests with `--watch`. Closes #345 |
| 1332 * Added: mark `location` as a global on the CS. Closes #311 |
| 1333 * Added `markdown` reporter (github flavour) |
| 1334 * Added: scrolling menu to coverage.html. Closes #335 |
| 1335 * Added source line to html report for Safari [Tyson Tate] |
| 1336 * Added "min" reporter, useful for `--watch` [Jakub Nešetřil] |
| 1337 * Added support for arbitrary compilers via . Closes #338 [Ian Young] |
| 1338 * Added Teamcity export to lib/reporters/index [Michael Riley] |
| 1339 * Fixed chopping of first char in error reporting. Closes #334 [reported by to
pfunky] |
| 1340 * Fixed terrible FF / Opera stack traces |
| 1341 |
| 1342 0.14.1 / 2012-03-06 |
| 1343 ================== |
| 1344 |
| 1345 * Added lib-cov to _.npmignore_ |
| 1346 * Added reporter to `mocha.run([reporter])` as argument |
| 1347 * Added some margin-top to the HTML reporter |
| 1348 * Removed jQuery dependency |
| 1349 * Fixed `--watch`: purge require cache. Closes #266 |
| 1350 |
| 1351 0.14.0 / 2012-03-01 |
| 1352 ================== |
| 1353 |
| 1354 * Added string diff support for terminal reporters |
| 1355 |
| 1356 0.13.0 / 2012-02-23 |
| 1357 ================== |
| 1358 |
| 1359 * Added preliminary test coverage support. Closes #5 |
| 1360 * Added `HTMLCov` reporter |
| 1361 * Added `JSONCov` reporter [kunklejr] |
| 1362 * Added `xdescribe()` and `xit()` to the BDD interface. Closes #263 (docs *
Changed: make json reporter output pretty json |
| 1363 * Fixed node-inspector support, swapped `--debug` for `debug` to match node. |
| 1364 needed) |
| 1365 Closes #247 |
| 1366 |
| 1367 0.12.1 / 2012-02-14 |
| 1368 ================== |
| 1369 |
| 1370 * Added `npm docs mocha` support [TooTallNate] |
| 1371 * Added a `Context` object used for hook and test-case this. Closes #253 |
| 1372 * Fixed `Suite#clone()` `.ctx` reference. Closes #262 |
| 1373 |
| 1374 0.12.0 / 2012-02-02 |
| 1375 ================== |
| 1376 |
| 1377 * Added .coffee `--watch` support. Closes #242 |
| 1378 * Added support to `--require` files relative to the CWD. Closes #241 |
| 1379 * Added quick n dirty syntax highlighting. Closes #248 |
| 1380 * Changed: made HTML progress indicator smaller |
| 1381 * Fixed xunit errors attribute [dhendo] |
| 1382 |
| 1383 0.10.2 / 2012-01-21 |
| 1384 ================== |
| 1385 |
| 1386 * Fixed suite count in reporter stats. Closes #222 |
| 1387 * Fixed `done()` after timeout error reporting [Phil Sung] |
| 1388 * Changed the 0-based errors to 1 |
| 1389 |
| 1390 0.10.1 / 2012-01-17 |
| 1391 ================== |
| 1392 |
| 1393 * Added support for node 0.7.x |
| 1394 * Fixed absolute path support. Closes #215 [kompiro] |
| 1395 * Fixed `--no-colors` option [Jussi Virtanen] |
| 1396 * Fixed Arial CSS typo in the correct file |
| 1397 |
| 1398 0.10.0 / 2012-01-13 |
| 1399 ================== |
| 1400 |
| 1401 * Added `-b, --bail` to exit on first exception [guillermo] |
| 1402 * Added support for `-gc` / `--expose-gc` [TooTallNate] |
| 1403 * Added `qunit`-inspired interface |
| 1404 * Added MIT LICENSE. Closes #194 |
| 1405 * Added: `--watch` all .js in the CWD. Closes #139 |
| 1406 * Fixed `self.test` reference in runner. Closes #189 |
| 1407 * Fixed double reporting of uncaught exceptions after timeout. Closes #195 |
| 1408 |
| 1409 0.8.2 / 2012-01-05 |
| 1410 ================== |
| 1411 |
| 1412 * Added test-case context support. Closes #113 |
| 1413 * Fixed exit status. Closes #187 |
| 1414 * Update commander. Closes #190 |
| 1415 |
| 1416 0.8.1 / 2011-12-30 |
| 1417 ================== |
| 1418 |
| 1419 * Fixed reporting of uncaught exceptions. Closes #183 |
| 1420 * Fixed error message defaulting [indutny] |
| 1421 * Changed mocha(1) from bash to node for windows [Nathan Rajlich] |
| 1422 |
| 1423 0.8.0 / 2011-12-28 |
| 1424 ================== |
| 1425 |
| 1426 * Added `XUnit` reporter [FeeFighters/visionmedia] |
| 1427 * Added `say(1)` notification support [Maciej Małecki] |
| 1428 * Changed: fail when done() is invoked with a non-Error. Closes #171 |
| 1429 * Fixed `err.stack`, defaulting to message. Closes #180 |
| 1430 * Fixed: `make tm` mkdir -p the dest. Closes #137 |
| 1431 * Fixed mocha(1) --help bin name |
| 1432 * Fixed `-d` for `--debug` support |
| 1433 |
| 1434 0.7.1 / 2011-12-22 |
| 1435 ================== |
| 1436 |
| 1437 * Removed `mocha-debug(1)`, use `mocha --debug` |
| 1438 * Fixed CWD relative requires |
| 1439 * Fixed growl issue on windows [Raynos] |
| 1440 * Fixed: platform specific line endings [TooTallNate] |
| 1441 * Fixed: escape strings in HTML reporter. Closes #164 |
| 1442 |
| 1443 0.7.0 / 2011-12-18 |
| 1444 ================== |
| 1445 |
| 1446 * Added support for IE{7,8} [guille] |
| 1447 * Changed: better browser nextTick implementation [guille] |
| 1448 |
| 1449 0.6.0 / 2011-12-18 |
| 1450 ================== |
| 1451 |
| 1452 * Added setZeroTimeout timeout for browser (nicer stack traces). Closes #153 |
| 1453 * Added "view source" on hover for HTML reporter to make it obvious |
| 1454 * Changed: replace custom growl with growl lib |
| 1455 * Fixed duplicate reporting for HTML reporter. Closes #154 |
| 1456 * Fixed silent hook errors in the HTML reporter. Closes #150 |
| 1457 |
| 1458 0.5.0 / 2011-12-14 |
| 1459 ================== |
| 1460 |
| 1461 * Added: push node_modules directory onto module.paths for relative require Cl
oses #93 |
| 1462 * Added teamcity reporter [blindsey] |
| 1463 * Fixed: recover from uncaught exceptions for tests. Closes #94 |
| 1464 * Fixed: only emit "test end" for uncaught within test, not hook |
| 1465 |
| 1466 0.4.0 / 2011-12-14 |
| 1467 ================== |
| 1468 |
| 1469 * Added support for test-specific timeouts via `this.timeout(0)`. Closes #134 |
| 1470 * Added guillermo's client-side EventEmitter. Closes #132 |
| 1471 * Added progress indicator to the HTML reporter |
| 1472 * Fixed slow browser tests. Closes #135 |
| 1473 * Fixed "suite" color for light terminals |
| 1474 * Fixed `require()` leak spotted by [guillermo] |
| 1475 |
| 1476 0.3.6 / 2011-12-09 |
| 1477 ================== |
| 1478 |
| 1479 * Removed suite merging (for now) |
| 1480 |
| 1481 0.3.5 / 2011-12-08 |
| 1482 ================== |
| 1483 |
| 1484 * Added support for `window.onerror` [guillermo] |
| 1485 * Fixed: clear timeout on uncaught exceptions. Closes #131 [guillermo] |
| 1486 * Added `mocha.css` to PHONY list. |
| 1487 * Added `mocha.js` to PHONY list. |
| 1488 |
| 1489 0.3.4 / 2011-12-08 |
| 1490 ================== |
| 1491 |
| 1492 * Added: allow `done()` to be called with non-Error |
| 1493 * Added: return Runner from `mocha.run()`. Closes #126 |
| 1494 * Fixed: run afterEach even on failures. Closes #125 |
| 1495 * Fixed clobbering of current runnable. Closes #121 |
| 1496 |
| 1497 0.3.3 / 2011-12-08 |
| 1498 ================== |
| 1499 |
| 1500 * Fixed hook timeouts. Closes #120 |
| 1501 * Fixed uncaught exceptions in hooks |
| 1502 |
| 1503 0.3.2 / 2011-12-05 |
| 1504 ================== |
| 1505 |
| 1506 * Fixed weird reporting when `err.message` is not present |
| 1507 |
| 1508 0.3.1 / 2011-12-04 |
| 1509 ================== |
| 1510 |
| 1511 * Fixed hook event emitter leak. Closes #117 |
| 1512 * Fixed: export `Spec` constructor. Closes #116 |
| 1513 |
| 1514 0.3.0 / 2011-12-04 |
| 1515 ================== |
| 1516 |
| 1517 * Added `-w, --watch`. Closes #72 |
| 1518 * Added `--ignore-leaks` to ignore global leak checking |
| 1519 * Added browser `?grep=pattern` support |
| 1520 * Added `--globals <names>` to specify accepted globals. Closes #99 |
| 1521 * Fixed `mocha-debug(1)` on some systems. Closes #232 |
| 1522 * Fixed growl total, use `runner.total` |
| 1523 |
| 1524 0.2.0 / 2011-11-30 |
| 1525 ================== |
| 1526 |
| 1527 * Added `--globals <names>` to specify accepted globals. Closes #99 |
| 1528 * Fixed funky highlighting of messages. Closes #97 |
| 1529 * Fixed `mocha-debug(1)`. Closes #232 |
| 1530 * Fixed growl total, use runner.total |
| 1531 |
| 1532 0.1.0 / 2011-11-29 |
| 1533 ================== |
| 1534 |
| 1535 * Added `suiteSetup` and `suiteTeardown` to TDD interface [David Henderson] |
| 1536 * Added growl icons. Closes #84 |
| 1537 * Fixed coffee-script support |
| 1538 |
| 1539 0.0.8 / 2011-11-25 |
| 1540 ================== |
| 1541 |
| 1542 * Fixed: use `Runner#total` for accurate reporting |
| 1543 |
| 1544 0.0.7 / 2011-11-25 |
| 1545 ================== |
| 1546 |
| 1547 * Added `Hook` |
| 1548 * Added `Runnable` |
| 1549 * Changed: `Test` is `Runnable` |
| 1550 * Fixed global leak reporting in hooks |
| 1551 * Fixed: > 2 calls to done() only report the error once |
| 1552 * Fixed: clear timer on failure. Closes #80 |
| 1553 |
| 1554 0.0.6 / 2011-11-25 |
| 1555 ================== |
| 1556 |
| 1557 * Fixed return on immediate async error. Closes #80 |
| 1558 |
| 1559 0.0.5 / 2011-11-24 |
| 1560 ================== |
| 1561 |
| 1562 * Fixed: make mocha.opts whitespace less picky [kkaefer] |
| 1563 |
| 1564 0.0.4 / 2011-11-24 |
| 1565 ================== |
| 1566 |
| 1567 * Added `--interfaces` |
| 1568 * Added `--reporters` |
| 1569 * Added `-c, --colors`. Closes #69 |
| 1570 * Fixed hook timeouts |
| 1571 |
| 1572 0.0.3 / 2011-11-23 |
| 1573 ================== |
| 1574 |
| 1575 * Added `-C, --no-colors` to explicitly disable |
| 1576 * Added coffee-script support |
| 1577 |
| 1578 0.0.2 / 2011-11-22 |
| 1579 ================== |
| 1580 |
| 1581 * Fixed global leak detection due to Safari bind() change |
| 1582 * Fixed: escape html entities in Doc reporter |
| 1583 * Fixed: escape html entities in HTML reporter |
| 1584 * Fixed pending test support for HTML reporter. Closes #66 |
| 1585 |
| 1586 0.0.1 / 2011-11-22 |
| 1587 ================== |
| 1588 |
| 1589 * Added `--timeout` second shorthand support, ex `--timeout 3s`. |
| 1590 * Fixed "test end" event for uncaughtExceptions. Closes #61 |
| 1591 |
| 1592 0.0.1-alpha6 / 2011-11-19 |
| 1593 ================== |
| 1594 |
| 1595 * Added travis CI support (needs enabling when public) |
| 1596 * Added preliminary browser support |
| 1597 * Added `make mocha.css` target. Closes #45 |
| 1598 * Added stack trace to TAP errors. Closes #52 |
| 1599 * Renamed tearDown to teardown. Closes #49 |
| 1600 * Fixed: cascading hooksc. Closes #30 |
| 1601 * Fixed some colors for non-tty |
| 1602 * Fixed errors thrown in sync test-cases due to nextTick |
| 1603 * Fixed Base.window.width... again give precedence to 0.6.x |
| 1604 |
| 1605 0.0.1-alpha5 / 2011-11-17 |
| 1606 ================== |
| 1607 |
| 1608 * Added `doc` reporter. Closes #33 |
| 1609 * Added suite merging. Closes #28 |
| 1610 * Added TextMate bundle and `make tm`. Closes #20 |
| 1611 |
| 1612 0.0.1-alpha4 / 2011-11-15 |
| 1613 ================== |
| 1614 |
| 1615 * Fixed getWindowSize() for 0.4.x |
| 1616 |
| 1617 0.0.1-alpha3 / 2011-11-15 |
| 1618 ================== |
| 1619 |
| 1620 * Added `-s, --slow <ms>` to specify "slow" test threshold |
| 1621 * Added `mocha-debug(1)` |
| 1622 * Added `mocha.opts` support. Closes #31 |
| 1623 * Added: default [files] to _test/*.js_ |
| 1624 * Added protection against multiple calls to `done()`. Closes #35 |
| 1625 * Changed: bright yellow for slow Dot reporter tests |
| 1626 |
| 1627 0.0.1-alpha1 / 2011-11-08 |
| 1628 ================== |
| 1629 |
| 1630 * Missed this one :) |
| 1631 |
| 1632 0.0.1-alpha1 / 2011-11-08 |
| 1633 ================== |
| 1634 |
| 1635 * Initial release |
| OLD | NEW |