8000 Comparing 2.44.0...2.45.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.44.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.45.0
Choose a head ref
  • 18 commits
  • 46 files changed
  • 7 contributors

Commits on Nov 11, 2025

  1. Merge branch 'release/2.44.0'

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

Commits on Nov 12, 2025

  1. OTLPIntegration (#4877)

    * setup external propagation context to fetch `trace_id/span_id` from
    otel
    * setup otlp exporter with endpoint and headers taken from DSN 
    * setup propagator
    * exporter and propagator are setup by default, can be turned off in
    case people want to setup manually
    
    ### Issues
    * resolves #4935
    * resolves PY-1894
    sl0thentr0py authored Nov 12, 2025
    Configuration menu
    Copy the full SHA
    b8a0db2 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2025

  1. feat(loguru): Capture extra (#5096)

    ### Description
    Add `extra` from records to attributes.
    
    Note: This doesn't fully fix
    #4475 since we still
    don't have a good way to get the raw, unformatted message, but it's an
    improvement.
    
    #### Issues
    Related to #4475
    sentrivana authored Nov 13, 2025
    Configuration menu
    Copy the full SHA
    9e14920 View commit details
    Browse the repository at this point in the history
  2. feat(integrations): implement context management for invoke_agent spa…

    …ns (#5089)
    
    - Introduced context variables to manage nested invoke_agent spans
    safely.
    - Added functions to push and pop spans from the context stack.
    - Updated existing code to utilize context variables instead of Sentry
    scope for agent management.
    - Enhanced execute_tool_span to support parent-child relationships
    between spans.
    
    This change improves the handling of agent spans during nested calls,
    ensuring better traceability and isolation of spans in asynchronous
    contexts.
    
    ### Description
    <!-- What changed and why? -->
    
    #### Issues
    * Closes
    https://linear.app/getsentry/issue/TET-1388/pydantic-ai-replace-current-scope-context-with-contextvar
    * Closes
    https://linear.app/getsentry/issue/TET-1373/pydantic-ai-wrong-hierarchy-of-execute-tool-spans
    
    #### 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)
    constantinius authored Nov 13, 2025
    Configuration menu
    Copy the full SHA
    3101fe0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0aebb18 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2025

  1. fix(ci): Re-enable skipped tests (#5104)

    ### Description
    We had to resort to skipping two tests in
    https://github.com/getsentry/sentry-python/pull/5088/files since they
    were blocking the release. Re-enabling them here.
    
    It looks like the worst of the flakiness comes with newer coverage
    (>=7.11.1). Pinning it here.
    
    #### Issues
    Closes #5101
    Closes https://linear.app/getsentry/issue/PY-1974/fix-skipped-tests
    
    #### 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 Nov 14, 2025
    Configuration menu
    Copy the full SHA
    2f3d023 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2025

  1. ci: 🤖 Update test matrix with new releases (11/17) (#5110)

    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 Nov 17, 2025
    Configuration menu
    Copy the full SHA
    17284be View commit details
    Browse the repository at this point in the history
  2. chore: add MCP SDK Pydantic AI and OpenAI Agents to the list of auto …

    …enabled integrations (#5111)
    
    Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
    constantinius and sentrivana authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    3bc1d17 View commit details
    Browse the repository at this point in the history
  3. chore(toxgen): Check availability of pip and add detail to exceptions (

    …#5076)
    
    Exit `populate_tox.py` early if `pip` module is not available, and add a
    suggestion for running the script.
    alexander-alderman-webb authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    c6ad9ac View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2025

  1. fix(logs): Update sentry.origin (#5112)

    ### Description
    See #4907
    
    #### Issues
    Closes #4907
    Closes
    https://linear.app/getsentry/issue/PY-1878/ensure-the-python-sdk-sets-sentryorigin-for-structured-logs-according
    
    #### 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 Nov 18, 2025
    Configuration menu
    Copy the full SHA
    c4d0ba8 View commit details
    Browse the repository at this point in the history
  2. chore: Deprecate max_spans LangChain parameter (#5074)

    Set the default value of the `max_spans` parameter of `LangchainIntegration`
    to `None`, so that LangChain spans are not exited early by default.
    
    Deprecate the parameter and announce its removal in the next major release.
    
    Closes #4985
    alexander-alderman-webb authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    25999b5 View commit details
    Browse the repository at this point in the history
  3. chore: Deprecate description truncation option for Redis spans (#5073)

    Set the default value of the `max_data_size` parameter of `RedisIntegration`
    to `None`, so that Redis span descriptions are not truncated by default.
    
    Deprecate the parameter and announce its removal in the next major release.
    
    Closes #4990
    alexander-alderman-webb authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    c4071b3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    66be3d2 View commit details
    Browse the repository at this point in the history
  5. test: add tests for either FastMCP implementation (#5075)

    #### Issues
    Closes https://linear.app/getsentry/issue/TET-1329/fastmcp-tests
    
    #### 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)
    constantinius authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    f89d77b View commit details
    Browse the repository at this point in the history
  6. fix(integrations): ensure that GEN_AI_AGENT_NAME is properly set for …

    …GEN_AI spans under an invoke_agent span (#5030)
    
    ### Description
    
    chat and execute tool spans under an invoke agent span should have the
    agent name property set
    
    #### Issues
    Closes
    https://linear.app/getsentry/issue/TET-1293/make-sure-that-agent-name-is-set-on-all-of-its-gen-ai-children
    
    ---------
    
    Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
    constantinius and sentrivana authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    14aff96 View commit details
    Browse the repository at this point in the history
  7. fix: Cast message and detail attributes before appending exception no…

    …tes (#5114)
    
    Cast `message` and `detail` attributes on exceptions to string before
    generating the `value` of the Sentry exception.
    
    Prevents an unhandled `TypeError` when these attributes are `bytes`, as
    `get_error_message()` attempts to append string exception notes.
    
    Resolves the exception described in
    #5050.
    alexander-alderman-webb authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    c68c3d6 View commit details
    Browse the repository at this point in the history
  8. release: 2.45.0

    getsentry-bot committed Nov 18, 2025
    Configuration menu
    Copy the full SHA
    a7b008e View commit details
    Browse the repository at this point in the history
  9. Polish changelog

    sl0thentr0py committed Nov 18, 2025
    Configuration menu
    Copy the full SHA
    8adce74 View commit details
    Browse the repository at this point in the history
Loading
0