Skip to content

Commit

Permalink
Build: Prepare 2.21.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed May 29, 2024
1 parent 9c3ae1a commit 433306f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
13 changes: 13 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@

2.21.0 / 2024-05-29
==================

### Added

* Assert: Add [`assert.closeTo()`](https://qunitjs.com/api/assert/closeTo/). (Timo Tijhof) [#1735](https://github.com/qunitjs/qunit/issues/1735)
* Core: Add support for [flat preconfig](https://qunitjs.com/api/config/) via environment/global variables. (Timo Tijhof)

### Deprecated

* Core: Deprecate `QUnit.load()` and document migration path at <https://qunitjs.com/api/QUnit/load/>. (Timo Tijhof) [#1743](https://github.com/qunitjs/qunit/pull/1743)
* Core: Deprecate unset [testTimeout](https://qunitjs.com/api/config/testTimeout/) for tests taking longer than 3 seconds. (Timo Tijhof) [#1483](https://github.com/qunitjs/qunit/issues/1483)

2.20.1 / 2024-02-15
==================

Expand Down
12 changes: 4 additions & 8 deletions build/prep-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

const fs = require('fs');
const path = require('path');
const util = require('util');
const cp = require('child_process');
const gitAuthors = require('grunt-git-authors');

function parseLineResults (output = '') {
output = output.trim();
Expand Down Expand Up @@ -138,12 +136,10 @@ const Repo = {
{
const file = 'AUTHORS.txt';
console.log(`Updating ${file}...`);
const updateAuthors = util.promisify(gitAuthors.updateAuthors);
await updateAuthors({
dir: path.dirname(__dirname),
filename: file,
banner: 'Authors ordered by first contribution'
});
cp.execSync(
require('../package.json').scripts.authors,
{ encoding: 'utf8' }
);
}
}
};
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand Up @@ -2,7 +2,7 @@
"name": "qunit",
"title": "QUnit",
"description": "The powerful, easy-to-use testing framework.",
"version": "2.20.1-pre",
"version": "2.21.0-pre",
"homepage": "https://qunitjs.com",
"author": {
"name": "OpenJS Foundation and other contributors",
Expand Down

0 comments on commit 433306f

Please sign in to comment.