Skip to content

Commit 2edad41

Browse files
Merge pull request #459 from openai/release-please--branches--main--changes--next
release: 1.6.0
2 parents 3c78e3a + a751d25 commit 2edad41

34 files changed

+908
-274
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.5.1"
2+
".": "1.6.0"
33
}

.stats.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 95
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-8b68ae6b807dca92e914da1dd9e835a20f69b075e79102a264367fd7fddddb33.yml
3-
openapi_spec_hash: b6ade5b1a6327339e6669e1134de2d03
4-
config_hash: b597cd9a31e9e5ec709e2eefb4c54122
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-0ee6b36cf3cc278cef4199a6aec5f7d530a6c1f17a74830037e96d50ca1edc50.yml
3+
openapi_spec_hash: e8ec5f46bc0655b34f292422d58a60f6
4+
config_hash: d9b6b6e6bc85744663e300eebc482067

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 1.6.0 (2025-05-02)
4+
5+
Full Changelog: [v1.5.1...v1.6.0](https://github.com/openai/openai-java/compare/v1.5.1...v1.6.0)
6+
7+
### Features
8+
9+
* **api:** add image sizes, reasoning encryption ([a4a7d53](https://github.com/openai/openai-java/commit/a4a7d5390245ba11afe1cbd8665e0e39af3ca16f))
10+
11+
12+
### Chores
13+
14+
* **internal:** update java toolchain ([eef415d](https://github.com/openai/openai-java/commit/eef415d067c9dd6ac6d4b8c825f4d068a6c4a63c))
15+
16+
17+
### Documentation
18+
19+
* add `ImageGenerationExample` ([#457](https://github.com/openai/openai-java/issues/457)) ([286b7d5](https://github.com/openai/openai-java/commit/286b7d52d8cb917130579352a89afd5f8c839894))
20+
321
## 1.5.1 (2025-04-27)
422

523
Full Changelog: [v1.5.0...v1.5.1](https://github.com/openai/openai-java/compare/v1.5.0...v1.5.1)

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

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

5-
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/1.5.1)
6-
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/1.5.1/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/1.5.1)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/1.6.0)
6+
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/1.6.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/1.6.0)
77

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

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

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

14-
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/1.5.1).
14+
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/1.6.0).
1515

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

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

2424
```kotlin
25-
implementation("com.openai:openai-java:1.5.1")
25+
implementation("com.openai:openai-java:1.6.0")
2626
```
2727

2828
### Maven
@@ -31,7 +31,7 @@ implementation("com.openai:openai-java:1.5.1")
3131
<dependency>
3232
<groupId>com.openai</groupId>
3333
<artifactId>openai-java</artifactId>
34-
<version>1.5.1</version>
34+
<version>1.6.0</version>
3535
</dependency>
3636
```
3737

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88

99
allprojects {
1010
group = "com.openai"
11-
version = "1.5.1" // x-release-please-version
11+
version = "1.6.0" // x-release-please-version
1212
}
1313

1414
subprojects {

buildSrc/src/main/kotlin/openai.java.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ configure<SpotlessExtension> {
2121

2222
java {
2323
toolchain {
24-
languageVersion.set(JavaLanguageVersion.of(17))
24+
languageVersion.set(JavaLanguageVersion.of(21))
2525
}
2626

2727
sourceCompatibility = JavaVersion.VERSION_1_8

openai-java-core/src/main/kotlin/com/openai/models/audio/speech/SpeechCreateParams.kt

+4-3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ private constructor(
7676

7777
/**
7878
* The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default.
79+
* Does not work with `gpt-4o-mini-tts`.
7980
*
8081
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
8182
* server responded with an unexpected value).
@@ -271,7 +272,7 @@ private constructor(
271272

272273
/**
273274
* The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the
274-
* default.
275+
* default. Does not work with `gpt-4o-mini-tts`.
275276
*/
276277
fun speed(speed: Double) = apply { body.speed(speed) }
277278

@@ -502,7 +503,7 @@ private constructor(
502503

503504
/**
504505
* The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the
505-
* default.
506+
* default. Does not work with `gpt-4o-mini-tts`.
506507
*
507508
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
508509
* server responded with an unexpected value).
@@ -705,7 +706,7 @@ private constructor(
705706

706707
/**
707708
* The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the
708-
* default.
709+
* default. Does not work with `gpt-4o-mini-tts`.
709710
*/
710711
fun speed(speed: Double) = speed(JsonField.of(speed))
711712

0 commit comments

Comments
 (0)