|
6 | 6 | {% assign version = include.version %}
|
7 | 7 | {% assign is_latest_version_page = include.is_latest_version %}
|
8 | 8 | {% assign is_upcoming_version_page = include.is_upcoming_version %}
|
| 9 | +{% assign status = include.status %} |
9 | 10 |
|
10 | 11 | ## <a href="#status" id="status" class="headerlink"></a> Status
|
11 | 12 |
|
12 | 13 | {% comment %}
|
13 |
| - The first paragraph in each case, below, aims to explain what content |
14 |
| - the page holds and how that may (or may not) change over time. |
| 14 | + The first paragraph in each case below aims to explain what content |
| 15 | + the page holds and whether that content is finalized. |
15 | 16 |
|
16 | 17 | Note: all the text below must be outdented and markdownified where it's
|
17 | 18 | included for it to be rendered correctly as markdown.
|
18 | 19 | {% endcomment %}
|
19 | 20 |
|
20 | 21 | {% if is_latest_version_page %}
|
21 |
| - This page represents the latest published version of JSON:API, which is |
| 22 | + This page presents the latest published version of JSON:API, which is |
22 | 23 | currently version {{ site.latest_version }}. New versions of JSON:API **will
|
23 | 24 | always be backwards compatible** using a _never remove, only add_ strategy.
|
24 | 25 | Additions can be proposed in our [discussion forum](http://discuss.jsonapi.org/).
|
25 | 26 |
|
26 | 27 | {% elsif is_upcoming_version_page %}
|
27 |
| - This page represents the **working draft** for the next version of JSON:API, |
28 |
| - which is currently expected to be {{ site.latest_version|plus:0.1 }}. |
| 28 | + This page presents the **{% if status == "rc" %}release candidate{% else %} |
| 29 | + working draft{% endif %}** for the next version of JSON:API, which is |
| 30 | + expected to be {{ site.latest_version|plus:0.1 }}. {% if status != "rc" %} |
| 31 | + As a draft, the content on this page is subject to change.{% else %}As a |
| 32 | + release candidate, the content on this page is unlikely to change. However, |
| 33 | + some changes may still occur if implementation experience proves that they are |
| 34 | + necessary before this version is finalized.{% endif %} |
| 35 | + |
| 36 | + {% if include.release_date %} |
| 37 | + This version is expected to be finalized and released on |
| 38 | + **{{ include.release_date | date: "%B %e, %Y" }}** (provided there are two compliant implementations by that date; if not the release will wait until such implementations exist to prove its viability). |
| 39 | + {% endif %} |
| 40 | + |
29 | 41 |
|
30 | 42 | {% elsif version and version > site.latest_version %}
|
31 | 43 | This page will always present the most recent text for JSON:API
|
32 |
| - v{{ site.latest_version|plus:0.1 }}. Currently, version |
33 |
| - {{ site.latest_version|plus:0.1 }} is **still a draft**, so this text is |
34 |
| - provisional. |
| 44 | + v{{ site.latest_version|plus:0.1 }}. Version {{ site.latest_version|plus:0.1 }} |
| 45 | + has not been finalized, so the text here may change. |
35 | 46 |
|
36 | 47 | {% elsif version and version == site.latest_version %}
|
37 | 48 | This page presents an archived copy of JSON:API version {{ version }}. None
|
|
0 commit comments