Skip to content

Commit 88c8149

Browse files
release: 0.29.0 (#250)
* feat(client): allow omitting params object when none required (#249) * chore(internal): remove unused variable (#251) * fix(client): add missing `@JvmStatic` (#252) * docs: switch to `.list()` without arguments in examples * release: 0.29.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Tomer Aberbach <[email protected]>
1 parent 4e73a94 commit 88c8149

35 files changed

+127
-56
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.28.0"
2+
".": "0.29.0"
33
}

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
## 0.29.0 (2025-02-26)
4+
5+
Full Changelog: [v0.28.0...v0.29.0](https://github.com/openai/openai-java/compare/v0.28.0...v0.29.0)
6+
7+
### Features
8+
9+
* **client:** allow omitting params object when none required ([#249](https://github.com/openai/openai-java/issues/249)) ([e77a6c3](https://github.com/openai/openai-java/commit/e77a6c35a1940bd6f1ef37f08a524974b28f17ac))
10+
11+
12+
### Bug Fixes
13+
14+
* **client:** add missing `@JvmStatic` ([#252](https://github.com/openai/openai-java/issues/252)) ([06231c2](https://github.com/openai/openai-java/commit/06231c26727f09fd2065f2ebe9670b8149fcee84))
15+
16+
17+
### Chores
18+
19+
* **internal:** remove unused variable ([#251](https://github.com/openai/openai-java/issues/251)) ([b41bc4e](https://github.com/openai/openai-java/commit/b41bc4ebbe38a216e1276e0b15fd3fe54fe37353))
20+
21+
22+
### Documentation
23+
24+
* switch to `.list()` without arguments in examples ([d1480f1](https://github.com/openai/openai-java/commit/d1480f1c85c0e2704c2095298525401b76cec2e5))
25+
326
## 0.28.0 (2025-02-24)
427

528
Full Changelog: [v0.27.0...v0.28.0](https://github.com/openai/openai-java/compare/v0.27.0...v0.28.0)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
1010
<!-- x-release-please-start-version -->
1111

12-
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/0.28.0)
13-
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/0.28.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/0.28.0)
12+
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/0.29.0)
13+
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/0.29.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/0.29.0)
1414

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

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

2727
```kotlin
28-
implementation("com.openai:openai-java:0.28.0")
28+
implementation("com.openai:openai-java:0.29.0")
2929
```
3030

3131
### Maven
@@ -34,7 +34,7 @@ implementation("com.openai:openai-java:0.28.0")
3434
<dependency>
3535
<groupId>com.openai</groupId>
3636
<artifactId>openai-java</artifactId>
37-
<version>0.28.0</version>
37+
<version>0.29.0</version>
3838
</dependency>
3939
```
4040

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88

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

1414
subprojects {

openai-java-core/src/main/kotlin/com/openai/models/BatchListParams.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ private constructor(
4949

5050
companion object {
5151

52+
@JvmStatic fun none(): BatchListParams = builder().build()
53+
5254
@JvmStatic fun builder() = Builder()
5355
}
5456

openai-java-core/src/main/kotlin/com/openai/models/BetaAssistantListParams.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ private constructor(
7070

7171
companion object {
7272

73+
@JvmStatic fun none(): BetaAssistantListParams = builder().build()
74+
7375
@JvmStatic fun builder() = Builder()
7476
}
7577

openai-java-core/src/main/kotlin/com/openai/models/BetaThreadCreateParams.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ private constructor(
353353

354354
companion object {
355355

356+
@JvmStatic fun none(): BetaThreadCreateParams = builder().build()
357+
356358
@JvmStatic fun builder() = Builder()
357359
}
358360

openai-java-core/src/main/kotlin/com/openai/models/BetaVectorStoreListParams.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ private constructor(
7070

7171
companion object {
7272

73+
@JvmStatic fun none(): BetaVectorStoreListParams = builder().build()
74+
7375
@JvmStatic fun builder() = Builder()
7476
}
7577

openai-java-core/src/main/kotlin/com/openai/models/FileListParams.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ private constructor(
6666

6767
companion object {
6868

69+
@JvmStatic fun none(): FileListParams = builder().build()
70+
6971
@JvmStatic fun builder() = Builder()
7072
}
7173

openai-java-core/src/main/kotlin/com/openai/models/FineTuningJobListParams.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ private constructor(
4242

4343
companion object {
4444

45+
@JvmStatic fun none(): FineTuningJobListParams = builder().build()
46+
4547
@JvmStatic fun builder() = Builder()
4648
}
4749

0 commit comments

Comments
 (0)