8000 Comparing 2.41.0...2.42.0 · getsentry/sentry-python · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getsentry/sentry-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.41.0
Choose a base ref
...
head repository: getsentry/sentry-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.42.0
Choose a head ref
  • 10 commits
  • 36 files changed
  • 8 contributors

Commits on Oct 9, 2025

  1. Merge branch 'release/2.41.0'

    getsentry-bot committed Oct 9, 2025
    Configuration menu
    Copy the full SHA
    b7cda42 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2025

  1. feat(ai): Add python-genai integration (#4891)

    Adds support for `python-genai` integrations. It supports both sync and
    async clients, and both regular and streaming modes for interacting with
    models and building agents.
    
    Closes [PY-1733: Add agent monitoring support for
    `google-genai`](https://linear.app/getsentry/issue/PY-1733/add-agent-monitoring-support-for-google-genai)
    vgrozdanic authored Oct 10, 2025
    Configuration menu
    Copy the full SHA
    149a7da View commit details
    Browse the repository at this point in the history
  2. fix(Ray): Retain the original function name when patching Ray tasks (#…

    …4858)
    
    ### Description
    
    Without "@functools.wraps" added, Ray exposes Prometheus metrics with
    all tasks named "new_func"
    
    #### Issues
    
    * Follow up to
    [!4430](#4430) comments
    
    #### Reminders
    - Please add tests to validate your changes, and lint your code using
    `tox -e linters`.
    - Add GH Issue ID _&_ Linear ID (if applicable)
    - PR title should use [conventional
    commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type)
    style (`feat:`, `fix:`, `ref:`, `meta:`)
    - For external contributors:
    [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md),
    [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord
    community](https://discord.gg/Ww9hbqr)
    svartalf authored Oct 10, 2025
    Configuration menu
    Copy the full SHA
    97d6756 View commit details
    Browse the repository at this point in the history
  3. tests: Update tox (#4913)

    ### Description
    Updating tox + reorg the AI group alphabetically.
    
    New openai release doesn't work on 3.8, explicitly testing on 3.9+ from
    there
    
    Doing this now to unblock
    #4906 (comment)
    
    #### Issues
    <!--
    * resolves: #1234
    * resolves: LIN-1234
    -->
    
    #### Reminders
    - Please add tests to validate your changes, and lint your code using
    `tox -e linters`.
    - Add GH Issue ID _&_ Linear ID (if applicable)
    - PR title should use [conventional
    commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type)
    style (`feat:`, `fix:`, `ref:`, `meta:`)
    - For external contributors:
    [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md),
    [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord
    community](https://discord.gg/Ww9hbqr)
    sentrivana authored Oct 10, 2025
    Configuration menu
    Copy the full SHA
    f8b9069 View commit details
    Browse the repository at this point in the history
  4. feat: Add source information for slow outgoing HTTP requests (#4902)

    Add code source attributes to outgoing HTTP requests as described in
    getsentry/sentry-docs#15161. The attributes are only added if the time to receive a response to an HTTP request exceeds a configurable threshold value.
    
    Factors out functionality from SQL query source and tests that it works
    in the HTTP request setting.
    
    Closes #4881
    alexander-alderman-webb authored Oct 10, 2025
    Configuration menu
    Copy the full SHA
    cab17a4 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2025

  1. build(deps): bump github/codeql-action from 3 to 4 (#4916)

    Bumps [github/codeql-action](https://github.com/github/codeql-action)
    from 3 to 4.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/github/codeql-action/releases">github/codeql-action's
    releases</a>.</em></p>
    <blockquote>
    <h2>v3.30.8</h2>
    <h1>CodeQL Action Changelog</h1>
    <p>See the <a
    href="https://github.com/github/codeql-action/releases">releases
    page</a> for the relevant changes to the CodeQL CLI and language
    packs.</p>
    <h2>3.30.8 - 10 Oct 2025</h2>
    <p>No user facing changes.</p>
    <p>See the full <a
    href="https://github.com/github/codeql-action/blob/v3.30.8/CHANGELOG.md">CHANGELOG.md</a>
    for more information.</p>
    <h2>v3.30.7</h2>
    <h1>CodeQL Action Changelog</h1>
    <p>See the <a
    href="https://github.com/github/codeql-action/releases">releases
    page</a> for the relevant changes to the CodeQL CLI and language
    packs.</p>
    <h2>3.30.7 - 06 Oct 2025</h2>
    <p>No user facing changes.</p>
    <p>See the full <a
    href="https://github.com/github/codeql-action/blob/v3.30.7/CHANGELOG.md">CHANGELOG.md</a>
    for more information.</p>
    <h2>v3.30.6</h2>
    <h1>CodeQL Action Changelog</h1>
    <p>See the <a
    href="https://github.com/github/codeql-action/releases">releases
    page</a> for the relevant changes to the CodeQL CLI and language
    packs.</p>
    <h2>3.30.6 - 02 Oct 2025</h2>
    <ul>
    <li>Update default CodeQL bundle version to 2.23.2. <a
    href="https://redirect.github.com/github/codeql-action/pull/3168">#3168</a></li>
    </ul>
    <p>See the full <a
    href="https://github.com/github/codeql-action/blob/v3.30.6/CHANGELOG.md">CHANGELOG.md</a>
    for more information.</p>
    <h2>v3.30.5</h2>
    <h1>CodeQL Action Changelog</h1>
    <p>See the <a
    href="https://github.com/github/codeql-action/releases">releases
    page</a> for the relevant changes to the CodeQL CLI and language
    packs.</p>
    <h2>3.30.5 - 26 Sep 2025</h2>
    <ul>
    <li>We fixed a bug that was introduced in <code>3.30.4</code> with
    <code>upload-sarif</code> which resulted in files without a
    <code>.sarif</code> extension not getting uploaded. <a
    href="https://redirect.github.com/github/codeql-action/pull/3160">#3160</a></li>
    </ul>
    <p>See the full <a
    href="https://github.com/github/codeql-action/blob/v3.30.5/CHANGELOG.md">CHANGELOG.md</a>
    for more information.</p>
    <h2>v3.30.4</h2>
    <h1>CodeQL Action Changelog</h1>
    <p>See the <a
    href="https://github.com/github/codeql-action/releases">releases
    page</a> for the relevant changes to the CodeQL CLI and language
    packs.</p>
    <h2>3.30.4 - 25 Sep 2025</h2>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's
    changelog</a>.</em></p>
    <blockquote>
    <h2>3.29.4 - 23 Jul 2025</h2>
    <p>No user facing changes.</p>
    <h2>3.29.3 - 21 Jul 2025</h2>
    <p>No user facing changes.</p>
    <h2>3.29.2 - 30 Jun 2025</h2>
    <ul>
    <li>Experimental: When the <code>quality-queries</code> input for the
    <code>init</code> action is provided with an argument, separate
    <code>.quality.sarif</code> files are produced and uploaded for each
    language with the results of the specified queries. Do not use this in
    production as it is part of an internal experiment and subject to change
    at any time. <a
    href="https://redirect.github.com/github/codeql-action/pull/2935">#2935</a></li>
    </ul>
    <h2>3.29.1 - 27 Jun 2025</h2>
    <ul>
    <li>Fix bug in PR analysis where user-provided <code>include</code>
    query filter fails to exclude non-included queries. <a
    href="https://redirect.github.com/github/codeql-action/pull/2938">#2938</a></li>
    <li>Update default CodeQL bundle version to 2.22.1. <a
    href="https://redirect.github.com/github/codeql-action/pull/2950">#2950</a></li>
    </ul>
    <h2>3.29.0 - 11 Jun 2025</h2>
    <ul>
    <li>Update default CodeQL bundle version to 2.22.0. <a
    href="https://redirect.github.com/github/codeql-action/pull/2925">#2925</a></li>
    <li>Bump minimum CodeQL bundle version to 2.16.6. <a
    href="https://redirect.github.com/github/codeql-action/pull/2912">#2912</a></li>
    </ul>
    <h2>3.28.21 - 28 July 2025</h2>
    <p>No user facing changes.</p>
    <h2>3.28.20 - 21 July 2025</h2>
    <ul>
    <li>Remove support for combining SARIF files from a single upload for
    GHES 3.18, see <a
    href="https://github.blog/changelog/2024-05-06-code-scanning-will-stop-combining-runs-from-a-single-upload/">the
    changelog post</a>. <a
    href="https://redirect.github.com/github/codeql-action/pull/2959">#2959</a></li>
    </ul>
    <h2>3.28.19 - 03 Jun 2025</h2>
    <ul>
    <li>The CodeQL Action no longer includes its own copy of the extractor
    for the <code>actions</code> language, which is currently in public
    preview.
    The <code>actions</code> extractor has been included in the CodeQL CLI
    since v2.20.6. If your workflow has enabled the <code>actions</code>
    language <em>and</em> you have pinned
    your <code>tools:</code> property to a specific version of the CodeQL
    CLI earlier than v2.20.6, you will need to update to at least CodeQL
    v2.20.6 or disable
    <code>actions</code> analysis.</li>
    <li>Update default CodeQL bundle version to 2.21.4. <a
    href="https://redirect.github.com/github/codeql-action/pull/2910">#2910</a></li>
    </ul>
    <h2>3.28.18 - 16 May 2025</h2>
    <ul>
    <li>Update default CodeQL bundle version to 2.21.3. <a
    href="https://redirect.github.com/github/codeql-action/pull/2893">#2893</a></li>
    <li>Skip validating SARIF produced by CodeQL for improved performance.
    <a
    href="https://redirect.github.com/github/codeql-action/pull/2894">#2894</a></li>
    <li>The number of threads and amount of RAM used by CodeQL can now be
    set via the <code>CODEQL_THREADS</code> and <code>CODEQL_RAM</code>
    runner environment variables. If set, these environment variables
    override the <code>threads</code> and <code>ram</code> inputs
    respectively. <a
    href="https://redirect.github.com/github/codeql-action/pull/2891">#2891</a></li>
    </ul>
    <h2>3.28.17 - 02 May 2025</h2>
    <ul>
    <li>Update default CodeQL bundle version to 2.21.2. <a
    href="https://redirect.github.com/github/codeql-action/pull/2872">#2872</a></li>
    </ul>
    <h2>3.28.16 - 23 Apr 2025</h2>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/github/codeql-action/commit/a841c540b73bac7685691a2f930006ba52db3645"><code>a841c54</code></a>
    Scratch <code>uploadSpecifiedFiles</code> tests, make
    <code>uploadPayload</code> tests instead</li>
    <li><a
    href="https://github.com/github/codeql-action/commit/aeb12f6eaaa7419b7170f27dc3e2b5710203ff2d"><code>aeb12f6</code></a>
    Merge branch 'main' into redsun82/skip-sarif-upload-tests</li>
    <li><a
    href="https://github.com/github/codeql-action/commit/6fd4ceb7bbb8ec2746fd4d3a64b77787dffd9afc"><code>6fd4ceb</code></a>
    Merge pull request <a
    href="https://redirect.github.com/github/codeql-action/issues/3189">#3189</a>
    from github/henrymercer/download-codeql-rate-limit</li>
    <li><a
    href="https://github.com/github/codeql-action/commit/196a3e577b477ffb129cb35c7ed3ba72e6e2dbe7"><code>196a3e5</code></a>
    Merge pull request <a
    href="https://redirect.github.com/github/codeql-action/issues/3188">#3188</a>
    from github/mbg/telemetry/partial-config</li>
    <li><a
    href="https://github.com/github/codeql-action/commit/98abb870dcd6421594724ae220643e13baf90298"><code>98abb87</code></a>
    Add configuration error for rate limited CodeQL download</li>
    <li><a
    href="https://github.com/github/codeql-action/commit/bdd2cdf891a0a89c6680bd54c9ba63c80e440f75"><code>bdd2cdf</code></a>
    Also include <code>language</code> in error status report for
    <code>start-proxy</code>, if available</li>
    <li><a
    href="https://github.com/github/codeql-action/commit/fb148789ab863424b005147b4b018fe5691e5ccc"><code>fb14878</code></a>
    Include <code>languages</code> in <code>start-proxy</code>
    telemetry</li>
    <li><a
    href="https://github.com/github/codeql-action/commit/2ff418f28a66dd71cd80701e95ec26db12875f15"><code>2ff418f</code></a>
    Parse <code>language</code> before calling
    <code>getCredentials</code></li>
    <li>See full diff in <a
    href="https://github.com/github/codeql-action/compare/v3...v4">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    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-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    643d87e View commit details
    Browse the repository at this point in the history
  2. ci: 🤖 Update test matrix with new releases (10/13) (#4917)

    Update our test matrix with new releases of integrated frameworks and
    libraries.
    
    ## How it works
    - Scan PyPI for all supported releases of all frameworks we have a
    dedicated test suite for.
    - Pick a representative sample of releases to run our test suite
    against. We always test the latest and oldest supported version.
    - Update
    [tox.ini](https://github.com/getsentry/sentry-python/blob/master/tox.ini)
    with the new releases.
    
    ## Action required
    - If CI passes on this PR, it's safe to approve and merge. It means our
    integrations can handle new versions of frameworks that got pulled in.
    - If CI doesn't pass on this PR, this points to an incompatibility of
    either our integration or our test setup with a new version of a
    framework.
    - Check what the failures look like and either fix them, or update the
    [test
    config](https://github.com/getsentry/sentry-python/blob/master/scripts/populate_tox/config.py)
    and rerun
    [scripts/generate-test-files.sh](https://github.com/getsentry/sentry-python/blob/master/scripts/generate-test-files.sh).
    See
    [scripts/populate_tox/README.md](https://github.com/getsentry/sentry-python/blob/master/scripts/populate_tox/README.md)
    for what configuration options are available.
    
     _____________________
    
    _🤖 This PR was automatically created using [a GitHub
    action](https://github.com/getsentry/sentry-python/blob/master/.github/workflows/update-tox.yml)._
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
    github-actions[bot] and sentrivana authored Oct 13, 2025
    Configuration menu
    Copy the full SHA
    f99a17b View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2025

  1. release: 2.42.0

    getsentry-bot committed Oct 15, 2025
    Configuration menu
    Copy the full SHA
    4179fde View com 9A1B mit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c79da3f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc9ba3d View commit details
    Browse the repository at this point in the history
Loading
0