release: 4.66.0 - #1028
release: 4.66.0#1028
Conversation
Castiron custom code✅ No new custom-code files detected. 83 mixed files remain; 0 existing customizations changed. Compared 83 existing customizations unchanged
43 more in the full report. A changed generated baseline means this report cannot reliably identify which handwritten lines changed. Inspect the custom-code diffDownload the exact patch produced by this run (requires repository access): gh run download 35645206605 --repo openai/openai-java \
--name castiron-custom-code-35645206605-1 --dir /tmp/castiron-custom-code-35645206605-1
git apply --stat /tmp/castiron-custom-code-35645206605-1/custom-code.patch
cat /tmp/castiron-custom-code-35645206605-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 5ac7585d7a6506b8b05d850d3c703a5ec8155680 ef48fb37d7aac152386f0c3f9173ca5eb3781384
python3 scripts/castiron/custom_code_report.py report \
--base 5ac7585d7a6506b8b05d850d3c703a5ec8155680 \
--head ef48fb37d7aac152386f0c3f9173ca5eb3781384 --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-ef48fb37d7aa
cat /tmp/castiron-custom-code-ef48fb37d7aa/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
ff2dd0c to
080c3ce
Compare
080c3ce to
d36301b
Compare
markstuart-oai
left a comment
There was a problem hiding this comment.
Please hold this release while the accidental major bump is corrected. The unsupported model-slug correction should remain on the 4.x line under the documented versioning exception. Regenerate this release as 4.66.0 and verify the version files, changelog, and CI before approval.
d36301b to
48ad4d3
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 48ad4d38fe
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| ### Bug Fixes | ||
|
|
||
| * **api:** correct model types and network policy docs ([f8cce9a](https://github.com/openai/openai-java/commit/f8cce9a5e1376e793aedbaf6f94d2a0789d858bf)) |
There was a problem hiding this comment.
Document the removed model constants as breaking
For consumers referencing ChatModel.GPT_5_1_MINI or the analogous generated model members, upgrading to 4.66.0 causes compilation failures or NoSuchFieldError because f8cce9a removes those public fields and enum cases, yet this entry presents the change only as a generic bug fix. Add an explicit breaking-changes note naming the removed symbols and directing users to select an available model so affected consumers do not discover the incompatibility only during an upgrade.
Useful? React with 👍 / 👎.
48ad4d3 to
57f7144
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 57f7144e67
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| * **api:** Removed the unsupported `gpt-5.1-mini` model's `GPT_5_1_MINI` constants and corresponding `Known`/`Value` enum cases from `ChatModel` and both beta and stable `ResponseCompactParams.Model` types. Code referencing these members must select an available model and be recompiled. This removal is covered by the SDK's minor-version compatibility exception. |
There was a problem hiding this comment.
List all removed generated model constants
The newly added breaking-change note still omits public members removed by f8cce9a: BetaResponse.Model.GPT_5_1_MINI, BetaResponsesClientEvent.ResponseCreate.Model.GPT_5_1_MINI, and beta ResponseCreateParams.Model.GPT_5_1_MINI (plus their Known/Value cases). Consumers referencing any of these symbols will get the same compilation failure or NoSuchFieldError, but the note currently claims the removal is limited to ChatModel and the two compact-parameter types; enumerate the remaining affected types so those users receive accurate migration guidance.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
This update requires a major
4678b51 to
d6a6647
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d6a66471c6
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| allprojects { | ||
| group = "com.openai" | ||
| version = "4.65.0" // x-release-please-version | ||
| version = "4.66.0" // x-release-please-version |
There was a problem hiding this comment.
Use a major version for the public API removals
The updated changelog now explicitly confirms that this release removes public constants and enum members from stable types such as ChatModel and ResponseCompactParams and requires consumers to recompile, but the build still publishes it as 4.66.0. Consumers accepting compatible 4.x updates can therefore receive a binary-incompatible JAR and fail with NoSuchFieldError (or compilation errors); update all release markers to a new major version instead.
Useful? React with 👍 / 👎.
0e5646f to
1902e24
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
b511293 to
a617721
Compare
a617721 to
ef48fb3
Compare
|
The requested version correction is present at @markstuart-oai, please re-review the corrected release and clear the changes-requested hold if it now meets your requirements. This release includes the merged credential-header correction in #1036. Further separately reviewed Java fixes are being prepared; this request does not claim those have merged or that Maven delivery has completed. |
markstuart-oai
left a comment
There was a problem hiding this comment.
Re-reviewed the release correction at ef48fb37d7aac152386f0c3f9173ca5eb3781384. The manifest, Gradle project version, README/CONTRIBUTING examples and Bedrock examples consistently specify 4.66.0. The changelog now identifies the removed model constants and enum cases, the recompilation/migration requirement, and the documented minor-version exception. These changes address my earlier version-correction review; no further actionable findings in this release diff.
Current-commit hosted CI passes, including API/Jackson compatibility, tests, build/lint, version support and Java 8/25 runtime checks. Review used pinned source and hosted results; tests were not independently rerun.
The current commit still contains the documented model-member removal. The planned restoration and corresponding changelog refresh remain prerequisites before release; this approval does not establish that regeneration or package publication has completed.
|
🤖 Created releases: 🌻 |
Automated Release PR
4.66.0 (2026-09-21)
⚠ BREAKING CHANGES
gpt-5.1-minimodel'sGPT_5_1_MINIconstants and correspondingKnown/Valueenum cases fromChatModel,BetaResponse.Model,BetaResponsesClientEvent.ResponseCreate.Model, betaResponseCreateParams.Model, and both beta and stableResponseCompactParams.Modeltypes. Code referencing any of these members must select an available model and be recompiled. This removal is covered by the SDK's minor-version compatibility exception.Features
Bug Fixes
Chores
Build System
This PR was generated with Release Please. See documentation.