Change8

v4.8.1

📦 datadog-sdkView on GitHub →
🐛 2 fixes🔧 2 symbols

Summary

This release focuses on stability, fixing a memory leak in tracing spans and correcting an issue where Django async operations were incorrectly marked as errors upon cancellation.

🐛 Bug Fixes

  • django: Fixed async view and middleware spans being incorrectly tagged as errored during routine ASGI cancellations (like client disconnects on streaming responses), reverting a regression from 4.8.0rc4. Cancellation still occurs, but the span no longer reports an error.
  • tracing: Resolved a memory leak caused by reference cycles within a span's properties that prevented garbage collection, which previously accumulated based on traced call volume.

Affected Symbols