1.22.0
Various fixes & improvements
-
Add
cache.hitandcache.item_sizeto Django (#2057) by @antonpirkerNote: This will add spans for all requests to the caches configured in Django. This will probably add some overhead to your server an also add multiple spans to your performance waterfall diagrams. If you do not want this, you can disable this feature in the DjangoIntegration:
sentry_sdk.init( dsn="...", integrations=[ DjangoIntegration(cache_spans=False), ] )
-
Use
http.methodinstead ofmethod(#2054) by @AbhiPrasad -
Handle non-int
exc.status_codein Starlette (#2075) by @sentrivana -
Handle SQLAlchemy
engine.namebeing bytes (#2074) by @sentrivana -
Fix
KeyErrorincapture_checkinif SDK is not initialized (#2073) by @antonpirker -
Use
functools.wrapforThreadingIntegrationpatches to fix attributes (#2080) by @EpicWink -
Pin
urllib3to <2.0.0 for now (#2069) by @sl0thentr0py