You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Medium Risk
Changes how request JSON is serialized (and when content is set), which can affect API request formatting and edge-case payload types; coverage is added via new unit tests.
Overview Adds a custom JSON encoder for request bodies. The client now serializes JSON payloads via openapi_dumps() (UTF-8 bytes) to support types like datetime and pydantic.BaseModel (dumped with exclude_unset=True and by_alias=True), and avoids setting content when sending multipart form data.
Compatibility + release housekeeping._compat.model_dump() gains a by_alias option (including a Pydantic v1 fallback), CI upgrades actions/github-scriptv6 → v8, and version/changelog/manifest are bumped to 1.20.0 with new tests covering the JSON serialization behavior.
Written by Cursor Bugbot for commit 4167236. This will update automatically on new commits. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated Release PR
1.20.0 (2026-01-30)
Full Changelog: v1.19.1...v1.20.0
Features
Chores
actions/github-script(78ec263)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