Skip to content

Commit 1ca812e

Browse files
committed
Docs: Update url and version to 2.22.0
1 parent eb93713 commit 1ca812e

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

History.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ QUnit 3.0 Roadmap and feedback: https://github.com/qunitjs/qunit/issues/1498
66
### Added
77

88
* CLI: Add `.mjs` and `.cjs` to default test file extensions.
9-
* 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)
109
* 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)
1110
* Core: Export [`QUnit.urlParams`](https://qunitjs.com/api/extension/QUnit.urlParams/) unconditionally. [57c2dbcffc](https://github.com/Krinkle/qunit/commit/57c2dbcffc694bf3a0b5d1d57e7f43f16ff29862)
1211

@@ -52,6 +51,13 @@ QUnit 3.0 Roadmap and feedback: https://github.com/qunitjs/qunit/issues/1498
5251
* HTML Reporter: Remove support for legacy markup, use `<div id="qunit">` instead. Check [Browser Runner § Getting started](https://qunitjs.com/browser/).
5352
* 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)
5453

54+
2.22.0 / 2024-08-18
55+
==================
56+
57+
### Added
58+
59+
* 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)
60+
5561
2.21.1 / 2024-07-20
5662
==================
5763

docs/api/QUnit/module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Example: [§ Hooks via module options](#hooks-via-module-options).
163163

164164
## Changelog
165165

166-
| UNRELEASED | Added `QUnit.module.if()` alias.
166+
| [QUnit 2.22](https://github.com/qunitjs/qunit/releases/tag/2.22.0) | Added `QUnit.module.if()` alias.
167167
| [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.
168168
| [QUnit 2.0](https://github.com/qunitjs/qunit/releases/tag/2.0.0) | Added `before` and `after` options.
169169
| [QUnit 1.20](https://github.com/qunitjs/qunit/releases/tag/1.20.0) | Introduce `scope` feature.

docs/api/QUnit/test.if.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ groups:
66
- main
77
redirect_from:
88
- "/QUnit/test.if/"
9-
version_added: "unreleased"
9+
version_added: "2.22.0"
1010
---
1111

1212
`QUnit.test.if( name, condition, callback )`

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ ok 1 add > two numbers
7474

7575
## Current Release
7676

77-
<p class="lead lead--center">v2.21.1 (<a href="https://github.com/qunitjs/qunit/blob/2.21.1/History.md">changelog</a>)</p>
77+
<p class="lead lead--center">v2.22.0 (<a href="https://github.com/qunitjs/qunit/blob/2.22.0/History.md">changelog</a>)</p>
7878

7979
These are the official [release channels](intro.md#download) for QUnit:
8080

81-
* 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)
81+
* 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)
8282
* npm: `npm install --save-dev qunit`
8383
* Yarn: `yarn add --dev qunit`
8484

docs/intro.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ These are the official release channels for QUnit releases:
4949

5050
* Download:
5151

52-
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.
52+
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.
5353
For older versions, browse the [release archives](https://releases.jquery.com/qunit/).
5454

5555
Or download them via the terminal, and save them in your Git repository.
5656

5757
```bash
58-
curl -o qunit.css 'https://code.jquery.com/qunit/qunit-2.21.1.css'
59-
curl -o qunit.js 'https://code.jquery.com/qunit/qunit-2.21.1.js'
58+
curl -o qunit.css 'https://code.jquery.com/qunit/qunit-2.22.0.css'
59+
curl -o qunit.js 'https://code.jquery.com/qunit/qunit-2.22.0.js'
6060
```
6161

6262
* npm Registry:

0 commit comments

Comments
 (0)