Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLEASE DO NOT MERGE UNTIL NOV 25, 4P.M. PST--Python Agent v10.3.1 release notes #19367

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
subject: 'Python agent'
releaseDate: '2024-11-25'
version: 10.3.1
downloadLink: 'https://pypi.python.org/pypi/newrelic'
features: []
bugs: ['Fix package version uploading logic']
security: []
---

## Notes

This release of the Python agent fixes a bug in the package version collector that disabled telemetry from being sent to New Relic in certain cases.

Check warning on line 13 in src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'being sent' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'being sent' looks like passive voice.", "location": {"path": "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx", "range": {"start": {"line": 13, "column": 108}}}, "severity": "INFO"}

Install the agent using `easy_install/pip/distribute` via the [Python Package Index](https://pypi.python.org/pypi/newrelic) or download it directly from the [New Relic download site](https://download.newrelic.com/python_agent/release).

## Bug fixes

* Fix package version uploading logic

* Previously, if the package's versioning mechanism was a class property, the function itself would get sent into the payload, so the environment stats would show the `__repr__()` of the versioning class. Once this task was tweaked and moved to the harvest cycle in v10.3.0, this resulted in a failed harvest cycle, which effectively disabled any telemetry from being sent. This release adds logic to prevent anything that's not a valid data type from being sent within the module payload.

Check warning on line 21 in src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [new-relic.ComplexWords] Consider using 'before' instead of 'Previously'. Raw Output: {"message": "[new-relic.ComplexWords] Consider using 'before' instead of 'Previously'.", "location": {"path": "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx", "range": {"start": {"line": 21, "column": 5}}}, "severity": "INFO"}

Check warning on line 21 in src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'was tweaked' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'was tweaked' looks like passive voice.", "location": {"path": "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx", "range": {"start": {"line": 21, "column": 223}}}, "severity": "INFO"}

Check warning on line 21 in src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'being sent' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'being sent' looks like passive voice.", "location": {"path": "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx", "range": {"start": {"line": 21, "column": 365}}}, "severity": "INFO"}

Check warning on line 21 in src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx

View workflow job for this annotation

GitHub Actions / vale-linter

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'being sent' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'being sent' looks like passive voice.", "location": {"path": "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-100301.mdx", "range": {"start": {"line": 21, "column": 455}}}, "severity": "INFO"}

## 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](/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/) about keeping agents up to date.

See the New Relic Python agent [EOL policy](/docs/apm/agents/python-agent/getting-started/python-agent-eol-policy/) for information about agent releases and support dates.
Loading