[postgresql] [bug] [regression] Fixed regression caused by just-released fix for #10863 where an
invalid exception class were added to the "except" block, which does not
get exercised unless such a catch actually happens. A mock-style test has
been added to ensure this catch is exercised in unit tests.
[orm] [bug] Replaced the "loader depth is excessively deep" warning with a shorter
message added to the caching badge within SQL logging, for those statements
where the ORM disabled the cache due to a too-deep chain of loader options.
The condition which this warning highlights is difficult to resolve and is
generally just a limitation in the ORM's application of SQL caching. A
future feature may include the ability to tune the threshold where caching
is disabled, but for now the warning will no longer be a nuisance.
[orm] [bug] Fixed issue where it was not possible to use a type (such as an enum)
within a _orm.Mapped container type if that type were declared
locally within the class body. The scope of locals used for the eval now
includes that of the class body itself. In addition, the expression within
_orm.Mapped may also refer to the class name itself, if used as a
string or with future annotations mode.
[orm] [bug] Fixed issue where using _orm.Session.delete() along with the
_orm.Mapper.version_id_col feature would fail to use the
correct version identifier in the case that an additional UPDATE were
emitted against the target object as a result of the use of
_orm.relationship.post_update on the object. The issue is
similar to #10800 just fixed in version 2.0.25 for the case of
updates alone.
This release of the Python agent no longer reports attributes with None values and attaches a transaction trace ID to the error traces even when Distributed Tracing is not enabled.
Previously, the agent recorded attributes with a value of None type as the string "None". Now, the agent no longer records user or agent attributes that have None type values.
Bug fixes
Add transaction trace ID to the error traces even when Distributed Tracing is not enabled
Previously, certain trace attributes in error traces such as stack traces were only visible in the UI if Distributed Tracing was enabled. Linking the transaction trace to error traces by including the transaction trace id on the error traces allows the user to have access to the transaction trace attributes in the UI.
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.
Commits
56fbda1 Merge pull request #1064 from newrelic/drop-none-attrs
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: sqlalchemy, dockerflow and newrelic.
Updates
sqlalchemy
from 2.0.25 to 2.0.27Release notes
Sourced from sqlalchemy's releases.
... (truncated)
Commits
Updates
dockerflow
from 2024.1.0 to 2024.2.0Release notes
Sourced from dockerflow's releases.
Changelog
Sourced from dockerflow's changelog.
Commits
2ba0254
Align upload/download artifacts actions versions6aaf5c1
Do not restrict FastAPI testing to 0.100 only46c490f
Update changelog for 2024.2.09f6a0ec
Add integration for FastAPI (#81)6c032ec
Python 3.12 support (#93)2c729ff
Stop testing for Python 3.7 (#94)997f481
Add developer docs and fix release process (#92)Updates
newrelic
from 9.6.0 to 9.7.0Release notes
Sourced from newrelic's releases.
Commits
56fbda1
Merge pull request #1064 from newrelic/drop-none-attrs5bbf0dc
Fix loguru test2755208
Summarize agent spec quoteac17284
Fixup formatting of blank linesee87f7a
Remove log context attr=None tests0337ab6
Add description of create_agent_attributes5bb045b
Replace create_user_attributes w/create_attributes62b1bc0
Only add attr if key is not None22acf04
Remove unused importsa57f789
Drop None type attributesDependabot 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