From 1ca812e90dd74db878f1b1411efecd24fcfddb1f Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sun, 18 Aug 2024 20:59:52 +0100 Subject: [PATCH] Docs: Update url and version to 2.22.0 --- History.md | 8 +++++++- docs/api/QUnit/module.md | 2 +- docs/api/QUnit/test.if.md | 2 +- docs/index.md | 4 ++-- docs/intro.md | 6 +++--- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/History.md b/History.md index 263ed989d..47f53604c 100644 --- a/History.md +++ b/History.md @@ -6,7 +6,6 @@ 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. [8f25f26264](https://github.com/qunitjs/qunit/commit/8f25f26264812689476298c99c586122ab3add9c) * Core: Export [`QUnit.urlParams`](https://qunitjs.com/api/extension/QUnit.urlParams/) unconditionally. [57c2dbcffc](https://github.com/Krinkle/qunit/commit/57c2dbcffc694bf3a0b5d1d57e7f43f16ff29862) @@ -52,6 +51,13 @@ QUnit 3.0 Roadmap and feedback: https://github.com/qunitjs/qunit/issues/1498 * HTML Reporter: Remove support for legacy markup, use `
` instead. Check [Browser Runner § Getting started](https://qunitjs.com/browser/). * Build: Discontinue publication to Bower for future releases. Check [How to install](https://qunitjs.com/intro/#download) or [Getting started](https://qunitjs.com/intro/). [#1677](https://github.com/qunitjs/qunit/issues/1677) +2.22.0 / 2024-08-18 +================== + +### Added + +* 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) + 2.21.1 / 2024-07-20 ================== diff --git a/docs/api/QUnit/module.md b/docs/api/QUnit/module.md index 6fcd00134..7493b0d46 100644 --- a/docs/api/QUnit/module.md +++ b/docs/api/QUnit/module.md @@ -163,7 +163,7 @@ Example: [§ Hooks via module options](#hooks-via-module-options). ## Changelog -| UNRELEASED | Added `QUnit.module.if()` alias. +| [QUnit 2.22](https://github.com/qunitjs/qunit/releases/tag/2.22.0) | Added `QUnit.module.if()` alias. | [QUnit 2.4](https://github.com/qunitjs/qunit/releases/tag/2.4.0) | Added `QUnit.module.only()`, `QUnit.module.skip()`, and `QUnit.module.todo()` aliases. | [QUnit 2.0](https://github.com/qunitjs/qunit/releases/tag/2.0.0) | Added `before` and `after` options. | [QUnit 1.20](https://github.com/qunitjs/qunit/releases/tag/1.20.0) | Introduce `scope` feature. diff --git a/docs/api/QUnit/test.if.md b/docs/api/QUnit/test.if.md index 6069ba050..34383bd7e 100644 --- a/docs/api/QUnit/test.if.md +++ b/docs/api/QUnit/test.if.md @@ -6,7 +6,7 @@ groups: - main redirect_from: - "/QUnit/test.if/" -version_added: "unreleased" +version_added: "2.22.0" --- `QUnit.test.if( name, condition, callback )` diff --git a/docs/index.md b/docs/index.md index b411366e7..3259d0573 100644 --- a/docs/index.md +++ b/docs/index.md @@ -74,11 +74,11 @@ ok 1 add > two numbers ## Current Release -

v2.21.1 (changelog)

+

v2.22.0 (changelog)

These are the official [release channels](intro.md#download) for QUnit: -* Download: [`qunit-2.21.1.js`](https://code.jquery.com/qunit/qunit-2.21.1.js) and [`qunit-2.21.1.css`](https://code.jquery.com/qunit/qunit-2.21.1.css) +* Download: [`qunit-2.22.0.js`](https://code.jquery.com/qunit/qunit-2.22.0.js) and [`qunit-2.22.0.css`](https://code.jquery.com/qunit/qunit-2.22.0.css) * npm: `npm install --save-dev qunit` * Yarn: `yarn add --dev qunit` diff --git a/docs/intro.md b/docs/intro.md index 6e111ce00..bf23253e6 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -49,14 +49,14 @@ These are the official release channels for QUnit releases: * Download: - You can save the [`qunit-2.21.1.js`](https://code.jquery.com/qunit/qunit-2.21.1.js) and [`qunit-2.21.1.css`](https://code.jquery.com/qunit/qunit-2.21.1.css) files directly from the jQuery CDN. + You can save the [`qunit-2.22.0.js`](https://code.jquery.com/qunit/qunit-2.22.0.js) and [`qunit-2.22.0.css`](https://code.jquery.com/qunit/qunit-2.22.0.css) files directly from the jQuery CDN. For older versions, browse the [release archives](https://releases.jquery.com/qunit/). Or download them via the terminal, and save them in your Git repository. ```bash - curl -o qunit.css 'https://code.jquery.com/qunit/qunit-2.21.1.css' - curl -o qunit.js 'https://code.jquery.com/qunit/qunit-2.21.1.js' + curl -o qunit.css 'https://code.jquery.com/qunit/qunit-2.22.0.css' + curl -o qunit.js 'https://code.jquery.com/qunit/qunit-2.22.0.js' ``` * npm Registry: