chore(deps): update dependency sentry-sdk to v2#56
Open
uptick-renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency sentry-sdk to v2#56uptick-renovate[bot] wants to merge 1 commit intomasterfrom
uptick-renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
1b56b37 to
a7409dd
Compare
7f719da to
d158af3
Compare
d158af3 to
1893d5d
Compare
1893d5d to
600da51
Compare
600da51 to
c270c06
Compare
c270c06 to
926961f
Compare
926961f to
0de05e9
Compare
0de05e9 to
f088213
Compare
f088213 to
7285b37
Compare
7285b37 to
f49cf5c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.45.1->==2.54.0Release Notes
getsentry/sentry-python (sentry-sdk)
v2.54.0Compare Source
New Features ✨
Add
set_attribute,remove_attributeto global API by @sentrivana in #5555You can now set and unset attributes on logs and metrics via top-level API. Think of it as
sentry_sdk.set_tag()for attribute-based telemetry. Other event types (transactions, spans, errors) will be unaffected.v2.53.0Compare Source
Bug Fixes 🐛
Openai Agents
execute_final_output()functions following library refactor by @alexander-alderman-webb in #5453execute_handoffs()functions following library refactor by @alexander-alderman-webb in #5452run_single_turn_streamed()functions following library refactor by @alexander-alderman-webb in #5451run_single_turn()functions following library refactor by @alexander-alderman-webb in #5450Other
Documentation 📚
openai-agentscontrol-flow by @alexander-alderman-webb in #5447Internal Changes 🔧
Openai Agents
Other
v2.52.0Compare Source
New Features ✨
Other
gen_ai.conversation.idif available by @constantinius in #5307Bug Fixes 🐛
Google Genai
Mcp
Other
HostedMCPToolwhen streaming by @alexander-alderman-webb in #5405Internal Changes 🔧
Fastmcp
Messageby @alexander-alderman-webb in #5411test_fastmcp_without_request_context()by @alexander-alderman-webb in #5412AsyncClientfor SSE by @alexander-alderman-webb in #5400TestClientfor Streamable HTTP by @alexander-alderman-webb in #5384Mcp
AsyncClientfor SSE by @alexander-alderman-webb in #5396TestClientfor Streamable HTTP by @alexander-alderman-webb in #5383Other
Other
v2.51.0Compare Source
New Features ✨
Openai
gen_ai.response.time_to_first_tokenby @constantinius in #5348Openai Agents
gen_ai.chatspans by @alexander-alderman-webb in #5370Other
set_conversation_idand managing functions on the Scope and apply it on the Span on.finish()by @constantinius in #5362Bug Fixes 🐛
Internal Changes 🔧
set_data_normalized()withSpan.set_data()for system instructions by @alexander-alderman-webb in #5374v2.50.0Compare Source
New Features ✨
Ai
Other
feat(asyncio): Add on-demand way to enable AsyncioIntegration by @sentrivana in #5288
You can now enable the
AsyncioIntegrationon demand, after callingsentry_sdk.init(). This is useful in scenarios where you don't havethe event loop running early on, or when you need to instrument multiple event loops.
v2.49.0Compare Source
New Features ✨
Scope.set_attributeby @sentrivana in #5256Bug Fixes 🐛
Documentation 📚
middleware_spansdocstring by @sentrivana in #5279Internal Changes 🔧
v2.48.0Compare Source
Middleware spans are now disabled by default in Django, Starlette and FastAPI integrations. Set the
middleware_spansintegration-leveloption to capture individual spans per middleware layer. To record Django middleware spans, for example, configure as follows
New Features ✨
feat(ai): add single message truncation by @shellmayr in #5079
feat(django): Add span around
Task.enqueueby @sentrivana in #5209feat(starlette): Set transaction name when middleware spans are disabled by @alexander-alderman-webb in #5223
feat: Add "K_REVISION" to environment variable release check (exposed by cloud run) by @rpradal in #5222
Langgraph
OTLP
Bug Fixes 🐛
Integrations
fix(django): Set active thread ID when middleware spans are disabled by @alexander-alderman-webb in #5220
fix(integrations): openai-agents fixing the input messages structure which was wrapped too much in some cases by @constantinius in #5203
fix(integrations): openai-agents fix multi-patching of
get_modelfunction by @constantinius in #5195fix(integrations): add values for pydantic-ai and openai-agents to
_INTEGRATION_DEACTIVATESto prohibit double span creation by @constantinius in #5196fix(logs): Set
span_idinstead ofsentry.trace.parent_span_idattribute by @sentrivana in #5241fix(logs, metrics): Gate metrics, logs user attributes behind
send_default_piiby @sentrivana in #5240fix(pydantic-ai): Stop capturing internal exceptions by @alexander-alderman-webb in #5237
fix(ray): Actor class decorator with arguments by @alexander-alderman-webb in #5230
fix: Don't log internal exception for tornado user auth by @sl0thentr0py in #5208
fix: Fix changelog config by @sentrivana in #5192
Internal Changes 🔧
chore(django): Disable middleware spans by default by @alexander-alderman-webb in #5219
chore(starlette): Disable middleware spans by default by @alexander-alderman-webb in #5224
ci: Unpin Python version for LiteLLM tests by @alexander-alderman-webb in #5238
ci: 🤖 Update test matrix with new releases (12/15) by @github-actions in #5229
chore: Ignore type annotation migration in blame by @alexander-alderman-webb in #5234
ref: Clean up get_active_propagation_context by @sl0thentr0py in #5217
ref: Cleanup outgoing propagation_context logic by @sl0thentr0py in #5215
ci: Pin Python version to at least 3.10 for LiteLLM by @alexander-alderman-webb in #5202
test: Remove skipped test by @sentrivana in #5197
Convert all remaining type annotations into the modern format by @zsol in #5239
Convert sentry_sdk type annotations into the modern format by @zsol in #5206
v2.47.0Compare Source
Bug Fixes 🐛
GEN_AI_OPERATION_NAMEby @constantinius in #5185gen_ai.request.messagesby @constantinius in #5167gen_ai.request.messagesattribute by @constantinius in #5161invoke_agentspan onagents.RunContextWrapperby @alexander-alderman-webb in #5165New Features ✨
Deprecations
continue_from_headersby @sl0thentr0py in #5160Build / dependencies / internal 🔧
commit_patternsto changelog config, remove auto-labeler by @sentrivana in #5176v2.46.0Compare Source
Various fixes & improvements
ModuleNotFoundErrorin Pydantic AI integration (#5135) by @alexander-alderman-webbMagicMockfrom mockedModelResponse(#5126) by @alexander-alderman-webbv2.45.0Compare Source
Various fixes & improvements
OTLPIntegration (#4877) by @sl0thentr0py
Enable the new OTLP integration with the code snippet below, and your OpenTelemetry instrumentation will be automatically sent to Sentry's OTLP ingestion endpoint.
Add data like inputs and responses;
see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
v2.44.0Compare Source
Various fixes & improvements
ToolManager._call_tool()parameters (#5084) by @alexander-alderman-webbNoneversion (#5083) by @alexander-alderman-webbcoverageversion for 3.14 Django tests (#5088) by @alexander-alderman-webbbefore_send_metricoption (#5064) by @alexander-alderman-webbenable_metricsoption (#5056) by @alexander-alderman-webbenable_metricsoption (#5046) by @alexander-alderman-webbv2.43.0Compare Source
Various fixes & improvements
Pydantic AI integration (#4906) by @constantinius
Enable the new Pydantic AI integration with the code snippet below, and you can use the Sentry AI dashboards to observe your AI calls:
Set traces_sample_rate to 1.0 to capture 100%
of transactions for tracing.
Add data like inputs and responses;
see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
)
fix(strawberry): Remove autodetection, always use sync extension (#4984) by @sentrivana
Previously,
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:...
)
v2.42.1Compare Source
Various fixes & improvements
_get_db_span_description(#4924) by @misrasaurabh1v2.42.0Compare Source
Various fixes & improvements
feat: Add source information for slow outgoing HTTP requests (#4902) by @alexander-alderman-webb
tests: Update tox (#4913) by @sentrivana
fix(Ray): Retain the original function name when patching Ray tasks (#4858) by @svartalf
feat(ai): Add
python-genaiintegration (#4891) by @vgrozdanicEnable the new Google GenAI integration with the code snippet below, and you can use the Sentry AI dashboards to observe your AI calls:
Set traces_sample_rate to 1.0 to capture 100%
of transactions for tracing.
Add data like inputs and responses;
see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
)
v2.41.0Compare Source
Various fixes & improvements
feat: Add
concurrent.futurespatch to threading integration (#4770) by @alexander-alderman-webbThe SDK now makes sure to automatically preserve span relationships when using
ThreadPoolExecutor.chore: Remove old metrics code (#4899) by @sentrivana
Removed all code related to the deprecated experimental metrics feature (
sentry_sdk.metrics).ref: Remove "experimental" from log function name (#4901) by @sentrivana
fix(ai): Add mapping for gen_ai message roles (#4884) by @shellmayr
feat(metrics): Add trace metrics behind an experiments flag (#4898) by @k-fish
v2.40.0Compare Source
Various fixes & improvements
Add LiteLLM integration (#4864) by @constantinius
Once you've enabled the new LiteLLM integration, you can use the Sentry AI Agents Monitoring, a Sentry dashboard that helps you understand what's going on with your AI requests:
Set traces_sample_rate to 1.0 to capture 100%
of transactions for tracing.
Add data like inputs and responses;
see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
)
_set_agent_datacall toai_client_spanfunction (#4876) by @constantiniusConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.