Skip to content

release: 1.21.1#182

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

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

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

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

Automated Release PR

1.21.1 (2026-04-08)

Full Changelog: v1.21.0...v1.21.1

Bug Fixes

  • client: preserve hardcoded query params when merging with user params (987fbc7)

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
Copy Markdown

cursor bot commented Apr 8, 2026

PR Summary

Medium Risk
Modifies core request construction and multipart/file-extraction behavior; could change outgoing request URLs/body shapes for some endpoints if query params or file arrays were previously handled implicitly.

Overview
Bumps the SDK version to 1.21.1 and updates the changelog for this release.

Fixes request building so hardcoded query parameters embedded in options.url (e.g. /foo?beta=true) are preserved and merged with user-supplied params rather than being dropped/overwritten, with new sync/async tests covering encoded paths.

Fixes extract_files path traversal so file arrays (including top-level arrays like files[]) are removed from the input mapping and emitted exactly once, preventing duplicated/incorrect multipart parameters, with an added regression test.

Reviewed by Cursor Bugbot for commit c1c63c6. Bugbot is set up for automated code reviews on this repo. Configure here.

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Apr 8, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/luma_ai-python/a7c0bac3f06d2b362199676ea634ee07e4f33f47/lumaai-1.21.0-py3-none-any.whl'

Expires at: Mon, 11 May 2026 08:01:13 GMT
Updated at: Sat, 11 Apr 2026 08:01:13 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from daa341f to c1c63c6 Compare April 11, 2026 08:00
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