Skip to content

Python SDK Releases — June 2026 (detailed)#136

Open
stephanie-anderson wants to merge 2 commits into
sdk-releases-june-2026/pythonfrom
sdk-releases-june-2026/python-detailed
Open

Python SDK Releases — June 2026 (detailed)#136
stephanie-anderson wants to merge 2 commits into
sdk-releases-june-2026/pythonfrom
sdk-releases-june-2026/python-detailed

Conversation

@stephanie-anderson

Copy link
Copy Markdown

Builds on #123 with three improvements:

  • Table dates: each release now shows its actual publish date
  • TL;DR: ## What changed## TL;DR
  • Prose release notes: new section structured by craft changelog ordering (New Features → Bug Fixes; Internal omitted), synthesising all 4 releases in readable paragraphs

--

View Junior Session in Sentry

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-changelog Ready Ready Preview, Comment Jul 11, 2026 9:52pm

Request Review

@ericapisani ericapisani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove the "MCP SDK v2 handler signature support" - the MCP v2 API is still in alpha and we don't yet have comprehensive support for this API (there are many breaking changes being rolled out over the coming month)

Edit: the changelog as it's written looks good though, it doesn't appear to be overstating our support here.

…eal dates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: rahul <rahul.chhabria@sentry.io>
@sentry-junior sentry-junior Bot force-pushed the sdk-releases-june-2026/python-detailed branch from c952356 to 5b25807 Compare July 10, 2026 17:30
@rahulchhabria rahulchhabria marked this pull request as ready for review July 11, 2026 03:52
Comment thread content/changelog/2026-06-python-sdk-releases.md Outdated
Align the TL;DR with the release notes section so url.fragment is listed
alongside url.full, url.query, and url.path.

Co-Authored-By: rahul <rahul.chhabria@sentry.io>

@rahulchhabria rahulchhabria left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed review feedback:

  • TL;DR now lists url.fragment alongside the other PII-gated URL attributes (matches the release notes section).
  • Left the MCP SDK v2 handler signature mention in place based on @ericapisani's follow-up that the wording looks fine as written (not overstating support).

@ericapisani ericapisani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small polish things that I noticed, but otherwise LGTM


## TL;DR

- `gen_ai` spans now stream as v2 envelope items by default — prevents drops on large transactions and removes size-based AI message truncation; self-hosted users can opt out with `stream_gen_ai_spans=False`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small adjustments to try and use the same language/wording as our official docs

Suggested change
- `gen_ai` spans now stream as v2 envelope items by default — prevents drops on large transactions and removes size-based AI message truncation; self-hosted users can opt out with `stream_gen_ai_spans=False`.
- `gen_ai` spans now stream as Streamed Spans by default — prevents drops on large transactions (>1000 spans) and removes size-based AI message truncation; self-hosted users can opt out with `stream_gen_ai_spans=False`.


In 2.62.0 a new `aiomysql` integration lands for async MySQL query tracing — add `AioMySQLIntegration()` to your `integrations` list to enable it. The same release adds automatic HTTPX2 support: requests made through the `httpx2` package are instrumented with no extra setup required.

2.64.0 makes `gen_ai` span streaming the default. Previously AI spans were embedded inside their parent transaction and subject to the same payload size limits; with streaming they travel as independent v2 envelope items. This means they can no longer be dropped when a transaction payload grows too large, and AI message data is no longer truncated by the SDK. Self-hosted Sentry users whose instance does not yet support streamed spans should opt out via `stream_gen_ai_spans=False`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2.64.0 makes `gen_ai` span streaming the default. Previously AI spans were embedded inside their parent transaction and subject to the same payload size limits; with streaming they travel as independent v2 envelope items. This means they can no longer be dropped when a transaction payload grows too large, and AI message data is no longer truncated by the SDK. Self-hosted Sentry users whose instance does not yet support streamed spans should opt out via `stream_gen_ai_spans=False`.
2.64.0 makes `gen_ai` use streamed spans (v2) by default, rather than transaction-based spans (v1). Previously AI spans were embedded inside their parent transaction and subject to the same payload size limits; with streaming they travel as independent v2 envelope items. This means they can no longer be dropped when a transaction payload grows too large, and AI message data is no longer truncated by the SDK. Self-hosted Sentry users whose instance does not yet support streamed spans should opt out via `stream_gen_ai_spans=False`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants