mocha 3.5.3 → 5.0.0

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