pypi sentry-sdk 2.76.0

latest releases: 3.0.1b1, 3.0.0
one hour ago

New Features ✨

  • (anthropic) Set gen_ai.usage.output_tokens.reasoning attributes for non-streaming responses by @srothh in #8329

Bug Fixes 🐛

Documentation 📚

  • (transport) Fix stale comment referencing get_retry_after by @sentry-junior in #8333
  • Add note about regression tests to AGENTS.md by @sentrivana in #8324

Internal Changes 🔧

Deps

Mypy

  • Enable possibly-undefined error code by @sentrivana with @sentry-junior in #8290
  • Enable unused-awaitable error code by @sentrivana with @sentry-junior in #8281

Ruff

  • Enable PLC0415 to flag inline imports in the SDK by @sentrivana with @sentry-junior in #8285
  • Enable RUF100 for unused noqa directives by @sentrivana with @sentry-junior in #8282
  • Enable PT011 for overly broad pytest.raises() by @sentrivana with @sentry-junior in #8286
  • Enable T20 to flag print() in the SDK by @sentrivana with @sentry-junior in #8283

Other

Don't miss a new sentry-sdk release

NewReleases is sending notifications on new releases.