Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 14, 2025

This PR contains the following updates:

Package Change Age Confidence
sentry-sdk (changelog) ==2.25.1 -> ==2.42.0 age confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v2.42.0

Compare Source

Various fixes & improvements
  • feat: Add source information for slow outgoing HTTP requests (#​4902) by @​alexander-alderman-webb

  • tests: Update tox (#​4913) by @​sentrivana

  • fix(Ray): Retain the original function name when patching Ray tasks (#​4858) by @​svartalf

  • feat(ai): Add python-genai integration (#​4891) by @​vgrozdanic
    Enable the new Google GenAI integration with the code snippet below, and you can use the Sentry AI dashboards to observe your AI calls:

    import sentry_sdk
    from sentry_sdk.integrations.google_genai import GoogleGenAIIntegration
    sentry_sdk.init(
        dsn="<your-dsn>",

Set traces_sample_rate to 1.0 to capture 100%

of transactions for tracing.

  traces_sample_rate=1.0,

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=[
      GoogleGenAIIntegration(),
  ],

)

v2.41.0

Compare Source

Various fixes & improvements
  • feat: Add concurrent.futures patch to threading integration (#​4770) by @​alexander-alderman-webb

    The SDK now makes sure to automatically preserve span relationships when using ThreadPoolExecutor.

  • chore: Remove old metrics code (#​4899) by @​sentrivana

    Removed all code related to the deprecated experimental metrics feature (sentry_sdk.metrics).

  • ref: Remove "experimental" from log function name (#​4901) by @​sentrivana

  • fix(ai): Add mapping for gen_ai message roles (#​4884) by @​shellmayr

  • feat(metrics): Add trace metrics behind an experiments flag (#​4898) by @​k-fish

v2.40.0

Compare Source

Various fixes & improvements
  • Add LiteLLM integration (#​4864) by @​constantinius
    Once you've enabled the new LiteLLM integration, you can use the Sentry AI Agents Monitoring, a Sentry dashboard that helps you understand what's going on with your AI requests:

    import sentry_sdk
    from sentry_sdk.integrations.litellm import LiteLLMIntegration
    sentry_sdk.init(
        dsn="<your-dsn>",

Set traces_sample_rate to 1.0 to capture 100%

of transactions for tracing.

  traces_sample_rate=1.0,

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=[
      LiteLLMIntegration(),
  ],

)


- Litestar: Copy request info to prevent cookies mutation (#&#8203;4883) by @&#8203;alexander-alderman-webb
- Add tracing to `DramatiqIntegration` (#&#8203;4571) by @&#8203;Igreh
- Also emit spans for MCP tool calls done by the LLM (#&#8203;4875) by @&#8203;constantinius
- Option to not trace HTTP requests based on status codes (#&#8203;4869) by @&#8203;alexander-alderman-webb
You can now disable transactions for incoming requests with specific HTTP status codes. The [new `trace_ignore_status_codes` option](https://docs.sentry.io/platforms/python/configuration/options/#trace_ignore_status_codes) accepts a `set` of status codes as integers. If a transaction wraps a request that results in one of the provided status codes, the transaction will be unsampled.
  
```python
import sentry_sdk

sentry_sdk.init(
    trace_ignore_status_codes={301, 302, 303, *range(305, 400), 404},
)

v2.39.0

Compare Source

Various fixes & improvements

Note: This is my last release. So long, and thanks for all the fish! by @​antonpirker

v2.38.0

Compare Source

Various fixes & improvements

v2.37.1

Compare Source

Various fixes & improvements

v2.37.0

Compare Source

v2.36.0

Compare Source

Various fixes & improvements
import sentry_sdk
from sentry_sdk.integrations.unraisablehook import UnraisablehookIntegration

sentry_sdk.init(
    dsn="...",
    integrations=[
        UnraisablehookIntegration(),
    ]
)

v2.35.2

Compare Source

Various fixes & improvements

v2.35.1

Compare Source

Various fixes & improvements

v2.35.0

Compare Source

Various fixes & improvements

v2.34.1

Compare Source

Various fixes & improvements

v2.34.0

Compare Source

Various fixes & improvements

v2.33.2

Compare Source

Various fixes & improvements

v2.33.1

Compare Source

Various fixes & improvements

v2.33.0

Compare Source

Various fixes & improvements

v2.32.0

Compare Source

Various fixes & improvements

v2.31.0

Compare Source

Various fixes & improvements
import sentry_sdk
from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration

v2.30.0

Compare Source

Various fixes & improvements
  • New beta feature: Sentry logs for Loguru (#​4445) by @​sentrivana

    We can now capture Loguru logs and send them to Sentry.

import sentry_sdk
from sentry_sdk.integrations.loguru import LoguruIntegration

v2.29.1

Compare Source

Various fixes & improvements

v2.29.0

Compare Source

Various fixes & improvements

v2.28.0

Compare Source

Various fixes & improvements

v2.27.0

Compare Source

Various fixes & improvements

v2.26.1

Compare Source

Various fixes & improvements

v2.26.0

Compare Source

Various fixes & improvements

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency sentry-sdk to v2.35.0 Update dependency sentry-sdk to v2.35.1 Aug 26, 2025
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from f2d6709 to 4465d88 Compare August 26, 2025 17:09
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from 4465d88 to 976f5a1 Compare September 4, 2025 12:44
@renovate renovate bot changed the title Update dependency sentry-sdk to v2.35.1 Update dependency sentry-sdk to v2.36.0 Sep 4, 2025
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from 976f5a1 to c32f965 Compare September 5, 2025 13:26
@renovate renovate bot changed the title Update dependency sentry-sdk to v2.36.0 Update dependency sentry-sdk to v2.37.0 Sep 5, 2025
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from c32f965 to f57d5fd Compare September 9, 2025 18:01
@renovate renovate bot changed the title Update dependency sentry-sdk to v2.37.0 Update dependency sentry-sdk to v2.37.1 Sep 9, 2025
@renovate renovate bot changed the title Update dependency sentry-sdk to v2.37.1 Update dependency sentry-sdk to v2.38.0 Sep 15, 2025
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from f57d5fd to b674876 Compare September 15, 2025 19:03
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from b674876 to a7679bc Compare September 25, 2025 13:39
@renovate renovate bot changed the title Update dependency sentry-sdk to v2.38.0 Update dependency sentry-sdk to v2.39.0 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from a7679bc to 18abc19 Compare October 6, 2025 13:54
@renovate renovate bot changed the title Update dependency sentry-sdk to v2.39.0 Update dependency sentry-sdk to v2.40.0 Oct 6, 2025
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from 18abc19 to 00fc169 Compare October 9, 2025 17:47
@renovate renovate bot changed the title Update dependency sentry-sdk to v2.40.0 Update dependency sentry-sdk to v2.41.0 Oct 9, 2025
@renovate renovate bot force-pushed the renovate/sentry-sdk-2.x branch from 00fc169 to 508d00f Compare October 15, 2025 09:03
@renovate renovate bot changed the title Update dependency sentry-sdk to v2.41.0 Update dependency sentry-sdk to v2.42.0 Oct 15, 2025
@perllaghu perllaghu closed this Oct 15, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Oct 15, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==2.42.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/sentry-sdk-2.x branch October 15, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants