Update dependency sentry-sdk to v2.60.0#38
Merged
Conversation
Test Results
|
fb2b1f3 to
b690d2c
Compare
b690d2c to
cf1245c
Compare
cf1245c to
c4c9821
Compare
c4c9821 to
702168d
Compare
702168d to
60b5177
Compare
60b5177 to
c5c323e
Compare
c5c323e to
09d47b4
Compare
09d47b4 to
59948c2
Compare
59948c2 to
db7e067
Compare
db7e067 to
15b16c5
Compare
15b16c5 to
22307e5
Compare
22307e5 to
9df86ec
Compare
9df86ec to
1cdf9c0
Compare
1cdf9c0 to
c48d4c1
Compare
c48d4c1 to
7da58e1
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:
==2.43.0→==2.60.0Release Notes
getsentry/sentry-python (sentry-sdk)
v2.60.0Compare Source
Adds a new
stream_gen_ai_spansoption that controls howgen_aispans aresent to Sentry. When set, the SDK extracts all
gen_aispans out of atransaction and sends them as v2 envelope items.
Enable this option if
gen_aispans are being dropped because the transaction payload exceeds size limits.New Features ✨
responsescalls by @constantinius in #6199stream_gen_ai_spansis enabled by @alexander-alderman-webb in #6260Bug Fixes 🐛
Openai
choices=Noneby @cla7aye15I4nd in #6216Other
@sentry_sdk.traces.traceoverloads to fix typing by @sentrivana in #6236http.serverspans are segments by @sentrivana in #6230Internal Changes 🔧
Django
Openai
Other
capture_items()by @alexander-alderman-webb in #6214envelopes_to_xhelpers withcapture_itemsby @sentrivana in #6233set_custom_sampling_context()a classmethod by @alexander-alderman-webb in #6238_timestampto_end_timestampby @sentrivana in #6235botocore-stubsby @alexander-alderman-webb in #6203v2.59.0Compare Source
New Features ✨
Langchain
run_nameasgen_ai.function_idon Invoke Agent Spans by @alexander-alderman-webb in #5926run_nameinon_tool_startby @alexander-alderman-webb in #5925run_nameinon_chat_model_startby @alexander-alderman-webb in #5924Other
db.driver.namespans to database integrations by @ericapisani in #6082Bug Fixes 🐛
We've put additional data that might contain sensitive information, like GraphQL documents, behind the
send_default_piioption.Httpx
code.namespaceandcode.functioninstead ofcode.function.namein span streaming by @alexander-alderman-webb in #6150Langchain
run_nameasgen_ai.function_idfor text completions by @alexander-alderman-webb in #6073gen_ai.agent.namefor chat and tool spans by @alexander-alderman-webb in #5877Other
inspect.iscoroutinefunctionon Python 3.14+ by @alexander-alderman-webb in #6135span_idif no active span by @sentrivana in #6162Monitor._thread_lockafter fork (#6148) by @vokracko in #6159bindingsfor openai-agents >= 0.14 by @ericapisani in #6102inspect.iscoroutinefunctionwhen Quart does by @alexander-alderman-webb in #6133inspect.iscoroutinefunctionwhen Starlette does by @alexander-alderman-webb in #6134_get_current_streamed_span()to keep types backwards compatible by @alexander-alderman-webb in #6177Internal Changes 🔧
Stdlib
add_http_request_source()patch by @alexander-alderman-webb in #6160HTTPSConnection.sendin trace header tests by @alexander-alderman-webb in #6156Other
NoOpMgrfrom utils by @sentrivana in #6078Model.requestpatch by @alexander-alderman-webb in #5956enable_tracingwithtraces_sample_rateby @sentrivana in #6077update-toxaction to master branch by @alexander-alderman-webb in #6172v2.58.0Compare Source
New Features ✨
Bug Fixes 🐛
Anthropic
stream()calls by @alexander-alderman-webb in #5950Pydantic Ai
Other
Internal Changes 🔧
Litellm
httpxtypes in rate-limit test by @alexander-alderman-webb in #5975httpxtypes in embedding tests by @alexander-alderman-webb in #5970httpxtypes in nonstreamingcompletion()tests by @alexander-alderman-webb in #5937Other
gen_ai.tool.typespan attribute by @ericapisani in #5964Other
Nonespan context in the span processor and pin tokenizers version for anthropic tests on Python 3.8 by @alexander-alderman-webb in #5967v2.57.0Compare Source
New Features ✨
Langchain
gen_ai.operation.nameandgen_ai.pipeline.nameon LLM spans by @ericapisani in #5849gen_ai.generate_textby @ericapisani in #5796Other
Add experimental async transport by @BYK in #5646
See https://redirect.github.com/getsentry/sentry-python/discussions/5919 for details.
Bug Fixes 🐛
Openai
_iteratorfor streamed responses by @alexander-alderman-webb in #5917gen_ai.response.streamingfor Responses by @alexander-alderman-webb in #5697max_output_tokensfor Responses API by @alexander-alderman-webb in #5693gen_ai.response.streamingfor Completions by @alexander-alderman-webb in #5692Other
Internal Changes 🔧
Ai
Langchain
httpxtypes by @alexander-alderman-webb in #5724Openai
Other
v2.56.0Compare Source
New Features ✨
Bug Fixes 🐛
Anthropic
AsyncStream.close()andAsyncMessageStream.close()to finish spans by @alexander-alderman-webb in #5675Stream.close()andMessageStream.close()to finish spans by @alexander-alderman-webb in #5674Other
Documentation 📚
Internal Changes 🔧
-latestalias for each integration test suite by @sentrivana in #5706Other
v2.55.0Compare Source
New Features ✨
Anthropic
gen_ai.chatspans for asynchronousmessages.stream()by @alexander-alderman-webb in #5572messages.stream()by @alexander-alderman-webb in #5565gen_ai.systemattribute to spans by @ericapisani in #5661Pydantic Ai
Other
Bug Fixes 🐛
GeneratorExitby @alexander-alderman-webb in #5643Documentation 📚
set_attributeexample to changelog by @sentrivana in #5578Internal Changes 🔧
Anthropic
stream()by @alexander-alderman-webb in #5665Openai Agents
with_streaming_response()by @alexander-alderman-webb in #5583httpxfor streamed responses by @alexander-alderman-webb in #5580httpxin non-MCP tool tests by @alexander-alderman-webb in #5602httpxin MCP tool tests by @alexander-alderman-webb in #5605httpxin handoff tests by @alexander-alderman-webb in #5604httpxin API error test by @alexander-alderman-webb in #5601httpxin non-error single-response tests by @alexander-alderman-webb in #5600namespacetool field for newopenaiversions by @alexander-alderman-webb in #5599Other
httpxto linting requirements by @alexander-alderman-webb in #5644populate_tox.pyby @alexander-alderman-webb in #5574potel-baseby @sentrivana in #5614v2.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.Bug Fixes 🐛
Openai
Other
ToolManager._call_toolby @sentrivana in #5522Documentation 📚
Internal Changes 🔧
Agents
Openai
Openai Agents
set_data_normalizedfor primitive attributes by @alexander-alderman-webb in #5509Other
set_data_normalizedfor primitive attributes by @alexander-alderman-webb in #5504set_data_normalizedfor thegen_ai.response.modelattribute by @alexander-alderman-webb in #5512v2.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
Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.