-
Notifications
You must be signed in to change notification settings - Fork 544
Comparing changes
Open a pull request
base repository: getsentry/sentry-python
base: 2.9.0
head repository: getsentry/sentry-python
compare: 2.10.0
- 20 commits
- 28 files changed
- 9 contributors
Commits on Jul 10, 2024
-
getsentry-bot committed
Jul 10, 2024 Configuration menu - View commit details
-
Copy full SHA for 2cb2dca - Browse repository at this point
Copy the full SHA 2cb2dcaView commit details -
ref: Stop using
Hub
intracing_utils
(#3269)Get the client via `sentry_sdk.get_client()` instead. Prerequisite for #3265
Configuration menu - View commit details
-
Copy full SHA for 9d97d93 - Browse repository at this point
Copy the full SHA 9d97d93View commit details -
ref(types): Correct
ExcInfo
typePreviously, 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]`.
Configuration menu - View commit details
-
Copy full SHA for 1f17f46 - Browse repository at this point
Copy the full SHA 1f17f46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a0e883 - Browse repository at this point
Copy the full SHA 2a0e883View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3c8f9f - Browse repository at this point
Copy the full SHA f3c8f9fView commit details -
ref(tracing): Remove
Hub
inTransaction.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
Configuration menu - View commit details
-
Copy full SHA for 3461068 - Browse repository at this point
Copy the full SHA 3461068View commit details -
ref(tracing): Update
NoOpSpan.finish
signatureMake the same changes previously made to `Transaction.finish`.
Configuration menu - View commit details
-
Copy full SHA for 1c86489 - Browse repository at this point
Copy the full SHA 1c86489View commit details
Commits on Jul 11, 2024
-
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.
Configuration menu - View commit details
-
Copy full SHA for c359c82 - Browse repository at this point
Copy the full SHA c359c82View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfcd5b1 - Browse repository at this point
Copy the full SHA cfcd5b1View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 7996dca - Browse repository at this point
Copy the full SHA 7996dcaView commit details -
ref(init): Stop using
Hub
ininit
Use `Scope` APIs only in implementation for `sentry_sdk.init`, rather than `Hub` APIs.
Configuration menu - View commit details
-
Copy full SHA for 1e82809 - Browse repository at this point
Copy the full SHA 1e82809View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06d5da1 - Browse repository at this point
Copy the full SHA 06d5da1View commit details
Commits on Jul 12, 2024
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 4fb51f2 - Browse repository at this point
Copy the full SHA 4fb51f2View commit details -
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`.
Configuration menu - View commit details
-
Copy full SHA for 8a95971 - Browse repository at this point
Copy the full SHA 8a95971View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for ae034ab - Browse repository at this point
Copy the full SHA ae034abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 301c4b8 - Browse repository at this point
Copy the full SHA 301c4b8View commit details
Commits on Jul 15, 2024
-
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.
Configuration menu - View commit details
-
Copy full SHA for 84a2afc - Browse repository at this point
Copy the full SHA 84a2afcView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 5bad5c6 - Browse repository at this point
Copy the full SHA 5bad5c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c45640b - Browse repository at this point
Copy the full SHA c45640bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b026dbd - Browse repository at this point
Copy the full SHA b026dbdView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.9.0...2.10.0