Skip to content

Commit 52b2a4a

Browse files
release: 2.3.1 (#498)
* codegen metadata * fix(client): `hasNextPage` impl for some classes * release: 2.3.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent c11e28b commit 52b2a4a

File tree

13 files changed

+24
-16
lines changed

13 files changed

+24
-16
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-
".": "2.3.0"
2+
".": "2.3.1"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 86
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-d4bcffecf0cdadf746faa6708ed1ec81fac451f9b857deabbab26f0a343b9314.yml
33
openapi_spec_hash: 7c54a18b4381248bda7cc34c52142615
4-
config_hash: d23f847b9ebb3f427d0f198035bd3e9f
4+
config_hash: e618aa8ff61aea826540916336de65a6

CHANGELOG.md

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

3+
## 2.3.1 (2025-06-02)
4+
5+
Full Changelog: [v2.3.0...v2.3.1](https://github.com/openai/openai-java/compare/v2.3.0...v2.3.1)
6+
7+
### Bug Fixes
8+
9+
* **client:** `hasNextPage` impl for some classes ([32e968f](https://github.com/openai/openai-java/commit/32e968f096ec8d16ef98f8152b729a5d82daea34))
10+
311
## 2.3.0 (2025-05-29)
412

513
Full Changelog: [v2.2.1...v2.3.0](https://github.com/openai/openai-java/compare/v2.2.1...v2.3.0)

README.md

Lines changed: 5 additions & 5 deletions
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/2.3.0)
6-
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/2.3.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/2.3.0)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/2.3.1)
6+
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/2.3.1/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/2.3.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/2.3.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/2.3.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:2.3.0")
25+
implementation("com.openai:openai-java:2.3.1")
2626
```
2727

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

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 = "2.3.0" // x-release-please-version
11+
version = "2.3.1" // x-release-please-version
1212
}
1313

1414
subprojects {

openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private constructor(
3131

3232
override fun items(): List<PermissionCreateResponse> = data()
3333

34-
override fun hasNextPage(): Boolean = items().isNotEmpty()
34+
override fun hasNextPage(): Boolean = false
3535

3636
fun nextPageParams(): PermissionCreateParams =
3737
throw IllegalStateException("Cannot construct next page params")

openai-java-core/src/main/kotlin/com/openai/models/finetuning/checkpoints/permissions/PermissionCreatePageAsync.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private constructor(
3434

3535
override fun items(): List<PermissionCreateResponse> = data()
3636

37-
override fun hasNextPage(): Boolean = items().isNotEmpty()
37+
override fun hasNextPage(): Boolean = false
3838

3939
fun nextPageParams(): PermissionCreateParams =
4040
throw IllegalStateException("Cannot construct next page params")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private constructor(
3030

3131
override fun items(): List<Model> = data()
3232

33-
override fun hasNextPage(): Boolean = items().isNotEmpty()
33+
override fun hasNextPage(): Boolean = false
3434

3535
fun nextPageParams(): ModelListParams =
3636
throw IllegalStateException("Cannot construct next page params")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private constructor(
3333

3434
override fun items(): List<Model> = data()
3535

36-
override fun hasNextPage(): Boolean = items().isNotEmpty()
36+
override fun hasNextPage(): Boolean = false
3737

3838
fun nextPageParams(): ModelListParams =
3939
throw IllegalStateException("Cannot construct next page params")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private constructor(
3131

3232
override fun items(): List<VectorStoreSearchResponse> = data()
3333

34-
override fun hasNextPage(): Boolean = items().isNotEmpty()
34+
override fun hasNextPage(): Boolean = false
3535

3636
fun nextPageParams(): VectorStoreSearchParams =
3737
throw IllegalStateException("Cannot construct next page params")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private constructor(
3434

3535
override fun items(): List<VectorStoreSearchResponse> = data()
3636

37-
override fun hasNextPage(): Boolean = items().isNotEmpty()
37+
override fun hasNextPage(): Boolean = false
3838

3939
fun nextPageParams(): VectorStoreSearchParams =
4040
throw IllegalStateException("Cannot construct next page params")

openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private constructor(
3131

3232
override fun items(): List<FileContentResponse> = data()
3333

34-
override fun hasNextPage(): Boolean = items().isNotEmpty()
34+
override fun hasNextPage(): Boolean = false
3535

3636
fun nextPageParams(): FileContentParams =
3737
throw IllegalStateException("Cannot construct next page params")

openai-java-core/src/main/kotlin/com/openai/models/vectorstores/files/FileContentPageAsync.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private constructor(
3434

3535
override fun items(): List<FileContentResponse> = data()
3636

37-
override fun hasNextPage(): Boolean = items().isNotEmpty()
37+
override fun hasNextPage(): Boolean = false
3838

3939
fun nextPageParams(): FileContentParams =
4040
throw IllegalStateException("Cannot construct next page params")

0 commit comments

Comments
 (0)