Skip to content

release: 4.42.0#770

Merged
stainless-app[bot] merged 6 commits into
mainfrom
release-please--branches--main--changes--next
Jul 9, 2026
Merged

release: 4.42.0#770
stainless-app[bot] merged 6 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

4.42.0 (2026-07-09)

Features

  • api: gpt-5.6-sol updates (2ca768a)

Bug Fixes

  • api: preserve deprecated beta realtime accessors (a1cd1f1)
  • api: restore beta responses custom code (73f67f2)

Chores

  • retrigger release automation (a3006ee)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@openai-sdks

openai-sdks Bot commented Jul 9, 2026

Copy link
Copy Markdown

OkTest Summary

237/237 SDK tests passed in 15.572s for Java SDK PR #770.

Test results — 42 files
Test Result Time
tests/chat-completions-complex-body.test.ts ✅ Passed 321ms
tests/chat-completions-create.test.ts ✅ Passed 539ms
tests/chat-completions-stream.test.ts ✅ Passed 340ms
tests/files-content-binary.test.ts ✅ Passed 231ms
tests/files-create-multipart.test.ts ✅ Passed 290ms
tests/files-list-pagination.test.ts ✅ Passed 247ms
tests/initialize-config.test.ts ✅ Passed 225ms
tests/instance-isolation.test.ts ✅ Passed 300ms
tests/models-list.test.ts ✅ Passed 167ms
tests/responses-background-lifecycle.test.ts ✅ Passed 327ms
tests/responses-body-method-errors.test.ts ✅ Passed 463ms
tests/responses-cancel-timeout.test.ts ✅ Passed 262ms
tests/responses-cancel.test.ts ✅ Passed 226ms
tests/responses-compact-retries.test.ts ✅ Passed 356ms
tests/responses-compact.test.ts ✅ Passed 198ms
tests/responses-create-advanced-stream.test.ts ✅ Passed 347ms
tests/responses-create-advanced.test.ts ✅ Passed 1.389s
tests/responses-create-disconnect.test.ts ✅ Passed 1.239s
tests/responses-create-errors.test.ts ✅ Passed 339ms
tests/responses-create-malformed-api-responses.test.ts ✅ Passed 285ms
tests/responses-create-retries.test.ts ✅ Passed 287ms
tests/responses-create-stream-failures.test.ts ✅ Passed 178ms
tests/responses-create-stream-timeout.test.ts ✅ Passed 220ms
tests/responses-create-stream-wire.test.ts ✅ Passed 5.645s
tests/responses-create-stream.test.ts ✅ Passed 99ms
tests/responses-create-terminal-states.test.ts ✅ Passed 382ms
tests/responses-create-timeout.test.ts ✅ Passed 217ms
tests/responses-create.test.ts ✅ Passed 858ms
tests/responses-delete.test.ts ✅ Passed 307ms
tests/responses-input-items-errors.test.ts ✅ Passed 300ms
tests/responses-input-items-list.test.ts ✅ Passed 383ms
tests/responses-input-items-options.test.ts ✅ Passed 202ms
tests/responses-input-tokens-count-timeout.test.ts ✅ Passed 226ms
tests/responses-input-tokens-count.test.ts ✅ Passed 335ms
tests/responses-malformed-inputs.test.ts ✅ Passed 4.717s
tests/responses-not-found-errors.test.ts ✅ Passed 400ms
tests/responses-parse.test.ts ✅ Passed 544ms
tests/responses-retrieve-retries.test.ts ✅ Passed 373ms
tests/responses-retrieve.test.ts ✅ Passed 476ms
tests/responses-stored-method-errors.test.ts ✅ Passed 969ms
tests/retry-behavior.test.ts ✅ Passed 3.258s
tests/sdk-error-shape.test.ts ✅ Passed 426ms

View OkTest run #29044278812

SDK merge (0977709e63e3) · head (6bbc5a6f88ec) · base (40124064c4cc) · OkTest (cb7f0514ccd2)

@apcha-oai

Copy link
Copy Markdown
Contributor

@codex review pls

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 885986c7be

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"Realtime has now launched and is generally available. The old beta API is now deprecated."
)
fun realtime(): RealtimeService
fun responses(): ResponseService

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve deprecated beta realtime accessors

For users still relying on the deprecated beta realtime API, replacing this accessor with responses() makes a 4.42.0 upgrade source- and binary-incompatible: existing client.beta().realtime() and client.beta().withRawResponse().realtime() calls disappear even though the com.openai.services.*.beta.RealtimeService implementations still ship. Please add responses() alongside the deprecated realtime accessors (including the async/raw variants) instead of removing them in this minor release.

Useful? React with 👍 / 👎.

@apcha-oai apcha-oai force-pushed the release-please--branches--main--changes--next branch from 885986c to 6bbc5a6 Compare July 9, 2026 19:25
@stainless-app stainless-app Bot merged commit 46917cc into main Jul 9, 2026
9 checks passed
@stainless-app

stainless-app Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Release is at https://github.com/openai/openai-java/releases/tag/v4.42.0 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant