Skip to content

release: 0.11.0#330

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

release: 0.11.0#330
stainless-app[bot] wants to merge 61 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Apr 21, 2026

Automated Release PR

0.11.0 (2026-04-27)

Full Changelog: v0.10.2...v0.11.0

Features

Chores

  • internal: more robust bootstrap script (dd59283)

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 PR bumps the SDK from 0.10.2 to 0.11.0, reflecting an API update that removes the task_id field from all span-related endpoints (create, update, list) and the Span model itself, along with a minor bootstrap script robustness fix.

Confidence Score: 5/5

Safe to merge — all changes are generated, consistent, and represent a clean API field removal across types, resources, and tests.

No P0 or P1 findings. The task_id removal is applied uniformly across all params types, the Span model, both sync and async resource methods, and tests. The version bump correctly signals a minor (breaking) change. The bootstrap fix is a clear improvement with no downside.

No files require special attention.

Important Files Changed

Filename Overview
src/agentex/resources/spans.py Removes task_id parameter from create, update, and list methods for both SpansResource and AsyncSpansResource; updates list docstring to reflect narrower scope
src/agentex/types/span.py Removes task_id: Optional[str] field from the Span model — consistent with the API removal
src/agentex/types/span_create_params.py Removes task_id from SpanCreateParams TypedDict
src/agentex/types/span_list_params.py Removes task_id from SpanListParams TypedDict
src/agentex/types/span_update_params.py Removes task_id from SpanUpdateParams TypedDict
tests/api_resources/test_spans.py Removes task_id argument from all span test calls, keeping tests in sync with the updated API surface
scripts/bootstrap Changes $SKIP_BREW to ${SKIP_BREW:-} so the script doesn't fail with set -e when the variable is unset in strict shells
pyproject.toml Version bumped from 0.10.2 to 0.11.0

Sequence Diagram

sequenceDiagram
    participant Client
    participant SpansResource
    participant API

    Note over Client,API: Before 0.11.0 — task_id accepted
    Client->>SpansResource: create(task_id=..., parent_id=..., ...)
    SpansResource->>API: POST /spans {task_id, parent_id, ...}

    Note over Client,API: After 0.11.0 — task_id removed
    Client->>SpansResource: create(parent_id=..., ...)
    SpansResource->>API: POST /spans {parent_id, ...}

    Client->>SpansResource: update(span_id, trace_id=..., ...)
    SpansResource->>API: PUT /spans/{span_id} {trace_id, ...}

    Client->>SpansResource: list(trace_id=..., ...)
    SpansResource->>API: GET /spans?trace_id=...
    API-->>SpansResource: SpanListResponse (Span objects without task_id)
    SpansResource-->>Client: SpanListResponse
Loading

Reviews (60): Last reviewed commit: "release: 0.11.0" | Re-trigger Greptile

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 91abc1a to de14ac0 Compare April 21, 2026 17:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from de14ac0 to e88491a Compare April 21, 2026 18:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from e88491a to 3432a16 Compare April 21, 2026 20:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3432a16 to d09931b Compare April 21, 2026 22:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from d09931b to caf0668 Compare April 22, 2026 02:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from caf0668 to 1bb322c Compare April 22, 2026 08:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 1bb322c to e423419 Compare April 22, 2026 10:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from e423419 to 8a63a77 Compare April 22, 2026 11:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 8a63a77 to 9ccf90e Compare April 22, 2026 13:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 9ccf90e to dc63a90 Compare April 22, 2026 14:03
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from dc63a90 to 9dc2cc1 Compare April 22, 2026 16:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 9dc2cc1 to 89702a7 Compare April 22, 2026 18:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 89702a7 to 341713c Compare April 23, 2026 00:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 341713c to 4fd88a7 Compare April 23, 2026 03:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 95e28a6 to 9604142 Compare April 25, 2026 19:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 9604142 to 7628039 Compare April 25, 2026 22:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 7628039 to 299c1f3 Compare April 26, 2026 01:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 299c1f3 to 5c6e2be Compare April 26, 2026 05:20
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 5c6e2be to 2fe07f5 Compare April 26, 2026 08:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 2fe07f5 to 8d42652 Compare April 26, 2026 13:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 8d42652 to 94c7635 Compare April 26, 2026 16:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 94c7635 to 6ad4b1f Compare April 26, 2026 19:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 6ad4b1f to 009af86 Compare April 26, 2026 20:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 009af86 to 6d52aea Compare April 26, 2026 22:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 6d52aea to c1c6d6f Compare April 26, 2026 23:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from c1c6d6f to defb512 Compare April 27, 2026 00:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from defb512 to 7f75bb0 Compare April 27, 2026 01:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 7f75bb0 to 8296316 Compare April 27, 2026 03:21
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 8296316 to cd897e8 Compare April 27, 2026 04:21
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