Add boot-versions module: Spring Boot versions and support dates read from primary sources, Java baselines proven on JDK 8 to 27, 4.0 to 4.2 checks, with real transcripts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
Claude
2026-12-03 09:26:27 +05:30
parent 24dc4ba3ff
commit 2a8219a6ee
28 changed files with 1704 additions and 0 deletions
@@ -0,0 +1,46 @@
package com.ankurm.bootversions;
import java.nio.file.Files;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.w3c.dom.Element;
/** spring-boot-dependencies: the version properties and the Boot modules one release manages. */
public record Bom(String version, Map<String, String> properties, List<String> bootModules) {
static Bom read(Central central, String version) throws Exception {
var path = central.file("org/springframework/boot/spring-boot-dependencies/" + version
+ "/spring-boot-dependencies-" + version + ".pom");
return parse(version, Files.readAllBytes(path));
}
static Bom parse(String version, byte[] pom) throws Exception {
Element project = Central.xml(pom).getDocumentElement();
Map<String, String> properties = new LinkedHashMap<>();
Element props = Central.child(project, "properties");
for (var n = props.getFirstChild(); n != null; n = n.getNextSibling()) {
if (n instanceof Element e) {
properties.put(e.getTagName(), e.getTextContent().trim());
}
}
List<String> modules = new ArrayList<>();
var dependencies = project.getElementsByTagName("dependency");
for (int i = 0; i < dependencies.getLength(); i++) {
Element d = (Element) dependencies.item(i);
if ("org.springframework.boot".equals(Central.child(d, "groupId").getTextContent())
&& Central.child(d, "classifier") == null) {
String id = Central.child(d, "artifactId").getTextContent();
if (!modules.contains(id)) {
modules.add(id);
}
}
}
return new Bom(version, properties, modules);
}
String property(String name) {
return properties.getOrDefault(name, "-");
}
}
@@ -0,0 +1,124 @@
package com.ankurm.bootversions;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.LocalDate;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Pattern;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
/** Reads Maven Central directly. No search API: only repository files. */
public final class Central {
static final String REPO = "https://repo1.maven.org/maven2/";
private static final Pattern GA = Pattern.compile("\\d+\\.\\d+\\.\\d+");
private final HttpClient http = HttpClient.newBuilder()
.followRedirects(HttpClient.Redirect.NORMAL)
.proxy(java.net.ProxySelector.getDefault())
.build();
private final Path cache = Path.of("target", "cache");
public String text(String url) throws IOException, InterruptedException {
HttpResponse<String> r = send(request(url).build(), HttpResponse.BodyHandlers.ofString());
check(url, r.statusCode());
return r.body();
}
/** Maven Central answers 429 when asked too fast, so wait and try again. */
private <T> HttpResponse<T> send(HttpRequest request, HttpResponse.BodyHandler<T> handler)
throws IOException, InterruptedException {
HttpResponse<T> r = http.send(request, handler);
for (int attempt = 1; attempt <= 6 && r.statusCode() == 429; attempt++) {
Thread.sleep(5_000L * attempt);
r = http.send(request, handler);
}
return r;
}
/** Downloads a repository file once and keeps it under target/cache. */
public Path file(String path) throws IOException, InterruptedException {
Path target = cache.resolve(path);
if (!Files.exists(target)) {
Files.createDirectories(target.getParent());
HttpResponse<byte[]> r = send(request(REPO + path).build(), HttpResponse.BodyHandlers.ofByteArray());
check(path, r.statusCode());
Files.write(target, r.body());
}
return target;
}
/** The day the file landed on Maven Central, in UTC, from its Last-Modified header. */
public LocalDate publishedOn(String path) throws IOException, InterruptedException {
HttpResponse<Void> r = send(request(REPO + path).method("HEAD", HttpRequest.BodyPublishers.noBody()).build(),
HttpResponse.BodyHandlers.discarding());
check(path, r.statusCode());
String header = r.headers().firstValue("last-modified").orElseThrow();
return ZonedDateTime.parse(header, DateTimeFormatter.RFC_1123_DATE_TIME)
.withZoneSameInstant(ZoneOffset.UTC).toLocalDate();
}
/** All GA versions (no -M, -RC, -SNAPSHOT) of an artifact, oldest first. */
public List<String> gaVersions(String groupPath, String artifact) throws Exception {
Document doc = xml(text(REPO + groupPath + "/" + artifact + "/maven-metadata.xml").getBytes());
var nodes = doc.getElementsByTagName("version");
List<String> all = new ArrayList<>();
for (int i = 0; i < nodes.getLength(); i++) {
all.add(nodes.item(i).getTextContent().trim());
}
return gaOnly(all);
}
static List<String> gaOnly(List<String> versions) {
return versions.stream().filter(v -> GA.matcher(v).matches()).sorted(byVersion()).toList();
}
static Comparator<String> byVersion() {
return Comparator.<String>comparingInt(v -> part(v, 0))
.thenComparingInt(v -> part(v, 1))
.thenComparingInt(v -> part(v, 2));
}
private static int part(String v, int i) {
return Integer.parseInt(v.split("\\.")[i]);
}
static Document xml(byte[] bytes) throws Exception {
var factory = DocumentBuilderFactory.newInstance();
factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
return factory.newDocumentBuilder().parse(new ByteArrayInputStream(bytes));
}
static Element child(Element parent, String name) {
for (Node n = parent.getFirstChild(); n != null; n = n.getNextSibling()) {
if (n instanceof Element e && e.getTagName().equals(name)) {
return e;
}
}
return null;
}
private static HttpRequest.Builder request(String url) {
return HttpRequest.newBuilder(URI.create(url)).header("User-Agent", "boot-versions-report");
}
private static void check(String what, int status) throws IOException {
if (status != 200) {
throw new IOException("HTTP " + status + " for " + what);
}
}
}
@@ -0,0 +1,41 @@
package com.ankurm.bootversions;
import java.time.LocalDate;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.List;
import tools.jackson.databind.JsonNode;
import tools.jackson.databind.json.JsonMapper;
/** One "generation" (minor line) as published by api.spring.io. */
public record Support(String line, LocalDate listedRelease, LocalDate ossEnd,
LocalDate commercialEnd, String kind) {
public enum Status { OSS, COMMERCIAL_ONLY, ENDED }
/** The end date itself still counts as supported. */
public Status statusOn(LocalDate day) {
if (!day.isAfter(ossEnd)) {
return Status.OSS;
}
return day.isAfter(commercialEnd) ? Status.ENDED : Status.COMMERCIAL_ONLY;
}
public long ossDaysLeft(LocalDate day) {
return ChronoUnit.DAYS.between(day, ossEnd);
}
public static List<Support> parse(String generationsJson) {
List<Support> out = new ArrayList<>();
JsonNode root = JsonMapper.shared().readTree(generationsJson);
for (JsonNode g : root.path("_embedded").path("generations")) {
out.add(new Support(
g.path("name").asString(),
LocalDate.parse(g.path("initialReleaseDate").asString()),
LocalDate.parse(g.path("ossSupportEndDate").asString()),
LocalDate.parse(g.path("commercialSupportEndDate").asString()),
g.path("support").asString()));
}
return out;
}
}
@@ -0,0 +1,211 @@
package com.ankurm.bootversions;
import java.io.DataInputStream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.jar.JarFile;
import java.util.regex.Pattern;
import tools.jackson.databind.JsonNode;
import tools.jackson.databind.json.JsonMapper;
/**
* Prints the tables behind the article. Usage:
* {@code VersionReport latest|support|baselines|calendar|properties [yyyy-MM-dd]}
*/
public final class VersionReport {
static final List<String> LINES = List.of("2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "4.0", "4.1", "4.2");
private static final String BOOT = "org/springframework/boot/";
private static final String API = "https://api.spring.io/projects/spring-boot/generations";
private final Central central = new Central();
public static void main(String[] args) throws Exception {
String command = args.length > 0 ? args[0] : "latest";
LocalDate today = args.length > 1 ? LocalDate.parse(args[1]) : LocalDate.now();
var report = new VersionReport();
switch (command) {
case "latest" -> report.latest(today);
case "support" -> report.support(today);
case "baselines" -> report.baselines();
case "calendar" -> report.calendar(today);
case "properties" -> report.properties("4.0.10", "4.2.0");
default -> throw new IllegalArgumentException("unknown command " + command);
}
}
private Map<String, String> latestPatchPerLine() throws Exception {
Map<String, String> latest = new LinkedHashMap<>();
List<String> all = central.gaVersions("org/springframework/boot", "spring-boot-dependencies");
for (String line : LINES) {
all.stream().filter(v -> v.startsWith(line + ".")).reduce((a, b) -> b)
.ifPresent(v -> latest.put(line, v));
}
return latest;
}
private static String pom(String version) {
return BOOT + "spring-boot-dependencies/" + version + "/spring-boot-dependencies-" + version + ".pom";
}
void latest(LocalDate today) throws Exception {
List<String> all = central.gaVersions("org/springframework/boot", "spring-boot-dependencies");
System.out.println("# Maven Central, org.springframework.boot:spring-boot-dependencies, read on " + today);
System.out.println("latest GA overall: " + all.getLast());
System.out.printf("%-6s %-12s %-14s %-13s %s%n", "line", "x.y.0 date", "latest patch", "patch date", "patches");
for (var e : latestPatchPerLine().entrySet()) {
long count = all.stream().filter(v -> v.startsWith(e.getKey() + ".")).count();
System.out.printf("%-6s %-12s %-14s %-13s %d%n", e.getKey(),
central.publishedOn(pom(e.getKey() + ".0")), e.getValue(),
central.publishedOn(pom(e.getValue())), count);
}
}
void support(LocalDate today) throws Exception {
String json = central.text(API);
Files.createDirectories(Path.of("output"));
Files.writeString(Path.of("output", "api-generations.json"), json);
System.out.println("# " + API + ", status computed for " + today);
System.out.printf("%-7s %-13s %-12s %-15s %-9s %-16s %s%n", "line", "listed start", "OSS ends",
"commercial ends", "kind", "status", "OSS days left");
for (Support s : Support.parse(json)) {
if (s.line().startsWith("1.")) {
continue;
}
var status = s.statusOn(today);
System.out.printf("%-7s %-13s %-12s %-15s %-9s %-16s %s%n", s.line(), s.listedRelease(), s.ossEnd(),
s.commercialEnd(), s.kind(), status, status == Support.Status.OSS ? s.ossDaysLeft(today) : "-");
}
}
/** The class file major version of SpringApplication is the real compile floor of a release. */
private int classMajor(String version) throws Exception {
Path jar = central.file(BOOT + "spring-boot/" + version + "/spring-boot-" + version + ".jar");
try (var file = new JarFile(jar.toFile());
var in = new DataInputStream(file.getInputStream(
file.getEntry("org/springframework/boot/SpringApplication.class")))) {
in.readInt();
in.readUnsignedShort();
return in.readUnsignedShort();
}
}
private String documentedJava(String line, String version) throws InterruptedException {
try {
String url = "https://docs.spring.io/spring-boot/" + switch (line) {
case "2.7" -> "docs/2.7.18/reference/html/getting-started.html";
case "4.2" -> "system-requirements.html";
default -> line + "/system-requirements.html";
};
String page = central.text(url).replaceAll("<[^>]+>", "").replaceAll("\\s+", " ");
var m = Pattern.compile("Spring Boot " + Pattern.quote(version)
+ " requires (?:at least )?Java (\\d+) and is compatible (?:with )?(?:versions )?up to and including (?:Java )?(\\d+)")
.matcher(page);
return m.find() ? m.group(1) + " to " + m.group(2) : "not parsed";
} catch (IOException e) {
return "no page";
}
}
void baselines() throws Exception {
System.out.println("# class major: read from SpringApplication.class in the published jar (52 = Java 8, 61 = Java 17)");
System.out.println("# docs Java: the system requirements page of each line on docs.spring.io (\"no page\" = 404)");
System.out.printf("%-8s %-6s %-12s %-10s %-9s %-10s %-9s %-8s %s%n", "boot", "major", "docs Java",
"framework", "tomcat", "jackson", "hibernate", "junit", "jooq");
for (var e : latestPatchPerLine().entrySet()) {
String v = e.getValue();
Bom bom = Bom.read(central, v);
String jackson = bom.properties().containsKey("jackson-bom.version")
? bom.property("jackson-bom.version") : "-";
System.out.printf("%-8s %-6d %-12s %-10s %-9s %-10s %-9s %-8s %s%n", v, classMajor(v),
documentedJava(e.getKey(), v), bom.property("spring-framework.version"),
bom.property("tomcat.version"), jackson, bom.property("hibernate.version"),
bom.property("junit-jupiter.version"), bom.property("jooq.version"));
}
}
void calendar(LocalDate today) throws Exception {
String url = "https://calendar.spring.io/releases?start=" + today + "&end=" + today.plusYears(1);
System.out.println("# " + url);
System.out.println("# open-source Spring Boot entries only (\"(Enterprise)\" patches left out)");
for (JsonNode e : JsonMapper.shared().readTree(central.text(url))) {
String title = e.path("title").asString();
if (title.startsWith("Spring Boot ") && !title.contains("Enterprise")) {
System.out.println(e.path("start").asString() + " " + title);
}
}
var versions = central.gaVersions("org/springframework/boot", "spring-boot-dependencies");
System.out.println("4.3 GA on Maven Central: " + versions.stream().anyMatch(v -> v.startsWith("4.3.")));
System.out.println("4.3.x in api.spring.io generations: "
+ Support.parse(central.text(API)).stream().anyMatch(s -> s.line().equals("4.3.x")));
}
/** Every configuration property each module jar of a release declares: name to deprecation level. */
private Map<String, JsonNode> propertiesOf(String version) throws Exception {
Map<String, JsonNode> out = new TreeMap<>();
for (String module : Bom.read(central, version).bootModules()) {
Path jar;
try {
jar = central.file(BOOT + module + "/" + version + "/" + module + "-" + version + ".jar");
} catch (IOException noJar) {
continue;
}
try (var file = new JarFile(jar.toFile())) {
var entry = file.getEntry("META-INF/spring-configuration-metadata.json");
if (entry == null) {
continue;
}
try (var in = file.getInputStream(entry)) {
for (JsonNode p : JsonMapper.shared().readTree(in).path("properties")) {
out.put(p.path("name").asString(), p);
}
}
}
}
return out;
}
void properties(String from, String to) throws Exception {
Map<String, JsonNode> before = propertiesOf(from);
Map<String, JsonNode> after = propertiesOf(to);
List<String> gone = new ArrayList<>();
List<String> newlyDeprecated = new ArrayList<>();
before.forEach((name, old) -> {
JsonNode now = after.get(name);
boolean wasDead = old.path("deprecation").path("level").asString("").equals("error");
if (wasDead) {
return;
}
if (now == null || now.path("deprecation").path("level").asString("").equals("error")) {
gone.add(line(name, now));
} else if (!old.has("deprecation") && now.has("deprecation")) {
newlyDeprecated.add(line(name, now));
}
});
long added = after.keySet().stream().filter(n -> !before.containsKey(n)).count();
System.out.println("# configuration metadata of every org.springframework.boot jar in each BOM, " + from + " -> " + to);
System.out.println(from + " declares " + before.size() + " properties, " + to + " declares " + after.size()
+ " (" + added + " new names)");
System.out.println();
System.out.println("usable on " + from + ", unusable or absent on " + to + ": " + gone.size());
gone.forEach(System.out::println);
System.out.println();
System.out.println("newly deprecated (still bound) on " + to + ": " + newlyDeprecated.size());
newlyDeprecated.forEach(System.out::println);
}
private static String line(String name, JsonNode now) {
if (now == null) {
return " " + name + " (not in metadata)";
}
String replacement = now.path("deprecation").path("replacement").asString("");
return " " + name + (replacement.isEmpty() ? " (no replacement listed)" : " -> " + replacement);
}
}
@@ -0,0 +1,51 @@
package com.ankurm.bootversions;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.io.IOException;
import java.time.LocalDate;
import java.util.List;
import org.junit.jupiter.api.Test;
/** Pins the support-date table of the article to a saved copy of api.spring.io (2026-12-03). */
class SupportTest {
private static final LocalDate DAY = LocalDate.parse("2026-12-03");
private static Support line(String name) throws IOException {
try (var in = SupportTest.class.getResourceAsStream("/generations-2026-12-03.json")) {
return Support.parse(new String(in.readAllBytes())).stream()
.filter(s -> s.line().equals(name)).findFirst().orElseThrow();
}
}
@Test
void boot40LosesFreeSupportOn31December2026() throws IOException {
Support s = line("4.0.x");
assertEquals(LocalDate.parse("2026-12-31"), s.ossEnd());
assertEquals(LocalDate.parse("2027-12-31"), s.commercialEnd());
assertEquals(28, s.ossDaysLeft(DAY));
assertEquals(Support.Status.OSS, s.statusOn(LocalDate.parse("2026-12-31")));
assertEquals(Support.Status.COMMERCIAL_ONLY, s.statusOn(LocalDate.parse("2027-01-01")));
}
@Test
void newerLines() throws IOException {
assertEquals(LocalDate.parse("2027-07-31"), line("4.1.x").ossEnd());
assertEquals(LocalDate.parse("2027-12-31"), line("4.2.x").ossEnd());
assertEquals(LocalDate.parse("2028-12-31"), line("4.2.x").commercialEnd());
}
@Test
void oldLines() throws IOException {
assertEquals(Support.Status.COMMERCIAL_ONLY, line("3.5.x").statusOn(DAY));
assertEquals(LocalDate.parse("2032-06-30"), line("3.5.x").commercialEnd());
assertEquals(Support.Status.ENDED, line("3.3.x").statusOn(DAY));
}
@Test
void milestonesAreNotReleases() {
assertEquals(List.of("4.1.3", "4.2.0"),
Central.gaOnly(List.of("4.2.0", "4.3.0-M1", "4.1.3", "4.2.0-RC2", "4.2.1-SNAPSHOT")));
}
}
@@ -0,0 +1,349 @@
{
"_embedded" : {
"generations" : [ {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/1.5.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "1.5.x",
"initialReleaseDate" : "2017-01-31",
"support" : "default",
"ossSupportEndDate" : "2019-08-31",
"commercialSupportEndDate" : "2020-11-30",
"linkedGenerations" : {
"spring-boot" : [ "1.5.x" ]
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/2.0.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "2.0.x",
"initialReleaseDate" : "2018-03-31",
"support" : "default",
"ossSupportEndDate" : "2019-03-31",
"commercialSupportEndDate" : "2020-06-30",
"linkedGenerations" : {
"spring-boot" : [ "2.0.x" ]
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/2.1.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "2.1.x",
"initialReleaseDate" : "2018-10-31",
"support" : "default",
"ossSupportEndDate" : "2019-10-31",
"commercialSupportEndDate" : "2021-01-31",
"linkedGenerations" : {
"spring-boot" : [ "2.1.x" ]
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/2.2.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "2.2.x",
"initialReleaseDate" : "2019-10-31",
"support" : "default",
"ossSupportEndDate" : "2020-10-31",
"commercialSupportEndDate" : "2022-01-31",
"linkedGenerations" : {
"spring-boot" : [ "2.2.x" ]
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/2.3.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "2.3.x",
"initialReleaseDate" : "2020-05-31",
"support" : "default",
"ossSupportEndDate" : "2021-05-31",
"commercialSupportEndDate" : "2022-08-31",
"linkedGenerations" : {
"spring-boot" : [ "2.3.x" ]
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/2.4.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "2.4.x",
"initialReleaseDate" : "2020-11-30",
"support" : "default",
"ossSupportEndDate" : "2021-11-30",
"commercialSupportEndDate" : "2023-02-28",
"linkedGenerations" : {
"spring-boot" : [ "2.4.x" ]
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/2.5.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "2.5.x",
"initialReleaseDate" : "2021-05-31",
"support" : "default",
"ossSupportEndDate" : "2022-05-31",
"commercialSupportEndDate" : "2023-08-31",
"linkedGenerations" : {
"spring-boot" : [ "2.5.x" ]
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/2.6.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "2.6.x",
"initialReleaseDate" : "2021-11-30",
"support" : "default",
"ossSupportEndDate" : "2022-11-30",
"commercialSupportEndDate" : "2024-02-29",
"linkedGenerations" : {
"spring-boot" : [ "2.6.x" ]
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/2.7.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "2.7.x",
"initialReleaseDate" : "2022-05-31",
"support" : "extended",
"ossSupportEndDate" : "2023-06-30",
"commercialSupportEndDate" : "2029-06-30",
"linkedGenerations" : {
"spring-boot" : [ "2.7.x" ]
},
"latestPatch" : {
"enterprise" : "2.7.37"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/3.0.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "3.0.x",
"initialReleaseDate" : "2022-11-30",
"support" : "default",
"ossSupportEndDate" : "2023-12-31",
"commercialSupportEndDate" : "2024-12-31",
"linkedGenerations" : {
"spring-boot" : [ "3.0.x" ]
},
"latestPatch" : {
"enterprise" : "3.0.20"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/3.1.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "3.1.x",
"initialReleaseDate" : "2023-05-31",
"support" : "default",
"ossSupportEndDate" : "2024-06-30",
"commercialSupportEndDate" : "2025-06-30",
"linkedGenerations" : {
"spring-boot" : [ "3.1.x" ]
},
"latestPatch" : {
"enterprise" : "3.1.21"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/3.2.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "3.2.x",
"initialReleaseDate" : "2023-11-30",
"support" : "default",
"ossSupportEndDate" : "2024-12-31",
"commercialSupportEndDate" : "2025-12-31",
"linkedGenerations" : {
"spring-boot" : [ "3.2.x" ]
},
"latestPatch" : {
"enterprise" : "3.2.19"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/3.3.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "3.3.x",
"initialReleaseDate" : "2024-05-31",
"support" : "default",
"ossSupportEndDate" : "2025-06-30",
"commercialSupportEndDate" : "2026-06-30",
"linkedGenerations" : {
"spring-boot" : [ "3.3.x" ]
},
"latestPatch" : {
"enterprise" : "3.3.20.1"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/3.4.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "3.4.x",
"initialReleaseDate" : "2024-11-30",
"support" : "default",
"ossSupportEndDate" : "2025-12-31",
"commercialSupportEndDate" : "2026-12-31",
"linkedGenerations" : {
"spring-boot" : [ "3.4.x" ]
},
"latestPatch" : {
"enterprise" : "3.4.20"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/3.5.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "3.5.x",
"initialReleaseDate" : "2025-05-31",
"support" : "extended",
"ossSupportEndDate" : "2026-06-30",
"commercialSupportEndDate" : "2032-06-30",
"linkedGenerations" : {
"spring-boot" : [ "3.5.x" ]
},
"latestPatch" : {
"oss" : "3.5.16",
"enterprise" : "3.5.19"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/4.0.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "4.0.x",
"initialReleaseDate" : "2025-11-30",
"support" : "default",
"ossSupportEndDate" : "2026-12-31",
"commercialSupportEndDate" : "2027-12-31",
"linkedGenerations" : {
"spring-boot" : [ "4.0.x" ]
},
"latestPatch" : {
"oss" : "4.0.10",
"enterprise" : "4.0.9.1"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/4.1.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "4.1.x",
"initialReleaseDate" : "2026-06-30",
"support" : "default",
"ossSupportEndDate" : "2027-07-31",
"commercialSupportEndDate" : "2028-07-31",
"linkedGenerations" : {
"spring-boot" : [ "4.1.x" ]
},
"latestPatch" : {
"oss" : "4.1.3",
"enterprise" : "4.1.2.1"
}
}, {
"_links" : {
"self" : {
"href" : "https://api.spring.io/projects/spring-boot/generations/4.2.x"
},
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
},
"name" : "4.2.x",
"initialReleaseDate" : "2026-11-30",
"support" : "default",
"ossSupportEndDate" : "2027-12-31",
"commercialSupportEndDate" : "2028-12-31",
"linkedGenerations" : {
"spring-boot" : [ "4.2.x" ]
},
"latestPatch" : {
"oss" : "4.2.0"
}
} ]
},
"_links" : {
"project" : {
"href" : "https://api.spring.io/projects/spring-boot"
}
}
}