Skip to content

Commit 471349e

Browse files
committed
Docs: Substitute unreleased refs with 2.21.0
1 parent e86aa58 commit 471349e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

build/prep-release.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Repo = {
3737

3838
// Silence error from grep, which exits non-zero if no results.
3939
const results = parseLineResults(cp.execSync(
40-
'grep -F -i -l unreleased docs/**/*.md || echo',
40+
'git grep --full-name --name-only -i unreleased docs/ || echo',
4141
{ encoding: 'utf8' }
4242
));
4343
results.forEach(filePath => {

docs/api/QUnit/load.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ groups:
77
redirect_from:
88
- "/QUnit/load/"
99
version_added: "1.0.0"
10-
version_deprecated: "unreleased"
10+
version_deprecated: "2.21.0"
1111
---
1212

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

2323
## Changelog
2424

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

2828
## Migration guide

docs/api/assert/closeTo.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ groups:
66
- assert
77
redirect_from:
88
- "/assert/closeTo/"
9-
version_added: "unreleased"
9+
version_added: "2.21.0"
1010
---
1111

1212
`closeTo( actual, expected, delta, message = "" )`

docs/api/config/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Preconfig allows integrations to declare configuration without needing to embed,
7272

7373
### Flat preconfig
7474

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

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

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

132132
### Changelog
133133

134-
| UNRELEASED | Added flat preconfig.
134+
| [QUnit 2.21.0](https://github.com/qunitjs/qunit/releases/tag/2.21.0) | Added flat preconfig.
135135
| [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.
136136
| [QUnit 2.1.0](https://github.com/qunitjs/qunit/releases/tag/2.1.0) | Introduce object preconfig feature.

docs/api/config/testTimeout.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ QUnit 3.0 will change the default timeout from undefined (Infinity) to 3 seconds
6060

6161
### Changelog
6262

63-
| UNRELEASED | Announce change of default from undefined to `3000`, with a deprecation warning.
63+
| [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 commit comments

Comments
 (0)