Skip to content

release: 2.7.0 #506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.6.0"
".": "2.7.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 86
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-4865dda2b62927bd141cbc85f81be3d88602f103e2c581e15eb1caded3e3aaa2.yml
openapi_spec_hash: 7d14a9b23ef4ac93ea46d629601b6f6b
config_hash: ed1e6b3c5f93d12b80d31167f55c557c
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-3ae9c18dd7ccfc3ac5206f24394665f563a19015cfa8847b2801a2694d012abc.yml
openapi_spec_hash: 48175b03b58805cd5c80793c66fd54e5
config_hash: 4caff63b74a41f71006987db702f2918
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 2.7.0 (2025-06-10)

Full Changelog: [v2.6.0...v2.7.0](https://github.com/openai/openai-java/compare/v2.6.0...v2.7.0)

### Features

* **api:** Add o3-pro model IDs ([48a685f](https://github.com/openai/openai-java/commit/48a685f51f2db7499d9e47d6641b80acb14155a8))

## 2.6.0 (2025-06-09)

Full Changelog: [v2.5.0...v2.6.0](https://github.com/openai/openai-java/compare/v2.5.0...v2.6.0)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/2.6.0)
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/2.6.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/2.6.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/2.7.0)
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/2.7.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/2.7.0)

<!-- x-release-please-end -->

The OpenAI Java SDK provides convenient access to the [OpenAI REST API](https://platform.openai.com/docs) from applications written in Java.

<!-- x-release-please-start-version -->

The REST API documentation can be found on [platform.openai.com](https://platform.openai.com/docs). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.openai/openai-java/2.6.0).
The REST API documentation can be found on [platform.openai.com](https://platform.openai.com/docs). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.openai/openai-java/2.7.0).

<!-- x-release-please-end -->

Expand All @@ -22,7 +22,7 @@ The REST API documentation can be found on [platform.openai.com](https://platfor
### Gradle

```kotlin
implementation("com.openai:openai-java:2.6.0")
implementation("com.openai:openai-java:2.7.0")
```

### Maven
Expand All @@ -31,7 +31,7 @@ implementation("com.openai:openai-java:2.6.0")
<dependency>
<groupId>com.openai</groupId>
<artifactId>openai-java</artifactId>
<version>2.6.0</version>
<version>2.7.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {

allprojects {
group = "com.openai"
version = "2.6.0" // x-release-please-version
version = "2.7.0" // x-release-please-version
}

subprojects {
Expand Down
12 changes: 12 additions & 0 deletions openai-java-core/src/main/kotlin/com/openai/models/AllModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ private constructor(

@JvmField val O1_PRO_2025_03_19 = of("o1-pro-2025-03-19")

@JvmField val O3_PRO = of("o3-pro")

@JvmField val O3_PRO_2025_06_10 = of("o3-pro-2025-06-10")

@JvmField val COMPUTER_USE_PREVIEW = of("computer-use-preview")

@JvmField val COMPUTER_USE_PREVIEW_2025_03_11 = of("computer-use-preview-2025-03-11")
Expand All @@ -244,6 +248,8 @@ private constructor(
enum class Known {
O1_PRO,
O1_PRO_2025_03_19,
O3_PRO,
O3_PRO_2025_06_10,
COMPUTER_USE_PREVIEW,
COMPUTER_USE_PREVIEW_2025_03_11,
}
Expand All @@ -260,6 +266,8 @@ private constructor(
enum class Value {
O1_PRO,
O1_PRO_2025_03_19,
O3_PRO,
O3_PRO_2025_06_10,
COMPUTER_USE_PREVIEW,
COMPUTER_USE_PREVIEW_2025_03_11,
/**
Expand All @@ -280,6 +288,8 @@ private constructor(
when (this) {
O1_PRO -> Value.O1_PRO
O1_PRO_2025_03_19 -> Value.O1_PRO_2025_03_19
O3_PRO -> Value.O3_PRO
O3_PRO_2025_06_10 -> Value.O3_PRO_2025_06_10
COMPUTER_USE_PREVIEW -> Value.COMPUTER_USE_PREVIEW
COMPUTER_USE_PREVIEW_2025_03_11 -> Value.COMPUTER_USE_PREVIEW_2025_03_11
else -> Value._UNKNOWN
Expand All @@ -298,6 +308,8 @@ private constructor(
when (this) {
O1_PRO -> Known.O1_PRO
O1_PRO_2025_03_19 -> Known.O1_PRO_2025_03_19
O3_PRO -> Known.O3_PRO
O3_PRO_2025_06_10 -> Known.O3_PRO_2025_06_10
COMPUTER_USE_PREVIEW -> Known.COMPUTER_USE_PREVIEW
COMPUTER_USE_PREVIEW_2025_03_11 -> Known.COMPUTER_USE_PREVIEW_2025_03_11
else -> throw OpenAIInvalidDataException("Unknown ResponsesOnlyModel: $value")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ private constructor(

@JvmField val O1_PRO_2025_03_19 = of("o1-pro-2025-03-19")

@JvmField val O3_PRO = of("o3-pro")

@JvmField val O3_PRO_2025_06_10 = of("o3-pro-2025-06-10")

@JvmField val COMPUTER_USE_PREVIEW = of("computer-use-preview")

@JvmField val COMPUTER_USE_PREVIEW_2025_03_11 = of("computer-use-preview-2025-03-11")
Expand All @@ -243,6 +247,8 @@ private constructor(
enum class Known {
O1_PRO,
O1_PRO_2025_03_19,
O3_PRO,
O3_PRO_2025_06_10,
COMPUTER_USE_PREVIEW,
COMPUTER_USE_PREVIEW_2025_03_11,
}
Expand All @@ -259,6 +265,8 @@ private constructor(
enum class Value {
O1_PRO,
O1_PRO_2025_03_19,
O3_PRO,
O3_PRO_2025_06_10,
COMPUTER_USE_PREVIEW,
COMPUTER_USE_PREVIEW_2025_03_11,
/**
Expand All @@ -279,6 +287,8 @@ private constructor(
when (this) {
O1_PRO -> Value.O1_PRO
O1_PRO_2025_03_19 -> Value.O1_PRO_2025_03_19
O3_PRO -> Value.O3_PRO
O3_PRO_2025_06_10 -> Value.O3_PRO_2025_06_10
COMPUTER_USE_PREVIEW -> Value.COMPUTER_USE_PREVIEW
COMPUTER_USE_PREVIEW_2025_03_11 -> Value.COMPUTER_USE_PREVIEW_2025_03_11
else -> Value._UNKNOWN
Expand All @@ -297,6 +307,8 @@ private constructor(
when (this) {
O1_PRO -> Known.O1_PRO
O1_PRO_2025_03_19 -> Known.O1_PRO_2025_03_19
O3_PRO -> Known.O3_PRO
O3_PRO_2025_06_10 -> Known.O3_PRO_2025_06_10
COMPUTER_USE_PREVIEW -> Known.COMPUTER_USE_PREVIEW
COMPUTER_USE_PREVIEW_2025_03_11 -> Known.COMPUTER_USE_PREVIEW_2025_03_11
else -> throw OpenAIInvalidDataException("Unknown ResponsesOnlyModel: $value")
Expand Down
Loading