chore(deps): update dependency sentry-sdk to v2.62.0#128
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
7568964 to
c8da4c2
Compare
c8da4c2 to
ead650d
Compare
ead650d to
2fd076e
Compare
2fd076e to
fe279a6
Compare
fe279a6 to
c9cb7e2
Compare
c9cb7e2 to
4750b50
Compare
4750b50 to
c73ba5b
Compare
c73ba5b to
bcfc1a7
Compare
bcfc1a7 to
c9652b1
Compare
c9652b1 to
9611099
Compare
83376f6 to
401bf94
Compare
401bf94 to
07859c3
Compare
07859c3 to
36f97dd
Compare
36f97dd to
687d1ab
Compare
94e204d to
a6d3ffc
Compare
a6d3ffc to
ab668b2
Compare
ab668b2 to
2f6063e
Compare
2f6063e to
f74f0fb
Compare
f74f0fb to
3dc8a72
Compare
3dc8a72 to
fb2f24e
Compare
699d2be to
48e908f
Compare
48e908f to
8db70f3
Compare
8db70f3 to
7e2c2b1
Compare
7e2c2b1 to
2bb40fb
Compare
2bb40fb to
00d1428
Compare
00d1428 to
d826d21
Compare
d826d21 to
7e5ddae
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.34.1→2.62.0Release Notes
getsentry/sentry-python (sentry-sdk)
v2.62.0Compare Source
New Features ✨
Add integration for
aiomysqlby @tonal in #4703We're adding support for the
aiomysqlpackage. To enable the integration, add it to yourintegrationslist:Support HTTPX2 by @sentrivana in #6463
We're adding out-of-the-box support for HTTPX2. As long as use the package, the Sentry integration
will be enabled automatically and you should see your requests instrumented in Sentry.
Bug Fixes 🐛
ModelRequestContext.modelexists by @alexander-alderman-webb in #6480functools.wraps()for patched functions by @alexander-alderman-webb in #6532Internal Changes 🔧
fakeredis<2.36.0in tests by @alexander-alderman-webb in #6444package-ecosystem: uvin dependabot by @sentrivana in #6522aiomysqlversion and update text matrix by @alexander-alderman-webb in #6496update-toxtimeout to 20 minutes by @alexander-alderman-webb in #6488grpcio-toolssource builds when generating test matrices by @alexander-alderman-webb in #6487update-toxjob by @alexander-alderman-webb in #6453setuptoolsin relevant tests by @alexander-alderman-webb in #6467v2.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 [@alexandeConfiguration
📅 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.