sentry-python v2.66.1 Release Notes
Release Date: 2026-07-22 // 28 days ago-
๐ Bug Fixes ๐
Tracing
- ๐ Handle exceptions raised within traces_sampler and other callbacks by @ericapisani in #6853
Internal Changes ๐ง
- ๐ Fix flaky decorator test by @sl0thentr0py in #6830
Previous changes from v2.66.0
-
๐ New Features โจ
- (tracing) Promote trace_lifecycle and ignore_spans to top-level options by @ericapisani in #6821
๐ Bug Fixes ๐
Tracing
- Skip child span creation in streaming path when no current span (HTTP clients) by @sentrivana in #6811
- Skip child span creation in streaming path when no current span (task queues) by @sentrivana in #6814
- Skip child span creation in streaming path when no current span (misc) by @sentrivana in #6815
- Skip child span creation in streaming path when no current span (databases) by @sentrivana in #6808
- ๐ Skip child span creation in streaming path when no current span (web frameworks) by @sentrivana in #6810
- Skip child span creation in streaming path when no current span (django) by @sentrivana in #6809
Internal Changes ๐ง
- ๐ฒ (logging) Fix flaky test_logging_captured_warnings by @ericapisani in #6824
- โ Remove flaky no cyclic garbage test by @alexander-alderman-webb in #6817
- โ Remove Claude permission settings by @cleptric in #6806
- ๐ Move
nullcontexttosentry_sdk.utilsby @sentrivana in #6805