Skip to content

Commit 2b80037

Browse files
Upgraded to Tomcat September '25 releases
Upgrade includes - Tomcat 9.0.109 from 9.0 line - Tomcat 10.1.46 from 10.1 line - Tomcat 11.0.11 from 11.0 line (will be the new default version) Tomcat 10.1.45 was skipped due to a severe regression for some users. Out of band release 10.1.46 was chosen instead.
1 parent 6ccb9c8 commit 2b80037

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/main/scala/io/sdkman/changelogs/TomcatMigration.scala

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,5 +316,28 @@ class TomcatMigration {
316316
.insert()
317317
setCandidateDefault("tomcat", "11.0.10")
318318
}
319+
@ChangeSet(
320+
order = "024",
321+
id = "024-update_tomcat_versions",
322+
author = "stefanpenndorf"
323+
)
324+
def migration024(implicit db: MongoDatabase): Document = {
325+
List(
326+
"9" -> "9.0.109",
327+
"10" -> "10.1.46",
328+
"11" -> "11.0.11"
329+
).map {
330+
case (series: String, version: String) =>
331+
Version(
332+
candidate = "tomcat",
333+
version = version,
334+
url =
335+
s"https://archive.apache.org/dist/tomcat/tomcat-$series/v$version/bin/apache-tomcat-$version.zip"
336+
)
337+
}
338+
.validate()
339+
.insert()
340+
setCandidateDefault("tomcat", "11.0.11")
341+
}
319342

320343
}

0 commit comments

Comments
 (0)