chore(deps-dev): bump sentry-sdk from 2.42.1 to 2.43.0
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(5 days ago)
(4 days ago)
(4 days ago)
dependencies internal size/XS python
Bumps sentry-sdk from 2.42.1 to 2.43.0.
Release notes
Sourced from sentry-sdk's releases.
2.43.0
Various fixes & improvements
Pydantic AI integration (#4906) by
@constantiniusEnable the new Pydantic AI integration with the code snippet below, and you can use the Sentry AI dashboards to observe your AI calls:
import sentry_sdk from sentry_sdk.integrations.pydantic_ai import PydanticAIIntegration sentry_sdk.init( dsn="<your-dsn>", # Set traces_sample_rate to 1.0 to capture 100% # of transactions for tracing. traces_sample_rate=1.0, # Add data like inputs and responses; # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info send_default_pii=True, integrations=[ PydanticAIIntegration(), ], )MCP Python SDK (#4964) by
@constantiniusEnable the new Python MCP integration with the code snippet below:
import sentry_sdk from sentry_sdk.integrations.mcp import MCPIntegration sentry_sdk.init( dsn="<your-dsn>", # Set traces_sample_rate to 1.0 to capture 100% # of transactions for tracing. traces_sample_rate=1.0, # Add data like inputs and responses; # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info send_default_pii=True, integrations=[ MCPIntegration(), ], )fix(strawberry): Remove autodetection, always use sync extension (#4984) by
@sentrivanaPreviously,
StrawberryIntegrationwould try to guess whether it should install the sync or async version of itself. This auto-detection was very brittle and could lead to us auto-enabling async code in a sync context. With this change,StrawberryIntegrationremains an auto-enabling integration, but it'll enable the sync version by default. If you want to enable the async version, pass the option explicitly:sentry_sdk.init( # ...
... (truncated)
Changelog
Sourced from sentry-sdk's changelog.
2.43.0
Various fixes & improvements
Pydantic AI integration (#4906) by
@constantiniusEnable the new Pydantic AI integration with the code snippet below, and you can use the Sentry AI dashboards to observe your AI calls:
import sentry_sdk from sentry_sdk.integrations.pydantic_ai import PydanticAIIntegration sentry_sdk.init( dsn="<your-dsn>", # Set traces_sample_rate to 1.0 to capture 100% # of transactions for tracing. traces_sample_rate=1.0, # Add data like inputs and responses; # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info send_default_pii=True, integrations=[ PydanticAIIntegration(), ], )MCP Python SDK (#4964) by
@constantiniusEnable the new Python MCP integration with the code snippet below:
import sentry_sdk from sentry_sdk.integrations.mcp import MCPIntegration sentry_sdk.init( dsn="<your-dsn>", # Set traces_sample_rate to 1.0 to capture 100% # of transactions for tracing. traces_sample_rate=1.0, # Add data like inputs and responses; # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info send_default_pii=True, integrations=[ MCPIntegration(), ], )fix(strawberry): Remove autodetection, always use sync extension (#4984) by
@sentrivanaPreviously,
StrawberryIntegrationwould try to guess whether it should install the sync or async version of itself. This auto-detection was very brittle and could lead to us auto-enabling async code in a sync context. With this change,StrawberryIntegrationremains an auto-enabling integration, but it'll enable the sync version by default. If you want to enable the async version, pass the option explicitly:sentry_sdk.init(
... (truncated)
Commits
b069aa2Update CHANGELOG.mda7a3fb1release: 2.43.076cc416fix(google-genai): Set agent name (#5038)b3b2eb6fix(integrations): hooking into error tracing function to find out if an exec...d7ccf06fix(django): Improve logic for classifying cache hits and misses (#5029)64c145fchore(metrics): Rename _metrics to metrics (#5035)fe31660fix(tracemetrics): Bump metric buffer size to 1k (#5031)6e06a07fix startlette deprecation warning (#5034)e636619fix(strawberry): Remove autodetection, always use sync extension (#4984)8ab8f3bci: 🤖 Update test matrix with new releases (10/27) (#5033)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 10679632 |
| UUID: | 3567688114 |
| Node ID: | PR_kwDODTo4k86wdiBO |
| Host: | GitHub |
| Repository: | aws-powertools/powertools-lambda-python |