Skip to content

release: 0.12.0#369

Open
stainless-app[bot] wants to merge 3 commits into
mainfrom
release-please--branches--main--changes--next
Open

release: 0.12.0#369
stainless-app[bot] wants to merge 3 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented May 26, 2026

Automated Release PR

0.12.0 (2026-05-26)

Full Changelog: v0.11.4...v0.12.0

Features

  • api: add cleaned_at field to task response types (38ed338)

Chores

  • deps: drop unused runtime deps and exclude tests from wheel (#367) (f4303d1)

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 automated release bumps the SDK from v0.11.4 to v0.12.0, adding a cleaned_at timestamp field to all task response types and cleaning up the runtime dependency list.

  • cleaned_at field: Added as Optional[datetime] = None consistently across Task, TaskListResponseItem, TaskRetrieveResponse, and TaskRetrieveByNameResponse — fully backward-compatible.
  • Dependency cleanup: Removes eight packages (tornado, datadog, tzlocal, tzdata, ipykernel, anthropic, pytest, pytest-asyncio) from the main dependencies list. Source-code verification confirms none are imported outside test files; pytest/pytest-asyncio remain in [tool.rye] dev-dependencies. mcp[cli] is simplified to mcp since the CLI extras aren't used.
  • Wheel hygiene: New exclude rules in [tool.hatch.build.targets.wheel] prevent internal test files from shipping to PyPI.

Confidence Score: 5/5

Safe to merge — all changes are additive or cleanup with no impact on existing behaviour.

The cleaned_at field is optional with a None default on all four response types, making it fully backward-compatible. Every package removed from the runtime dependencies list was verified to have zero imports in src/; pytest and pytest-asyncio remain available under [tool.rye] dev-dependencies. The wheel exclusion rules are additive and do not affect installed behaviour.

No files require special attention.

Important Files Changed

Filename Overview
src/agentex/types/task.py Adds optional cleaned_at: Optional[datetime] = None field — backward-compatible addition aligned with the other task type files.
src/agentex/types/task_list_response.py Adds cleaned_at: Optional[datetime] = None to TaskListResponseItem, consistent with the other task response types.
src/agentex/types/task_retrieve_response.py Adds cleaned_at: Optional[datetime] = None to TaskRetrieveResponse, consistent with the other task response types.
src/agentex/types/task_retrieve_by_name_response.py Adds cleaned_at: Optional[datetime] = None to TaskRetrieveByNameResponse, consistent with the other task response types.
pyproject.toml Removes genuinely unused runtime deps; pytest/pytest-asyncio remain available as dev-dependencies; simplifies mcp[cli] to mcp; adds wheel exclusion for internal test files.
src/agentex/_version.py Version string bumped from 0.11.4 to 0.12.0.

Entity Relationship Diagram

%%{init: {'theme': 'neutral'}}%%
erDiagram
    Task {
        string id PK
        datetime cleaned_at "NEW - Optional"
        datetime created_at
        string name
        dict params
        string status
        string status_reason
        dict task_metadata
        datetime updated_at
    }

    TaskRetrieveResponse {
        string id PK
        datetime cleaned_at "NEW - Optional"
        datetime created_at
        string name
    }

    TaskRetrieveByNameResponse {
        string id PK
        datetime cleaned_at "NEW - Optional"
        datetime created_at
        string name
    }

    TaskListResponseItem {
        string id PK
        datetime cleaned_at "NEW - Optional"
        datetime created_at
        string name
    }

    Task ||--o{ TaskRetrieveResponse : "mirrors"
    Task ||--o{ TaskRetrieveByNameResponse : "mirrors"
    Task ||--o{ TaskListResponseItem : "mirrors"
Loading

Reviews (2): Last reviewed commit: "release: 0.12.0" | Re-trigger Greptile

)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from ee2b10f to 97dae2a Compare May 26, 2026 23:16
@stainless-app stainless-app Bot changed the title release: 0.11.5 release: 0.12.0 May 26, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 97dae2a to 4bbaa85 Compare May 26, 2026 23:17
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.

1 participant