Skip to content

release: 0.3.1#53

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

release: 0.3.1#53
stainless-app[bot] wants to merge 2 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Mar 6, 2026

Automated Release PR

0.3.1 (2026-03-06)

Full Changelog: v0.3.0...v0.3.1

Refactors

  • types: use extra_items from 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

@cursor
Copy link

cursor bot commented Mar 6, 2026

PR Summary

Low Risk
Low risk: primarily version/changelog updates and a type-hint refactor, with potential impact limited to static type-checking behavior for Reasoning extra keys.

Overview
Release 0.3.1. Updates .release-please-manifest.json, pyproject.toml, and src/dedalus_labs/_version.py, and adds the corresponding CHANGELOG.md entry.

Typing refactor: changes types/shared_params/reasoning.py to model arbitrary extra fields via TypedDict(..., extra_items=object) (PEP 728) and removes the prior Union[ReasoningTyped, Dict[str, object]] alias.

Written by Cursor Bugbot for commit b40181c. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

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.

Create PR

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",



class ReasoningTyped(TypedDict, total=False):
class Reasoning(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
Copy link

Choose a reason for hiding this comment

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

Minimum typing-extensions version too low for extra_items

High Severity

The extra_items=object class parameter on TypedDict (PEP 728) was only added to typing_extensions in version 4.13.0 (March 2025). However, pyproject.toml declares typing-extensions>=4.10, <5. Users who install typing_extensions 4.10–4.12 will get a TypeError at import time because older TypedDict does not accept the extra_items keyword argument. The dev lockfile pins 4.15.0, masking this in CI.

Additional Locations (1)

Fix in Cursor Fix in Web

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