Skip to content

Releases: newrelic/newrelic-python-agent

v11.2.0

08 Dec 23:11
ac9682c

Choose a tag to compare

Notes

This release of the Python agent adds support for the following:

This release also addresses a bug in ASGI instrumentation where headers are not reported by the web server.

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

Features

  • Add support for Strands

    • Add instrumentation for Strands tools and agents in single and multi-agent (swarms, graphs, etc.) setups
  • Add support for AWS Bedrock Converse Streaming

    • Add monitoring support for streaming Converse API. This includes support for Converse chat completion calls made with boto3 and aioboto3 clients using converse_stream().
  • Add support for Redis methods

    • Add support for the following methods:
      • hybrid_search
      • msetex
  • Add support for loop_factory in asyncio.Runner

    • In Python 3.11, the asyncio.Runner class was added as well as the loop_factory parameter. The loop_factory parameter provides a replacement for loop policies. Now, the loop that is created is instrumented, regardless of whether it is through a global event loop setting or a custom event loop.
  • Capture Langchain role assignments in LLM events

    • Langchain LlmChatCompletionMessage events now contains the assigned role from Langchain.
  • Capture LLM event timestamp at time of LLM request

    • Previously, the LLM event's timestamp was captured at the time of event creation. Now, it is more accurately captured at the time of the LLM request.

Bug fixes

  • ASGI header consumption

    • When an ASGIWebTransaction consumes the headers from a http.response.start event, it was doing so without regard to the allowable input types. When the headers are a generator, the generator was consumed by the call to process_response() leaving no headers remaining for the web server to send. This has now been fixed.

v11.1.0

03 Nov 23:46
68252f0

Choose a tag to compare

v11.0.1

06 Oct 20:56
27f357c

Choose a tag to compare

v11.0.0

25 Sep 22:43
0b3850f

Choose a tag to compare

v10.17.0

04 Sep 22:08
c2f8fe4

Choose a tag to compare

v10.16.0

14 Aug 22:17
02d0071

Choose a tag to compare

v10.15.0

24 Jul 21:10
777e025

Choose a tag to compare

v10.14.0

18 Jun 21:09
0d7d369

Choose a tag to compare

v10.13.0

09 Jun 21:53
8e7cb4c

Choose a tag to compare

v10.12.0

12 May 21:33
0a1ed7d

Choose a tag to compare