content: say that only the first release of a year breaks after stable
CI / build (pull_request) Successful in 14s
CI / build (pull_request) Successful in 14s
The FAQ and the stability banner described the deprecation notice but not the rule it serves, which the docs' stability page and core's SECURITY.md now state: after stable, a release within a year never breaks a public API, so a ^ range is safe, and removals land only in the first release of a year. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -7,8 +7,8 @@ const policyURL = 'https://green-tea.expressive-tea.io/docs/stability/';
|
||||
|
||||
<aside class="stability" aria-label="API stability">
|
||||
<p class="wrap stability__text">
|
||||
<strong>The API is frozen at RC.1.</strong> Until stable, releases are fixes only. After stable, nothing
|
||||
is removed without at least two releases' notice.{' '}
|
||||
<strong>The API is frozen at RC.1.</strong> Until stable, releases are fixes only. After stable, only the
|
||||
first release of a year can break, and nothing is removed without at least two releases' notice.{' '}
|
||||
<a href={policyURL}>Read the stability policy</a>
|
||||
</p>
|
||||
</aside>
|
||||
|
||||
@@ -24,7 +24,7 @@ const items = [
|
||||
},
|
||||
{
|
||||
q: 'What does the API freeze promise?',
|
||||
a: `From RC.1 to the stable release, nothing in the public API is added, removed or renamed — releases are fixes only, and every API change would have to show up as a diff to the committed API report, which CI checks. After stable, nothing is removed without being deprecated first: at least two monthly releases of notice, a @deprecated tag naming the replacement, and a single warning in your logger. Mesh is experimental and outside the promise.`,
|
||||
a: `From RC.1 to the stable release, nothing in the public API is added, removed or renamed — releases are fixes only, and every API change would have to show up as a diff to the committed API report, which CI checks. After stable, only the first release of a year can break: a release within a year never removes or breaks a public API, so the ^ range npm writes for you is safe to take. Nothing is removed without being deprecated first: at least two monthly releases of notice, a @deprecated tag naming the replacement, and a single warning in your logger, and then it goes only in the next first release of a year. Mesh is experimental and outside the promise.`,
|
||||
},
|
||||
];
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user