Skip to content
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 @@
{
".": "4.18.0"
".": "4.19.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 136
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-64c3a646eb5dcad2b7ff7bd976c0e312b886676a542f6ffcd9a6c8503ae24c58.yml
openapi_spec_hash: 91b1b7bf3c1a6b6c9c7507d4cac8fe2a
config_hash: f8e6baff429cf000b8e4ba1da08dff47
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-bff810f46da56eff8d5e189b0d1f56ac07a8289723666138549d4239cad7c2ea.yml
openapi_spec_hash: 7532ce5a6f490c8f5d1e079c76c70535
config_hash: a1454ffd9612dee11f9d5a98e55eac9e
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 4.19.0 (2026-02-09)

Full Changelog: [v4.18.0...v4.19.0](https://github.com/openai/openai-java/compare/v4.18.0...v4.19.0)

### Features

* **api:** add context_management to responses ([da0fb59](https://github.com/openai/openai-java/commit/da0fb59b0e0362ee68353829c97ac8b2944cd49b))
* **api:** add webhook signature verification ([1823eca](https://github.com/openai/openai-java/commit/1823ecab53fd72ef7f7fdc7776e6ecd631307f7c))
* **api:** responses context_management ([c0f2cd1](https://github.com/openai/openai-java/commit/c0f2cd1c854d6fca90c9000de46f042e64a8cbf5))


### Chores

* **internal:** upgrade AssertJ ([5c01787](https://github.com/openai/openai-java/commit/5c017872b071272eff021318dab9a4a774cfcd4c))

## 4.18.0 (2026-02-05)

Full Changelog: [v4.17.0...v4.18.0](https://github.com/openai/openai-java/compare/v4.17.0...v4.18.0)
Expand Down
14 changes: 7 additions & 7 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/4.18.0)
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/4.18.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/4.18.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.openai/openai-java)](https://central.sonatype.com/artifact/com.openai/openai-java/4.19.0)
[![javadoc](https://javadoc.io/badge2/com.openai/openai-java/4.19.0/javadoc.svg)](https://javadoc.io/doc/com.openai/openai-java/4.19.0)

<!-- 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/4.18.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/4.19.0).

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

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

```kotlin
implementation("com.openai:openai-java:4.18.0")
implementation("com.openai:openai-java:4.19.0")
```

### Maven
Expand All @@ -33,7 +33,7 @@ implementation("com.openai:openai-java:4.18.0")
<dependency>
<groupId>com.openai</groupId>
<artifactId>openai-java</artifactId>
<version>4.18.0</version>
<version>4.19.0</version>
</dependency>
```

Expand Down Expand Up @@ -1342,7 +1342,7 @@ If you're using Spring Boot, then you can use the SDK's [Spring Boot starter](ht
#### Gradle

```kotlin
implementation("com.openai:openai-java-spring-boot-starter:4.18.0")
implementation("com.openai:openai-java-spring-boot-starter:4.19.0")
```

#### Maven
Expand All @@ -1351,7 +1351,7 @@ implementation("com.openai:openai-java-spring-boot-starter:4.18.0")
<dependency>
<groupId>com.openai</groupId>
<artifactId>openai-java-spring-boot-starter</artifactId>
<version>4.18.0</version>
<version>4.19.0</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 = "4.18.0" // x-release-please-version
version = "4.19.0" // x-release-please-version
}

subprojects {
Expand Down
2 changes: 1 addition & 1 deletion openai-java-client-okhttp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ dependencies {
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")

testImplementation(kotlin("test"))
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.assertj:assertj-core:3.27.7")
testImplementation("com.github.tomakehurst:wiremock-jre8:2.35.2")
}
2 changes: 1 addition & 1 deletion openai-java-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies {
testImplementation(kotlin("test"))
testImplementation(project(":openai-java-client-okhttp"))
testImplementation("com.github.tomakehurst:wiremock-jre8:2.35.2")
testImplementation("org.assertj:assertj-core:3.25.3")
testImplementation("org.assertj:assertj-core:3.27.7")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.9.3")
testImplementation("org.junit-pioneer:junit-pioneer:1.9.1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ private constructor(

/**
* Control how much effort the model will exert to match the style and features, especially
* facial features, of input images. This parameter is only supported for `gpt-image-1`.
* Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
* facial features, of input images. This parameter is only supported for `gpt-image-1` and
* `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and
* `low`. Defaults to `low`.
*
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand Down Expand Up @@ -438,8 +439,9 @@ private constructor(

/**
* Control how much effort the model will exert to match the style and features, especially
* facial features, of input images. This parameter is only supported for `gpt-image-1`.
* Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
* facial features, of input images. This parameter is only supported for `gpt-image-1` and
* `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and
* `low`. Defaults to `low`.
*/
fun inputFidelity(inputFidelity: InputFidelity?) = apply {
body.inputFidelity(inputFidelity)
Expand Down Expand Up @@ -917,8 +919,9 @@ private constructor(

/**
* Control how much effort the model will exert to match the style and features, especially
* facial features, of input images. This parameter is only supported for `gpt-image-1`.
* Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
* facial features, of input images. This parameter is only supported for `gpt-image-1` and
* `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and
* `low`. Defaults to `low`.
*
* @throws OpenAIInvalidDataException if the JSON field has an unexpected type (e.g. if the
* server responded with an unexpected value).
Expand Down Expand Up @@ -1319,8 +1322,8 @@ private constructor(
/**
* Control how much effort the model will exert to match the style and features,
* especially facial features, of input images. This parameter is only supported for
* `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and `low`.
* Defaults to `low`.
* `gpt-image-1` and `gpt-image-1.5` and later models, unsupported for
* `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
*/
fun inputFidelity(inputFidelity: InputFidelity?) =
inputFidelity(MultipartField.of(inputFidelity))
Expand Down Expand Up @@ -2005,8 +2008,9 @@ private constructor(

/**
* Control how much effort the model will exert to match the style and features, especially
* facial features, of input images. This parameter is only supported for `gpt-image-1`.
* Unsupported for `gpt-image-1-mini`. Supports `high` and `low`. Defaults to `low`.
* facial features, of input images. This parameter is only supported for `gpt-image-1` and
* `gpt-image-1.5` and later models, unsupported for `gpt-image-1-mini`. Supports `high` and
* `low`. Defaults to `low`.
*/
class InputFidelity @JsonCreator private constructor(private val value: JsonField<String>) :
Enum {
Expand Down
Loading