releases.shpreview

Gen_AI spans now streamed as envelope items; PII gating fixed across integrations

v2.64.0

1 feature1 enhancement19 fixesThis release1 featureNew capabilities1 enhancementImprovements to existing features19 fixesBug fixesAI-tallied from the release notes

The SDK now extracts all gen_ai spans out of a transaction and sends them as v2 envelope items by default. This prevents gen_ai spans from being dropped when the transaction payload exceeds size limits. Because they are no longer constrained by transaction size limits, AI message data is also no longer truncated. To keep the previous behavior, set stream_gen_ai_spans=False.

Self-hosted Sentry users should opt out with stream_gen_ai_spans=False, since streamed gen_ai spans may not be ingested by their Sentry instance.

Bug Fixes 🐛

Documentation 📚

Internal Changes 🔧

Other

Fetched June 30, 2026