Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps sentry-sdk from 2.41.0 to 2.42.1.

Release notes

Sourced from sentry-sdk's releases.

2.42.1

Various fixes & improvements

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

Sourced from sentry-sdk's changelog.

2.42.1

Various fixes & improvements

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(),
        ],
    )
Commits
  • ae337ca release: 2.42.1
  • b12823e fix(gcp): Inject scopes in TimeoutThread exception with GCP (#4959)
  • 1ad7163 fix(aws): Inject scopes in TimeoutThread exception with AWS lambda (#4914)
  • 2e259ae fix(ai): add message trunction to anthropic (#4953)
  • 23ec398 fix(ai): add message truncation to langgraph (#4954)
  • cc432a6 fix: Default breadcrumbs value for events without breadcrumbs (#4952)
  • 843c062 fix(ai): add message truncation in langchain (#4950)
  • b11c2f2 fix(ai): correct size calculation, rename internal property for message trunc...
  • 814cd5a fix(ai): introduce message truncation for openai (#4946)
  • ca4df94 fix(openai): Use non-deprecated Pydantic method to extract response text (#4...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Python related labels Oct 20, 2025
@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.46%. Comparing base (e3cca08) to head (fa8d94a).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1000   +/-   ##
=======================================
  Coverage   68.46%   68.46%           
=======================================
  Files          71       71           
  Lines        2023     2023           
=======================================
  Hits         1385     1385           
  Misses        638      638           
Flag Coverage Δ
server 73.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.41.0 to 2.42.1.
- [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.41.0...2.42.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/server/sentry-sdk-2.42.1 branch from 9f05f4e to fa8d94a Compare October 24, 2025 18:55
@ericswpark ericswpark merged commit a26f3d7 into master Oct 24, 2025
10 checks passed
@ericswpark ericswpark deleted the dependabot/pip/server/sentry-sdk-2.42.1 branch October 24, 2025 18:57
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 Python related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants