{
  "schemaVersion": "ebb.rule.v1",
  "id": "java.maven.spring-boot.legacy-3x.end-of-support",
  "ecosystem": "java",
  "purl": "pkg:maven/org.springframework.boot/spring-boot",
  "affectedVersions": "vers:maven/>=3.0.0|<4.0.0",
  "event": "end-of-support",
  "severity": "high",
  "title": "Spring Boot 3.x is out of open-source support",
  "summary": "Spring Boot 3.x has reached the end of its open-source support lifecycle. The 3.3.x and 3.4.x lines were explicitly marked as the end of OSS support, and 3.5.16 was announced as the last OSS release of the 3.5.x generation. Commercial support may be available separately. Upgrade to a supported 4.x line.",
  "replacement": "Spring Boot 4.1.x",
  "sources": [
    {
      "title": "Spring Boot 3.3.13 — end of open-source support",
      "url": "https://spring.io/blog/2025/06/19/spring-boot-3-3-13-available-now/",
      "accessedAt": "2026-10-25"
    },
    {
      "title": "Spring Boot 3.4.13 — end of open-source support",
      "url": "https://spring.io/blog/2025/12/18/spring-boot-3-4-13-available-now/",
      "accessedAt": "2026-10-25"
    },
    {
      "title": "Spring Boot 3.5.16 — last OSS release of the 3.5.x generation",
      "url": "https://spring.io/blog/2026/06/25/spring-boot-3-5-16-available-now/",
      "accessedAt": "2026-10-25"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-25",
    "reviewedAt": "2026-10-25",
    "reviewer": "Aaqibhafeezkhan"
  },
  "migration": {
    "constraints": [
      "Spring Boot 4 requires Java 17 or later; verify the selected build tool and all third-party starters support the target line.",
      "Read the Spring Boot 4 migration guide for removed APIs and dependency changes rather than treating this as a version-only bump."
    ],
    "steps": [
      {
        "id": "update-spring-boot-version",
        "title": "Update Spring Boot to a supported 4.x line",
        "instructions": "Update the parent/BOM, direct Spring Boot dependencies, and Spring Boot build plugin to the same supported 4.x release.",
        "targets": "declaration"
      },
      {
        "id": "migrate-spring-boot-configuration",
        "title": "Apply the 4.x migration guide",
        "instructions": "Resolve migration changes for Spring Framework, Jakarta APIs, auto-configuration, and third-party starters; remove obsolete settings and keep dependency management aligned.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "./mvnw -B verify || ./gradlew build",
        "purpose": "Build and test the application against the selected Spring Boot 4.x release."
      },
      {
        "command": "./mvnw -B dependency:tree || ./gradlew dependencies",
        "purpose": "Confirm Spring Boot and Spring Framework dependencies resolve to a compatible 4.x stack."
      }
    ]
  }
}
