chore(deps): update dependency sentry-sdk to v2.61.1#711
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
e4e1f23 to
3cf8878
Compare
3cf8878 to
a0a28f0
Compare
a0a28f0 to
6ea0fab
Compare
6ea0fab to
5f5d763
Compare
5f5d763 to
fb690e5
Compare
fb690e5 to
4261e4b
Compare
4261e4b to
481e5cb
Compare
481e5cb to
ae1e640
Compare
ae1e640 to
8a9fdd6
Compare
8a9fdd6 to
450bf2b
Compare
450bf2b to
e86ec9f
Compare
e86ec9f to
ce82bc9
Compare
ce82bc9 to
4f2f1c1
Compare
4f2f1c1 to
8d90ab9
Compare
8d90ab9 to
568890b
Compare
85deb54 to
e2dcfed
Compare
e2dcfed to
5c228f6
Compare
5c228f6 to
8b89ae2
Compare
8b89ae2 to
92c896a
Compare
92c896a to
3e4528a
Compare
3e4528a to
0b75edc
Compare
0b75edc to
7d9174d
Compare
7d9174d to
9b738f0
Compare
9b738f0 to
8b4f674
Compare
8b4f674 to
843d4d0
Compare
843d4d0 to
930a757
Compare
930a757 to
a0fce85
Compare
a0fce85 to
1bff30d
Compare
1bff30d to
bb26e94
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.12.0→==2.61.1Release Notes
getsentry/sentry-python (sentry-sdk)
v2.61.1Compare Source
Internal Changes 🔧
Rq
fakeredis<2.36.0in tests by @alexander-alderman-webb in #6454redisandfakeredisfor tests by @alexander-alderman-webb in #6443Other
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 #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
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.