Skip to content

release: 6.44.1#1944

Open
stainless-app[bot] wants to merge 3 commits into
mainfrom
release-please--branches--main--changes--next--components--openai
Open

release: 6.44.1#1944
stainless-app[bot] wants to merge 3 commits into
mainfrom
release-please--branches--main--changes--next--components--openai

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

6.44.1 (2026-06-22)

Full Changelog: v6.44.0...v6.44.1

Bug Fixes

  • avoid serializing null optional bodies (9d69bb4)

Chores

  • internal: codegen related update (b6f8fee)

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

@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: 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".

Comment thread src/client.ts Outdated
// 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]) });

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 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 👍 / 👎.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next--components--openai branch from a9d1c26 to 329bef9 Compare June 22, 2026 21:22
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