Skip to content

release: 2.32.0#3074

Open
stainless-app[bot] wants to merge 10 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 2.32.0#3074
stainless-app[bot] wants to merge 10 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app bot commented Apr 10, 2026

Automated Release PR

2.32.0 (2026-04-11)

Full Changelog: v2.31.0...v2.32.0

Features

  • api: Add detail to InputFileContent (60de21d)
  • api: add OAuthErrorCode type (0c8d2c3)
  • client: add event handler implementation for websockets (0280d05)
  • client: support reconnection in websockets (eb72a95)

Bug Fixes

  • ensure file data are only sent as 1 parameter (c0c2ecd)

Documentation


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

@stainless-app stainless-app bot requested a review from a team as a code owner April 10, 2026 04:46
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 940de1e to eccb932 Compare April 10, 2026 04:46
Copy link
Copy Markdown

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

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: eccb932db2

ℹ️ 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 on lines +3993 to +3994
if self._on_reconnecting is None or self._make_ws is None:
return False
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Allow reconnect attempts without requiring a callback

The reconnect path is effectively disabled unless on_reconnecting is provided: _reconnect() returns immediately when _on_reconnecting is None, so callers that set max_retries/delays but omit the callback will never retry and will still fail on the first disconnect. This makes the new retry parameters inert in the default usage path and prevents the advertised websocket reconnection behavior for most clients.

Useful? React with 👍 / 👎.

Comment on lines +3935 to +3936
except ConnectionClosedOK:
return
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 Route recoverable "OK" closes through reconnect logic

The iterator returns immediately on ConnectionClosedOK, so close code 1001 (explicitly marked recoverable in types/websocket_reconnection.py) never reaches _reconnect(). In practice, transient server "going away" closures will terminate iteration instead of retrying, despite being classified as recoverable.

Useful? React with 👍 / 👎.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from eccb932 to ab54f69 Compare April 10, 2026 05:42
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ab54f69 to 161291f Compare April 10, 2026 14:55
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 161291f to 41b977f Compare April 10, 2026 15:01
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 41b977f to f84d8e0 Compare April 10, 2026 20:04
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from f84d8e0 to eec36ce Compare April 11, 2026 05:30
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.

0 participants