Skip to content

Commit

Permalink
Docs: Update url and version to 2.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Aug 18, 2024
1 parent eb93713 commit 1ca812e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
8 changes: 7 additions & 1 deletion History.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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 `<div id="qunit">` 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
==================

Expand Down
2 changes: 1 addition & 1 deletion docs/api/QUnit/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/QUnit/test.if.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 )`
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ ok 1 add > two numbers

## Current Release

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

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`

Expand Down
6 changes: 3 additions & 3 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1ca812e

Please sign in to comment.