From 0de812c8b9d45314524186cbbb4e1399f8859f75 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 16 Jun 2026 04:12:38 +0000
Subject: [PATCH] Bump sentry-sdk from 2.59.0 to 2.60.0 in /backend (#1715)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.59.0 to 2.60.0.
Sourced from sentry-sdk's
releases. Adds a new Enable this option if sentry_sdk.init(Release notes
2.60.0
stream_gen_ai_spans option that controls how
gen_ai spans are
sent to Sentry. When set, the SDK extracts all gen_ai spans
out of a
transaction and sends them as v2 envelope items.gen_ai spans are being dropped
because the transaction payload exceeds size limits.import sentry_sdk
dsn='https://examplePublicKey@o0.ingest.sentry.io/0',
stream_gen_ai_spans=True,
)
@ericapisani
in #6252responses calls by @constantinius
in #6199@ericapisani in
#6178stream_gen_ai_spans is enabled
by @alexander-alderman-webb
in #6260@alexander-alderman-webb
in #6079choices=None by @cla7aye15I4nd
in #6216@alexander-alderman-webb
in #6192@alexander-alderman-webb
in #6191@alexander-alderman-webb
in #6190@sentrivana in
#6202@sentry_sdk.traces.trace overloads to fix
typing by @sentrivana in #6236@sentrivana in #6256http.server spans are segments by @sentrivana in #6230@alexander-alderman-webb
in #6218@alexander-alderman-webb
in #6251@alexander-alderman-webb
in #6249... (truncated)
Sourced from sentry-sdk's changelog.
2.60.0
Adds a new
stream_gen_ai_spansoption that controls howgen_aispans are sent to Sentry. When set, the SDK extracts allgen_aispans out of a transaction and sends them as v2 envelope items.Enable this option if
gen_aispans are being dropped because the transaction payload exceeds size limits.import sentry_sdksentry_sdk.init(
dsn='https://examplePublicKey@o0.ingest.sentry.io/0',
stream_gen_ai_spans=True,
)
New Features ✨
- (asyncpg) Add cursor span support via BaseCursor method patching by
@ericapisaniin #6252- (integrations) Pass along the conversation ID for openai
responsescalls by@constantiniusin #6199- (wsgi,asgi) Introduce substitute values for filtered fields in span-streaming mode by
@ericapisaniin #6178- Remove truncation when
stream_gen_ai_spansis enabled by@alexander-alderman-webbin #6260- Add option to send GenAI spans in the new span format by
@alexander-alderman-webbin #6079Bug Fixes 🐛
Openai
- Guard against
choices=Noneby@cla7aye15I4ndin #6216- Stop setting transaction status when child span fails by
@alexander-alderman-webbin #6192- Only finish relevant spans in Responses patches by
@alexander-alderman-webbin #6191- Only finish relevant spans in Chat Completions patches by
@alexander-alderman-webbin #6190Other
- (stdlib) Instrument response body read for chunked HTTP responses by
@sentrivanain #6202- (typing) Add
@sentry_sdk.traces.traceoverloads to fix typing by@sentrivanain #6236- Use proto version 2 to fix backfilled user agent and IP by
@sentrivanain #6256- Make sure
http.serverspans are segments by@sentrivanain #6230- Handle mypy 2.0 related failures by
@alexander-alderman-webbin #6218Internal Changes 🔧
Django
- Check transaction annotations on transaction events by
@alexander-alderman-webbin #6251- Reload middleware on test teardown by
@alexander-alderman-webbin #6249Openai
... (truncated)
e30caaa
Update CHANGELOG.mdd31ac85
release: 2.60.0fcb9305
feat: Remove truncation when stream_gen_ai_spans is enabled
(#6260)253a4d4
feat: Add option to send GenAI spans in the new span format (#6079)619d803
test(langchain): Inline global state (#6261)f92c803
Revert "fix: Work around compromised transitive dependency (#6257)"
(#6262)7a303dc
Add option to drop scrubbed user IP addresses (#6241)edaa6d6
feat(pymongo): Add span streaming support (#6253)0e47ead
feat(asyncpg): Add cursor span support via BaseCursor method patching
(#6252)17cc8c7
fix: Use proto version 2 to fix backfilled user agent and IP (#6256)