Skip to content

Commit f55779d

Browse files
release: 1.4.1 (#444)
* fix(internal): release flow * fix(internal): test compilation error * release: 1.4.1 --------- Co-authored-by: Tomer Aberbach <[email protected]> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent de59688 commit f55779d

File tree

6 files changed

+21
-12
lines changed

6 files changed

+21
-12
lines changed

.github/workflows/create-releases.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
export -- GPG_SIGNING_KEY_ID
4343
printenv -- GPG_SIGNING_KEY | gpg --batch --passphrase-fd 3 --import 3<<< "$GPG_SIGNING_PASSWORD"
4444
GPG_SIGNING_KEY_ID="$(gpg --with-colons --list-keys | awk -F : -- '/^pub:/ { getline; print "0x" substr($10, length($10) - 7) }')"
45-
./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD"
45+
./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD" --no-configuration-cache
4646
env:
4747
SONATYPE_USERNAME: ${{ secrets.OPENAI_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
4848
SONATYPE_PASSWORD: ${{ secrets.OPENAI_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}

.release-please-manifest.json

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

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 1.4.1 (2025-04-17)
4+
5+
Full Changelog: [v1.4.0...v1.4.1](https://github.com/openai/openai-java/compare/v1.4.0...v1.4.1)
6+
7+
### Bug Fixes
8+
9+
* **internal:** release flow ([777a756](https://github.com/openai/openai-java/commit/777a7565f14d86c00611880ee143b522a9af2698))
10+
* **internal:** test compilation error ([544a4ce](https://github.com/openai/openai-java/commit/544a4cebb5b34a55354e06431dd4a966a5213aa2))
11+
312
## 1.4.0 (2025-04-17)
413

514
Full Changelog: [v1.3.1...v1.4.0](https://github.com/openai/openai-java/compare/v1.3.1...v1.4.0)

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.4.0)
6-
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/1.4.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/1.4.0)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/1.4.1)
6+
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/1.4.1/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/1.4.1)
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.4.0).
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.4.1).
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.4.0")
25+
implementation("com.openai:openai-java:1.4.1")
2626
```
2727

2828
### Maven
@@ -31,7 +31,7 @@ implementation("com.openai:openai-java:1.4.0")
3131
<dependency>
3232
<groupId>com.openai</groupId>
3333
<artifactId>openai-java</artifactId>
34-
<version>1.4.0</version>
34+
<version>1.4.1</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.4.0" // x-release-please-version
11+
version = "1.4.1" // x-release-please-version
1212
}
1313

1414
subprojects {

openai-java-core/src/test/kotlin/com/openai/helpers/ChatCompletionAccumulatorTest.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ internal class ChatCompletionAccumulatorTest {
6161
.isEqualTo(ChatCompletion.Choice.FinishReason.STOP)
6262
assertThat(chatCompletion.usage()).isNotPresent()
6363
assertThat(chatCompletion.systemFingerprint().get()).isEqualTo("fingerprint")
64-
assertThat(chatCompletion.serviceTier().get()).isEqualTo(ChatCompletion.ServiceTier.SCALE)
64+
assertThat(chatCompletion.serviceTier().get()).isEqualTo(ChatCompletion.ServiceTier.AUTO)
6565
}
6666

6767
@Test
@@ -84,7 +84,7 @@ internal class ChatCompletionAccumulatorTest {
8484
.isEqualTo(ChatCompletion.Choice.FinishReason.STOP)
8585
assertThat(chatCompletionA.usage()).isNotPresent()
8686
assertThat(chatCompletionA.systemFingerprint().get()).isEqualTo("fingerprint")
87-
assertThat(chatCompletionA.serviceTier().get()).isEqualTo(ChatCompletion.ServiceTier.SCALE)
87+
assertThat(chatCompletionA.serviceTier().get()).isEqualTo(ChatCompletion.ServiceTier.AUTO)
8888

8989
assertThat(chatCompletionB.choices()[0].finishReason())
9090
.isEqualTo(ChatCompletion.Choice.FinishReason.STOP)
@@ -95,7 +95,7 @@ internal class ChatCompletionAccumulatorTest {
9595
// The `finalUsageChunk()` had `null` values for `systemFingerprint` and `serviceTier`, but
9696
// those should _not_ have overwritten the non-`null` values on the `finalChunk()`.
9797
assertThat(chatCompletionB.systemFingerprint().get()).isEqualTo("fingerprint")
98-
assertThat(chatCompletionB.serviceTier().get()).isEqualTo(ChatCompletion.ServiceTier.SCALE)
98+
assertThat(chatCompletionB.serviceTier().get()).isEqualTo(ChatCompletion.ServiceTier.AUTO)
9999
}
100100

101101
@Test
@@ -426,7 +426,7 @@ internal class ChatCompletionAccumulatorTest {
426426
.created(123_456_789L)
427427
.model("model-id")
428428
.systemFingerprint("fingerprint")
429-
.serviceTier(ChatCompletionChunk.ServiceTier.SCALE)
429+
.serviceTier(ChatCompletionChunk.ServiceTier.AUTO)
430430
.addChoice(
431431
ChatCompletionChunk.Choice.builder()
432432
.finishReason(finishReason)

0 commit comments

Comments
 (0)