Update dependency sentry-sdk to >=2.45.0 #301

Merged
tobru merged 1 commit from renovate/sentry-sdk-2.x into main 2025-11-20 08:02:50 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
sentry-sdk (changelog) >=2.44.0 -> >=2.45.0 age confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v2.45.0

Compare Source

Various fixes & improvements
  • OTLPIntegration (#​4877) by @​sl0thentr0py

    Enable the new OTLP integration with the code snippet below, and your OpenTelemetry instrumentation will be automatically sent to Sentry's OTLP ingestion endpoint.

      import sentry_sdk
      from sentry_sdk.integrations.otlp import OTLPIntegration
    
      sentry_sdk.init(
          dsn="<your-dsn>",
          # Add data like inputs and responses;
          # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
          send_default_pii=True,
          integrations=[
              OTLPIntegration(),
          ],
      )
    

    Under the hood, this will setup:

    • A SpanExporter that will automatically set up the OTLP ingestion endpoint from your DSN
    • A Propagator that ensures Distributed Tracing works
    • Trace/Span linking for all other Sentry events such as Errors, Logs, Crons and Metrics

    If you were using the SentrySpanProcessor before, we recommend migrating over to OTLPIntegration since it's a much simpler setup.

  • feat(integrations): implement context management for invoke_agent spans (#​5089) by @​constantinius

  • feat(loguru): Capture extra (#​5096) by @​sentrivana

  • feat: Attach server.address to metrics (#​5113) by @​alexander-alderman-webb

  • fix: Cast message and detail attributes before appending exception notes (#​5114) by @​alexander-alderman-webb

  • fix(integrations): ensure that GEN_AI_AGENT_NAME is properly set for GEN_AI spans under an invoke_agent span (#​5030) by @​constantinius

  • fix(logs): Update sentry.origin (#​5112) by @​sentrivana

  • chore: Deprecate description truncation option for Redis spans (#​5073) by @​alexander-alderman-webb

  • chore: Deprecate max_spans LangChain parameter (#​5074) by @​alexander-alderman-webb

  • chore(toxgen): Check availability of pip and add detail to exceptions (#​5076) by @​alexander-alderman-webb

  • chore: add MCP SDK Pydantic AI and OpenAI Agents to the list of auto enabled integrations (#​5111) by @​constantinius

  • test: add tests for either FastMCP implementation (#​5075) by @​constantinius

  • fix(ci): Re-enable skipped tests (#​5104) by @​sentrivana

  • ci: 🤖 Update test matrix with new releases (11/17) (#​5110) by @​github-actions

  • ci: Force coverage core ctrace for 3.14 (#​5108) by @​sl0thentr0py


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 | Confidence | |---|---|---|---| | [sentry-sdk](https://github.com/getsentry/sentry-python) ([changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)) | `>=2.44.0` -> `>=2.45.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/sentry-sdk/2.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sentry-sdk/2.44.0/2.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-python (sentry-sdk)</summary> ### [`v2.45.0`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2450) [Compare Source](https://github.com/getsentry/sentry-python/compare/2.44.0...2.45.0) ##### Various fixes & improvements - OTLPIntegration ([#&#8203;4877](https://github.com/getsentry/sentry-python/issues/4877)) by [@&#8203;sl0thentr0py](https://github.com/sl0thentr0py) Enable the new OTLP integration with the code snippet below, and your OpenTelemetry instrumentation will be automatically sent to Sentry's OTLP ingestion endpoint. ```python import sentry_sdk from sentry_sdk.integrations.otlp import OTLPIntegration sentry_sdk.init( dsn="<your-dsn>", # Add data like inputs and responses; # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info send_default_pii=True, integrations=[ OTLPIntegration(), ], ) ``` Under the hood, this will setup: - A `SpanExporter` that will automatically set up the OTLP ingestion endpoint from your DSN - A `Propagator` that ensures Distributed Tracing works - Trace/Span linking for all other Sentry events such as Errors, Logs, Crons and Metrics If you were using the `SentrySpanProcessor` before, we recommend migrating over to `OTLPIntegration` since it's a much simpler setup. - feat(integrations): implement context management for invoke\_agent spans ([#&#8203;5089](https://github.com/getsentry/sentry-python/issues/5089)) by [@&#8203;constantinius](https://github.com/constantinius) - feat(loguru): Capture extra ([#&#8203;5096](https://github.com/getsentry/sentry-python/issues/5096)) by [@&#8203;sentrivana](https://github.com/sentrivana) - feat: Attach `server.address` to metrics ([#&#8203;5113](https://github.com/getsentry/sentry-python/issues/5113)) by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) - fix: Cast message and detail attributes before appending exception notes ([#&#8203;5114](https://github.com/getsentry/sentry-python/issues/5114)) by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) - fix(integrations): ensure that GEN\_AI\_AGENT\_NAME is properly set for GEN\_AI spans under an invoke\_agent span ([#&#8203;5030](https://github.com/getsentry/sentry-python/issues/5030)) by [@&#8203;constantinius](https://github.com/constantinius) - fix(logs): Update `sentry.origin` ([#&#8203;5112](https://github.com/getsentry/sentry-python/issues/5112)) by [@&#8203;sentrivana](https://github.com/sentrivana) - chore: Deprecate description truncation option for Redis spans ([#&#8203;5073](https://github.com/getsentry/sentry-python/issues/5073)) by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) - chore: Deprecate `max_spans` LangChain parameter ([#&#8203;5074](https://github.com/getsentry/sentry-python/issues/5074)) by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) - chore(toxgen): Check availability of pip and add detail to exceptions ([#&#8203;5076](https://github.com/getsentry/sentry-python/issues/5076)) by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) - chore: add MCP SDK Pydantic AI and OpenAI Agents to the list of auto enabled integrations ([#&#8203;5111](https://github.com/getsentry/sentry-python/issues/5111)) by [@&#8203;constantinius](https://github.com/constantinius) - test: add tests for either FastMCP implementation ([#&#8203;5075](https://github.com/getsentry/sentry-python/issues/5075)) by [@&#8203;constantinius](https://github.com/constantinius) - fix(ci): Re-enable skipped tests ([#&#8203;5104](https://github.com/getsentry/sentry-python/issues/5104)) by [@&#8203;sentrivana](https://github.com/sentrivana) - ci: 🤖 Update test matrix with new releases (11/17) ([#&#8203;5110](https://github.com/getsentry/sentry-python/issues/5110)) by [@&#8203;github-actions](https://github.com/github-actions) - ci: Force coverage core ctrace for 3.14 ([#&#8203;5108](https://github.com/getsentry/sentry-python/issues/5108)) by [@&#8203;sl0thentr0py](https://github.com/sl0thentr0py) </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:eyJjcmVhdGVkSW5WZXIiOiI0Mi41LjIiLCJ1cGRhdGVkSW5WZXIiOiI0Mi41LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
renovate added the
dependencies
label 2025-11-19 03:01:05 +00:00
renovate added 1 commit 2025-11-19 03:01:05 +00:00
Update dependency sentry-sdk to >=2.45.0
All checks were successful
Tests / test (push) Successful in 29s
aa40027f0a
tobru merged commit bcca366381 into main 2025-11-20 08:02:50 +00:00
tobru deleted branch renovate/sentry-sdk-2.x 2025-11-20 08:02:51 +00:00
Sign in to join this conversation.
No description provided.