chore(deps): update dependency sentry-sdk to v1.25.1 #2424
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.22.2
->==1.25.1
Release Notes
getsentry/sentry-python
v1.25.1
Compare Source
Django update (ongoing)
Collections of improvements to our Django integration.
By: @mgaligniana (#1773)
Various fixes & improvements
Fix
parse_url
(#2161) by @sentrivana and @antonpirkerOur URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing
ValueError
s with"'Filtered' does not appear to be an IPv4 or IPv6 address"
, this release fixes that. See the original issue for more context.Better version parsing in integrations (#2152) by @antonpirker
We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as
2.0.0rc1
or2.0.5.post1
.Align HTTP status code as span data field
http.response.status_code
(#2113) by @antonpirkerDo not encode cached value to determine size (#2143) by @sentrivana
Fix using
unittest.mock
whenever available (#1926) by @mgornyFix 2.7
common
tests (#2145) by @sentrivanaBump
actions/stale
from6
to8
(#1978) by @dependabotBump
black
from22.12.0
to23.3.0
(#1984) by @dependabotBump
mypy
from1.2.0
to1.3.0
(#2110) by @dependabotBump
sphinx
from5.3.0
to7.0.1
(#2112) by @dependabotv1.25.0
Compare Source
Various fixes & improvements
Support urllib3>=2.0.0 (#2148) by @asottile-sentry
We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to
<2.0.0
manually in your project. Check out the the urllib3 migration guide for details.Auto-retry tests on failure (#2134) by @sentrivana
Correct
importlib.metadata
check intest_modules
(#2149) by @asottile-sentryFix distribution name normalization (PEP-0503) (#2144) by @rominf
Fix
functions_to_trace
typing (#2141) by @rcmarronv1.24.0
Compare Source
Various fixes & improvements
New: Celery Beat exclude tasks option (#2130) by @antonpirker
You can exclude Celery Beat tasks from being auto-instrumented. To do this, add a list of tasks you want to exclude as option
exclude_beat_tasks
when creatingCeleryIntegration
. The list can contain simple strings with the full task name, as specified in the Celery Beat schedule, or regular expressions to match multiple tasks.For more information, see the documentation for Crons for more information.
Usage:
In this example the task
some-task-a
and all tasks with a name starting withpayment-check-
will be ignored.New: Add support for ExceptionGroups (#2025) by @antonpirker
Note: If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry. Updating early will not break anything, but you will not get the full benefit of the Exception Groups improvements to issue grouping that were added to the Sentry backend.
Prefer
importlib.metadata
overpkg_resources
if available (#2081) by @sentrivanaWork with a copy of request, vars in the event (#2125) by @sentrivana
Pinned version of dependency that broke the build (#2133) by @antonpirker
v1.23.1
Compare Source
Various fixes & improvements
v1.23.0
Compare Source
Various fixes & improvements
New: Add
loguru
integration (#1994) by @PerchunPakCheck the documentation for more information.
Usage:
"I am an event"
will be created."I am a breadcrumb"
will be attached as a breadcrumb to that event.bar
will end up in theextra
attributes of that event."An exception happened"
will send the current exception fromsys.exc_info()
with the stack trace to Sentry. If there's no exception, the current stack will be attached."I am ignored"
will not be captured by Sentry. To capture it, setlevel
toDEBUG
or lower inLoguruIntegration
.Do not truncate request body if
request_bodies
is"always"
(#2092) by @sentrivanaFixed Celery headers for Beat auto-instrumentation (#2102) by @antonpirker
Add
db.operation
to Redis and MongoDB spans (#2089) by @antonpirkerMake sure we're importing
redis
the library (#2106) by @sentrivanaAdd
include_source_context
option (#2020) by @farhat-nawaz and @sentrivanaImport
Markup
frommarkupsafe
(#2047) by @rco-abletonFix
__qualname__
missing attribute in asyncio integration (#2105) by @sl0thentr0pyRemove relay extension from AWS Layer (#2068) by @sl0thentr0py
Add a note about
pip freeze
to the bug template (#2103) by @sentrivanaConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.