releases.shpreview

Sentry Python

Mon
Wed
Fri
JulAugSepOctNovDecJanFebMarAprMayJunJul
Less
More
Releases13Avg4/moVersionsv2.58.0 to v2.66.0
v2.64.0

The SDK now extracts gen_ai spans out of transactions and sends them as v2 envelope items by default, preventing data loss when payloads exceed size limits. Self-hosted Sentry instances should opt out with stream_gen_ai_spans=False. Plus 19 bug fixes including PII gating for URLs across aiohttp, boto3, httpx, sanic, tornado, wsgi, and others, MCP SDK v2 handler support, and asyncpg N+1 false positive prevention.

Read more →
v2.63.0

Query string and client IP are now only captured when send_default_pii is enabled. Also fixed double wrapping of sync handlers on FastAPI >= 0.137, improved prefixed router path handling, removed reference cycles in the serializer, and removed 0000 trace_id fallbacks.

Read more →
v2.62.0

Added integration for aiomysql with manual setup via AioMySQLIntegration, and automatic out-of-the-box support for HTTPX2. Fixed control flow exception capture in arq, baggage header parsing with '=' characters, and functools.wraps restoration in rq patched functions.

Read more →
v2.61.0

String truncation is now disabled by default, allowing large strings in events to display in full; you can restore the previous limit of 100,000 characters via the max_value_length option. Fixed a serializer bug that was triggering side-effects from custom iter implementations on arbitrary sequences, and a memory leak in SentrySpanProcessor. Also includes fixes across Langchain, OpenAI Agents, Pydantic AI, Strawberry, and other integrations.

Read more →
v2.60.0

A new stream_gen_ai_spans option extracts GenAI spans from transactions and sends them as separate v2 envelope items, preventing them from being dropped when transaction payloads exceed size limits. Also adds asyncpg cursor span support, OpenAI conversation ID tracking, and fixes for OpenAI span handling and chunked HTTP response instrumentation.

Read more →
New Features ✨
  • Add set_attribute, remove_attribute to global API by @sentrivana in #5555

    You can now set and unset attributes on logs and metrics via top-level API. Think of it as sentry_sdk.set_tag()

Read more →
Last Checked
49m ago
Latest
2.66.0
Tracking since Jul 6, 2021