From 82d5574193daebcf59310345e2706f2420fac00c Mon Sep 17 00:00:00 2001
From: "openai-sdks[bot]" <284451331+openai-sdks[bot]@users.noreply.github.com>
Date: Tue, 20 Oct 2026 15:58:09 +0000
Subject: [PATCH] release: 4.87.0
---
.release-please-manifest.json | 2 +-
CHANGELOG.md | 29 +++++++++++++++++++++++++++++
CONTRIBUTING.md | 4 ++--
README.md | 6 +++---
bedrock.md | 4 ++--
build.gradle.kts | 2 +-
6 files changed, 38 insertions(+), 9 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 14a30c674..20a7ccd4c 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "4.86.0"
+ ".": "4.87.0"
}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1e2ebd74a..357c8ecff 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,34 @@
# Changelog
+## [4.87.0](https://github.com/openai/openai-java/compare/v4.86.0...v4.87.0) (2026-10-20)
+
+
+### Features
+
+* **api:** add 30-minute cache-write usage counts ([#1233](https://github.com/openai/openai-java/issues/1233)) ([2f3608a](https://github.com/openai/openai-java/commit/2f3608a0282fd21e7e17644fdb2a25434c0caf27))
+* **api:** add compaction trigger IDs ([#1243](https://github.com/openai/openai-java/issues/1243)) ([623d448](https://github.com/openai/openai-java/commit/623d44830879212d06e0f93d709dbcef43fec540))
+* **api:** add complete JSON property access ([#1241](https://github.com/openai/openai-java/issues/1241)) ([98eacfb](https://github.com/openai/openai-java/commit/98eacfbff0ea959f36b0fdcdef39879972ed48c0))
+* **core:** add HTTP adapter headers and body accessors ([#1245](https://github.com/openai/openai-java/issues/1245)) ([04f464e](https://github.com/openai/openai-java/commit/04f464e58affd7066af228f72f276b2152c3d982))
+
+
+### Bug Fixes
+
+* **api:** accept canonical file batch discriminator ([#1224](https://github.com/openai/openai-java/issues/1224)) ([f886d7a](https://github.com/openai/openai-java/commit/f886d7a12fee9c3cedce9084dd692b9933a8f7ab))
+* **api:** accept compaction trigger payload fields ([#1226](https://github.com/openai/openai-java/issues/1226)) ([caa95e1](https://github.com/openai/openai-java/commit/caa95e12459e3cca6e85403dd3727f5eacd9a9d5))
+* **api:** close responses from void-returning calls ([#1242](https://github.com/openai/openai-java/issues/1242)) ([fc5b772](https://github.com/openai/openai-java/commit/fc5b772a597b32b4ef563820f72ea813a4a55b71))
+* complete WebSocket receives before closing failed transport ([#1240](https://github.com/openai/openai-java/issues/1240)) ([973fd4e](https://github.com/openai/openai-java/commit/973fd4e176ead42d46254b75213e8157ae496fb7))
+
+
+### Chores
+
+* restore generated budget-checker explanation ([#1235](https://github.com/openai/openai-java/issues/1235)) ([479972a](https://github.com/openai/openai-java/commit/479972a1ee2a7cd181f67f478c95aad9d1d1e261))
+
+
+### Documentation
+
+* checkpoint generated-code transition after initial merges ([#1238](https://github.com/openai/openai-java/issues/1238)) ([b79d85f](https://github.com/openai/openai-java/commit/b79d85f90c13c9cdc6d536b29704dfc50e8f9df8))
+* inventory Java custom patches and plan generated-code transition ([#1234](https://github.com/openai/openai-java/issues/1234)) ([1499ace](https://github.com/openai/openai-java/commit/1499ace53dda09c46af2feb693a876c7b6eed890))
+
## [4.86.0](https://github.com/openai/openai-java/compare/v4.85.0...v4.86.0) (2026-10-19)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5bb7fe694..9bc23b8bb 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -131,14 +131,14 @@ Then in your project's `build.gradle.kts` or `pom.xml`, reference the locally pu
```kotlin
-implementation("com.openai:openai-java:4.86.0")
+implementation("com.openai:openai-java:4.87.0")
```
```xml
com.openai
openai-java
- 4.86.0
+ 4.87.0
```
diff --git a/README.md b/README.md
index c3d56f282..1c341243a 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ The REST API documentation can be found on [platform.openai.com](https://platfor
### Gradle
```kotlin
-implementation("com.openai:openai-java:4.86.0")
+implementation("com.openai:openai-java:4.87.0")
```
### Maven
@@ -24,7 +24,7 @@ implementation("com.openai:openai-java:4.86.0")
com.openai
openai-java
- 4.86.0
+ 4.87.0
```
@@ -99,7 +99,7 @@ with normal AWS credentials:
```kotlin
-implementation("com.openai:openai-java-bedrock:4.86.0")
+implementation("com.openai:openai-java-bedrock:4.87.0")
```
diff --git a/bedrock.md b/bedrock.md
index ffb195d93..9f6822a28 100644
--- a/bedrock.md
+++ b/bedrock.md
@@ -12,14 +12,14 @@ Use this artifact instead of adding AWS dependencies to the base OpenAI package
```kotlin
-implementation("com.openai:openai-java-bedrock:4.86.0")
+implementation("com.openai:openai-java-bedrock:4.87.0")
```
```xml
com.openai
openai-java-bedrock
- 4.86.0
+ 4.87.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index f24c5b76b..9004539cd 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -49,7 +49,7 @@ repositories {
allprojects {
group = "com.openai"
- version = "4.86.0" // x-release-please-version
+ version = "4.87.0" // x-release-please-version
// Dokka 2.1.0 depends on Jackson 2.15.3 and jsoup 1.16.1. Keep its isolated build-tool
// classpaths on secure versions without changing the SDK's published or compatibility-test