Skip to content

Releases: newrelic/newrelic-python-agent

v10.7.0

07 Mar 00:47
eb8d44b
Compare
Choose a tag to compare

Notes

This release of the Python agent adds support for asynchronous AWS Bedrock LLM calls in aioboto3, a fix for a segfault with greenlets, a fixed a crash in aiomysql instrumentation, and reformatted the codebase with Ruff.

Install the agent using easy_install/pip/distribute via the Python Package Index or download it directly from the New Relic download site.

New features

  • Add support for asynchronous AWS Bedrock LLM calls

    • Adds instrumentation to support calls to invoke_model and invoke_model_with_response_stream made on aioboto3 clients

Bug fixes

  • Fix crash in aiomysql instrumentation

    • Previously, using aiomysql.sa (the included sqlalchemy engine) with the agent would result in a crash due to a missing __await__ method in the instrumentation. This has been corrected.
  • Fix segfaults with greenlets

    • Previously, a segfault occured when the maximum number of worker processes were called. This was due to a combination of using a weak reference for the agent's trace ID caching and greenlet's greenlet.getcurrent() retrieval function being called after the last greenlet has already been garbage collected. This fix allows the worker process to restart without the segfault occurring.

Changes

  • Reformatted entire codebase with Ruff

    • Switched to Ruff linter and reformatted the entire codebase.

Support statement

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.

See the New Relic Python agent EOL policy for information about agent releases and support dates.

v10.6.0

06 Feb 22:21
9abd5a1
Compare
Choose a tag to compare

v10.5.0

30 Jan 00:14
237897a
Compare
Choose a tag to compare

v10.4.0

12 Dec 23:04
2a3a3dc
Compare
Choose a tag to compare

v10.3.1

v10.3.0

19 Nov 00:30
6b8fb08
Compare
Choose a tag to compare

v10.2.0

15 Oct 22:08
7d6da2c
Compare
Choose a tag to compare

v10.1.0

10 Oct 21:44
38c2ba4
Compare
Choose a tag to compare

v10.0.0

26 Sep 21:53
85f4035
Compare
Choose a tag to compare

v9.13.0

08 Aug 21:52
70e98a5
Compare
Choose a tag to compare