Skip to content

Commit

Permalink
Release v9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Jun 7, 2021
1 parent 92518df commit 8339c3d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -522,5 +522,7 @@ Maxwell Gerber <mgerber@berkeley.edu>
Sebastian Noack <sebastian.noack@gmail.com>
Christian Bromann <github@christian-bromann.com>
Alexander Fenster <github@fenster.name>
MoonSupport <jiwon3346@naver.com>
Dayzen <syeuty@naver.com>

# Generated by scripts/update-authors.js
18 changes: 9 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@

## :boom: Breaking Changes

- #4633: **Drop Node.js v10.x support** (@juergba)
- [#4633](https://github.com/mochajs/mocha/issues/4633): **Drop Node.js v10.x support** ([**@juergba**](https://github.com/juergba))

- #4635: `import`-first loading of test files (@giltayar)
- [#4635](https://github.com/mochajs/mocha/issues/4635): `import`-first loading of test files ([**@giltayar**](https://github.com/giltayar))

**Mocha is going ESM-first!** This means that it will now use ESM `import(test_file)` to load the test files, instead of the CommonJS `require(test_file)`. This is not a problem, as `import` can also load most files that `require` does. In the rare cases where this fails, it will fallback to `require(...)`. This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.

- #4636: Remove deprecated `utils.lookupFiles()` (@juergba)
- [#4636](https://github.com/mochajs/mocha/issues/4636): Remove deprecated `utils.lookupFiles()` ([**@juergba**](https://github.com/juergba))

- #4638: Limit the size of `actual`/`expected` for `diff` generation (@juergba)
- [#4638](https://github.com/mochajs/mocha/issues/4638): Limit the size of `actual`/`expected` for `diff` generation ([**@juergba**](https://github.com/juergba))

- #4389: Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base (@MoonSupport)
- [#4389](https://github.com/mochajs/mocha/issues/4389): Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base ([**@MoonSupport**](https://github.com/MoonSupport))

## :tada: Enhancements

- #4640: Add new option `--dry-run` (@juergba)
- [#4640](https://github.com/mochajs/mocha/issues/4640): Add new option `--dry-run` ([**@juergba**](https://github.com/juergba))

## :bug: Fixes

- #4128: Fix: control stringification of error message (@syeutyu)
- [#4128](https://github.com/mochajs/mocha/issues/4128): Fix: control stringification of error message ([**@syeutyu**](https://github.com/syeutyu))

## :nut_and_bolt: Other

- #4646: Deprecate `Runner(suite: Suite, delay: boolean)` signature (@juergba)
- #4643: Update production dependencies (@juergba)
- [#4646](https://github.com/mochajs/mocha/issues/4646): Deprecate `Runner(suite: Suite, delay: boolean)` signature ([**@juergba**](https://github.com/juergba))
- [#4643](https://github.com/mochajs/mocha/issues/4643): Update production dependencies ([**@juergba**](https://github.com/juergba))

# 8.4.0 / 2021-05-07

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mocha",
"version": "8.4.0",
"version": "9.0.0",
"description": "simple, flexible, fun test framework",
"keywords": [
"mocha",
Expand Down

0 comments on commit 8339c3d

Please sign in to comment.