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