Skip to content

release: 0.10.0#316

Merged
brucey31 merged 50 commits intomainfrom
release-please--branches--main--changes--next
Apr 14, 2026
Merged

release: 0.10.0#316
brucey31 merged 50 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

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

Automated Release PR

0.10.0 (2026-04-14)

Full Changelog: v0.9.10...v0.10.0

Features

  • add AgentCard for self-describing agent capabilities (#296) (6509be1)
  • api: api update (8abce2b)

Bug Fixes

  • ensure file data are only sent as 1 parameter (48fae27)
  • Temporal Union deserialization causing tool_response messages to be lost (79ef4dd)
  • temporal: allowing-ACP-temporal-telemetry (9b44eb0)

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

Greptile Summary

This is the automated 0.10.0 release PR, bumping the version across pyproject.toml, _version.py, and the release manifest. The substantive code changes are a targeted bug fix in _extract_items (ensuring top-level file-array fields are properly removed from the request body) and a new production_deployment_id field on the Agent model.

Confidence Score: 5/5

  • This PR is safe to merge — the bug fix is well-targeted and backed by a new test, and all other changes are straightforward version bumps or additive model fields.
  • No P0 or P1 issues found. The core logic change in _extract_items is correct: replacing the index-based pop condition with the all(p == "<array>" ...) check properly handles top-level file arrays while preserving existing behaviour for all other path shapes. The vacuously-true empty-slice case correctly handles leaf-node removal. The new test directly exercises the previously broken path.
  • No files require special attention.

Important Files Changed

Filename Overview
src/agentex/_utils/_utils.py Bug fix: changes the pop condition from len(path) == index to all(p == "<array>" for p in path[index:]), correctly removing a dict key when only array-traversal markers remain in the path (fixes top-level file-array fields not being stripped from the request body).
tests/test_extract_files.py Adds test_top_level_file_array that directly covers the fixed bug: verifies that files at a top-level array path are extracted and the source key is removed from the query dict.
src/agentex/types/agent.py Adds production_deployment_id: Optional[str] field to the Agent model, following the ID-reference pattern used throughout the codebase.
pyproject.toml Version bumped from 0.9.10 to 0.10.0.
CHANGELOG.md Adds 0.10.0 release entry with features and bug fix notes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[_extract_items called with path and index] --> B[key = path at index]
    B --> C[increment index]
    C --> D{obj is dict?}
    D -- Yes --> E{remaining path is only array markers?}
    E -- True --> F[pop key from obj - removes from body]
    E -- False --> G[access obj key - keeps in body, traverse deeper]
    F --> H[recurse with extracted item]
    G --> H
    D -- No --> I{obj is list?}
    I -- Yes --> J{key is array marker?}
    J -- Yes --> K[iterate list, recurse each element]
    J -- No --> L[return empty]
    H --> M[path exhausted - return file tuples]
    K --> M
Loading

Reviews (34): Last reviewed commit: "release: 0.10.0" | Re-trigger Greptile

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 4 times, most recently from 68cd348 to 29363bf Compare April 9, 2026 08:28
@stainless-app stainless-app bot changed the title release: 0.9.11 release: 0.10.0 Apr 9, 2026
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 24 times, most recently from 2ab59a2 to 754d6f1 Compare April 13, 2026 20:20
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 0f1f5f3 to f8f9943 Compare April 14, 2026 16:44
@brucey31 brucey31 requested a review from danielmillerp April 14, 2026 16:55
@brucey31 brucey31 merged commit ced40bb into main Apr 14, 2026
31 checks passed
@brucey31 brucey31 deleted the release-please--branches--main--changes--next branch April 14, 2026 16:56
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Apr 14, 2026

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.

2 participants