Skip to content

release: 0.3.1#53

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

release: 0.3.1#53
stainless-app[bot] wants to merge 8 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-19)

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

Bug Fixes

  • deps: bump minimum typing-extensions version (23ea212)
  • pydantic: do not pass by_alias unless set (b098b05)
  • sanitize endpoint path params (e385e21)

Chores

  • ci: skip uploading artifacts on stainless-internal branches (e3ed836)
  • internal: tweak CI branches (1fc1ee4)
  • update placeholder string (3a623d4)

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

Medium Risk
Modifies request URL construction by introducing path_template() with percent-encoding and dot-segment rejection, which could affect any endpoints using path parameters. Also adjusts Pydantic serialization behavior (by_alias) and dependency minimums, which may change runtime behavior in edge cases.

Overview
Bumps the SDK to v0.3.1 (manifest, pyproject.toml, _version.py) and updates the changelog.

Adds a new _utils.path_template() helper to safely interpolate endpoint templates with component-aware percent-encoding and explicit rejection of ./.. dot-segments; updates ModelsResource.retrieve() to use it for model_id.

Improves Pydantic compatibility by only passing by_alias to model_dump() when explicitly set, refactors the Reasoning TypedDict to use PEP 728 extra_items, and raises the minimum typing-extensions requirement to >=4.14 (lockfile included).

Tweaks CI push branch filters and prevents OIDC token retrieval/artifact upload on stl/* branches, plus updates some generated test fixture byte strings to "Example data".

Written by Cursor Bugbot for commit ffeed0c. 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",

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b40181c to db00e7a Compare March 7, 2026 12:56
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 7, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/dedalus-sdk-python/e385e215a38c3141ff675a58799511a306d2c879/dedalus_labs-0.3.0-py3-none-any.whl'

Expires at: Sat, 18 Apr 2026 15:39:39 GMT
Updated at: Thu, 19 Mar 2026 15:39:39 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from db00e7a to e3f484a Compare March 7, 2026 13:17
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e3f484a to 14149b0 Compare March 16, 2026 17:35
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 14149b0 to fa5441e Compare March 16, 2026 19:04
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from fa5441e to 73aba21 Compare March 16, 2026 20:49
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 73aba21 to ffeed0c Compare March 19, 2026 15:39
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