NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #217 most downloaded on PyPI
Python client for Sentry (https://sentry.io)
Latest stable
2.75.0
Last release 3 days ago
19 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
8 years old
360 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Better handling of redis span/breadcrumb data (#2033) by @antonpirker
Better handling of redis span/breadcrumb data (#2033) by @antonpirker
Note: With this release we will limit the description of redis db spans and the data in breadcrumbs represting redis db operations to 1024 characters.
This can can lead to truncated data. If you do not want this there is a new parameter max_data_size in RedisIntegration. You can set this to None for disabling trimming.
Example for disabling trimming of redis commands in spans or breadcrumbs:
sentry_sdk.init(
integrations=[
RedisIntegration(max_data_size=None),
]
)
Example for custom trim size of redis commands in spans or breadcrumbs:
sentry_sdk.init(
integrations=[
RedisIntegration(max_data_size=50),
]
)`
Add db.system to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037) by @AbhiPrasad
Upgraded linting tooling (#2026) by @antonpirker
Made code more resilient. (#2031) by @antonpirker
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix: Using the Codecov uploader instead of deprecated python package (#2011) by @antonpirker
Send all events to /envelope endpoint when tracing is enabled (#2009) by @antonpirker
Note: If you’re self-hosting Sentry 9, you need to stay in the previous version of the SDK or update your self-hosted to at least 20.6.0
Profiling: Remove profile context from SDK (#2013) by @Zylphrex
Profiling: Additionl performance improvements to the profiler (#1991) by @Zylphrex
Fix: Celery Beat monitoring without restarting the Beat process (#2001) by @antonpirker
Fix: Using the Codecov uploader instead of deprecated python package (#2011) by @antonpirker
Fix: Support for Quart (#2003)` (#2003) by @antonpirker
Make auto monitoring beat update support Celery 4 and 5 (#1989) by @antonpirker
New: Celery Beat auto monitoring (#1967) by @antonpirker
New: Celery Beat auto monitoring (#1967) by @antonpirker
The CeleryIntegration can now also monitor your Celery Beat scheduled tasks automatically using the new Crons feature of Sentry.
To learn more see our Celery Beat Auto Discovery documentation.
Usage:
from celery import Celery, signals
from celery.schedules import crontab
import sentry_sdk
from sentry_sdk.integrations.celery import CeleryIntegration
app = Celery('tasks', broker='...')
app.conf.beat_schedule = {
'set-in-beat-schedule': {
'task': 'tasks.some_important_task',
'schedule': crontab(...),
},
}
@signals.celeryd_init.connect
def init_sentry(**kwargs):
sentry_sdk.init(
dsn='...',
integrations=[CeleryIntegration(monitor_beat_tasks=True)], # 👈 here
environment="local.dev.grace",
release="v1.0",
)
This will auto detect all schedules tasks in your beat_schedule and will monitor them with Sentry Crons.
New: gRPC integration (#1911) by @hossein-raeisi
The gRPC integration instruments all incoming requests and outgoing unary-unary, unary-stream grpc requests using grpcio channels.
To learn more see our gRPC Integration documentation.
On the server:
import grpc
from sentry_sdk.integrations.grpc.server import ServerInterceptor
server = grpc.server(
thread_pool=...,
interceptors=[ServerInterceptor()],
)
On the client:
import grpc
from sentry_sdk.integrations.grpc.client import ClientInterceptor
with grpc.insecure_channel("example.com:12345") as channel:
channel = grpc.intercept_channel(channel, *[ClientInterceptor()])
New: socket integration (#1911) by @hossein-raeisi
Use this integration to create spans for DNS resolves (socket.getaddrinfo()) and connection creations (socket.create_connection()).
To learn more see our Socket Integration documentation.
Usage:
import sentry_sdk
from sentry_sdk.integrations.socket import SocketIntegration
sentry_sdk.init(
dsn="___PUBLIC_DSN___",
integrations=[
SocketIntegration(),
],
)
Fix: Do not trim span descriptions. (#1983) by @antonpirker
New: Implement EventScrubber (#1943) by @sl0thentr0py
New: Implement EventScrubber (#1943) by @sl0thentr0py
To learn more see our Scrubbing Sensitive Data documentation.
Add a new EventScrubber class that scrubs certain potentially sensitive interfaces with a DEFAULT_DENYLIST. The default scrubber is automatically run if send_default_pii = False:
import sentry_sdk
from sentry_sdk.scrubber import EventScrubber
sentry_sdk.init(
# ...
send_default_pii=False,
event_scrubber=EventScrubber(), # this is set by default
)
You can also pass in a custom denylist to the EventScrubber class and filter additional fields that you want.
from sentry_sdk.scrubber import EventScrubber, DEFAULT_DENYLIST
# custom denylist
denylist = DEFAULT_DENYLIST + ["my_sensitive_var"]
sentry_sdk.init(
# ...
send_default_pii=False,
event_scrubber=EventScrubber(denylist=denylist),
)
New: Added new functions_to_trace option for central way of performance instrumentation (#1960) by @antonpirker
To learn more see our Tracing Options documentation.
An optional list of functions that should be set up for performance monitoring. For each function in the list, a span will be created when the function is executed.
functions_to_trace = [
{"qualified_name": "tests.test_basics._hello_world_counter"},
{"qualified_name": "time.sleep"},
{"qualified_name": "collections.Counter.most_common"},
]
sentry_sdk.init(
# ...
traces_sample_rate=1.0,
functions_to_trace=functions_to_trace,
)
Updated denylist to include other widely used cookies/headers (#1972) by @antonpirker
Forward all sentry- baggage items (#1970) by @cleptric
Update OSS licensing (#1973) by @antonpirker
Profiling: Handle non frame types in profiler (#1965) by @Zylphrex
Tests: Bad arq dependency in tests (#1966) by @Zylphrex
Better naming (#1962) by @antonpirker
Deprecated with_locals in favor of include_local_variables (#1924) by @antonpirker
New: Monitor Celery Beat tasks with Sentry Cron Monitoring.
With this feature you can make sure that your Celery beat tasks run at the right time and see if they where successful or not.
Warning Cron Monitoring is currently in beta. Beta features are still in-progress and may have bugs. We recognize the irony. If you have any questions or feedback, please email us at crons-feedback@sentry.io, reach out via Discord (#cronjobs), or open an issue.
Usage:
# File: tasks.py
from celery import Celery, signals
from celery.schedules import crontab
import sentry_sdk
from sentry_sdk.crons import monitor
from sentry_sdk.integrations.celery import CeleryIntegration
# 1. Setup your Celery beat configuration
app = Celery('mytasks', broker='redis://localhost:6379/0')
app.conf.beat_schedule = {
'set-in-beat-schedule': {
'task': 'tasks.tell_the_world',
'schedule': crontab(hour='10', minute='15'),
'args': ("in beat_schedule set", ),
},
}
# 2. Initialize Sentry either in `celeryd_init` or `beat_init` signal.
#@signals.celeryd_init.connect
@signals.beat_init.connect
def init_sentry(**kwargs):
sentry_sdk.init(
dsn='...',
integrations=[CeleryIntegration()],
environment="local.dev.grace",
release="v1.0.7-a1",
)
# 3. Link your Celery task to a Sentry Cron Monitor
@app.task
@monitor(monitor_slug='3b861d62-ff82-4aa0-9cd6-b2b6403bd0cf')
def tell_the_world(msg):
print(msg)
New: Add decorator for Sentry tracing (#1089) by @ynouri
This allows you to use a decorator to setup custom performance instrumentation.
To learn more see Custom Instrumentation.
Usage: Just add the new decorator to your function, and a span will be created for it:
import sentry_sdk
@sentry_sdk.trace
def my_complex_function():
# do stuff
...
Make Django signals tracing optional (#1929) by @antonpirker
See the Django Guide to learn more.
Deprecated with_locals in favor of include_local_variables (#1924) by @antonpirker
Added top level API to get current span (#1954) by @antonpirker
Profiling: Add profiler options to init (#1947) by @Zylphrex
Profiling: Set active thread id for quart (#1830) by @Zylphrex
Fix: Update get_json function call for werkzeug 2.1.0+ (#1939) by @michielderoos
Fix: Returning the tasks result. (#1931) by @antonpirker
Fix: Rename MYPY to TYPE_CHECKING (#1934) by @untitaker
Fix: Fix type annotation for ignore_errors in sentry_sdk.init() (#1928) by @tiangolo
Tests: Start a real http server instead of mocking libs (#1938) by @antonpirker
Remove deprecated tracestate (#1907) by @sl0thentr0py
New: Add arq Integration (#1872) by @Zhenay
This integration will create performance spans when arq jobs will be enqueued and when they will be run. It will also capture errors in jobs and will link them to the performance spans.
Usage:
import asyncio
from httpx import AsyncClient
from arq import create_pool
from arq.connections import RedisSettings
import sentry_sdk
from sentry_sdk.integrations.arq import ArqIntegration
from sentry_sdk.tracing import TRANSACTION_SOURCE_COMPONENT
sentry_sdk.init(
dsn="...",
integrations=[ArqIntegration()],
)
async def download_content(ctx, url):
session: AsyncClient = ctx['session']
response = await session.get(url)
print(f'{url}: {response.text:.80}...')
return len(response.text)
async def startup(ctx):
ctx['session'] = AsyncClient()
async def shutdown(ctx):
await ctx['session'].aclose()
async def main():
with sentry_sdk.start_transaction(name="testing_arq_tasks", source=TRANSACTION_SOURCE_COMPONENT):
redis = await create_pool(RedisSettings())
for url in ('https://facebook.com', 'https://microsoft.com', 'https://github.com', "asdf"
):
await redis.enqueue_job('download_content', url)
class WorkerSettings:
functions = [download_content]
on_startup = startup
on_shutdown = shutdown
if __name__ == '__main__':
asyncio.run(main())
Update of Falcon Integration (#1733) by @bartolootrit
Adding Cloud Resource Context integration (#1882) by @antonpirker
Profiling: Use the transaction timestamps to anchor the profile (#1898) by @Zylphrex
Profiling: Add debug logs to profiling (#1883) by @Zylphrex
Profiling: Start profiler thread lazily (#1903) by @Zylphrex
Fixed checks for structured http data (#1905) by @antonpirker
Make set_measurement public api and remove experimental status (#1909) by @sl0thentr0py
Add trace_propagation_targets option (#1916) by @antonpirker
Add enable_tracing to default traces_sample_rate to 1.0 (#1900) by @sl0thentr0py
Remove deprecated tracestate (#1907) by @sl0thentr0py
Sanitize URLs in Span description and breadcrumbs (#1876) by @antonpirker
Mechanism should default to true unless set explicitly (#1889) by @sl0thentr0py
Better setting of in-app in stack frames (#1894) by @antonpirker
Add workflow to test gevent (#1870) by @Zylphrex
Updated outdated HTTPX test matrix (#1917) by @antonpirker
Switch to MIT license (#1908) by @cleptric
New: Add Huey Integration (#1555) by @Zhenay
New: Add Huey Integration (#1555) by @Zhenay
This integration will create performance spans when Huey tasks will be enqueued and when they will be executed.
Usage:
Task definition in demo.py:
import time
from huey import SqliteHuey, crontab
import sentry_sdk
from sentry_sdk.integrations.huey import HueyIntegration
sentry_sdk.init(
dsn="...",
integrations=[
HueyIntegration(),
],
traces_sample_rate=1.0,
)
huey = SqliteHuey(filename='/tmp/demo.db')
@huey.task()
def add_numbers(a, b):
return a + b
Running the tasks in run.py:
from demo import add_numbers, flaky_task, nightly_backup
import sentry_sdk
from sentry_sdk.integrations.huey import HueyIntegration
from sentry_sdk.tracing import TRANSACTION_SOURCE_COMPONENT, Transaction
def main():
sentry_sdk.init(
dsn="...",
integrations=[
HueyIntegration(),
],
traces_sample_rate=1.0,
)
with sentry_sdk.start_transaction(name="testing_huey_tasks", source=TRANSACTION_SOURCE_COMPONENT):
r = add_numbers(1, 2)
if __name__ == "__main__":
main()
Profiling: Do not send single sample profiles (#1879) by @Zylphrex
Profiling: Add additional test coverage for profiler (#1877) by @Zylphrex
Profiling: Always use builtin time.sleep (#1869) by @Zylphrex
Profiling: Defaul in_app decision to None (#1855) by @Zylphrex
Profiling: Remove use of threading.Event (#1864) by @Zylphrex
Profiling: Enable profiling on all transactions (#1797) by @Zylphrex
FastAPI: Fix check for Starlette in FastAPI integration (#1868) by @antonpirker
Flask: Do not overwrite default for username with email address in FlaskIntegration (#1873) by @homeworkprod
Tests: Add py3.11 to test-common (#1871) by @Zylphrex
Fix: Don't log whole event in before_send / event_processor drops (#1863) by @sl0thentr0py
Add before_send_transaction (#1840) by @antonpirker
Add before_send_transaction (#1840) by @antonpirker
Adds a hook (similar to before_send) that is called for all transaction events (performance releated data).
Usage:
import sentry_sdk
def strip_sensitive_data(event, hint):
# modify event here (or return `None` if you want to drop the event entirely)
return event
sentry_sdk.init(
# ...
before_send_transaction=strip_sensitive_data,
)
See also: https://docs.sentry.io/platforms/python/configuration/filtering/#using-platformidentifier-namebefore-send-transaction-
Django: Always remove values of Django session related cookies. (#1842) by @antonpirker
Profiling: Enable profiling for ASGI frameworks (#1824) by @Zylphrex
Profiling: Better gevent support (#1822) by @Zylphrex
Profiling: Add profile context to transaction (#1860) by @Zylphrex
Profiling: Use co_qualname in python 3.11 (#1831) by @Zylphrex
OpenTelemetry: fix Use dict for sentry-trace context instead of tuple (#1847) by @AbhiPrasad
OpenTelemetry: fix extra dependency (#1825) by @bernardotorres
OpenTelemetry: fix NoOpSpan updates scope (#1834) by @Zylphrex
OpenTelemetry: Make sure to noop when there is no DSN (#1852) by @antonpirker
FastAPI: Fix middleware being patched multiple times (#1841) by @JohnnyDeuss
Starlette: Avoid import of pkg_resource with Starlette integration (#1836) by @mgu
Removed code coverage target (#1862) by @antonpirker
Add Starlite integration (#1748) by @gazorby
Add Starlite integration (#1748) by @gazorby
Adding support for the Starlite framework. Unhandled errors are captured. Performance spans for Starlite middleware are also captured. Thanks @gazorby for the great work!
Usage:
from starlite import Starlite, get
import sentry_sdk
from sentry_sdk.integrations.starlite import StarliteIntegration
sentry_sdk.init(
dsn="...",
traces_sample_rate=1.0,
integrations=[
StarliteIntegration(),
],
)
@get("/")
def hello_world() -> dict[str, str]:
"""Keeping the tradition alive with hello world."""
bla = 1/0 # causing an error
return {"hello": "world"}
app = Starlite(route_handlers=[hello_world])
Profiling: Remove sample buffer from profiler (#1791) by @Zylphrex
Profiling: Performance tweaks to profile sampler (#1789) by @Zylphrex
Add span for Django SimpleTemplateResponse rendering (#1818) by @chdsbd
Use @wraps for Django Signal receivers (#1815) by @meanmail
Add enqueued_at and started_at to rq job extra (#1024) by @kruvasyan
Remove sanic v22 pin (#1819) by @sl0thentr0py
Add support for byterray and memoryview built-in types (#1833) by @Tarty
Handle "rc" in SQLAlchemy version. (#1812) by @peterschutt
Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790) by @tonyo
Auto publish to internal pypi on release (#1823) by @asottile-sentry
Added Python 3.11 to test suite (#1795) by @antonpirker
Update test/linting dependencies (#1801) by @antonpirker
Deps: bump sphinx from 5.2.3 to 5.3.0 (#1686) by @dependabot
Link errors to OTel spans (#1787) by @antonpirker
This adds support to automatically integrate OpenTelemetry performance tracing with Sentry.
This adds support to automatically integrate OpenTelemetry performance tracing with Sentry.
See the documentation on how to set it up: https://docs.sentry.io/platforms/python/performance/instrumentation/opentelemetry/
Give it a try and let us know if you have any feedback or problems with using it.
By: @antonpirker (#1772, #1766, #1765)
Move set_transaction_name out of event processor in fastapi/starlette (#1751) by @sl0thentr0py
NEW: Support for MongoDB (#1590) by @Agalin
NEW: Support for MongoDB (#1590) by @Agalin
Queries to MongoDB are now instrumented!
See https://docs.sentry.io/platforms/python/guides/pymongo/ for more information.
Profiling: Do not error if already setup (#1731) by @Zylphrex
Profiling: Use sleep scheduler by default (#1729) by @Zylphrex
Profiling: Extract more frame info (#1702) by @Zylphrex
Profiling: Tune the sample profile generation code for performance (#1694) by @Zylphrex
Fix: Reading FastAPI request body twice. (#1724) by @antonpirker
Fix: Django signals problem on sentry.io (#1732) by @antonpirker
Fix: Performance optimizations for Django signals (#1725) by @antonpirker
Fix: Move relay to port 5333 to avoid collisions (#1716) by @sl0thentr0py
Fix: strip_string() checks text length counting bytes not chars (#1711) by @mgaligniana
Chore: remove jira workflow (#1707) by @vladanpaunovic
Update actions/upload-artifact to v3.1.1 (#1718) by @mattgauntseo-sentry
Update checkouts/data-schemas from a214fbc to 20ff3b9 (#1703) by @dependabot
a214fbc to 20ff3b9 (#1703) by @dependabotBug fixes for FastAPI and Sentry SDK 1.10.0 (#1699) by @antonpirker
Unified naming for span ops (#1661) by @antonpirker
Unified naming for span ops (#1661) by @antonpirker
We have unified the strings of our span operations. See https://develop.sentry.dev/sdk/performance/span-operations/
WARNING: If you have Sentry Dashboards or Sentry Discover queries that use transaction.op in their fields, conditions, aggregates or columns this change could potentially break your Dashboards/Discover setup.
Here is a list of the changes we made to the ops. Please adjust your dashboards and Discover queries accordingly:
Old operation (op) |
New Operation (op) |
|---|---|
asgi.server |
http.server |
aws.request |
http.client |
aws.request.stream |
http.client.stream |
celery.submit |
queue.submit.celery |
celery.task |
queue.task.celery |
django.middleware |
middleware.django |
django.signals |
event.django |
django.template.render |
template.render |
django.view |
view.render |
http |
http.client |
redis |
db.redis |
rq.task |
queue.task.rq |
serverless.function |
function.aws |
serverless.function |
function.gcp |
starlette.middleware |
middleware.starlette |
Include framework in SDK name (#1662) by @antonpirker
Asyncio integration (#1671) by @antonpirker
Add exception handling to Asyncio Integration (#1695) by @antonpirker
Fix asyncio task factory (#1689) by @antonpirker
Have instrumentation for ASGI middleware receive/send callbacks. (#1673) by @antonpirker
Use Django internal ASGI handling from Channels version 4.0.0. (#1688) by @antonpirker
fix(integrations): Fix http putrequest when url is None (#1693) by @MattFlower
build(deps): bump checkouts/data-schemas from f0a57f2 to a214fbc (#1627) by @dependabot
build(deps): bump flake8-bugbear from 22.9.11 to 22.9.23 (#1637) by @dependabot
build(deps): bump sphinx from 5.1.1 to 5.2.3 (#1653) by @dependabot
build(deps): bump actions/stale from 5 to 6 (#1638) by @dependabot
build(deps): bump black from 22.8.0 to 22.10.0 (#1670) by @dependabot
Remove unused node setup from ci. (#1681) by @antonpirker
Check for Decimal is in_valid_sample_rate (#1672) by @Arvind2222
Add session for aiohttp integration (#1605) by @denys-pidlisnyi
feat(profiling): Extract qualified name for each frame (#1669) by @Zylphrex
feat(profiling): Attach thread metadata to profiles (#1660) by @Zylphrex
ref(profiling): Rename profiling frame keys (#1680) by @Zylphrex
fix(profiling): get_frame_name only look at arguments (#1684) by @Zylphrex
fix(profiling): Need to sample profile correctly (#1679) by @Zylphrex
fix(profiling): Race condition spawning multiple profiling threads (#1676) by @Zylphrex
tests(profiling): Add basic profiling tests (#1677) by @Zylphrex
tests(profiling): Add tests for thread schedulers (#1683) by @Zylphrex
Use content-length header in ASGI instead of reading request body (#1646, #1631, #1595, #1573) (#1649) by @antonpirker
Instrument Django Signals so they show up in "Performance" view (#1526) by @BeryJu
Baggage creation for head of trace (#1589) by @sl0thentr0py
Note: The last version 1.9.6 introduced a breaking change where projects that used Starlette or FastAPI and had manually setup SentryAsgiMiddleware co…
Note: The last version 1.9.6 introduced a breaking change where projects that used Starlette or FastAPI
and had manually setup SentryAsgiMiddleware could not start. This versions fixes this behaviour.
With this version if you have a manual SentryAsgiMiddleware setup and are using Starlette or FastAPI
everything just works out of the box.
Sorry for any inconveniences the last version might have brought to you.
We can do better and in the future we will do our best to not break your code again.
Auto-enable Starlette and FastAPI (#1533) by @antonpirker
fix(redis): import redis pipeline using full path (#1565) by @olksdr
Remove TRANSACTION_SOURCE_UNKNOWN and default to CUSTOM (#1558) by @sl0thentr0py
Wrap StarletteRequestExtractor in capture_internal_exceptions (#1551) by @sl0thentr0py
chore: remove quotes (#1545) by @vladanpaunovic
Add deprecation warning for 3.4, 3.5 (#1541) by @sl0thentr0py
Add experimental profiler under experiments.enable_profiling (#1481) by @szokeasaurusrex
experiments.enable_profiling (#1481) by @szokeasaurusrexfeat(starlette): add Starlette integration (#1441) by @sl0thentr0py
feat(starlette): add Starlette integration (#1441) by @sl0thentr0py
Important: Remove manual usage of SentryAsgiMiddleware! This is now done by the Starlette integration.
Usage:
from starlette.applications import Starlette
from sentry_sdk.integrations.starlette import StarletteIntegration
sentry_sdk.init(
dsn="...",
integrations=[StarletteIntegration()],
)
app = Starlette(debug=True, routes=[...])
feat(fastapi): add FastAPI integration (#829) by @antonpirker
Important: Remove manual usage of SentryAsgiMiddleware! This is now done by the FastAPI integration.
Usage:
from fastapi import FastAPI
from sentry_sdk.integrations.starlette import StarletteIntegration
from sentry_sdk.integrations.fastapi import FastApiIntegration
sentry_sdk.init(
dsn="...",
integrations=[StarletteIntegration(), FastApiIntegration()],
)
app = FastAPI()
Yes, you have to add both, the StarletteIntegration AND the FastApiIntegration!
fix: avoid sending empty Baggage header (#1507) by @intgr
fix: properly freeze Baggage object (#1508) by @intgr
docs: fix simple typo, collecter -> collector (#1505) by @timgates42
feat(transactions): Transaction Source (#1490) by @antonpirker
Skip malformed baggage items (#1491) by @robyoung
feat(tracing): Dynamic Sampling Context / Baggage continuation (#1485) by @sl0thentr0py
feat(tracing): Dynamic Sampling Context / Baggage continuation (#1485) by @sl0thentr0py
The SDK now propagates the W3C Baggage Header from incoming transactions to outgoing requests.
It also extracts Sentry specific sampling information and adds it to the transaction headers to enable Dynamic Sampling in the product.
Fix Deployment (#1474) by @antonpirker
feat(measurements): Add experimental set_measurement api on transaction (#1359) by @sl0thentr0py
chore: Bump mypy and fix abstract ContextManager typing (#1421) by @sl0thentr0py
Remove Flask version contraint (#1395) by @antonpirker
fix(sqlalchemy): Use context instead of connection in sqlalchemy integration (#1388) by @sl0thentr0py
feat(asgi): Add support for setting transaction name to path in FastAPI (#1349) by @tiangolo
fix(serializer): Make sentry_repr dunder method to avoid mock problems (#1364) by @sl0thentr0py
Create feature.yml (#1350) by @vladanpaunovic
sentry_trace() template helper (#1336) by @BYKAdd session tracking to ASGI integration
sentry_repr (#1322)Work in this release contributed by @tomchuk. Thank you for your contribution!
Capture only 5xx HTTP errors in Falcon Integration
got_request_exception as well (#1317)Pick up custom urlconf set by Django middlewares from request if any
Record event_processor client reports #1281
Work in this release contributed by @johnzeringue, @pgjones and @ahopkins. Thank you for your contribution!
Fix django legacy url resolver regex substitution due to upstream CVE-2021-44420 fix #1272
sample_rate events only if tracing is enabled #1268Also record client outcomes for before send #1211
Work in this release contributed by @galuszkak, @kianmeng, @ahopkins, @razumeiko, @tomscytale, and @seedofjoy. Thank you for your contribution!
Turned client reports on by default.
Made envelope modifications in the HTTP transport non observable #1206
Fix race condition between finish and start_child in tracing #1203
finish and start_child in tracing #1203No longer set the last event id for transactions #1186
tracestate header handling #1179Fix detection of contextvars compatibility with Gevent versions >=20.9.0 #1157
Add support for Sanic versions 20 and 21 #1146
Fix for worker to set deamon attribute instead of deprecated setDaemon method #1093
AWSLambda Integration to handle other path formats for function initial handler #1139bottle Integration that discards -dev for version extraction #1085Httpx Integration #1119AWSLambda Integration #1051Fix for AWSLambda integration returns value of original handler #1106
AWSLambda integration returns value of original handler #1106RQ integration that only captures exception if RQ job has failed and ignore retries #1076Tornado integration #1060ignore_logger in the Logging Integration #1053This release contains a breaking change
This release contains a breaking change
auto_session_tracking experimental flag to a proper option and removed explicitly setting experimental session_mode in favor of auto detecting its value, hence enabling release health by default #994request.path_info rather than request.pathX-Forwarded-For header #1037Added scripts to support auto instrumentation of no code AWS lambda Python functions
Fix incorrect regex in craft to include wheel file in pypi release
Fix for error that occurs with Async Middlewares when the middleware is a function rather than a class
BREAKING CHANGE: The default environment is now production, not based on release
Fix two regressions added in 0.19.2 with regard to sampling behavior when reading the sampling decision from headers.
Fix a bug that would make applications crash if an old version of boto3 was installed.
boto3 was installed.One column per quarter.