Update dependency sentry-sdk to >=2.60.0 #511

Merged
tobru merged 1 commit from renovate/sentry-sdk-2.x into main 2026-05-20 06:05:23 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
sentry-sdk (changelog) >=2.59.0>=2.60.0 age confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v2.60.0

Compare Source

Adds a new 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.

Enable this option if gen_ai spans are being dropped because the transaction payload exceeds size limits.

import sentry_sdk

sentry_sdk.init(
  dsn='https://examplePublicKey@o0.ingest.sentry.io/0',
  stream_gen_ai_spans=True,
)
New Features
Bug Fixes 🐛
Openai
Other
Internal Changes 🔧
Django
Openai
Other

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [sentry-sdk](https://github.com/getsentry/sentry-python) ([changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)) | `>=2.59.0` → `>=2.60.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/sentry-sdk/2.60.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sentry-sdk/2.59.0/2.60.0?slim=true) | --- ### Release Notes <details> <summary>getsentry/sentry-python (sentry-sdk)</summary> ### [`v2.60.0`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2600) [Compare Source](https://github.com/getsentry/sentry-python/compare/2.59.0...2.60.0) Adds a new `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. Enable this option if `gen_ai` spans are being dropped because the transaction payload exceeds size limits. ```python import sentry_sdk sentry_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 [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6252](https://github.com/getsentry/sentry-python/pull/6252) - (integrations) Pass along the conversation ID for openai `responses` calls by [@&#8203;constantinius](https://github.com/constantinius) in [#&#8203;6199](https://github.com/getsentry/sentry-python/pull/6199) - (wsgi,asgi) Introduce substitute values for filtered fields in span-streaming mode by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6178](https://github.com/getsentry/sentry-python/pull/6178) - Remove truncation when `stream_gen_ai_spans` is enabled by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6260](https://github.com/getsentry/sentry-python/pull/6260) - Add option to send GenAI spans in the new span format by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6079](https://github.com/getsentry/sentry-python/pull/6079) ##### Bug Fixes 🐛 ##### Openai - Guard against `choices=None` by [@&#8203;cla7aye15I4nd](https://github.com/cla7aye15I4nd) in [#&#8203;6216](https://github.com/getsentry/sentry-python/pull/6216) - Stop setting transaction status when child span fails by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6192](https://github.com/getsentry/sentry-python/pull/6192) - Only finish relevant spans in Responses patches by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6191](https://github.com/getsentry/sentry-python/pull/6191) - Only finish relevant spans in Chat Completions patches by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6190](https://github.com/getsentry/sentry-python/pull/6190) ##### Other - (stdlib) Instrument response body read for chunked HTTP responses by [@&#8203;sentrivana](https://github.com/sentrivana) in [#&#8203;6202](https://github.com/getsentry/sentry-python/pull/6202) - (typing) Add `@sentry_sdk.traces.trace` overloads to fix typing by [@&#8203;sentrivana](https://github.com/sentrivana) in [#&#8203;6236](https://github.com/getsentry/sentry-python/pull/6236) - Use proto version 2 to fix backfilled user agent and IP by [@&#8203;sentrivana](https://github.com/sentrivana) in [#&#8203;6256](https://github.com/getsentry/sentry-python/pull/6256) - Make sure `http.server` spans are segments by [@&#8203;sentrivana](https://github.com/sentrivana) in [#&#8203;6230](https://github.com/getsentry/sentry-python/pull/6230) - Handle mypy 2.0 related failures by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6218](https://github.com/getsentry/sentry-python/pull/6218) ##### Internal Changes 🔧 ##### Django - Check transaction annotations on transaction events by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6251](https://github.com/getsentry/sentry-python/pull/6251) - Reload middleware on test teardown by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6249](https://github.com/getsentry/sentry-python/pull/6249) ##### Openai - Separate sync and async embeddings patches by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6189](https://github.com/getsentry/sentry-python/pull/6189) - Separate sync and async Responses patches by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6188](https://github.com/getsentry/sentry-python/pull/6188) - Separate sync and async Chat Completions patches by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6187](https://github.com/getsentry/sentry-python/pull/6187) ##### Other - (langchain) Inline global state by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6261](https://github.com/getsentry/sentry-python/pull/6261) - (stdlib) Only capture relevant telemetry with `capture_items()` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6214](https://github.com/getsentry/sentry-python/pull/6214) - (tests) Replace custom `envelopes_to_x` helpers with `capture_items` by [@&#8203;sentrivana](https://github.com/sentrivana) in [#&#8203;6233](https://github.com/getsentry/sentry-python/pull/6233) - (traces) Cache valid span statuses in a module-level frozenset by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6208](https://github.com/getsentry/sentry-python/pull/6208) - Assert presence of profile chunks after session shutdown by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6213](https://github.com/getsentry/sentry-python/pull/6213) - 🤖 Update test matrix with new releases (05/11) by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;6247](https://github.com/getsentry/sentry-python/pull/6247) - Make `set_custom_sampling_context()` a classmethod by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6238](https://github.com/getsentry/sentry-python/pull/6238) - Rename `_timestamp` to `_end_timestamp` by [@&#8203;sentrivana](https://github.com/sentrivana) in [#&#8203;6235](https://github.com/getsentry/sentry-python/pull/6235) - Move batcher fork safety test to batcher tests by [@&#8203;sentrivana](https://github.com/sentrivana) in [#&#8203;6225](https://github.com/getsentry/sentry-python/pull/6225) - Introduce inline type check for whether a span is StreamedSpan by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6180](https://github.com/getsentry/sentry-python/pull/6180) - Add `botocore-stubs` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6203](https://github.com/getsentry/sentry-python/pull/6203) - Add option to drop scrubbed user IP addresses by [@&#8203;juliosuas](https://github.com/juliosuas) in [#&#8203;6241](https://github.com/getsentry/sentry-python/pull/6241) - Add .warden to .gitignore by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6210](https://github.com/getsentry/sentry-python/pull/6210) - removed universal bdist\_wheel option by [@&#8203;Muskaan436](https://github.com/Muskaan436) in [#&#8203;6197](https://github.com/getsentry/sentry-python/pull/6197) - (transport) Add EnvelopePrinterTransport for debug logging by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6181](https://github.com/getsentry/sentry-python/pull/6181) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yLjEiLCJ1cGRhdGVkSW5WZXIiOiI0My4yLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
Update dependency sentry-sdk to >=2.60.0
All checks were successful
Tests / test (push) Successful in 48s
117011d7c2
tobru merged commit 46d08cf185 into main 2026-05-20 06:05:23 +00:00
tobru deleted branch renovate/sentry-sdk-2.x 2026-05-20 06:05:23 +00:00
Sign in to join this conversation.
No description provided.