Skip to content

release: 1.20.0#179

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

release: 1.20.0#179
stainless-app[bot] wants to merge 3 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Jan 24, 2026

Automated Release PR

1.20.0 (2026-01-30)

Full Changelog: v1.19.1...v1.20.0

Features

  • client: add custom JSON encoder for extended type support (6d70ff1)

Chores

  • ci: upgrade 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

@cursor
Copy link

cursor bot commented Jan 24, 2026

PR Summary

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-script v6v8, 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.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4b1661d to ca5342f Compare January 30, 2026 05:06
@stainless-app stainless-app bot changed the title release: 1.19.2 release: 1.20.0 Jan 30, 2026
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Jan 30, 2026

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/luma_ai-python/6d70ff1931539ffe3e63becaef004cdbb3697e2a/lumaai-1.19.1-py3-none-any.whl'

Expires at: Sun, 01 Mar 2026 05:06:43 GMT
Updated at: Fri, 30 Jan 2026 05:06:43 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ca5342f to 4167236 Compare January 30, 2026 05:06
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