Skip to content

Commit 84c9035

Browse files
committed
fix(upgrade): sync dependency metadata with commercial support dates
Align EOL/deprecated thresholds with AppCAT azure rulesets using commercial support end dates (latest available support) to avoid false-positive EOL warnings for enterprise users: - Spring Boot: supportedVersion 2.7.x || >=3.5.x, suggest 4.0 - Spring Framework: supportedVersion 5.3.x || >=6.2.x, suggest 7.0 - Spring Security: supportedVersion 5.7.x || 5.8.x || >=6.5.x, suggest 6.5 - Add Spring Cloud (>=2025.x) - Jakarta EE: suggest version 11 - Update eolDate to commercial support end dates Data sourced from endoflife.date.
1 parent ccb3f21 commit 84c9035

1 file changed

Lines changed: 31 additions & 16 deletions

File tree

src/upgrade/dependency.metadata.ts

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const DEPENDENCIES_TO_SCAN: DependencyCheckMetadata = {
2020
"org.springframework.boot:*": {
2121
"reason": UpgradeReason.END_OF_LIFE,
2222
"name": "Spring Boot",
23-
"supportedVersion": "2.7.x || >=3.2.x",
23+
"supportedVersion": "2.7.x || >=3.5.x",
2424
"eolDate": {
2525
"4.0.x": "2027-12",
2626
"3.5.x": "2032-06",
@@ -30,17 +30,17 @@ const DEPENDENCIES_TO_SCAN: DependencyCheckMetadata = {
3030
"3.1.x": "2025-06",
3131
"3.0.x": "2024-12",
3232
"2.7.x": "2029-06",
33-
"2.6.x": "2024-02",
34-
"2.5.x": "2023-08",
35-
"2.4.x": "2023-02",
36-
"2.3.x": "2022-08",
37-
"2.2.x": "2022-01",
38-
"2.1.x": "2021-01",
39-
"2.0.x": "2020-06",
40-
"1.5.x": "2020-11",
33+
"2.6.x": "2022-11",
34+
"2.5.x": "2022-05",
35+
"2.4.x": "2021-11",
36+
"2.3.x": "2021-05",
37+
"2.2.x": "2020-10",
38+
"2.1.x": "2019-10",
39+
"2.0.x": "2019-03",
40+
"1.5.x": "2019-08",
4141
},
4242
"suggestedVersion": {
43-
"name": "3.5",
43+
"name": "4.0",
4444
"description": "latest stable release",
4545
},
4646
},
@@ -60,14 +60,14 @@ const DEPENDENCIES_TO_SCAN: DependencyCheckMetadata = {
6060
"4.3.x": "2020-12",
6161
},
6262
"suggestedVersion": {
63-
"name": "6.2",
63+
"name": "7.0",
6464
"description": "latest stable release",
6565
},
6666
},
6767
"org.springframework.security:*": {
6868
"reason": UpgradeReason.END_OF_LIFE,
6969
"name": "Spring Security",
70-
"supportedVersion": "5.7.x || 5.8.x || >=6.2.x",
70+
"supportedVersion": "5.7.x || 5.8.x || >=6.5.x",
7171
"eolDate": {
7272
"7.0.x": "2027-12",
7373
"6.5.x": "2032-06",
@@ -88,17 +88,32 @@ const DEPENDENCIES_TO_SCAN: DependencyCheckMetadata = {
8888
"4.2.x": "2020-11",
8989
},
9090
"suggestedVersion": {
91-
"name": "3.5",
91+
"name": "6.5",
92+
"description": "latest stable release",
93+
},
94+
},
95+
"org.springframework.cloud:*": {
96+
"reason": UpgradeReason.END_OF_LIFE,
97+
"name": "Spring Cloud",
98+
"supportedVersion": ">=2025.x",
99+
"eolDate": {
100+
"2025.x": "2026-12",
101+
"2024.x": "2025-12",
102+
"2023.x": "2024-12",
103+
"2022.x": "2023-12",
104+
"2021.x": "2022-12",
105+
},
106+
"suggestedVersion": {
107+
"name": "2025.0",
92108
"description": "latest stable release",
93109
},
94110
},
95111
"javax:*": {
96112
"reason": UpgradeReason.DEPRECATED,
97113
"name": "Java EE",
98114
"suggestedVersion": {
99-
"name": "Jakarta EE 10",
100-
"description": "latest release with wide Java runtime version support",
101-
115+
"name": "Jakarta EE 11",
116+
"description": "latest stable release",
102117
},
103118
},
104119
[Upgrade.PACKAGE_ID_FOR_JAVA_RUNTIME]: DEPENDENCY_JAVA_RUNTIME,

0 commit comments

Comments
 (0)