Update dependency sentry-sdk to >=2.64.0 #586

Merged
tobru merged 1 commit from renovate/sentry-sdk-2.x into main 2026-07-01 14:21:12 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
sentry-sdk (changelog) >=2.63.0>=2.64.0 age confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v2.64.0

Compare Source

The SDK now extracts all gen_ai spans out of a transaction and sends them as v2 envelope items by default. This prevents gen_ai spans 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, set stream_gen_ai_spans=False.

Self-hosted Sentry users should opt out with stream_gen_ai_spans=False, since streamed gen_ai spans may not be ingested by their Sentry instance.

Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧
Other

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [sentry-sdk](https://github.com/getsentry/sentry-python) ([changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)) | `>=2.63.0` → `>=2.64.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/sentry-sdk/2.64.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sentry-sdk/2.63.0/2.64.0?slim=true) | --- ### Release Notes <details> <summary>getsentry/sentry-python (sentry-sdk)</summary> ### [`v2.64.0`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2640) [Compare Source](https://github.com/getsentry/sentry-python/compare/2.63.0...2.64.0) The SDK now extracts all `gen_ai` spans out of a transaction and sends them as v2 envelope items by default. This prevents `gen_ai` spans 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, set `stream_gen_ai_spans=False`. Self-hosted Sentry users should opt out with `stream_gen_ai_spans=False`, since streamed `gen_ai` spans may not be ingested by their Sentry instance. ##### Bug Fixes 🐛 - (asyncpg) Use distinct span ops for cursor iteration and fetch to prevent N+1 false positives by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6609](https://github.com/getsentry/sentry-python/pull/6609) - (aiohttp) Gate url.full, url.path, url.query on send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6650](https://github.com/getsentry/sentry-python/pull/6650) - (asgi) Add url.path to ASGI request span attributes by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6652](https://github.com/getsentry/sentry-python/pull/6652) - (boto3) Gate url.full, url.query, url.fragment behind send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6674](https://github.com/getsentry/sentry-python/pull/6674) - (httpx) Gate url.full, url.query, and url.fragment behind send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6668](https://github.com/getsentry/sentry-python/pull/6668) - (httpx2) Gate url.full, url.query on send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6670](https://github.com/getsentry/sentry-python/pull/6670) - (langgraph) Ignore `GraphBubbleUp` exceptions by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6608](https://github.com/getsentry/sentry-python/pull/6608) - (litellm) Store span off-band, not in forwarded metadata by [@&#8203;jgreer013](https://github.com/jgreer013) in [#&#8203;6598](https://github.com/getsentry/sentry-python/pull/6598) - (mcp) Support MCP SDK v2 handler signature and removed request\_ctx by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6583](https://github.com/getsentry/sentry-python/pull/6583) - (pydantic-ai) Stop truncating in the streaming trace lifecycle by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6659](https://github.com/getsentry/sentry-python/pull/6659) - (pymongo) Add db.query.text to streamed query spans by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6637](https://github.com/getsentry/sentry-python/pull/6637) - (pyreqwest) Gate url.full, url.query, url.fragment on send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6673](https://github.com/getsentry/sentry-python/pull/6673) - (sanic) Gate url.full, url.path, and http.query behind send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6663](https://github.com/getsentry/sentry-python/pull/6663) - (starlette) Stop duplicating `scope["root_path"]` in URLs by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6579](https://github.com/getsentry/sentry-python/pull/6579) - (stdlib) Gate url.full and http.query behind send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6666](https://github.com/getsentry/sentry-python/pull/6666) - (tests) Fix flaky OTel propagator entry point test by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6655](https://github.com/getsentry/sentry-python/pull/6655) - (tornado) Gate url.full, url.path, url.query on send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6664](https://github.com/getsentry/sentry-python/pull/6664) - (wsgi) Gate url.full, url.path, and http.query behind send\_default\_pii by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6654](https://github.com/getsentry/sentry-python/pull/6654) - Stop unconditionally importing `contextvars` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6625](https://github.com/getsentry/sentry-python/pull/6625) - (.agents) Update project agent lockfiles by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6662](https://github.com/getsentry/sentry-python/pull/6662) ##### Documentation 📚 - Add light/dark logos by [@&#8203;hwhsu1231](https://github.com/hwhsu1231) in [#&#8203;6627](https://github.com/getsentry/sentry-python/pull/6627) - Fix typos by [@&#8203;juliosuas](https://github.com/juliosuas) in [#&#8203;6602](https://github.com/getsentry/sentry-python/pull/6602) ##### Internal Changes 🔧 - (mcp) Pin mcp package to <2.0.0 while alphas are in flight by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6687](https://github.com/getsentry/sentry-python/pull/6687) - 🤖 Update test matrix with new releases (06/29) by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;6682](https://github.com/getsentry/sentry-python/pull/6682) - Make `stream_gen_ai_spans` opt out by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6658](https://github.com/getsentry/sentry-python/pull/6658) - Remove `setuptools` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6618](https://github.com/getsentry/sentry-python/pull/6618) - Remove `executing` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6619](https://github.com/getsentry/sentry-python/pull/6619) - Remove `asttokens` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6615](https://github.com/getsentry/sentry-python/pull/6615) - Remove `responses` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6621](https://github.com/getsentry/sentry-python/pull/6621) - Remove `pytest-forked` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6611](https://github.com/getsentry/sentry-python/pull/6611) - Remove `docker` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6616](https://github.com/getsentry/sentry-python/pull/6616) - Add `--skip-version-update` option to `populate_tox.py` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6675](https://github.com/getsentry/sentry-python/pull/6675) - Remove `httpcore` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6622](https://github.com/getsentry/sentry-python/pull/6622) - Remove `pytest-timeout` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6613](https://github.com/getsentry/sentry-python/pull/6613) - Remove `pytest-localserver` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6612](https://github.com/getsentry/sentry-python/pull/6612) - Remove `jsonschema` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6620](https://github.com/getsentry/sentry-python/pull/6620) - Remove `socksio` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6617](https://github.com/getsentry/sentry-python/pull/6617) - Remove `pysocks` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6623](https://github.com/getsentry/sentry-python/pull/6623) - Remove `brotli` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6614](https://github.com/getsentry/sentry-python/pull/6614) - Remove `tomli` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6630](https://github.com/getsentry/sentry-python/pull/6630) - Remove `pytest-watch` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6624](https://github.com/getsentry/sentry-python/pull/6624) - Remove `pip` from `requirements-testing.txt` by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6629](https://github.com/getsentry/sentry-python/pull/6629) - 🤖 Update test matrix with new releases (06/22) by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;6610](https://github.com/getsentry/sentry-python/pull/6610) - Pin test dependencies including package extras by [@&#8203;alexander-alderman-webb](https://github.com/alexander-alderman-webb) in [#&#8203;6607](https://github.com/getsentry/sentry-python/pull/6607) - 🤖 Update test matrix with new releases (06/15) by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;6567](https://github.com/getsentry/sentry-python/pull/6567) - Bump deps for test-lambda-locally by [@&#8203;sl0thentr0py](https://github.com/sl0thentr0py) in [#&#8203;6594](https://github.com/getsentry/sentry-python/pull/6594) - Catch pkg\_resource warning by [@&#8203;sl0thentr0py](https://github.com/sl0thentr0py) in [#&#8203;6595](https://github.com/getsentry/sentry-python/pull/6595) ##### Other - (test): exclude django 6.1 alphas and betas from tox by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6690](https://github.com/getsentry/sentry-python/pull/6690) - (test): need to include the alpha tag for mcp package inclusion by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;6688](https://github.com/getsentry/sentry-python/pull/6688) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDkuNSIsInVwZGF0ZWRJblZlciI6IjQzLjI0OS41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Update dependency sentry-sdk to >=2.64.0
All checks were successful
Tests / test (push) Successful in 1m18s
f1e67b4d41
tobru merged commit 00f764d30b into main 2026-07-01 14:21:12 +00:00
tobru deleted branch renovate/sentry-sdk-2.x 2026-07-01 14:21:12 +00:00
Sign in to join this conversation.
No description provided.