Skip to content

Commit 494280c

Browse files
fhembergermikeal
authored andcommitted
Rename 'Stable' release to 'Current' (#672)
* Rename 'Stable' release to 'Current' * build: Fix crash when changing files during serve * Rename 'Stable' release to 'Current': old releases also renamed * Rename 'Stable' release to 'Current': Update Korean translation * Rename 'Stable' release to 'Current': Update v4.x/5.x release posts * Rename 'Stable' release to 'Current': Update weekly update posts
1 parent 0986e3f commit 494280c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+100
-100
lines changed

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function getSource (callback) {
247247
project: {
248248
versions,
249249
currentVersions: {
250-
stable: latestVersion.stable(versions),
250+
current: latestVersion.current(versions),
251251
lts: latestVersion.lts(versions)
252252
},
253253
banner: {

layouts/download-stable.hbs renamed to layouts/download-current.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<h1>{{downloads.headline}}</h1>
1313
</div>
1414

15-
{{> primary-download-matrix version=project.currentVersions.stable versionTypeStable="true"}}
16-
{{> secondary-download-matrix version=project.currentVersions.stable versionTypeStable="true"}}
15+
{{> primary-download-matrix version=project.currentVersions.current versionTypeCurrent="true"}}
16+
{{> secondary-download-matrix version=project.currentVersions.current versionTypeCurrent="true"}}
1717

1818
</article>
1919

layouts/index.hbs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,23 @@
4141

4242
</div>
4343

44-
{{#if project.currentVersions.stable}}
44+
{{#if project.currentVersions.current}}
4545
<div class="home-downloadblock">
4646

47-
<a href="https://nodejs.org/dist/{{ project.currentVersions.stable }}/" class="home-downloadbutton" title="{{ labels.download }} {{ project.currentVersions.stable }} {{ labels.stable }}" data-version="{{ project.currentVersions.stable }}">
48-
{{ project.currentVersions.stable }} {{ labels.stable }}
49-
<small>{{ labels.tagline-stable }}</small>
47+
<a href="https://nodejs.org/dist/{{ project.currentVersions.current }}/" class="home-downloadbutton" title="{{ labels.download }} {{ project.currentVersions.current }} {{ labels.current }}" data-version="{{ project.currentVersions.current }}">
48+
{{ project.currentVersions.current }} {{ labels.current }}
49+
<small>{{ labels.tagline-current }}</small>
5050
</a>
5151

5252
<ul class="list-divider-pipe home-secondary-links">
5353
<li>
54-
<a href="https://nodejs.org/{{site.locale}}/download/stable/">{{ labels.other-downloads }}</a>
54+
<a href="https://nodejs.org/{{site.locale}}/download/current/">{{ labels.other-downloads }}</a>
5555
</li>
5656
<li>
57-
<a href="https://github.com/nodejs/node/blob/{{ project.currentVersions.stable }}/CHANGELOG.md">{{ labels.changelog }}</a>
57+
<a href="https://github.com/nodejs/node/blob/{{ project.currentVersions.current }}/CHANGELOG.md">{{ labels.changelog }}</a>
5858
</li>
5959
<li>
60-
<a href="{{majorapidocslink project.currentVersions.stable}}">{{ labels.api }}</a>
60+
<a href="{{majorapidocslink project.currentVersions.current}}">{{ labels.api }}</a>
6161
</li>
6262
</ul>
6363

layouts/partials/primary-download-matrix.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<div class="title">{{downloads.lts}}</div>
1010
<div class="tag">{{downloads.tagline-lts}}</div>
1111
</a>
12-
<a {{#if versionTypeStable}}class="is-version"{{/if}} href="/{{site.locale}}/{{site.download.link}}/stable" title="{{downloads.display-hint}} {{downloads.stable}}">
13-
<div class="title">{{downloads.stable}}</div>
14-
<div class="tag">{{downloads.tagline-stable}}</div>
12+
<a {{#if versionTypeCurrent}}class="is-version"{{/if}} href="/{{site.locale}}/{{site.download.link}}/current" title="{{downloads.display-hint}} {{downloads.current}}">
13+
<div class="title">{{downloads.current}}</div>
14+
<div class="tag">{{downloads.tagline-current}}</div>
1515
</a>
1616
</div>
1717
</li>

locale/en/blog/community/node-v5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We just released [Node.js v5.0.0](https://nodejs.org/en/blog/release/v5.0.0/). Y
1313

1414
Node.js is growing, and growing fast. As we continue to innovate quickly, we will focus on two different release lines. One release line will fall under our **LTS** plan. All release lines that have LTS support will be even numbers, and (most importantly) focus on stability and security. These release lines are for organizations with complex environments that find it cumbersome to continually upgrade. We recently released the first in this line: [Node.js v4.2.1](https://nodejs.org/en/blog/release/v4.2.1/) “Argon.”
1515

16-
The other release line is called **Stable**. All release lines will be odd numbers, and have a shorter lifespan and more frequent updates to the code. The Stable release line will focus on active development of necessary features and refinement of existing APIs. Node.js version 5 is this type of release.
16+
The other release line is called **Current**. All release lines will be odd numbers, and have a shorter lifespan and more frequent updates to the code. The Current release line will focus on active development of necessary features and refinement of existing APIs. Node.js version 5 is this type of release.
1717

1818
We want to make sure that you are adopting the release that best meets your Node.js needs, so to break it down:
1919

@@ -47,7 +47,7 @@ First and foremost, if you haven’t read the [Essential Steps: Long Term Suppor
4747

4848
* There will be no more than two active LTS release lines at any given time. Overlap is intended to help ease migration planning.
4949

50-
* Once a Stable release line becomes LTS, no new features or breaking changes will be added to that release. Changes are limited to bug fixes for stability, security updates, possible npm updates, documentation updates and certain performance improvements that can be demonstrated to not break existing applications.
50+
* Once a Current release line becomes LTS, no new features or breaking changes will be added to that release. Changes are limited to bug fixes for stability, security updates, possible npm updates, documentation updates and certain performance improvements that can be demonstrated to not break existing applications.
5151

5252
## Questions?
5353

locale/en/blog/release/v4.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
date: 2015-09-08T12:10:06.000Z
33
version: 4.0.0
44
category: release
5-
title: Node v4.0.0 (Stable)
5+
title: Node v4.0.0 (Current)
66
slug: node-v4-0-0-stable
77
layout: blog-post.hbs
88
---

locale/en/blog/release/v4.1.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
date: 2015-09-17T05:30:00.969Z
33
version: 4.1.0
44
category: release
5-
title: Node v4.1.0 (Stable)
5+
title: Node v4.1.0 (Current)
66
slug: node-v4-1-0-stable
77
layout: blog-post.hbs
88
---
99

10-
## 2015-09-17, Version 4.1.0 (Stable), @Fishrock123
10+
## 2015-09-17, Version 4.1.0 (Current), @Fishrock123
1111

1212
### Notable changes
1313

@@ -36,7 +36,7 @@ See https://github.com/nodejs/node/labels/confirmed-bug for complete and current
3636
### Commits
3737

3838
* [[`b1abe812cd`](https://github.com/nodejs/node/commit/b1abe812cd)] - Working on 4.0.1 (Rod Vagg)
39-
* [[`f9f8378853`](https://github.com/nodejs/node/commit/f9f8378853)] - 2015-09-08, Version 4.0.0 (Stable) Release (Rod Vagg)
39+
* [[`f9f8378853`](https://github.com/nodejs/node/commit/f9f8378853)] - 2015-09-08, Version 4.0.0 (Current) Release (Rod Vagg)
4040
* [[`9683e5df51`](https://github.com/nodejs/node/commit/9683e5df51)] - **bindings**: close after reading module struct (Fedor Indutny) [#2792](https://github.com/nodejs/node/pull/2792)
4141
* [[`4b4cfa2d44`](https://github.com/nodejs/node/commit/4b4cfa2d44)] - **buffer**: always allocate typed arrays outside heap (Trevor Norris) [#2893](https://github.com/nodejs/node/pull/2893)
4242
* [[`7df018a29b`](https://github.com/nodejs/node/commit/7df018a29b)] - **buffer**: construct Uint8Array in JS (Trevor Norris) [#2866](https://github.com/nodejs/node/pull/2866)

locale/en/blog/release/v4.1.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
date: 2015-09-23T02:01:38.545Z
33
version: 4.1.1
44
category: release
5-
title: Node v4.1.1 (Stable)
5+
title: Node v4.1.1 (Current)
66
slug: node-v4-1-1-stable
77
layout: blog-post.hbs
88
author: Rod Vagg

locale/en/blog/release/v4.1.2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
date: 2015-10-05T20:05:01.925Z
33
version: 4.1.2
44
category: release
5-
title: Node v4.1.2 (Stable)
5+
title: Node v4.1.2 (Current)
66
slug: node-v4-1-2-stable
77
layout: blog-post.hbs
88
---
99

10-
## 2015-10-05, Version 4.1.2 (Stable), @rvagg
10+
## 2015-10-05, Version 4.1.2 (Current), @rvagg
1111

1212
This release includes a fix for [CVE-2015-7384](https://github.com/nodejs/node/issues/3138), a Denial of Service (DoS) bug. Details of the bug can be found on the [nodejs-sec](https://groups.google.com/forum/#!topic/nodejs-sec/fSNEQiuof6I) group. Please subscribe to [nodejs-sec](https://groups.google.com/forum/#!forum/nodejs-sec) to receive future notifications of security releases.
1313

locale/en/blog/release/v5.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
date: 2015-10-29T12:33:38.068Z
33
version: 5.0.0
44
category: release
5-
title: Node v5.0.0 (Stable)
5+
title: Node v5.0.0 (Current)
66
slug: node-v5-0-0
77
layout: blog-post.hbs
88
author: Rod Vagg

0 commit comments

Comments
 (0)