release: 0.4.0#53
Conversation
PR SummaryMedium Risk Overview Improves request construction and safety: preserves hard-coded query params when merging Refines serialization and multipart behavior: adds CI is adjusted to skip metadata-only pushes, pin action SHAs, avoid artifact upload on Reviewed by Cursor Bugbot for commit 2e1e09c. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Minimum typing-extensions version too low for extra_items
- Updated the package dependency constraint to typing-extensions>=4.13 so TypedDict(extra_items=...) is supported at import time.
Or push these changes by commenting:
@cursor push 4d33f509c1
Preview (4d33f509c1)
diff --git a/pyproject.toml b/pyproject.toml
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@
dependencies = [
"httpx>=0.23.0, <1",
"pydantic>=1.9.0, <3",
- "typing-extensions>=4.10, <5",
+ "typing-extensions>=4.13, <5",
"anyio>=3.5.0, <5",
"distro>=1.7.0, <2",
"sniffio",b40181c to
db00e7a
Compare
|
🧪 Testing To try out this version of the SDK: Expires at: Thu, 11 Jun 2026 19:09:59 GMT |
db00e7a to
e3f484a
Compare
e3f484a to
14149b0
Compare
14149b0 to
fa5441e
Compare
fa5441e to
73aba21
Compare
73aba21 to
ffeed0c
Compare
Note that we still want to run tests, as these depend on the metadata.
ffeed0c to
6ebd591
Compare
6ebd591 to
8e8f7a0
Compare
8e8f7a0 to
cb3d817
Compare
cb3d817 to
d9a10c4
Compare
d9a10c4 to
9100b7b
Compare
a2b7d24 to
9ab319a
Compare
Pin all GitHub Actions referenced in generated workflows (both first-party `actions/*` and third-party) to immutable commit SHAs. Updating pinned actions is now a deliberate codegen-side bump rather than implicit on every workflow run.
9ab319a to
4e67a97
Compare
7032f5b to
7f95aae
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
7f95aae to
25daf08
Compare
25daf08 to
9b3889d
Compare
9b3889d to
96010bc
Compare
94289fd to
392474e
Compare
392474e to
ae719d9
Compare
ae719d9 to
683eeda
Compare
683eeda to
9622b27
Compare
9622b27 to
a3c5349
Compare
a3c5349 to
2e1e09c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the Cursor GitHub App does not have access to this repository. If the app is installed on your organization with "selected repositories", make sure this repository is included in the selection.
Reviewed by Cursor Bugbot for commit 2e1e09c. Configure here.
| source_type: Any, | ||
| handler: GetCoreSchemaHandler, | ||
| ) -> CoreSchema: | ||
| (item_type,) = get_args(source_type) or (Any,) |
There was a problem hiding this comment.
EagerIterable schema generation unpacks too many values
High Severity
In _EagerIterable.__get_pydantic_core_schema__, the line (item_type,) = get_args(source_type) or (Any,) assumes source_type has exactly one type argument. When Pydantic v2 invokes this method with metadata from Annotated[Iterable[int], _EagerIterable], the source_type is the full Annotated type and get_args returns (Iterable[int], _EagerIterable) — two elements. The single-element tuple unpacking raises a ValueError: too many values to unpack, breaking schema generation for any model using EagerIterable[T].
Reviewed by Cursor Bugbot for commit 2e1e09c. Configure here.



Automated Release PR
0.4.0 (2026-05-15)
Full Changelog: v0.3.0...v0.4.0
Features
Bug Fixes
by_aliasunless set (b098b05)Performance Improvements
Chores
Documentation
Refactors
extra_itemsfrom PEP 728 (de6e4e4)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