From 88a807d1416656ba15c1133b754f05aeaf176931 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 7 Jun 2021 01:56:06 +0100 Subject: [PATCH] Build: Prepare 2.16.0 release --- AUTHORS.txt | 3 +++ History.md | 26 ++++++++++++++++++++++++++ build/review-package.js | 1 + docs/QUnit/test.each.md | 2 +- docs/config/QUnit.config.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 7 files changed, 34 insertions(+), 4 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 600deb400..9cb7ec855 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -173,3 +173,6 @@ Bryan Crotaz Bryan Mishkin <698306+bmish@users.noreply.github.com> Edward Faulkner Nathaniel Furniss +zq <290353142@qq.com> +Brenden Palmer +Ryuta Kamizono diff --git a/History.md b/History.md index 4007d6b12..3be9f0ed5 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,30 @@ +2.16.0 / 2021-06-06 +================== + +### Added + +* Core: New `QUnit.test.each()` method for data providers. (ventuno) [#1568](https://github.com/qunitjs/qunit/issues/1568) +* Core: New `failOnZeroTests` configuration option. (Brenden Palmer) +* Core: New `QUnit.reporters` interface. (Timo Tijhof) [f8948c9](https://github.com/qunitjs/qunit/commit/f8948c96fdcef0b0f96d27acaa59faacbabaf0f9) [js-reporters#133](https://github.com/js-reporters/js-reporters/issues/133) + + This introduces support for using the `tap` reporter in a browser. + This was previously limited to the CLI. + +### Changed + +* Assert: Indicate which test a drooling `assert.async()` callback came from. (Steve McClure) [#1599](https://github.com/qunitjs/qunit/pull/1599) + +### Deprecated + +* Core: Warn when a module callback has a promise as a return value. (Ray Cohen) [#1600](https://github.com/qunitjs/qunit/issues/1600) + +### Fixed + +* Core: Fix `QUnit.module.only()` regression where some unrelated modules also executed. (Steve McClure) [#1610](https://github.com/qunitjs/qunit/issues/1610) +* CLI: Improve ESM detection. (Steve McClure) [#1593](https://github.com/qunitjs/qunit/issues/1593) +* HTML Reporter: Increase contrast and use richer colors overall. (Timo Tijhof) [#1587](https://github.com/qunitjs/qunit/pull/1587) + 2.15.0 / 2021-04-12 ================== diff --git a/build/review-package.js b/build/review-package.js index 81ca089b3..3169390e4 100644 --- a/build/review-package.js +++ b/build/review-package.js @@ -21,6 +21,7 @@ function getDiff( from, to ) { try { cp.execFileSync( "diff", [ + "-w", "--text", "--unified", ...( isOld ? [] : [ "--color=always" ] ), diff --git a/docs/QUnit/test.each.md b/docs/QUnit/test.each.md index 463537bc8..88899f43c 100644 --- a/docs/QUnit/test.each.md +++ b/docs/QUnit/test.each.md @@ -4,7 +4,7 @@ title: QUnit.test.each() excerpt: Add tests using a data provider. categories: - main -version_added: "unreleased" +version_added: "2.16.0" --- `QUnit.test.each( name, dataset, callback )`
diff --git a/docs/config/QUnit.config.md b/docs/config/QUnit.config.md index eb9ef4f72..33dc577f1 100644 --- a/docs/config/QUnit.config.md +++ b/docs/config/QUnit.config.md @@ -33,7 +33,7 @@ Whether to fail the test run if no tests were run. By default, it is considered an error if no tests were loaded, or if no tests matched the current filter. Turning this option off means an empty test run will result in a success instead. -* Version added: unreleased. +* Version added: 2.16.0. ### `QUnit.config.filter` (string) | default: `undefined` diff --git a/package-lock.json b/package-lock.json index 764ac6189..f9cbb106f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "qunit", - "version": "2.15.0-pre", + "version": "2.16.0-pre", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 379bf397e..4ee3fc749 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "qunit", "title": "QUnit", "description": "The powerful, easy-to-use testing framework.", - "version": "2.15.0-pre", + "version": "2.16.0-pre", "homepage": "https://qunitjs.com", "author": { "name": "OpenJS Foundation and other contributors",