Thanks to visit codestin.com
Credit goes to github.com

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.9.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.10.0
Choose a head ref
  • 20 commits
  • 28 files changed
  • 9 contributors

Commits on Jul 10, 2024

  1. Merge branch 'release/2.9.0'

    getsentry-bot committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    2cb2dca View commit details
    Browse the repository at this point in the history
  2. ref: Stop using Hub in tracing_utils (#3269)

    Get the client via `sentry_sdk.get_client()` instead.
    
    Prerequisite for #3265
    szokeasaurusrex authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    9d97d93 View commit details
    Browse the repository at this point in the history
  3. ref(types): Correct ExcInfo type

    Previously, we defined `ExcInfo` as `tuple[Type[BaseException] | None, BaseException | None, TracebackType | None]`, when in fact, the correct type is the narrower `tuple[Type[BaseException], BaseException, TracebackType | None] | tuple[None, None, None]`.
    szokeasaurusrex committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    1f17f46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2a0e883 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f3c8f9f View commit details
    Browse the repository at this point in the history
  6. ref(tracing): Remove Hub in Transaction.finish

    Rename `Transaction.finish` method's `hub` parameter to `scope` (in a backwards-compatible manner), and update the method so that it is using `Scope` API under the hood as much as possible.
    
    Prerequisite for #3265
    szokeasaurusrex committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    3461068 View commit details
    Browse the repository at this point in the history
  7. ref(tracing): Update NoOpSpan.finish signature

    Make the same changes previously made to `Transaction.finish`.
    szokeasaurusrex committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    1c86489 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. ref(debug): Rename debug logging filter (#3260)

    Previous name said that this filter was "hub-based," when the logic in reality is not related to hubs. So, we should rename the filter to something more sensible.
    szokeasaurusrex authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    c359c82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfcd5b1 View commit details
    Browse the repository at this point in the history
  3. ref(hub): Delete _should_send_default_pii

    We don't use this function, and since it is marked as a private method, that means we can delete it.
    szokeasaurusrex committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    7996dca View commit details
    Browse the repository at this point in the history
  4. ref(init): Stop using Hub in init

    Use `Scope` APIs only in implementation for `sentry_sdk.init`, rather than `Hub` APIs.
    szokeasaurusrex committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    1e82809 View commit details
    Browse the repository at this point in the history
  5. ref(profiling): Deprecate hub in Profile (#3270)

    Related to #3265
    szokeasaurusrex authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    06d5da1 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Add the client cert and key support to HttpTransport (#3258)

    * Add the client cert and key support to HttpTransport
    
    * Add a test case for the two-way ssl support in HttpTransport
    
    * Move cert_file and key_file to the end of arguments in ClientConstructor in consts.py
    
    ---------
    
    Co-authored-by: Neel Shah <[email protected]>
    grammy-jiang and sl0thentr0py authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    4fb51f2 View commit details
    Browse the repository at this point in the history
  2. docs(init): Fix sentry_sdk.init type hint (#3283)

    The current type hint suggests that all the parameters can be passed as positional arguments, when this is not the case. Only the `dsn` can be passed as a positional argument; the rest must be passed as keyword arguments.
    
    This PR makes the type hint reflect the reality of what parameters can be passed to `sentry_sdk.init`.
    szokeasaurusrex authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    8a95971 View commit details
    Browse the repository at this point in the history
  3. ref(consts): Remove Python 2 compatibility code (#3284)

    All the versions we now support include `inspect.getfullargspec`, so we no longer need the backwards-compatible fallback.
    szokeasaurusrex authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ae034ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    301c4b8 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. feat(pymongo): Send query description as valid JSON (#3291)

    MongoDB queries were being sent as invalid JSON, since the keys and values were surrounded by single quotes instead of double quotes. Relay cannot parse the queries unless they are sent as valid JSON. This PR converts MongoDB queries into a JSON string before sending it on the span, so that Relay may properly parse it and extract metrics.
    0Calories authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    84a2afc View commit details
    Browse the repository at this point in the history
  2. feat(openai): Make tiktoken encoding name configurable + tiktoken usa…

    …ge opt-in (#3289)
    
    Make tiktoken encoding name configurable + tiktoken usage opt-in
    
    ---------
    
    Co-authored-by: Ivana Kellyer <[email protected]>
    colin-sentry and sentrivana authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    5bad5c6 View commit details
    Browse the repository at this point in the history
  3. release: 2.10.0

    getsentry-bot committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    c45640b View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG.md

    sentrivana authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    b026dbd View commit details
    Browse the repository at this point in the history
Loading