Update dependency sentry-sdk to v2 - #347
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
June 15, 2025 08:06
9b6071e to
4a45efa
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
3 times, most recently
from
June 28, 2025 20:34
c08d902 to
4c62aa6
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
3 times, most recently
from
July 22, 2025 13:07
4a97cfe to
e2c8fa8
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
July 30, 2025 12:07
061d7ba to
910fa3e
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
August 14, 2025 18:00
910fa3e to
47bd7fd
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
August 26, 2025 14:41
47bd7fd to
58235f9
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
September 9, 2025 18:35
393a50d to
6e7b886
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
September 20, 2025 04:44
89f3923 to
cc2dba4
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
September 25, 2025 09:49
87dddcc to
fbca4d6
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
October 9, 2025 18:56
feac5f1 to
8e3b261
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
3 times, most recently
from
October 20, 2025 13:05
163b50e to
c765111
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
October 29, 2025 18:56
c765111 to
dcffea4
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
November 11, 2025 09:52
dcffea4 to
56611aa
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
November 24, 2025 10:08
094900b to
bb8b8c3
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
December 3, 2025 18:08
bb8b8c3 to
96bcb0f
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
December 21, 2025 20:53
1352b8a to
717341c
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
January 8, 2026 00:29
717341c to
6e4eaa6
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
March 31, 2026 15:04
9bc4af8 to
7b98bf8
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
April 6, 2026 17:55
950df07 to
abefe42
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
April 13, 2026 21:14
abefe42 to
0e85e34
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
April 23, 2026 13:56
5b1e28d to
d96e56c
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
May 4, 2026 13:43
d96e56c to
29f7ab0
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
May 15, 2026 01:57
864a6bc to
26b1915
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
May 28, 2026 11:46
d97c6f2 to
8dedd6b
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
3 times, most recently
from
June 8, 2026 16:10
400946b to
aaa581b
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
June 16, 2026 19:13
aaa581b to
761d02a
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
July 4, 2026 13:37
394ad01 to
5e57678
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
July 13, 2026 11:54
830a802 to
5ceacf4
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
July 22, 2026 18:06
be938cd to
5d66d9e
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
July 29, 2026 15:48
5d66d9e to
9958188
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
August 13, 2026 14:44
4e0bef8 to
e923943
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
2 times, most recently
from
August 25, 2026 12:37
d2247ac to
ab0b545
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
September 8, 2026 13:25
ab0b545 to
275755e
Compare
renovate
Bot
force-pushed
the
renovate/sentry-sdk-2.x
branch
from
September 8, 2026 19:14
275755e to
5f0d159
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:
~1→~2.69.0Release Notes
getsentry/sentry-python (sentry-sdk)
v2.69.1Compare Source
New Features ✨
http.routeattribute by @alexander-alderman-webb in #7428Bug Fixes 🐛
Internal Changes 🔧
Mcp
Other
stream_gen_ai_spansand the streaming trace lifecycle by @alexander-alderman-webb in #7405v2.69.0Compare Source
New Features ✨
Other
http.routeattribute by @alexander-alderman-webb in #7341http.routeattribute by @alexander-alderman-webb in #7343http.routeattribute by @alexander-alderman-webb in #7340http.routeattribute by @alexander-alderman-webb in #7322http.routeattribute by @alexander-alderman-webb in #7344http.routeattribute by @alexander-alderman-webb in #7347http.routeattribute by @alexander-alderman-webb in #7348http.routeattribute by @alexander-alderman-webb in #7338Bug Fixes 🐛
Mcp
Nonearguments in tool and prompt handlers by @alexander-alderman-webb in #7387Openai
input_textparts for the Responses API by @alexander-alderman-webb in #7333Response.outputis alistbefore iterating by @alexander-alderman-webb in #7238Starlette
urltransaction source for host routing by @mjq in #7266Other
isinstanceto determine tool type by @alexander-alderman-webb in #7412Internal Changes 🔧
Openai Agents
openaiversion when incompatible by @alexander-alderman-webb in #7236Pydantic Ai
hooks.on.model_requestby @alexander-alderman-webb in #7327Other
StreamedSpanin type annotations by @alexander-alderman-webb in #7373_extract_handler_data_from_args()by @alexander-alderman-webb in #7386openai-agentsto uv typing group by @alexander-alderman-webb in #7415aiohttpto uv typing group by @alexander-alderman-webb in #7395httpxtest suite fromhttpx2by @ZaafirRizwan in #7398test_langchain_embeddings_error_handling()by @alexander-alderman-webb in #7389tiktokento uv typing group by @alexander-alderman-webb in #7394openaito uv typing group by @alexander-alderman-webb in #7334anthropicto uv typing group by @alexander-alderman-webb in #7324google-genaito uv typing group by @alexander-alderman-webb in #7323getsentry/codecov-actionby @alexander-alderman-webb in #7241httpxdependency to tests relying onget_model_response()by @alexander-alderman-webb in #7235.getby @ericapisani in #7239v2.68.1Compare Source
enable_logs(logs) Don't stop sending auto-collected logs when
enable_logs=Trueby @sentrivana in #7237If you have
enable_logsset toTrue, our logging integrations for the standard library logging module as well as Loguru will auto-collect logs and send them to Sentry as Sentry logs by default, preserving old behavior. Turning automatic collection off for a specific integration can still be achieved using thecapture_sentry_logsintegration option.Please note that the
enable_logsoption is deprecated and will be removed in the next major release. Thesentry_sdk.logger.XAPI now works regardless of it, and auto-collection can be opted into via thecapture_sentry_logsintegration-level options, which areFalseby default, unless you haveenable_logs=True. We've added this compatibility layer to make the transition to aenable_logs-free world easier.Bug Fixes 🐛
failed_request_status_codesby @mgaligniana in #7140gen_ai.response.tool_callson outputs, not inputs by @ericapisani in #7207gen_ai.response.tool_callson outputs, not inputs by @ericapisani in #7210gen_ai.tool.definitionsattribute when data collection is enabled by @ericapisani in #7204gen_ai.response.tool_callson outputs, not inputs by @ericapisani in #7208gen_ai.response.tool_callson outputs, not inputs by @ericapisani in #7205gen_ai.response.tool_callson outputs, not inputs by @ericapisani in #7209v2.68.0Compare Source
Important
We're making
enable_logsandenable_metricsno-op with this release (#7177), and they'll be dropped in the next major.Previously,
enable_logsalso controlled automatic logs collection from the logging and Loguru integrations. These integrations now get an integration-levelcapture_sentry_logsboolean option to allow for more control over the auto-collection. These options areFalseby default, i.e., nothing is auto-collected without your explicit opt-in.Action Needed
If you had
enable_logsset toTrue:sentry_sdk.logger.XAPI, no action necessary, the API will just work.LoggingIntegrationorLoguruIntegration, the auto-collection will be turned off in this release. You can switch auto-collection on explicitly with:If you had
enable_logsset toFalse:sentry_sdk.logger.XAPI, you'll need to remove the calls entirely or define abefore_send_logcallback to filter out unwanted logs.If you has
enable_metricsset toFalse:before_send_metricor remove the calls to the API.Why We're Doing This
We recognize this is a disruptive change for some folks and want to make it clear this is a one-off. We're removing the options because they were an unnecessary hurdle that one had to jump through to be able to use logs and metrics, and it was confusing why the logging API would not just work on its own. On the other hand, we wanted to give you more fine-grained control over automatic collection.
New Features ✨
Other
NoOpStreamedSpanby @alexander-alderman-webb in #7163NoOpStreamedSpaninset_transaction_name()by @alexander-alderman-webb in #7164NoOpStreamedSpanby @alexander-alderman-webb in #7162Bug Fixes 🐛
Internal Changes 🔧
HTTPX, HTTPX2
Other
v2.67.1Compare Source
Bug Fixes 🐛
v2.67.0Compare Source
New Features ✨
Batcher
Integrations
Langchain
Openai
gen_ai.tool.definitionsfor the Responses API by @alexander-alderman-webb in #6951gen_ai.tool.definitionsfor the Chat Completions API by @alexander-alderman-webb in #6950gen_ai.request.reasoning.levelto OpenAI spans by @pabloDeputter in #6892Streaming
before_send_spanto top-level option by @sentrivana in #6885set_conversation_idAPI work by @sentrivana in #6866Other
set_attributesAPI by @sentrivana in #6897gen_ai.tool.definitionsattribute by @alexander-alderman-webb in #6956gen_ai.output.messagesincludingThinkingPartby @alexander-alderman-webb in #7037Bug Fixes 🐛
Openai Agents
run_single_turn_streamedreference by @alexander-alderman-webb in #7032Tests
capture_itemswith args by @sentrivana in #6867Other
sentry-traceshould take precedence over baggage by @sentrivana in #6863url.fullspan attribute by @sentrivana in #6861Documentation 📚
Internal Changes 🔧
Fastmcp
fastmcp>=4by @alexander-alderman-webb in #6923RootModelinstances by @alexander-alderman-webb in #6909try...exceptwithskipifby @alexander-alderman-webb in #6922Mcp
mcp.tool.result.is_errorby @alexander-alderman-webb in #6915mcp_typespackage by @alexander-alderman-webb in #6763_set_span_output_data()by @alexander-alderman-webb in #6762_get_span_config()by @alexander-alderman-webb in #6761_prepare_handler_data()by @alexander-alderman-webb in #6758Openai Agents
gen_ai.response.modelon Invoke Agent spans by @alexander-alderman-webb in #7028gen_ai.response.tool_callsby @alexander-alderman-webb in #6973gen_ai.request.available_toolson Invoke Agent spans by @alexander-alderman-webb in #6955gen_ai.request.available_toolson Execute Tool spans by @alexander-alderman-webb in #6954Other
iscoroutinefunctionshim inpatch_views()by @alexander-alderman-webb in #7024asyncio.iscoroutinefunctionby @alexander-alderman-webb in #7023on_agent_finish()hook by @alexander-alderman-webb in #7059FunctionModelfor testing output data transformations by @alexander-alderman-webb in #7036MAX_DATABAG_BREADTHby @Malkiz223 in #6783litellm<=1.96for generating test suites by @alexander-alderman-webb in #7147test-lambda-locallyby @alexander-alderman-webb in #7069pydantic-ai-slimto uv typing group by @alexander-alderman-webb in #7025langchain-baseto uv typing group by @alexander-alderman-webb in #7016ai_track()by @alexander-alderman-webb in #7005functions_to_tracetests by @alexander-alderman-webb in #6933mcp<2forfastmcp<0.3by @alexander-alderman-webb in #6925huey>=3.3.0by @alexander-alderman-webb in #6913httpxdependency tomcpandfastmcptests by @alexander-alderman-webb in #6905v2.66.1Compare Source
Bug Fixes 🐛
Tracing
Internal Changes 🔧
v2.66.0Compare Source
New Features ✨
Bug Fixes 🐛
Tracing
Internal Changes 🔧
nullcontexttosentry_sdk.utilsby @sentrivana in #6805v2.65.0Compare Source
New Features ✨
Huey
messaging.destination.nameon consumer spans by @alexander-alderman-webb in #6779messaging.destination.nameon producer spans by @alexander-alderman-webb in #6778Other
messaging.destination.nameon consumer spans by @alexander-alderman-webb in #6767messaging.destination.nameon consumer spans by @alexander-alderman-webb in #6776messaging.destination.nameon consumer spans by @alexander-alderman-webb in #6774Bug Fixes 🐛
Tracing
Other
ValueErrorin async middlewareprocess_*hooks by @r0ro in #6698Internal Changes 🔧
cache_write_tokensfield by @alexander-alderman-webb in #6804pydanticto the typing group by @alexander-alderman-webb in #6730python_multipartto the typing group by @alexander-alderman-webb in #6729changelog-previewby @alexander-alderman-webb in #6723requirements-testing.txtwith auvdependency group by @alexander-alderman-webb in #6693v2.64.0Compare Source
The SDK now extracts all
gen_aispans out of a transaction and sends them as v2 envelope items by default. This preventsgen_aispans from being dropped when the transaction payload exceeds size limits. Because they are no longer constrained by transaction size limits, AI message data is also no longer truncated. To keep the previous behavior, setstream_gen_ai_spans=False.Self-hosted Sentry users should opt out with
stream_gen_ai_spans=False, since streamedgen_aispans may not be ingested by their Sentry instance.Bug Fixes 🐛
GraphBubbleUpexceptions by @alexander-alderman-webb in #6608scope["root_path"]in URLs by @alexander-alderman-webb in #6579contextvarsby @alexander-alderman-webb in #6625Documentation 📚
Internal Changes 🔧
stream_gen_ai_spansopt out by @alexander-alderman-webb in #6658setuptoolsfromrequirements-testing.txtby @alexander-alderman-webb in #6618executingfromrequirements-testing.txtby @alexander-alderman-webb in #6619asttokensfromrequirements-testing.txtby @alexander-alderman-webb in #6615responsesfromrequirements-testing.txtby @alexander-alderman-webb in #6621pytest-forkedfromrequirements-testing.txtby @alexander-alderman-webb in #6611dockerfromrequirements-testing.txtby @alexander-alderman-webb in #6616--skip-version-updateoption topopulate_tox.pyby @alexander-alderman-webb in #6675httpcorefromrequirements-testing.txtby @alexander-alderman-webb in #6622pytest-timeoutfromrequirements-testing.txtby @alexander-alderman-webb in #6613pytest-localserverfromrequirements-testing.txtby @alexander-alderman-webb in #6612jsonschemafromrequirements-testing.txtby @alexander-alderman-webb in #6620socksiofromrequirements-testing.txtby @alexander-alderman-webb in #6617pysocksfromrequirements-testing.txtby @alexander-alderman-webb in #6623brotlifromrequirements-testing.txtby [@alexander-aldermaConfiguration
📅 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.