Understand the OpenAI Java SDK version support policy
mainThe OpenAI Java SDK follows a strict version support policy regarding JVM versions, framework integrations (like Spring Boot), and dependencies. Compatibility is declared per published artifact.
Key principles:
- Framework-neutral core: The core SDK evolves independently from optional integrations. An integration may require a newer JVM only if it uses a separate, generation-specific artifact.
- Compatibility boundaries: Raising an artifact's JVM/API floor, changing its framework generation, or removing an artifact is treated as a Major version change.
- Dependency ownership: OpenAI owns core implementation dependencies. Consumers own their application platform. For optional integrations, OpenAI declares and tests a range, but consumers choose the specific version through their platform.