v12.0.0
Breaking Changes📦 new-relic-sdkView on GitHub →
⚠ 2 breaking✨ 4 features🐛 1 fixes⚡ 1 deprecations🔧 2 symbols
Summary
This release removes support for CAT and Python 3.8, updates vendored packages, and adds support for free-threaded CPython and Windows environments. It also introduces an optional extra for installing SSL certificates via certifi.
⚠️ Breaking Changes
- Cross Application Tracing (CAT) has been removed. Users must migrate to Distributed Tracing (DT) to avoid disruption.
- The bundled SSL certificates have been removed. Users requiring certificates must install them via their OS package manager or use the `newrelic[certificates]` extra.
Migration Steps
- Migrate from Cross Application Tracing (CAT) to Distributed Tracing (DT).
- If you rely on bundled SSL certificates, install them via your operating system's package manager or install the agent with the optional `newrelic[certificates]` extra.
- Upgrade applications running on Python 3.8 to a supported version.
✨ New Features
- Added support for free-threaded CPython environments (starting with Python 3.13).
- Added pre-built binaries and support for CPython 3.13+ on Windows.
- Improved instrumentation for Microsoft AG2 (Autogen), including support for streaming responses via `on_messages_stream()` and adding a `subcomponent` attribute to tool/agent call spans.
- Introduced an optional `newrelic[certificates]` extra to install SSL certificates via certifi.
🐛 Bug Fixes
- Fixed an issue in Strands Agents instrumentation that caused duplicate exceptions to be reported when errors were encapsulated in `EventLoopException`.
Affected Symbols
⚡ Deprecations
- Python 3.8 support has been removed as it reached End-of-Life.