|
5 | 5 |
|
6 | 6 | {% assign version = include.version %}
|
7 | 7 | {% assign is_latest_version_page = include.is_latest_version %}
|
8 |
| -{% assign is_upcoming_version_page = include.is_upcoming_version %} |
9 | 8 | {% assign status = include.status %}
|
10 | 9 |
|
11 | 10 | ## <a href="#status" id="status" class="headerlink"></a> Status
|
|
24 | 23 | always be backwards compatible** using a _never remove, only add_ strategy.
|
25 | 24 | Additions can be proposed in our [discussion forum](http://discuss.jsonapi.org/).
|
26 | 25 |
|
27 |
| -{% elsif is_upcoming_version_page %} |
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 %} |
| 26 | +{% elsif version and version > site.latest_version %} |
| 27 | + This page will always present the most recent text for JSON:API v{{ site.latest_version|plus:0.1 }}. |
| 28 | + Version {{ site.latest_version|plus:0.1 }} is a **{% if status == "rc" %}release |
| 29 | + candidate{% else %}working draft{% endif %}**. As such, the content on this |
| 30 | + page {% if status != "rc" %}is subject to change.{% else %}is unlikely to |
| 31 | + change. However, some changes may still occur if implementation experience |
| 32 | + proves that they are necessary before this version is finalized.{% endif %} |
35 | 33 |
|
36 | 34 | {% 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). |
| 35 | + This version is expected to be finalized and released on **{{ include.release_date | date: "%B %e, %Y" }}** |
| 36 | + (provided there are two compliant implementations by that date; if not the |
| 37 | + release will wait until such implementations exist to prove its viability). |
39 | 38 | {% endif %}
|
40 | 39 |
|
41 |
| - |
42 |
| -{% elsif version and version > site.latest_version %} |
43 |
| - This page will always present the most recent text for JSON:API |
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. |
46 |
| - |
47 | 40 | {% elsif version and version == site.latest_version %}
|
48 | 41 | This page presents an archived copy of JSON:API version {{ version }}. None
|
49 | 42 | of the normative text on this page will change. **Subsequent versions of
|
|
55 | 48 | of the normative text on this page will change. While {{ version }} is no
|
56 | 49 | longer the [latest version](/format/) of JSON:API, **new versions will remain
|
57 | 50 | compatible with this one**, as JSON:API uses a _never remove, only add_ strategy.
|
58 |
| - |
59 | 51 | {% endif %}
|
60 | 52 |
|
61 | 53 | {% comment %}
|
|
0 commit comments