Skip to content

Commit

Permalink
Docs: Substitute unreleased refs with 2.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed May 29, 2024
1 parent e86aa58 commit 471349e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/prep-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Repo = {

// Silence error from grep, which exits non-zero if no results.
const results = parseLineResults(cp.execSync(
'grep -F -i -l unreleased docs/**/*.md || echo',
'git grep --full-name --name-only -i unreleased docs/ || echo',
{ encoding: 'utf8' }
));
results.forEach(filePath => {
Expand Down
4 changes: 2 additions & 2 deletions docs/api/QUnit/load.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ groups:
redirect_from:
- "/QUnit/load/"
version_added: "1.0.0"
version_deprecated: "unreleased"
version_deprecated: "2.21.0"
---

`QUnit.load()`
Expand All @@ -22,7 +22,7 @@ As of [QUnit 2.1.1](https://github.com/qunitjs/qunit/releases/tag/2.1.1), calls

## Changelog

| UNRELEASED | Deprecated. Use [`QUnit.start()`](./start.md) instead.
| [QUnit 2.21.0](https://github.com/qunitjs/qunit/releases/tag/2.21.0) | Deprecated. Use [`QUnit.start()`](./start.md) instead.
| [QUnit 2.1.1](https://github.com/qunitjs/qunit/releases/tag/2.1.1) | `QUnit.start()` no longer requires calling `QUnit.load()` first.

## Migration guide
Expand Down
2 changes: 1 addition & 1 deletion docs/api/assert/closeTo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ groups:
- assert
redirect_from:
- "/assert/closeTo/"
version_added: "unreleased"
version_added: "2.21.0"
---

`closeTo( actual, expected, delta, message = "" )`
Expand Down
4 changes: 2 additions & 2 deletions docs/api/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Preconfig allows integrations to declare configuration without needing to embed,

### Flat preconfig

*Version added: UNRELEASED*.
*Version added: [QUnit 2.21.0](https://github.com/qunitjs/qunit/releases/tag/2.21.0)*.

Flat preconfig allows multiple integrations to seemlessly collaborate, without the risk of projects accidentally unsetting an override (as is the case with Object preconfig).

Expand Down Expand Up @@ -131,6 +131,6 @@ QUnit = { /* config: .. */ };

### Changelog

| UNRELEASED | Added flat preconfig.
| [QUnit 2.21.0](https://github.com/qunitjs/qunit/releases/tag/2.21.0) | Added flat preconfig.
| [QUnit 2.18.1](https://github.com/qunitjs/qunit/releases/tag/2.18.1) | Added object preconfig support for Node.js, SpiderMonkey, and other environments.<br/>Previously, it was limited to the browser environment.
| [QUnit 2.1.0](https://github.com/qunitjs/qunit/releases/tag/2.1.0) | Introduce object preconfig feature.
2 changes: 1 addition & 1 deletion docs/api/config/testTimeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ QUnit 3.0 will change the default timeout from undefined (Infinity) to 3 seconds

### Changelog

| UNRELEASED | Announce change of default from undefined to `3000`, with a deprecation warning.
| [QUnit 2.21.0](https://github.com/qunitjs/qunit/releases/tag/2.21.0) | Announce change of default from undefined to `3000`, with a deprecation warning.

0 comments on commit 471349e

Please sign in to comment.