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: 896fb6ed27fde27fa677e6e396f05996251bd962
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: c5a78526c87da0bc16da549c95601e2242f44458
Choose a head ref
  • 20 commits
  • 61 files changed
  • 8 contributors

Commits on Aug 12, 2024

  1. feat(api): Remove sentry_sdk.configure_scope (#3406)

    Also, remove any tests for `sentry_sdk.configure_scope`.
    
    Since Strawberry's deprecated [Sentry tracing extensions](https://strawberry.rocks/docs/extensions/sentry-tracing) import `sentry_sdk.configure_scope`, importing `strawberry.extensions.tracing.SentryTracingExtension` (or `SentryTracingExtensionSync`) will result in an unhandled exception. Therefore, these imports, and any functionality associated with them, have also been removed. This itself is not a breaking change, as it is necessitated by the removal of `sentry_sdk.configure_scope`.
    
    BREAKING CHANGE: Remove `sentry_sdk.configure_scope`.
    
    Closes: #3402
    szokeasaurusrex authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    fa38dc0 View commit details
  2. feat(api): Remove sentry_sdk.push_scope (#3408)

    Also, remove any tests that test `sentry_sdk.push_scope`.
    
    BREAKING CHANGE: Remove `sentry_sdk.push_scope`.
    
    Closes #3403
    szokeasaurusrex authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    7ac4d71 View commit details
  3. Copy the full SHA
    878bea7 View commit details
  4. release: 2.12.0

    getsentry-bot authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    9525fee View commit details
  5. Updated changelog

    antonpirker authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    2ce9f94 View commit details
  6. meta: Slim down PR template (#3382)

    Moved the maintainer part to the wiki.
    
    ---------
    
    Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
    sentrivana and szokeasaurusrex committed Aug 12, 2024
    Copy the full SHA
    09b07d0 View commit details
  7. Copy the full SHA
    b2546ea View commit details
  8. feat(integrations): Support Litestar (#2413) (#3358)

    Adds support for Litestar through a new LitestarIntegration based on porting the existing StarliteIntegration.
    Starlite was renamed Litestar as part of its move to version 2.0.
    
    Closes #2413
    
    ---------
    
    Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
    Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
    Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
    4 people committed Aug 12, 2024
    Copy the full SHA
    59dd0a5 View commit details
  9. feat(integrations): Add litestar and starlite to get_sdk_name (#3385)

    Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
    2 people authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    cbd8956 View commit details
  10. feat(integrations): Update StarliteIntegration to be more in line wit…

    …h new LitestarIntegration (#3384)
    
    The new LitestarIntegration was initially ported from the StarliteIntegration, but then had a thorough code review that resulted in use of type comments instead of type hints (the convention used throughout the repo), more concise code in several places, and additional/updated tests. This PR backports those improvements to the StarliteIntegration. See #3358.
    
    ---------
    
    Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
    2 people authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    e40d140 View commit details
  11. Copy the full SHA
    dd3111d View commit details
  12. feat(profiling): Add client sdk info to profile chunk (#3386)

    * feat(profiling): Add client sdk info to profile chunk
    
    We want to attach the client sdk info for debugging purposes.
    
    * address PR comments
    
    * use class syntax for typed dict
    
    * import Sequence from collections.abc
    
    * fix typing
    
    ---------
    
    Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
    2 people authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    8e65998 View commit details
  13. Copy the full SHA
    e9f7ebf View commit details
  14. Dramatiq integration from @jacobsvante (#3397)

    This is the code from [sentry-dramatiq](https://github.com/jacobsvante/sentry-dramatiq). 
    
    As described in this GitHub issue (#3387) @jacobsvante,  the original maintainer of this integration, is not doing any Python anymore and wants to donate his integration to Sentry so we can take care of it. 
    
    This PR adds the current version of the `DramatiqIntegration` to our repo. (The original integrations has been ported to the new SDK 2.x API)
    
    Fixes #3387
    ---------
    
    Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
    antonpirker and sentrivana committed Aug 12, 2024
    Copy the full SHA
    d829f8f View commit details
  15. test(sessions): Remove unnecessary line (#3418)

    We removed this line in #3354 since it is no longer needed, but it was apparently accidentally added back in #3357.
    szokeasaurusrex authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    735513e View commit details
  16. feat(transport): Remove HttpTransport hub_cls attribute (#3412)

    This change is a prerequisite for #3404.
    
    BREAKING CHANGE: Remove `sentry_sdk.transport.HttpTransport`'s `hub_cls` attribute.
    szokeasaurusrex authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    4a2e6e7 View commit details
  17. Copy the full SHA
    d56fe92 View commit details
  18. ref(sessions): Deprecate is_auto_session_tracking_enabled (#3428)

    Deprecate the Hub-based `is_auto_session_tracking_enabled` and the Scope-based `is_auto_session_tracking_enabled_scope`, and replace them with a new Scope-based private-API equivalent.
    
    Partially implements #3417
    szokeasaurusrex authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    2ca2e28 View commit details
  19. ref(sessions): Deprecate hub-based sessions.py logic (#3419)

    Make several changes to prepare for fully removing Hubs in the next major:
      - Deprecate the Hub-based `auto_session_tracking` function, replacing it with a new Scope-based function called `track_session`
      - Deprecate the scope-based `auto_session_tracking_scope` in favor of the new `track_session` function
      - Change usages of `auto_session_tracking_scope` to `track_sessions`. There are no usages of `auto_session_tracking` outside of tests.
      - Run all tests that were previously run against `auto_session_tracking` also against the new `track_session`. Previously, `auto_session_tracking_scope` was completely untested.
    
    Fixes #3417
    szokeasaurusrex authored and sentrivana committed Aug 12, 2024
    Copy the full SHA
    f9573a6 View commit details
  20. Origin improvements

    sentrivana committed Aug 12, 2024
    Copy the full SHA
    c5a7852 View commit details
Loading