Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/current/_data/supported_versions.csv

This file was deleted.

14 changes: 0 additions & 14 deletions src/current/_data/unsupported_versions.csv

This file was deleted.

2 changes: 1 addition & 1 deletion src/current/_includes/sidebar-all-releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
]
},
{
"title": "Unsupported versions",
"title": "Unsupported Versions",
"urls": [
"/releases/unsupported-versions.html"
]
Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/sidebar-releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
]
},
{
"title": "Unsupported versions",
"title": "Unsupported Versions",
"urls": [
"/releases/unsupported-versions.html"
]
Expand Down
27 changes: 23 additions & 4 deletions src/current/releases/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ The following releases and their descriptions represent proposed plans that are
{% assign released_versions = site.data.releases | map: "major_version" | uniq | reverse %}
{% comment %} Fetch the list of the major versions of all releases that currently exist {% endcomment %}

{% assign versions = site.data.supported_versions | where_exp: "versions", "released_versions contains versions.major_version" | sort: "release_date" | reverse %}
{% assign versions = site.data.versions | where_exp: "versions", "released_versions contains versions.major_version" | sort: "release_date" | reverse %}
{% comment %} Fetch all major versions (e.g., v21.2), sorted in reverse chronological order. {% endcomment %}

{% assign latest_hotfix = site.data.releases | where_exp: "latest_hotfix", "latest_hotfix.major_version == site.versions['stable']" | where_exp: "latest_hotfix", "latest_hotfix.withdrawn != true" | sort: "release_date" | reverse | first %}
Expand All @@ -152,7 +152,11 @@ The following releases and their descriptions represent proposed plans that are

{% assign is_not_downloadable_message = "No longer available for download." %}

{% for v in versions %} {% comment %} Iterate through all major versions {% endcomment %}
{% assign current_date = "now" | date: "%Y-%m-%d" %}
{% for v in versions %}
{% comment %} Iterate through all major versions {% endcomment %}
{% assign maint_supp_exp_date = v.maint_supp_exp_date %}
{% assign asst_supp_exp_date = v.asst_supp_exp_date %}

{% comment %}
Determine if the major version is LTS and the patch component of the initial LTS patch,
Expand All @@ -176,7 +180,21 @@ The following releases and their descriptions represent proposed plans that are
{% assign lts_patch = lts_patch_string | times: 1 %}{% comment %}Cast string to integer {% endcomment %}
{% endif %}
{% endif %}
{% assign valid_release_date = false %}
{% if v.release_date != 'N/A' %}
{% assign valid_release_date = true %}
{% endif %}

{% assign valid_maint_date = false %}
{% if v.maint_supp_exp_date != 'N/A' and v.maint_supp_exp_date >= current_date %}
{% assign valid_maint_date = true %}
{% endif %}

{% assign valid_asst_date = false %}
{% if v.asst_supp_exp_date == 'N/A' or v.asst_supp_exp_date >= current_date %}
{% assign valid_asst_date = true %}
{% endif %}
{% if valid_release_date and valid_maint_date and valid_asst_date %}
### {{ v.major_version }}

{% if DEBUG == true %}
Expand Down Expand Up @@ -400,7 +418,7 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi
</section>

<section class="filter-content" markdown="1" data-scope="windows">
Windows 8 or higher is required. Windows downloads are **experimental**. Experimental downloads are not yet qualified for production use and not eligible for support or uptime SLA commitments, whether they are for testing releases or production releases.
Windows 8 or higher is required. Windows downloads are **experimental**. Experimental downloads are not yet qualified for production use and not eligible for support or uptime SLA commitments, whether they are for testing releases or production releases

<table class="release-table">
<thead>
Expand Down Expand Up @@ -594,6 +612,7 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi

{% endif %} {% comment %}if releases[0]{% endcomment %}
{% endfor %} {% comment %}for s in sections {% endcomment %}
{% endif %}
{% endfor %} {% comment %}for v in versions{% endcomment %}

## Licenses
Expand All @@ -604,6 +623,6 @@ All binaries available on this page released prior to the release date of 24.3.0

To review the CCL, refer to the [CockroachDB Community License](https://www.cockroachlabs.com/cockroachdb-community-license) page. You can find the applicable Business Source License or third party licenses by reviewing these in the `licenses` folder for the applicable version of CockroachDB in the GitHub repository [cockroachdb/cockroach](https://github.com/cockroachdb/cockroach). See individual files for details.

## Unsupported versions
## Unsupported Versions
[Here]({% link releases/unsupported-versions.md %}) are the versions of CockroachDB that are no longer supported

2 changes: 1 addition & 1 deletion src/current/releases/release-support-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Innovation releases are not eligible for Assistance Support, and reach EOL at th
<sup id="lts-tbd">&#42;&nbsp;&nbsp;: This major version will receive LTS patch releases, which will be listed on an additional row, upon their availability.</sup><br />
<sup id="skippable">&#42;&#42;&nbsp;&nbsp;: This major version is an optional innovation release and will not receive receive LTS patch releases. Innovation releases are EOL when Maintenance Support ends.</sup><br />

## Unsupported versions
## Unsupported Versions

The following versions of CockroachDB are no longer supported.

Expand Down
23 changes: 20 additions & 3 deletions src/current/releases/unsupported-versions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Unsupported versions
title: Unsupported Versions
summary: Versions of CockroachDB that are no longer supported
toc: true
docs_area: releases
Expand All @@ -15,7 +15,7 @@ docs_area: releases
{% assign released_versions = site.data.releases | map: "major_version" | uniq | reverse %}
{% comment %} Fetch the list of the major versions of all releases that currently exist {% endcomment %}

{% assign versions = site.data.unsupported_versions | where_exp: "versions", "released_versions contains versions.major_version" | sort: "release_date" | reverse %}
{% assign versions = site.data.versions | where_exp: "versions", "released_versions contains versions.major_version" | sort: "release_date" | reverse %}
{% comment %} Fetch all major versions (e.g., v21.2), sorted in reverse chronological order. {% endcomment %}

{% assign latest_hotfix = site.data.releases | where_exp: "latest_hotfix", "latest_hotfix.major_version == site.versions['stable']" | where_exp: "latest_hotfix", "latest_hotfix.withdrawn != true" | sort: "release_date" | reverse | first %}
Expand All @@ -26,8 +26,10 @@ docs_area: releases
{% capture onclick_string %}onclick="{{ experimental_download_js }}"{% endcapture %}

{% assign is_not_downloadable_message = "No longer available for download." %}

{% assign current_date = "now" | date: "%Y-%m-%d" %}
{% for v in versions %} {% comment %} Iterate through all major versions {% endcomment %}
{% assign maint_supp_exp_date = v.maint_supp_exp_date %}
{% assign asst_supp_exp_date = v.asst_supp_exp_date %}

{% comment %}
Determine if the major version is LTS and the patch component of the initial LTS patch,
Expand All @@ -50,8 +52,22 @@ docs_area: releases
{% capture lts_patch_string %}{{ v.initial_lts_patch | split: '.' | shift | shift }}{% endcapture %}
{% assign lts_patch = lts_patch_string | times: 1 %}{% comment %}Cast string to integer {% endcomment %}
{% endif %}
{% endif %}
{% assign valid_release_date = false %}
{% if v.release_date != 'N/A' %}
{% assign valid_release_date = true %}
{% endif %}

{% assign invalid_maint_date = false %}
{% if v.maint_supp_exp_date != 'N/A' and v.maint_supp_exp_date <= current_date %}
{% assign invalid_maint_date = true %}
{% endif %}

{% assign invalid_asst_date = false %}
{% if v.asst_supp_exp_date == 'N/A' or v.asst_supp_exp_date <= current_date %}
{% assign invalid_asst_date = true %}
{% endif %}
{% if valid_release_date and invalid_maint_date and invalid_asst_date %}
### {{ v.major_version }}

{% if DEBUG == true %}
Expand Down Expand Up @@ -469,4 +485,5 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi

{% endif %} {% comment %}if releases[0]{% endcomment %}
{% endfor %} {% comment %}for s in sections {% endcomment %}
{% endif %}
{% endfor %} {% comment %}for v in versions{% endcomment %}
Loading