Skip to content

Bump sentry-sdk from 1.5.12 to 2.40.0 - #402

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/sentry-sdk-2.40.0
Open

Bump sentry-sdk from 1.5.12 to 2.40.0#402
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/pip/sentry-sdk-2.40.0

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubOct 6, 2025

Copy link
Copy Markdown
Contributor

Bumps sentry-sdk from 1.5.12 to 2.40.0.

Release notes

Sourced from sentry-sdk's releases.

2.40.0

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:

    importsentry_sdkfromsentry_sdk.integrations.litellmimportLiteLLMIntegrationsentry_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 infosend_default_pii=True,
    integrations=[
    LiteLLMIntegration(),
    ],
    )
  • Litestar: Copy request info to prevent cookies mutation (#4883) by @​alexander-alderman-webb

  • Add tracing to DramatiqIntegration (#4571) by @​Igreh

  • Also emit spans for MCP tool calls done by the LLM (#4875) by @​constantinius

  • Option to not trace HTTP requests based on status codes (#4869) by @​alexander-alderman-webb You can now disable transactions for incoming requests with specific HTTP status codes. The new trace_ignore_status_codes option 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.

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

  • Move _set_agent_data call to ai_client_span function (#4876) by @​constantinius

  • Add script to determine lowest supported versions (#4867) by @​sentrivana

  • Update CONTRIBUTING.md (#4870) by @​sentrivana

2.39.0

Various fixes & improvements

... (truncated)

Changelog

Sourced from sentry-sdk's changelog.

2.40.0

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:

    importsentry_sdkfromsentry_sdk.integrations.litellmimportLiteLLMIntegrationsentry_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 infosend_default_pii=True,
    integrations=[
    LiteLLMIntegration(),
    ],
    )
  • Litestar: Copy request info to prevent cookies mutation (#4883) by @​alexander-alderman-webb

  • Add tracing to DramatiqIntegration (#4571) by @​Igreh

  • Also emit spans for MCP tool calls done by the LLM (#4875) by @​constantinius

  • Option to not trace HTTP requests based on status codes (#4869) by @​alexander-alderman-webb You can now disable transactions for incoming requests with specific HTTP status codes. The new trace_ignore_status_codes option 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.

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

  • Move _set_agent_data call to ai_client_span function (#4876) by @​constantinius

  • Add script to determine lowest supported versions (#4867) by @​sentrivana

  • Update CONTRIBUTING.md (#4870) by @​sentrivana

2.39.0

Various fixes & improvements

  • Fix(AI): Make agents integrations set the span status in case of error (#4820) by @​antonpirker
  • Fix(dedupe): Use weakref in dedupe where possible (#4834) by @​sl0thentr0py
  • Fix(Django): Avoid evaluating complex Django object in span.data/span.attributes (#4804) by @​antonpirker
  • Fix(Langchain): Don't record tool call output if not include_prompt / should_send_default_pii (#4836) by @​shellmayr

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.5.12 to 2.40.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-python@1.5.12...2.40.0)
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-version: 2.40.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 6, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filepythonPull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants