-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v6.0.0-0 changelog #3614
v6.0.0-0 changelog #3614
Conversation
I evidently rebased poorly. |
82d7a6c
to
3670dc4
Compare
If you want any other PR to make it in, please assign it to the v6.0.0 milestone. I'm hoping not to add anything that isn't a bug fix before the final v6.0.0 release... sound fair? @mochajs/core |
89c74ef
to
5fc92bd
Compare
|
||
- `--extension` is now an alias for `--watch-extensions` and affects _non-watch-mode_ test runs as well. For example, to run _only_ `test/*.coffee` (not `test/*.js`), you can do `mocha --require coffee-script/register --extensions coffee`. | ||
|
||
- [#3352](https://github.com/mochajs/mocha/issues/3352): `tap` reporter is now TAP13-capable ([**@plroebuck**](https://github.com/plroebuck)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `--compilers` is no longer supported; attempting to use will cause Mocha to fail with a link to more information | ||
- `-d` is no longer an alias for `--debug`; `-d` is currently ignored | ||
- [#3275](https://github.com/mochajs/mocha/issues/3275): `--watch-extensions` no longer implies `js`; it must be explicitly added ([**@TheDancingCode**](https://github.com/TheDancingCode)) | ||
- [#2908](https://github.com/mochajs/mocha/issues/2908): `tap` reporter emits error messages ([**@chrmod**](https://github.com/chrmod)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
emits thrown error messages
|
||
## :bug: Fixes | ||
|
||
- [#3346]: Exit correctly from `before` hooks when using `--bail` ([@outsideris]) | ||
- [#3356](https://github.com/mochajs/mocha/issues/3356): `--no-timeouts` and `--timeout 0` now does what you'd expect ([**@boneskull**](https://github.com/boneskull)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrect issue#. #3556?
- [#2095](https://github.com/mochajs/mocha/issues/2095), [#3521](https://github.com/mochajs/mocha/issues/3521): Do not log `stdout:` prefix in browser console ([**@Bamieh**](https://github.com/Bamieh)) | ||
- [#3595](https://github.com/mochajs/mocha/issues/3595): Fix mochajs.org deployment problems ([**@papandreou**](https://github.com/papandreou)) | ||
- [#3518](https://github.com/mochajs/mocha/issues/3518): Improve `utils.isPromise()` ([**@fabiosantoscode**](https://github.com/fabiosantoscode)) | ||
- [#3320](https://github.com/mochajs/mocha/issues/3320): Fail gracefully when non-extensible objects are thrown in async tests ([**@fargies**](https://github.com/fargies)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is both @plroebuck and @fargies.
|
||
## :book: Documentation | ||
|
||
- [#3328]: Mocha-flavored [API docs](https://mochajs.org/api/)! ([@Munter]) | ||
- [#3525](https://github.com/mochajs/mocha/issues/3525): Improvements to `.github/CONTRIBUTING.md` ([**@markowsiak**](https://github.com/markowsiak)) | ||
- [#3466](https://github.com/mochajs/mocha/issues/3466): Update description of `slow` option ([**@finfin**](https://github.com/finfin)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is both @plroebuck and @finfin
- [#2095](https://github.com/mochajs/mocha/issues/2095), [#3521](https://github.com/mochajs/mocha/issues/3521): Do not log `stdout:` prefix in browser console ([**@Bamieh**](https://github.com/Bamieh)) | ||
- [#3595](https://github.com/mochajs/mocha/issues/3595): Fix mochajs.org deployment problems ([**@papandreou**](https://github.com/papandreou)) | ||
- [#3518](https://github.com/mochajs/mocha/issues/3518): Improve `utils.isPromise()` ([**@fabiosantoscode**](https://github.com/fabiosantoscode)) | ||
- [#3320](https://github.com/mochajs/mocha/issues/3320): Fail gracefully when non-extensible objects are thrown in async tests ([**@fargies**](https://github.com/fargies)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[#3532](https://github.com/mochajs/mocha/issues/3532)
: Refactored JSONStream reporter to be consistent with output stream usage.
Still waiting on @sindresorhus to review chalk/supports-color#90; assuming he accepts and we bump that dependency afterwards, it will close longstanding issue #1304. |
- [#3375]: Add support for comments in `mocha.opts` ([@plroebuck]) | ||
Enhancements introduced in [#3556](https://github.com/mochajs/mocha/issues/3556): | ||
|
||
- Mocha now supports "RC" files in JS, JSON, YAML, or `package.json`-based (using `mocha` property) format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RC = RunCom ("run commands")
Historic artefact from 1960s-era computing. That being said, it isn't stopping me from reading this as Moch Arc
, but hey.
@cgalvarez, be glad I slacked off on rehauling atom-mocha
: I was about to kill off support for package.json
configs in favour of mocha.opts
, now upstream has deprecated the latter in favour of the former. 😀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, "mocha.opts" is rcfile-like; the new ones are strictly configuration files.
Sorry about the delay. Done now: https://github.com/chalk/supports-color/releases/tag/v6.0.0 :) |
Signed-off-by: Christopher Hiller <[email protected]>
Signed-off-by: Christopher Hiller <[email protected]>
5fc92bd
to
eff10ff
Compare
This is everything going in so far for the prerelease, which will be v6.0.0-0 and published as with the
next
tag, i.e.,npm install mocha@next
.I went ahead and pulled in remark, because by far the most tedious part of this process is hand-editing the links. That's also prone to screwups. I chose to eliminate the references and just use inline links, because since it's now automated, it's less of a pain to deal with.
scripts/linkify-changelog.js
is the implementation.I also made this script part of the
version
npm lifecycle script.