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: b9899f8
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: ec6f520
Choose a head ref
  • 12 commits
  • 30 files changed
  • 1 contributor

Commits on Jul 8, 2026

  1. ref(integrations): route HTTP header filtering through data collectio…

    …n config
    
    `_filter_headers` previously used a hardcoded sensitive-header tuple and a
    `send_default_pii`/`use_annotated_value` toggle. It now delegates to
    `_apply_key_value_collection_filtering` from `sentry_sdk.data_collection`,
    so header scrubbing respects the new `data_collection.http_headers.request`
    allowlist/denylist/off configuration.
    
    Cookie and set-cookie headers are
    always redacted regardless of mode. Drops the now-unused
    `use_annotated_value` parameter from all call sites.
    
    Work to scrub cookies in a more granular way will be tackled as part of
    PY-2581/#6741.
    
    Fixes PY-2584
    Fixes #6744
    ericapisani committed Jul 8, 2026
    Configuration menu
    Copy the full SHA
    7541460 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2026

  1. Configuration menu
    Copy the full SHA
    5e9f610 View commit details
    Browse the repository at this point in the history
  2. Make changes to adjust to the data collection option being within the…

    … _experiments property in the client
    ericapisani committed Jul 9, 2026
    Configuration menu
    Copy the full SHA
    a590c8e View commit details
    Browse the repository at this point in the history
  3. fix test

    ericapisani committed Jul 9, 2026
    Configuration menu
    Copy the full SHA
    16ed0c8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    486f0bc View commit details
    Browse the repository at this point in the history
  5. add test coverage for edge case around host header being dropped but …

    …still being needed for the url attribute
    ericapisani committed Jul 9, 2026
    Configuration menu
    Copy the full SHA
    7d14a81 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bb98334 View commit details
    Browse the repository at this point in the history
  7. fix(aws-lambda): Remove vendored deps from new embedded-sdk test fixt…

    …ures
    
    The new lambda_functions_with_embedded_sdk fixture directories were
    missing the .gitignore that the other fixtures use to keep everything
    except index.py untracked. As a result, certifi and urllib3 packages
    installed by the test setup got committed, and ruff failed CI linting
    against them since they're unmodified third-party code.
    
    Add the missing .gitignore to each new fixture directory and remove
    the committed vendored packages; they are regenerated automatically at
    test time via `uv pip install --target`.
    ericapisani committed Jul 9, 2026
    Configuration menu
    Copy the full SHA
    61d1618 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    951c408 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2026

  1. feat(integrations): apply data_collection cookie filtering to wsgi, s…

    …tarlette, litestar, starlite
    
    Extends the granular cookie collection controls (data_collection.cookies)
    to _wsgi_common, starlette, litestar, and starlite, matching the behavior
    already used elsewhere. Falls back to should_send_default_pii() when
    data_collection is not configured for cookies.
    
    HTTP "Cookie" and "set-cookie" headers will continue to be completely filtered
    with the "[Filtered]" value.
    
    Fixes PY-2581
    Fixes #6741
    ericapisani committed Jul 10, 2026
    Configuration menu
    Copy the full SHA
    a19be39 View commit details
    Browse the repository at this point in the history
  2. fix(integrations): omit cookies field when data_collection cookies mo…

    …de is off
    
    Previously the async request extractors attached an empty cookies dict
    when the data_collection cookies mode was off, while sync route handlers
    omitted it entirely. Make all integrations consistent by not attaching
    the cookies field at all when filtering yields no cookies.
    ericapisani committed Jul 10, 2026
    Configuration menu
    Copy the full SHA
    620e222 View commit details
    Browse the repository at this point in the history
  3. update tornado test

    ericapisani committed Jul 10, 2026
    Configuration menu
    Copy the full SHA
    ec6f520 View commit details
    Browse the repository at this point in the history
Loading