Skip to content

release: 0.10.0#316

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

release: 0.10.0#316
stainless-app[bot] wants to merge 35 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-10)

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

Features

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

Bug Fixes

  • ensure file data are only sent as 1 parameter (dea857a)

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 an automated release PR bumping the version from 0.9.10 to 0.10.0. It includes a bug fix in _extract_items that ensures top-level file arrays (paths ending with "<array>") are properly removed from the request body, a new production_deployment_id field on the Agent model, and a corresponding test for the extraction fix.

Confidence Score: 5/5

Safe to merge — all changes are version bookkeeping, a well-tested bug fix, and an additive model field.

No P0/P1 findings. The extraction bug fix is logically sound (vacuous-truth of all() on an empty slice correctly preserves the original pop-on-last-key behavior), and a new targeted test validates the fixed scenario. The production_deployment_id addition is a backward-compatible optional field.

No files require special attention.

Important Files Changed

Filename Overview
src/agentex/_utils/_utils.py Bug fix: replaces len(path) == index with all(p == "<array>" for p in path[index:]) so dict keys are popped when only array-traversal markers remain in the path, correctly handling top-level file arrays like ["files", "<array>"].
tests/test_extract_files.py Adds test_top_level_file_array which directly covers the new extraction logic for paths ending in "<array>"; verifies both returned file tuples and mutation of the input dict.
src/agentex/types/agent.py Adds optional production_deployment_id: Optional[str] field; straightforward model update driven by API spec change.
pyproject.toml Version bumped from 0.9.10 to 0.10.0.
src/agentex/_version.py Version string updated from 0.9.10 to 0.10.0.
CHANGELOG.md Adds 0.10.0 changelog entry documenting the AgentCard feature, API update, and file-data bug fix.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[_extract_items called] --> B{path index valid?}
    B -- No: path exhausted --> C{obj is list?}
    C -- Yes --> D[return file tuples for each entry]
    C -- No --> E[return single file tuple]
    B -- Yes: key found --> F[increment index]
    F --> G{obj is dict?}
    G -- Yes --> H{remaining path all array markers?}
    H -- True: pop key --> I[item = obj.pop key]
    H -- False: keep key --> J[item = obj at key]
    I --> K[recurse with item]
    J --> K
    G -- No --> L{obj is list?}
    L -- Yes --> M[recurse for each list item]
    L -- No --> N[return empty]
Loading

Reviews (17): 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 3 times, most recently from b8b7d47 to 68cd348 Compare April 9, 2026 07:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 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 from 29363bf to 3b8e9a9 Compare April 9, 2026 08:29
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 3b8e9a9 to 45b7001 Compare April 9, 2026 10:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 45b7001 to 2eb2f8d Compare April 9, 2026 13:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2eb2f8d to b1e8996 Compare April 9, 2026 17:46
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b1e8996 to b81efe5 Compare April 9, 2026 19:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b81efe5 to d40b526 Compare April 9, 2026 20:20
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d40b526 to 0251d75 Compare April 9, 2026 22:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 0251d75 to 2d36118 Compare April 9, 2026 23:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2d36118 to 3233de7 Compare April 10, 2026 03:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 3233de7 to e7bbc51 Compare April 10, 2026 04:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e7bbc51 to f027bca Compare April 10, 2026 14:54
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from f027bca to 18cf71a Compare April 10, 2026 17:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 18cf71a to e0e7073 Compare April 10, 2026 19:55
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