Status: Accepted 2026-07-27
com.openai:openai-java-spring-boot-starter targets Spring Boot 2.7 and is OpenAI EOL effective
2026-07-27. Version 4.45.0 is its final supported, tested, and published OpenAI SDK release. That
release remains downloadable, but no later starter versions will be published and it receives no
fixes, testing, or compatibility support.
Spring ended public OSS support for Boot 2 with 2.7.18 on 2023-11-23. The policy's maximum six-month grace period therefore ended 2024-05-23. Commercial maintenance does not satisfy the repository's OSS-support admission rule, and the upstream gap is already much longer than the permitted grace period.
Declaring the unchanged starter EOL is a minor release. Removing the artifact, raising its Java floor, or changing the same coordinate to a newer Spring generation would require a SemVer major. A future supported Spring integration must use generation-specific coordinates and independently pass the policy's 12-month admission gate.
Applications that cannot leave Boot 2 may pin the starter to 4.45.0, but do so without OpenAI or upstream OSS security support. The preferred path is:
- Follow Spring's Boot 3 migration guide: upgrade to the latest 2.7 release first, move to Java 17 and Spring Framework 6, and migrate affected Java EE imports to Jakarta EE.
- Remove
openai-java-spring-boot-starter. - Depend on
com.openai:openai-javaand provide a normal application-ownedOpenAIClientbean.
@Bean
OpenAIClient openAIClient() {
return OpenAIOkHttpClient.fromEnv();
}This keeps Spring's dependency platform authoritative and avoids pretending that a Boot 2 auto-configuration artifact supports Boot 3 or later.