diff --git a/.mailmap b/.mailmap index 5ccb15cbe..055a614a0 100644 --- a/.mailmap +++ b/.mailmap @@ -118,3 +118,4 @@ Bryan Crotaz Jan Buschtöns Ben Demboski Izel Nakri +Ray Cohen diff --git a/AUTHORS.txt b/AUTHORS.txt index 54854b91f..24c2f84c1 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -187,3 +187,4 @@ Sergey Astapov Hareesh Zixin Yin Timmy Willison +NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> diff --git a/History.md b/History.md index 10353d962..47cec1480 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,55 @@ +3.0.0 (UNRELEASED) +================== + +QUnit 3.0 Roadmap and feedback: https://github.com/qunitjs/qunit/issues/1498 + +### Added + +* CLI: Add `.mjs` and `.cjs` to default test file extensions. +* Core: Add [`QUnit.test.if()`](https://qunitjs.com/api/QUnit/test.if/) and `QUnit.module.if()`. (Timo Tijhof) [#1772](https://github.com/qunitjs/qunit/pull/1772) +* Core: Add support for late [`runEnd` event](https://qunitjs.com/api/callbacks/QUnit.on/#the-runend-event) listeners. This should ease development of basic [browser integrations](https://qunitjs.com/browser/#integrations) that only relay the end report. +* Core: Expose [`QUnit.urlParams`](https://qunitjs.com/api/extension/QUnit.urlParams/) unconditionally. + +### Changed + +* Core: Enable a default [test timeout](https://qunitjs.com/api/config/testTimeout/) of 3 seconds. [#1483](https://github.com/qunitjs/qunit/issues/1483) +* Core: Promote warning "[Cannot add … hook outside the containing module](https://qunitjs.com/api/QUnit/module/#E0002)" to error. (Ray Cohen) [#1576](https://github.com/qunitjs/qunit/issues/1576) +* Core: Promote warning "QUnit.module() callback must not be async" to error, when passing an async function to `QUnit.module()`. (Ray Cohen) [#1761](https://github.com/qunitjs/qunit/pull/1761) +* Core: Promote warning "[Unexpected test after runEnd](https://qunitjs.com/api/config/autostart/#E0001)" to error. [#1377](https://github.com/qunitjs/qunit/issues/1377) +* Core: Change `before` and `after` hooks to run with module context. This enables inheritence between parent and child modules, and fixes leaks between last test and "after" hooks. (Ray Cohen) [#1328](https://github.com/qunitjs/qunit/issues/1328) +* HTML Reporter: Run headless and automatically avoid HTML Reporter overhead if no [`id=qunit` element](https://qunitjs.com/browser/) exists. [#1711](https://github.com/qunitjs/qunit/issues/1711) +* HTML Reporter: QUnit 3.0 theme. + * Theme design, layout, and structure changes. Before/after demo in [#1774](https://github.com/qunitjs/qunit/pull/1774). + * Address scrollbar overflow issues. [#1603](https://github.com/qunitjs/qunit/issues/1603) + * Change `#qunit-banner` from H2 to DIV, to fix WCAG compliance. [#1427](https://github.com/qunitjs/qunit/issues/1427) + * Change `#qunit-testresult` from P to DIV, to fix HTML serialization. [#1301](https://github.com/qunitjs/qunit/issues/1301) + * Report time as seconds in the toolbar display. [#1760](https://github.com/qunitjs/qunit/pull/1760) + * Remove assertion count from toolbar display. [#1760](https://github.com/qunitjs/qunit/pull/1760) +* Core: Set `QUnit.config.seed = undefined` initial value explicitly. +* Core: Set `QUnit.config.fixture = undefined` initial value explicitly. +* Core: Set `QUnit.config.current = undefined` initial value explicitly. + +### Fixed + +* Core: Fix crash when "bad thenable" is returned from global module hook. [3209462b88](https://github.com/qunitjs/qunit/commit/3209462b88) +* Core: Fix crash when mixing test.only() with module.only(). [99aee51a8a](https://github.com/qunitjs/qunit/commit/99aee51a8a4dfce3fa87559e171398fdf72c6886) +* Core: Fix missing second frame in `QUnit.stack()` in Safari. [#1776](https://github.com/qunitjs/qunit/pull/1776) +* Core: Fix stacktrace cleaner to also support clean traces on URLs with host ports. [#1769](https://github.com/qunitjs/qunit/issues/1769) +* HTML Reporter: Fix `