chore(deps): update cog requirement sentry-sdk to ~=2.61.0#379
Open
renovate[bot] wants to merge 1 commit into
Open
chore(deps): update cog requirement sentry-sdk to ~=2.61.0#379renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
5a6b34d to
b197a34
Compare
b197a34 to
63bf62c
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.58.0→~=2.61.0Release Notes
getsentry/sentry-python (sentry-sdk)
v2.61.0Compare Source
New Features ✨
Add
server.addressto transformed spans whenstream_gen_ai_spans=Trueby @alexander-alderman-webb in #6307Allow integrations to define control flow exceptions by @sentrivana in #6425
Disable string truncation for events by default by @alexander-alderman-webb in #6290
Following a previous significant increase of the string truncation limit, we've now completely removed the limit by default.
In case you have large strings in your events, you should now be able to see them.
In rare cases, if you have really long strings (or a lot of them), you might see envelopes being dropped because of their size.
If that happens, you can set the
max_value_lengthinitoption to the previous value of100_000:Bug Fixes 🐛
Langchain
TypeErroronlangchain.agentsimport by @alexander-alderman-webb in #6268Openai Agents
starting_agentkeyword argument in runner patches by @ericapisani in #6428name, notdescriptioninstart_spanby @sentrivana in #6323Pydantic AI
Agent.run_stream_events()patch by @alexander-alderman-webb in #6281Strawberry
AttributeErrorongraphql_spaninresolveby @sentrivana in #6289Other
(anthropic) Do not set
gen_ai.response.modeltoNoneby @alexander-alderman-webb in #6312(asyncpg) Use Sentry span attribute name conventions by @ericapisani in #6306
(boto3) Guard setting method by @sentrivana in #6288
(cohere) Stop setting transaction status when child span fails by @alexander-alderman-webb in #6300
(google-genai) Guard against
Noneresponse ID and response model by @alexander-alderman-webb in #6314(huey) Fix group and chord handling in enqueue by @ericapisani in #6392
(integrations) Auto-wrap root gen_ai spans for openai, cohere, langgraph, huggingface_hub by @constantinius in #6285
(serializer) Don't call
__iter__on arbitrary sequences by @sentrivana in #6304Previously, we'd attempt to serialize any
Sequenceby walking through it by calling its__iter__function.We've now changed the serializer to only serialize built-in sequences (like lists, tuples, and sets) to avoid
triggering side-effects from custom
__iter__implementations.This might mean some objects might be serialized differently. If you want to continue serializing a specific
custom sequence class the old way, you can register it via
sentry_sdk.serializer.add_repr_sequence_type(seehere).
Memory leak in SentrySpanProcessor by @volodkindv in #6271
Documentation 📚
beat.pydocstring by @quyentonndbs in #6266Internal Changes 🔧
Langchain
node.callspec.idmatching by @alexander-alderman-webb in #6426WatchedSpanclass by @alexander-alderman-webb in #6407Openai Agents
node.callspec.idmatching by @alexander-alderman-webb in #6424Pydantic Ai
Agent.run_stream_events()returning a context manager by @alexander-alderman-webb in #6322Other
node.callspec.idmatching by @alexander-alderman-webb in #6427fake_record_sql_queriesby @alexander-alderman-webb in #6295v2.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 #6172Configuration
📅 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.