-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency sentry-sdk to v1.40.4 #139
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #139 +/- ##
=======================================
Coverage 88.23% 88.23%
=======================================
Files 72 72
Lines 6275 6275
=======================================
Hits 5537 5537
Misses 738 738 ☔ View full report in Codecov by Sentry. |
b26279a
to
11ee45b
Compare
11ee45b
to
73940e2
Compare
73940e2
to
1b7fcfd
Compare
1b7fcfd
to
5f938da
Compare
5f938da
to
6698b16
Compare
6698b16
to
8489051
Compare
8489051
to
2e6c36e
Compare
2e6c36e
to
8c080b4
Compare
8c080b4
to
17d8062
Compare
17d8062
to
841fe66
Compare
841fe66
to
557ce81
Compare
557ce81
to
ca9cfb2
Compare
ca9cfb2
to
5d0baa2
Compare
5d0baa2
to
1952803
Compare
1952803
to
85d6a52
Compare
85d6a52
to
bd81529
Compare
bd81529
to
3fa6cf6
Compare
3fa6cf6
to
ac5cc93
Compare
ac5cc93
to
55ba75e
Compare
55ba75e
to
79d410e
Compare
79d410e
to
b94743c
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
==1.14.0
->==1.40.4
Release Notes
getsentry/sentry-python (sentry-sdk)
v1.40.4
Compare Source
Various fixes & improvements
aa7058c
to6121fd3
(#2724) by @dependabotv1.40.3
Compare Source
Various fixes & improvements
v1.40.2
Compare Source
Various fixes & improvements
pytest
error (#2712) by @szokeasaurusrexv1.40.1
Compare Source
Various fixes & improvements
gevent
(#2694) by @sentrivanaengine.url
beingNone
(#2708) by @sentrivanasentry_sdk.utils._generate_installed_modules
(#2703) by @GlenWalkercodecov/codecov-action
from 3 to 4 (#2706) by @dependabotactions/cache
from 3 to 4 (#2661) by @dependabotactions/checkout
from 3.1.0 to 4.1.1 (#2561) by @dependabotgithub/codeql-action
from 2 to 3 (#2603) by @dependabotactions/setup-python
from 4 to 5 (#2577) by @dependabotv1.40.0
Compare Source
Various fixes & improvements
UnicodeDecodeError
on Python 2 (#2657) by @sentrivanablack==24.1.0
(#2680) by @sentrivanasentry_sdk.trace
type hints (#2633) by @szokeasaurusrexcheckouts/data-schemas
frome9f7d58
toaa7058c
(#2639) by @dependabotv1.39.2
Compare Source
Various fixes & improvements
TypeError
for static and class methods (#2559) by @szokeasaurusrexctx
in Arq integration (#2600) by @ivanovartdata_category
fromcheck_in
tomonitor
(#2598) by @sentrivanav1.39.1
Compare Source
Various fixes & improvements
error_sampler
function (#2511) by @antonpirkeraiohttp
(#2590) by @antonpirkerv1.39.0
Compare Source
Various fixes & improvements
TypeError
with no-argumentapply_async
(#2575) by @szokeasaurusrexos.path.devnull
access issues (#2579) by @sentrivanacode.filepath
frame picking logic (#2568) by @sentrivanav1.38.0
Compare Source
Various fixes & improvements
event_processors
for checkins (#2536) by @antonpirkerjinja2
for generating CI yamls (#2534) by @sentrivanav1.37.1
Compare Source
Various fixes & improvements
NameError
onparse_version
with eventlet (#2532) by @sentrivana68def1e
toe9f7d58
(#2501) by @dependabotv1.37.0
Compare Source
Various fixes & improvements
Move installed modules code to utils (#2429) by @sentrivana
Note: We moved the internal function
_get_installed_modules
fromsentry_sdk.integrations.modules
tosentry_sdk.utils
.So if you use this function you have to update your imports
Add code locations for metrics (#2526) by @jan-auer
Add query source to DB spans (#2521) by @antonpirker
Send events to Spotlight sidecar (#2524) by @HazAT
Run integration tests with newest
pytest
(#2518) by @sentrivanaBring tests up to date (#2512) by @sentrivana
Fix: Prevent global var from being discarded at shutdown (#2530) by @antonpirker
Fix: Scope transaction source not being updated in scope.span setter (#2519) by @sl0thentr0py
v1.36.0
Compare Source
Various fixes & improvements
RedisIntegration
is disabled, unlessredis
is installed (#2504) by @szokeasaurusrexv1.35.0
Compare Source
Various fixes & improvements
Updated gRPC integration: Asyncio interceptors and easier setup (#2369) by @fdellekart
Our gRPC integration now instruments incoming unary-unary grpc requests and outgoing unary-unary, unary-stream grpc requests using grpcio channels. Everything works now for sync and async code.
Before this release you had to add Sentry interceptors by hand to your gRPC code, now the only thing you need to do is adding the
GRPCIntegration
to yousentry_sdk_init()
call. (See documentation for more information):The old way still works, but we strongly encourage you to update your code to the way described above.
Python 3.12: Replace deprecated datetime functions (#2502) by @sentrivana
Metrics: Unify datetime format (#2409) by @mitsuhiko
Celery: Set correct data in
check_in
s (#2500) by @antonpirkerCelery: Read timezone for Crons monitors from
celery_schedule
if existing (#2497) by @antonpirkerDjango: Removing redundant code in Django tests (#2491) by @vagi8
Django: Make reading the request body work in Django ASGI apps. (#2495) by @antonpirker
FastAPI: Use wraps on fastapi request call wrapper (#2476) by @nkaras
Fix: Probe for psycopg2 and psycopg3 parameters function. (#2492) by @antonpirker
Fix: Remove unnecessary TYPE_CHECKING alias (#2467) by @rafrafek
v1.34.0
Compare Source
Various fixes & improvements
connection_kwargs
inpatch_redis_client
(#2482) by @szokeasaurusrexv1.33.1
Compare Source
Various fixes & improvements
v1.33.0
Compare Source
Various fixes & improvements
error_sampler
option (#2456) by @szokeasaurusrexdebug
option also configurable via environment (#2450) by @antonpirkerget_dsn_parameters
is an actual function (#2441) by @sentrivanaredis
database spans (#2398) by @antonpirkerpath
patterns (#2452) by @sentrivanav1.32.0
Compare Source
Various fixes & improvements
Add GQL GraphQL integration (#2368) by @szokeasaurusrex
Usage:
Add Graphene GraphQL error integration (#2389) by @sentrivana
Usage:
Add Strawberry GraphQL error & tracing integration (#2393) by @sentrivana
Usage:
make sure to set async_execution to False if you're executing
GraphQL queries synchronously
Add Ariadne GraphQL error integration (#2387) by @sentrivana
Usage:
Capture multiple named groups again (#2432) by @sentrivana
Don't fail when upstream scheme is unusual (#2371) by @vanschelven
Support new RQ version (#2405) by @antonpirker
Remove
utcnow
,utcfromtimestamp
deprecated in Python 3.12 (#2415) by @rmad17Add
trace
to__all__
in top-level__init__.py
(#2401) by @lobsterkatieMove minimetrics code to the SDK (#2385) by @mitsuhiko
Add configurable compression levels (#2382) by @mitsuhiko
Shift flushing by up to a rollup window (#2396) by @mitsuhiko
Make a consistent noop flush behavior (#2428) by @mitsuhiko
Stronger recursion protection (#2426) by @mitsuhiko
Remove
OpenTelemetryIntegration
from__init__.py
(#2379) by @sentrivanaUpdate API docs (#2397) by @antonpirker
Pin some test requirements because new majors break our tests (#2404) by @antonpirker
Run more
requests
,celery
,falcon
tests (#2414) by @sentrivanaMove
importorskip
s in tests to__init__.py
files (#2412) by @sentrivanaFix
mypy
errors (#2433) by @sentrivanaFix pre-commit issues (#2424) by @bukzor-sentryio
Update CONTRIBUTING.md (#2411) by @sentrivana
Bump
sphinx
from 7.2.5 to 7.2.6 (#2378) by @dependabot[Experimental] Add explain plan to DB spans (#2315) by @antonpirker
v1.31.0
Compare Source
Various fixes & improvements
New: Add integration for
clickhouse-driver
(#2167) by @mimre25For more information, see the documentation for clickhouse-driver for more information.
Usage:
New: Add integration for
asyncpg
(#2314) by @mimre25For more information, see the documentation for asyncpg for more information.
Usage:
New: Allow to override
propagate_traces
inCelery
per task (#2331) by @jan-auerFor more information, see the documentation for Celery for more information.
Usage:
Enable global distributed traces (this is the default, just to be explicit.)
This will NOT propagate the trace. (The task will start its own trace):
v1.30.0
Compare Source
Various fixes & improvements
Officially support Python 3.11 (#2300) by @sentrivana
Context manager monitor (#2290) by @szokeasaurusrex
Set response status code in transaction
response
context. (#2312) by @antonpirkerAdd missing context kwarg to
_sentry_task_factory
(#2267) by @JohnnyDeussIn Postgres take the connection params from the connection (#2308) by @antonpirker
Experimental: Allow using OTel for performance instrumentation (#2272) by @sentrivana
This release includes experimental support for replacing Sentry's default
performance monitoring solution with one powered by OpenTelemetry without having
to do any manual setup.
Try it out by installing
pip install sentry-sdk[opentelemetry-experimental]
andthen initializing the SDK with:
...your usual options...
Enable backpressure handling by default (#2298) by @sl0thentr0py
The SDK now dynamically downsamples transactions to reduce backpressure in high
throughput systems. It starts a new
Monitor
thread to perform some health checkswhich decide to downsample (halved each time) in 10 second intervals till the system
is healthy again.
To disable this behavior, use:
...your usual options...
ThreadPoolExecutor
(#2259) by @gggritsoScope.update_from_*
(#2311) by @sentrivanais_sentry_url
to utils (#2304) by @szokeasaurusrex1b85152
toebc77d3
(#2254) by @dependabotv1.29.2
Compare Source
Various fixes & improvements
v1.29.1
Compare Source
Various fixes & improvements
v1.29.0
Compare Source
Various fixes & improvements
/graphql
endpoint and the response contains an error. You can opt out of this by providingcapture_graphql_errors=False
to the HTTP client integration.request_bodies
tomax_request_body_size
(#2247) by @mgalignianasample_rate
(#2279) by @szokeasaurusrexdb.system
to remaining Redis spans (#2271) by @AbhiPrasadv1.28.1
Compare Source
Various fixes & improvements
sentry-trace
andbaggage
) to HTTP requests to Sentry (#2240) by @antonpirkersentry-trace
header multiple times (#2235) by @antonpirkerv1.28.0
Compare Source
Various fixes & improvements
v1.27.1
Compare Source
Various fixes & improvements
{{ sentry_trace_meta }}
to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend.None
fortrace_configs
inaiohttp
(#2230) by @Harmon758v1.27.0
Compare Source
Various fixes & improvements
Support for SQLAlchemy 2.0 (#2200) by @antonpirker
Add instrumentation of
aiohttp
client requests (#1761) by @md384Add Django template tag for adding Sentry tracing information (#2222) by @antonpirker
{{ sentry_trace_meta }}
to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend.Update Flask HTML meta helper (#2203) by @antonpirker
Take trace ID always from propagation context (#2209) by @antonpirker
Fix trace context in event payload (#2205) by @antonpirker
Use new top level API in
trace_propagation_meta
(#2202) by @antonpirkerDo not overwrite existing baggage on outgoing requests (#2191, #2214) by @sentrivana
Set the transaction/span status from an OTel span (#2115) by @daniil-konovalenko
Fix propagation of OTel
NonRecordingSpan
(#2187) by @hartungstenioFix
TaskLockedException
handling in Huey integration (#2206) by @ZhenayAdd message format configuration arguments to Loguru integration (#2208) by @Gwill
Profiling: Add client reports for profiles (#2207) by @Zylphrex
CI: Fix CI (#2220) by @antonpirker
Dependencies: Bump
checkouts/data-schemas
from7fdde87
to1b85152
(#2218) by @dependabotDependencies: Bump
mypy
from 1.3.0 to 1.4.1 (#2194) by @dependabotDocs: Change API doc theme (#2210) by @sentrivana
Docs: Allow (some) autocompletion for top-level API (#2213) by @sentrivana
Docs: Revert autocomplete hack (#2224) by @sentrivana
v1.26.0
Compare Source
Various fixes & improvements
parse_url
calls incapture_internal_exceptions
(#2162) by @sentrivana0ed3357
to7fdde87
(#2165) by @dependabotv1.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 o
Configuration
📅 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.