release: 6.45.0#1944
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 81d4d83502
ℹ️ 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".
| // content-type for those, and only elide it for operations with no body at | ||
| // all (e.g. GET/DELETE). | ||
| if (body == null && 'body' in options) { | ||
| return this.#encoder({ body, headers: buildHeaders([rawHeaders]) }); |
There was a problem hiding this comment.
Avoid serializing null optional bodies
For generated optional-body methods that explicitly allow null (for example responses.inputTokens.count(null) via body: ... | null | undefined = {}), this branch now passes null to the default encoder, so JSON.stringify(null) produces the literal "null" and buildRequest sends it as a request payload. Before this change, null behaved like an omitted body; keep that omission behavior for null and only add the empty-body content type for undefined.
Useful? React with 👍 / 👎.
81d4d83 to
a9d1c26
Compare
a9d1c26 to
329bef9
Compare
329bef9 to
bb1f167
Compare
bb1f167 to
2e4363b
Compare
2e4363b to
1a13bf3
Compare
2df1920 to
724a8df
Compare
724a8df to
17e0f67
Compare
17e0f67 to
dd33025
Compare
dd33025 to
cdb97d6
Compare
cdb97d6 to
a0c96d9
Compare
* [bedrock_sigv4_auth] Add AWS-native Bedrock authentication * Add AWS-native Bedrock provider authentication * Expand Bedrock authentication test coverage * Fix provider conflict test types * Align Bedrock auth options and endpoint * Add opt-in Bedrock live test * Keep confirmed Bedrock compatibility endpoint * Use Responses-compatible Bedrock model in examples * Address Bedrock review feedback * Test Bedrock default credential chain * fix Bedrock provider packaging --------- Co-authored-by: Jim Blomo <jim@openai.com>
|
🤖 Release is at https://github.com/openai/openai-node/releases/tag/v6.45.0 🌻 |
Automated Release PR
6.45.0 (2026-06-24)
Full Changelog: v6.44.0...v6.45.0
Features
Bug Fixes
Chores
Documentation
Build System
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