Skip to content

release: 2.3.1 #498

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 3 commits into from
Jun 2, 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.3.0"
".": "2.3.1"
}
2 changes: 1 addition & 1 deletion .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-d4bcffecf0cdadf746faa6708ed1ec81fac451f9b857deabbab26f0a343b9314.yml
openapi_spec_hash: 7c54a18b4381248bda7cc34c52142615
config_hash: d23f847b9ebb3f427d0f198035bd3e9f
config_hash: e618aa8ff61aea826540916336de65a6
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 2.3.1 (2025-06-02)

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

### Bug Fixes

* **client:** `hasNextPage` impl for some classes ([32e968f](https://github.com/openai/openai-java/commit/32e968f096ec8d16ef98f8152b729a5d82daea34))

## 2.3.0 (2025-05-29)

Full Changelog: [v2.2.1...v2.3.0](https://github.com/openai/openai-java/compare/v2.2.1...v2.3.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.3.0)
[![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)
[![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)
[![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)

<!-- 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.3.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.3.1).

<!-- 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.3.0")
implementation("com.openai:openai-java:2.3.1")
```

### Maven
Expand All @@ -31,7 +31,7 @@ implementation("com.openai:openai-java:2.3.0")
<dependency>
<groupId>com.openai</groupId>
<artifactId>openai-java</artifactId>
<version>2.3.0</version>
<version>2.3.1</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.3.0" // x-release-please-version
version = "2.3.1" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private constructor(

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

override fun hasNextPage(): Boolean = items().isNotEmpty()
override fun hasNextPage(): Boolean = false

fun nextPageParams(): PermissionCreateParams =
throw IllegalStateException("Cannot construct next page params")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private constructor(

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

override fun hasNextPage(): Boolean = items().isNotEmpty()
override fun hasNextPage(): Boolean = false

fun nextPageParams(): PermissionCreateParams =
throw IllegalStateException("Cannot construct next page params")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private constructor(

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

override fun hasNextPage(): Boolean = items().isNotEmpty()
override fun hasNextPage(): Boolean = false

fun nextPageParams(): ModelListParams =
throw IllegalStateException("Cannot construct next page params")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private constructor(

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

override fun hasNextPage(): Boolean = items().isNotEmpty()
override fun hasNextPage(): Boolean = false

fun nextPageParams(): ModelListParams =
throw IllegalStateException("Cannot construct next page params")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private constructor(

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

override fun hasNextPage(): Boolean = items().isNotEmpty()
override fun hasNextPage(): Boolean = false

fun nextPageParams(): VectorStoreSearchParams =
throw IllegalStateException("Cannot construct next page params")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private constructor(

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

override fun hasNextPage(): Boolean = items().isNotEmpty()
override fun hasNextPage(): Boolean = false

fun nextPageParams(): VectorStoreSearchParams =
throw IllegalStateException("Cannot construct next page params")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private constructor(

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

override fun hasNextPage(): Boolean = items().isNotEmpty()
override fun hasNextPage(): Boolean = false

fun nextPageParams(): FileContentParams =
throw IllegalStateException("Cannot construct next page params")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private constructor(

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

override fun hasNextPage(): Boolean = items().isNotEmpty()
override fun hasNextPage(): Boolean = false

fun nextPageParams(): FileContentParams =
throw IllegalStateException("Cannot construct next page params")
Expand Down
Loading