Releases Index

Sentry Python

$npx @buildinternet/releases get sentry-python
Mon
Wed
Fri
OctNovDecJanFebMarAprMayJunJulAugSepOct
Less
More
Releases13Avg4/moVersionsv2.66.1 to v2.73.0
v2.72.0

Deprecates send_default_pii and transaction profiling, and adds sentry.is_localhost plus user_agent.original attributes for inbound filters across ASGI, WSGI, aiohttp, Sanic, and Tornado. Also fixes request-body scrubbing for JSON arrays and Boto3 StreamingBody span handling.

Read more ↗
v2.70.0

New MistralIntegration records chat request parameters, token usage, system instructions, and gen_ai input and output messages for Chat.complete and Chat.complete_async. A new data_collection option offers finer control over collected data than send_default_pii and takes precedence when defined, promoted from _experiments to top-level.

Read more ↗
v2.68.1

Auto-collected logs continue to send when enable_logs=True, preserving prior behavior, and can now be controlled per integration via capture_sentry_logs. The enable_logs option is deprecated and will be removed in the next major release, as the sentry_sdk.logger.X API now works independently of it. Also fixed gen_ai tool-call gating across Anthropic, OpenAI, LangChain, and other integrations to key on outputs, not inputs.

Read more ↗
v2.68.0

enable_logs and enable_metrics are now no-ops and will be dropped in the next major. Logging and Loguru integrations no longer auto-collect logs unless you opt in via integration-level capture_sentry_logs=True; metrics emitted via the API are no longer gated by enable_metrics. Also added NoOpStreamedSpan segment improvements and a batcher flush trigger based on span number.

Read more ↗
v2.67.0

Added reasoning and cached token usage tracking for Langchain, tool definitions for OpenAI Chat Completions and Responses APIs, and gen_ai.request.reasoning.level for OpenAI spans. Promoted before_send_span to a top-level option and added support for the ai_track decorator in streaming. Fixed OpenAI Agents tool wrapping, Langchain multi-candidate usage double-counting, Pydantic AI duplicate spans, and made sentry-trace take precedence over baggage in sampling.

Read more ↗
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 ↗
Last Checked
6h ago
Latest
2.73.0
Tracking since Jul 6, 2021