This release of the Python agent fixes a bug when specifying processors in structlog, and updates the NewRelicLogForwardingHandler to support dictionary type logs and formatters.
Support dictionary type logs in NewRelicLogForwardingHandler
Dictionary type log messages are now supported in NewRelicLogForwardingHandler when passed as the log message, or when a custom formatter returns a dictionary.
The key message will be extracted if available and treated as the log message, and any other items will be considered context data attributes and prefixed with message..
These attributes are subject to the same filtering rules as other context data. The message. prefix is not considered when filtering attributes from logs.
Previously, there was a bug in the structlog instrumentation where processors was assumed to be list type. Now the instrumentation supports processors of all iterable types.
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.
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| selenium | [>= 4.17.a, < 4.18] |
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the minor-patch group with 3 updates: newrelic, ruff and selenium.
Updates
newrelic
from 9.5.0 to 9.6.0Release notes
Sourced from newrelic's releases.
Commits
d6c1a91
Update NewRelicLogForwardingHandler (#1038)2b14392
Fix StructLog Processors Assumptions (#1040)Updates
ruff
from 0.1.14 to 0.1.15Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
a7755d7
Bump version to v0.1.15 (#9690)11449ac
Avoid markingInitVar
as a typing-only annotation (#9688)4ccbacd
Error if the NURSERY selector is used with preview (#9682)05a2f52
Documentliteral-membership
fix safety conditions (#9677)a6f7100
[pycodestyle
] Allowdtype
comparisons intype-comparison
(#9676)50122d2
[flake8-pytest-style
] Add fix safety documentation for `duplicate-parameter...ad2cfa3
[flake8-return] Consider exception suppress for unnecessary assignment (#9673)0045032
Set source type: Stub for black tests with options (#9674)bea8f2e
Detect automagic-like assignments in notebooks (#9653)c8074b0
Bump serde_with from 3.5.0 to 3.5.1 (#9672)Updates
selenium
from 4.12.0 to 4.16.0Release notes
Sourced from selenium's releases.
... (truncated)
Commits
1540045
Update version to 4.16.0c06d667
fix update-versions scripta4cb5be
update the update-versions script to bump Selenium versions in all required p...3c6a69a
update python documentation for using grid by pointing to selenium.dev6b47c13
dynamically get java version from version.bzl for Rakefile053c73b
update change logs for 4.1682316a7
update selenium manager binaries to v0.4.16ebf9de9
[cdp] add Chrome 120 and remove 117bb8cd71
create bazel target for updating CDP versions9bfbec0
[java] moved org.openqa.selenium.remote.http.jdk to selenium-http (#13243)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | selenium | [>= 4.17.a, < 4.18] |Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show