Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 15, 2025

Bumps sentry-sdk from 2.39.0 to 2.42.0.

Release notes

Sourced from sentry-sdk's releases.

2.42.0

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

2.41.0

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

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:

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

... (truncated)

Changelog

Sourced from sentry-sdk's changelog.

2.42.0

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

2.41.0

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

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:

    import sentry_sdk

... (truncated)

Commits
  • cc9ba3d Add snippet for enabling google genai to changelog
  • c79da3f Remove bot commits from changelog
  • 4179fde release: 2.42.0
  • f99a17b ci: 🤖 Update test matrix with new releases (10/13) (#4917)
  • 643d87e build(deps): bump github/codeql-action from 3 to 4 (#4916)
  • cab17a4 feat: Add source information for slow outgoing HTTP requests (#4902)
  • f8b9069 tests: Update tox (#4913)
  • 97d6756 fix(Ray): Retain the original function name when patching Ray tasks (#4858)
  • 149a7da feat(ai): Add python-genai integration (#4891)
  • b7cda42 Merge branch 'release/2.41.0'
  • Additional commits viewable in compare view

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)

Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.39.0 to 2.42.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@2.39.0...2.42.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-version: 2.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 15, 2025
@dependabot dependabot bot requested a review from a team as a code owner October 15, 2025 09:14
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 15, 2025
@pypi-combine-prs pypi-combine-prs bot mentioned this pull request Oct 15, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 15, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/sentry-sdk-2.42.0 branch October 15, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants