diff --git a/docs/release_notes/version_chart/version_chart.md b/docs/release_notes/version_chart/version_chart.md index b8c7c0a66d..b8db79d7ff 100644 --- a/docs/release_notes/version_chart/version_chart.md +++ b/docs/release_notes/version_chart/version_chart.md @@ -28,74 +28,74 @@ Prophecy versions that are labeled with `EM` are Extended Maintenance releases. | Prophecy version | [Prophecy Scala libs](https://mvnrepository.com/artifact/io.prophecy/prophecy-libs) | [Prophecy Python libs](https://pypi.org/project/prophecy-libs/) | Release Date | End-of-support Date | | ---------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------- | ------------ | ------------------- | | v3.4.1.0 EM | 8.5.0 | 1.9.24 | 2024/11/25 | 2025/11/25 | -| v3.4.0.3 | 8.4.0 | 1.9.24 | 2024/11/20 | 2025/05/20 | -| v3.4.0.2 | 8.4.0 | 1.9.24 | 2024/11/14 | 2025/05/14 | -| v3.4.0.1 | 8.4.0 | 1.9.24 | 2024/11/13 | 2025/05/13 | +| v3.4.0.3 | 8.4.0 | 1.9.24 | 2024/11/20 | 2025/04/29 | +| v3.4.0.2 | 8.4.0 | 1.9.24 | 2024/11/13 | 2025/04/29 | +| v3.4.0.1 | 8.4.0 | 1.9.24 | 2024/11/13 | 2025/04/29 | | v3.4.0.0 | 8.4.0 | 1.9.24 | 2024/10/29 | 2025/04/29 | -| v3.3.11.7 | 8.2.1 | 1.9.16 | 2024/10/24 | 2025/04/24 | -| v3.3.11.6 | 8.2.1 | 1.9.16 | 2024/10/18 | 2025/04/18 | -| v3.3.11.5 | 8.2.1 | 1.9.16 | 2024/10/09 | 2025/04/09 | -| v3.3.11.4 | 8.2.1 | 1.9.16 | 2024/10/01 | 2025/04/01 | -| v3.3.11.3 | 8.2.1 | 1.9.16 | 2024/09/30 | 2025/03/30 | -| v3.3.11.2 | 8.2.1 | 1.9.16 | 2024/09/24 | 2025/03/24 | +| v3.3.11.7 | 8.2.1 | 1.9.16 | 2024/10/24 | 2025/03/20 | +| v3.3.11.6 | 8.2.1 | 1.9.16 | 2024/10/18 | 2025/03/20 | +| v3.3.11.5 | 8.2.1 | 1.9.16 | 2024/10/09 | 2025/03/20 | +| v3.3.11.4 | 8.2.1 | 1.9.16 | 2024/10/01 | 2025/03/20 | +| v3.3.11.3 | 8.2.1 | 1.9.16 | 2024/09/30 | 2025/03/20 | +| v3.3.11.2 | 8.2.1 | 1.9.16 | 2024/09/24 | 2025/03/20 | | v3.3.11.1 | 8.2.1 | 1.9.16 | 2024/09/20 | 2025/03/20 | | v3.3.11.0 | 8.2.1 | 1.9.16 | 2024/09/20 | 2025/03/20 | -| v3.3.10.3 | 8.1.8 | 1.9.14 | 2024/09/11 | 2025/03/11 | -| v3.3.10.2 | 8.1.8 | 1.9.14 | 2024/09/06 | 2025/03/06 | -| v3.3.10.1 | 8.1.8 | 1.9.14 | 2024/09/05 | 2025/03/05 | +| v3.3.10.3 | 8.1.8 | 1.9.14 | 2024/09/11 | 2025/03/02 | +| v3.3.10.2 | 8.1.8 | 1.9.14 | 2024/09/06 | 2025/03/02 | +| v3.3.10.1 | 8.1.8 | 1.9.14 | 2024/09/05 | 2025/03/02 | | v3.3.10.0 | 8.1.4 | 1.9.14 | 2024/09/02 | 2025/03/02 | -| v3.3.9.7 | 8.0.31 | 1.9.9 | 2024/08/28 | 2025/02/28 | -| v3.3.9.6 | 8.0.31 | 1.9.9 | 2024/08/22 | 2025/02/22 | -| v3.3.9.5 | 8.0.31 | 1.9.9 | 2024/08/19 | 2025/02/19 | -| v3.3.9.4 | 8.0.31 | 1.9.9 | 2024/08/15 | 2025/02/15 | -| v3.3.9.3 | 8.0.31 | 1.9.9 | 2024/08/13 | 2025/02/13 | -| v3.3.9.2 | 8.0.31 | 1.9.9 | 2024/08/13 | 2025/02/13 | -| v3.3.8.7 | 8.0.29 | 1.9.9 | 2024/08/02 | 2025/02/02 | -| v3.3.9.1 | 8.0.29 | 1.9.9 | 2024/07/29 | 2025/01/29 | -| v3.3.8.6 | 8.0.29 | 1.9.9 | 2024/07/29 | 2025/01/29 | -| v3.3.8.5 | 8.0.29 | 1.9.9 | 2024/07/23 | 2025/01/23 | +| v3.3.9.7 | 8.0.31 | 1.9.9 | 2024/08/28 | 2025/01/22 | +| v3.3.9.6 | 8.0.31 | 1.9.9 | 2024/08/22 | 2025/01/22 | +| v3.3.9.5 | 8.0.31 | 1.9.9 | 2024/08/19 | 2025/01/22 | +| v3.3.9.4 | 8.0.31 | 1.9.9 | 2024/08/15 | 2025/01/22 | +| v3.3.9.3 | 8.0.31 | 1.9.9 | 2024/08/13 | 2025/01/22 | +| v3.3.9.2 | 8.0.31 | 1.9.9 | 2024/08/13 | 2025/01/22 | +| v3.3.8.7 | 8.0.29 | 1.9.9 | 2024/08/02 | 2025/01/08 | +| v3.3.9.1 | 8.0.29 | 1.9.9 | 2024/07/29 | 2025/01/22 | +| v3.3.8.6 | 8.0.29 | 1.9.9 | 2024/07/29 | 2025/01/08 | +| v3.3.8.5 | 8.0.29 | 1.9.9 | 2024/07/23 | 2025/01/08 | | v3.3.9.0 | 8.0.29 | 1.9.9 | 2024/07/22 | 2025/01/22 | -| v3.3.8.4 | 8.0.29 | 1.9.9 | 2024/07/22 | 2025/01/22 | -| v3.3.8.3 | 8.0.29 | 1.9.9 | 2024/07/17 | 2025/01/17 | -| v3.3.8.2 | 8.0.29 | 1.9.9 | 2024/07/16 | 2025/01/16 | -| v3.3.8.1 | 8.0.25 | 1.9.9 | 2024/07/10 | 2025/01/10 | +| v3.3.8.4 | 8.0.29 | 1.9.9 | 2024/07/22 | 2025/01/08 | +| v3.3.8.3 | 8.0.29 | 1.9.9 | 2024/07/17 | 2025/01/08 | +| v3.3.8.2 | 8.0.29 | 1.9.9 | 2024/07/16 | 2025/01/08 | +| v3.3.8.1 | 8.0.23 | 1.9.9 | 2024/07/09 | 2025/01/08 | | v3.3.8.0 | 8.0.23 | 1.9.9 | 2024/07/08 | 2025/01/08 | -| v3.3.7.13 | 8.0.11-1 | 1.9.7 | 2024/07/05 | 2025/01/05 | -| v3.3.7.12 | 8.0.11-1 | 1.9.7 | 2024/07/04 | 2025/01/04 | -| v3.3.7.11 | 8.0.11-1 | 1.9.5 | 2024/07/03 | 2025/01/03 | -| v3.3.7.10 | 8.0.11 | 1.9.5 | 2024/07/01 | 2025/01/01 | -| v3.3.7.9 | 8.0.11 | 1.9.5 | 2024/06/28 | 2024/12/28 | -| v3.3.7.8 | 8.0.11 | 1.9.5 | 2024/06/27 | 2024/12/27 | -| v3.3.7.7 | 8.0.11 | 1.9.5 | 2024/06/24 | 2024/12/24 | -| v3.3.7.6 | 8.0.11 | 1.9.5 | 2024/06/21 | 2024/12/21 | -| v3.3.7.5 | 8.0.11 | 1.9.5 | 2024/06/20 | 2024/12/20 | -| v3.3.7.4 | 8.0.11 | 1.9.5 | 2024/06/19 | 2024/12/19 | -| v3.3.7.3 | 8.0.11 | 1.9.5 | 2024/06/14 | 2024/12/14 | -| v3.3.7.2 | 8.0.11 | 1.9.5 | 2024/06/12 | 2024/12/12 | +| v3.3.7.13 | 8.0.11-1 | 1.9.7 | 2024/07/05 | 2024/12/10 | +| v3.3.7.12 | 8.0.11-1 | 1.9.7 | 2024/07/04 | 2024/12/10 | +| v3.3.7.11 | 8.0.11-1 | 1.9.5 | 2024/07/03 | 2024/12/10 | +| v3.3.7.10 | 8.0.11 | 1.9.5 | 2024/07/01 | 2024/12/10 | +| v3.3.7.9 | 8.0.11 | 1.9.5 | 2024/06/28 | 2024/12/10 | +| v3.3.7.8 | 8.0.11 | 1.9.5 | 2024/06/27 | 2024/12/10 | +| v3.3.7.7 | 8.0.11 | 1.9.5 | 2024/06/24 | 2024/12/10 | +| v3.3.7.6 | 8.0.11 | 1.9.5 | 2024/06/21 | 2024/12/10 | +| v3.3.7.5 | 8.0.11 | 1.9.5 | 2024/06/20 | 2024/12/10 | +| v3.3.7.4 | 8.0.11 | 1.9.5 | 2024/06/19 | 2024/12/10 | +| v3.3.7.3 | 8.0.11 | 1.9.5 | 2024/06/14 | 2024/12/10 | +| v3.3.7.2 | 8.0.11 | 1.9.5 | 2024/06/12 | 2024/12/10 | | v3.3.7.0 | 8.0.5 | 1.9.4 | 2024/06/10 | 2024/12/10 | -| v3.3.6.3 | 7.1.102 | 1.8.19 | 2024/06/06 | 2024/12/06 | -| v3.3.6.2 | 7.1.102 | 1.8.19 | 2024/06/04 | 2024/12/04 | -| v3.3.6.1 | 7.1.102 | 1.8.19 | 2024/05/27 | 2024/11/27 | +| v3.3.6.3 | 7.1.102 | 1.8.19 | 2024/06/06 | 2024/11/21 | +| v3.3.6.2 | 7.1.102 | 1.8.19 | 2024/06/04 | 2024/11/21 | +| v3.3.6.1 | 7.1.102 | 1.8.19 | 2024/05/27 | 2024/11/21 | | v3.3.6.0 | 7.1.97 | 1.8.19 | 2024/05/21 | 2024/11/21 | -| v3.3.5.7 | 7.1.96 | 1.8.15 | 2024/05/17 | 2024/11/17 | -| v3.3.5.6 | 7.1.96 | 1.8.15 | 2024/05/13 | 2024/11/13 | -| v3.3.5.5 | 7.1.95 | 1.8.15 | 2024/05/10 | 2024/11/10 | -| v3.3.5.4 | 7.1.95 | 1.8.15 | 2024/05/09 | 2024/11/09 | -| v3.3.5.3 | 7.1.95 | 1.8.15 | 2024/05/07 | 2024/11/07 | -| v3.3.5.2 | 7.1.95 | 1.8.15 | 2024/05/06 | 2024/11/06 | -| v3.3.5.1 | 7.1.93 | 1.8.15 | 2024/05/06 | 2024/11/06 | +| v3.3.5.7 | 7.1.96 | 1.8.15 | 2024/05/17 | 2024/10/30 | +| v3.3.5.6 | 7.1.96 | 1.8.15 | 2024/05/13 | 2024/10/30 | +| v3.3.5.5 | 7.1.95 | 1.8.15 | 2024/05/10 | 2024/10/30 | +| v3.3.5.4 | 7.1.95 | 1.8.15 | 2024/05/09 | 2024/10/30 | +| v3.3.5.3 | 7.1.95 | 1.8.15 | 2024/05/07 | 2024/10/30 | +| v3.3.5.2 | 7.1.95 | 1.8.15 | 2024/05/06 | 2024/10/30 | +| v3.3.5.1 | 7.1.93 | 1.8.15 | 2024/05/06 | 2024/10/30 | | v3.3.5.0 | 7.1.93 | 1.8.15 | 2024/04/30 | 2024/10/30 | -| v3.3.4.2 | 7.1.88 | 1.8.15 | 2024/04/17 | 2024/10/17 | -| v3.3.4.1 | 7.1.88 | 1.8.15 | 2024/04/15 | 2024/10/15 | +| v3.3.4.2 | 7.1.88 | 1.8.15 | 2024/04/17 | 2024/10/13 | +| v3.3.4.1 | 7.1.88 | 1.8.15 | 2024/04/15 | 2024/10/13 | | v3.3.4.0 | 7.1.88 | 1.8.15 | 2024/04/13 | 2024/10/13 | -| v3.3.3.2 | 7.1.83 | 1.8.13 | 2024/04/10 | 2024/10/10 | -| v3.3.3.1 | 7.1.83 | 1.8.13 | 2024/04/03 | 2024/10/03 | +| v3.3.3.2 | 7.1.83 | 1.8.13 | 2024/04/10 | 2024/10/01 | +| v3.3.3.1 | 7.1.83 | 1.8.13 | 2024/04/03 | 2024/10/01 | | v3.3.3.0 | 7.1.82 | 1.8.13 | 2024/04/01 | 2024/10/01 | -| v3.3.2.4 | 7.1.83 | 1.8.12 | 2024/03/27 | 2024/09/27 | -| v3.3.2.3 | 7.1.79 | 1.8.12 | 2024/03/26 | 2024/09/26 | -| v3.3.2.2 | 7.1.79 | 1.8.12 | 2024/03/21 | 2024/09/21 | -| v3.3.2.1 | 7.1.79 | 1.8.9 | 2024/03/15 | 2024/09/15 | -| v3.3.2.0 | 7.1.79 | 1.8.9 | 2024/03/14 | 2024/09/14 | -| v3.3.1.3 | 7.1.72-1 | 1.8.7 | 2024/03/08 | 2024/09/08 | -| v3.3.1.2 | 7.1.72-1 | 1.8.7 | 2024/03/07 | 2024/09/07 | -| v3.3.1.1 | 7.1.72 | 1.8.7 | 2024/03/05 | 2024/09/05 | +| v3.3.2.4 | 7.1.83 | 1.8.12 | 2024/03/27 | 2024/09/13 | +| v3.3.2.3 | 7.1.79 | 1.8.12 | 2024/03/25 | 2024/09/13 | +| v3.3.2.2 | 7.1.79 | 1.8.12 | 2024/03/20 | 2024/09/13 | +| v3.3.2.1 | 7.1.79 | 1.8.9 | 2024/03/15 | 2024/09/13 | +| v3.3.2.0 | 7.1.79 | 1.8.9 | 2024/03/13 | 2024/09/13 | +| v3.3.1.3 | 7.1.72-1 | 1.8.7 | 2024/03/08 | 2024/08/28 | +| v3.3.1.2 | 7.1.72-1 | 1.8.7 | 2024/03/07 | 2024/08/28 | +| v3.3.1.1 | 7.1.72 | 1.8.7 | 2024/03/05 | 2024/08/28 | diff --git a/scripts/find_versions_from_git_tags.py b/scripts/find_versions_from_git_tags.py index c39ac45781..a72b62b82c 100644 --- a/scripts/find_versions_from_git_tags.py +++ b/scripts/find_versions_from_git_tags.py @@ -12,11 +12,17 @@ "v3.4.1.0", ] +def get_commit_date(repo, tag_name): + try: + tag = repo.tags[tag_name] + return datetime.fromtimestamp(tag.commit.committed_date) + except git.exc.GitCommandError: + IOError(f"Error checking out tag '{tag_name}'.") + def get_versions_for_tag(repo, tag_name): deps_file_path = "project/Dependencies.scala" try: - tag = repo.tags[tag_name] file_contents = repo.git.show(f"{tag_name}:{deps_file_path}") prophecy_libs_version_regex = r'prophecyLibsVersion\s*=\s*"([^"]+)"' @@ -31,10 +37,15 @@ def get_versions_for_tag(repo, tag_name): #print("pythonProphecyLibsVersion not found.") return # ignore for now if we can't find missing old versions - create_date = datetime.fromtimestamp(tag.commit.committed_date) + + create_date = get_commit_date(repo, tag_name) if tag_name in LTS_VERSIONS: end_of_support_date = create_date + relativedelta(years=1) tag_name = tag_name + " EM" + elif not tag_name.endswith(".0"): + # for patch versions, set the same end date as associated minor version + minor_create_date = get_commit_date(repo, re.sub(r'(\d+)\.(\d+)\.(\d+)\.(\d+)$', r'\1.\2.\3.0', tag_name)) + end_of_support_date = minor_create_date + relativedelta(months=6) else: end_of_support_date = create_date + relativedelta(months=6) ver_dict = {