Update dependency sentry-sdk to >=2.61.0 #536
No reviewers
Labels
No labels
API
Billing
UI/UX
dependencies
bug
change
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
servala/servala-portal!536
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/sentry-sdk-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
>=2.60.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 #6295Configuration
📅 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 has been generated by Mend Renovate.