diff --git a/CHANGELOG b/CHANGELOG index adfc532..b3895d8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +v9.1.0: + date: 2024-06-11 + changes: + - Re-introduce `qunit.log` Grunt event. v9.0.0: date: 2024-06-09 changes: diff --git a/README.md b/README.md index efeeb8b..0709fca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# grunt-contrib-qunit v9.0.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-qunit/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-qunit/actions?workflow=Tests) +# grunt-contrib-qunit v9.1.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-qunit/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-qunit/actions?workflow=Tests) > Run QUnit unit tests in a headless Chrome instance @@ -109,7 +109,7 @@ When true, the whole task will not fail when there are individual test failures, Type: `boolean` Default: `false` -When true, this will suppress the default logging for individually failed tests. Customized logging can be performed by listening to and responding to `qunit.log` events. +When true, this will suppress the default logging for individually failed tests. Customized logging can be performed by listening to `qunit.on.testEnd` events. #### puppeteer Type: `Object` @@ -246,6 +246,7 @@ QUnit events are forwarded to Grunt's event system, enabling you to build custom * `qunit.on.runEnd` `(obj)` * `qunit.begin` +* `qunit.log` `(obj)` * `qunit.done` In addition to forwarding QUnit's events, the following events are also emitted by the Grunt plugin: @@ -274,6 +275,7 @@ grunt.event.on('qunit.on.testEnd', function (test) { ## Release History + * 2024-06-11   v9.1.0   Re-introduce `qunit.log` Grunt event. * 2024-06-09   v9.0.0   Update to Puppeteer 22. Require Node.js 18 or later. Remove [details parameter](https://qunitjs.com/api/callbacks/QUnit.done/) to Grunt event `qunit.done`, deprecated since QUnit 2.2. Remove Grunt events `qunit.testStart`, `qunit.log`, `qunit.testDone`, `qunit.moduleStart`, `qunit.moduleDone`. Use `qunit.on.*` instead. * 2023-09-16   v8.0.1   Add stack trace to uncaught errors. * 2023-09-04   v8.0.0   Update to Puppeteer 21 (switch to "Chrome for Testing", and "new" Headless mode). Require Node.js 16 or later. diff --git a/package-lock.json b/package-lock.json index 9e92d39..e73c652 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "grunt-contrib-qunit", - "version": "9.0.0", + "version": "9.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "grunt-contrib-qunit", - "version": "9.0.0", + "version": "9.1.0", "license": "MIT", "dependencies": { "eventemitter2": "^6.4.9", diff --git a/package.json b/package.json index 5ce4cfc..5d5fc95 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-contrib-qunit", "description": "Run QUnit unit tests in a headless Chrome instance", - "version": "9.0.0", + "version": "9.1.0", "author": { "name": "Grunt Team", "url": "https://gruntjs.com/"