Skip to content

Update dependency sentry-sdk to v2#7

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-sdk-2.x
Open

Update dependency sentry-sdk to v2#7
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-sdk-2.x

Conversation

@renovate

@renovate renovate Bot commented Jun 8, 2025

Copy link
Copy Markdown

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sentry-sdk (changelog) ==1.45.1==2.62.0 age adoption passing confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v2.62.0

Compare Source

New Features ✨
  • Add integration for aiomysql by @​tonal in #​4703

    We're adding support for the aiomysql package. To enable the integration, add it to your integrations list:

    import sentry_sdk
    from sentry_sdk.integrations.aiomysql import AioMySQLIntegration
    
    sentry_sdk.init(
        traces_sample_rate=1.0,
        integrations=[AioMySQLIntegration()],
    )
  • 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.

    import httpx2
    import sentry_sdk
    
    sentry_sdk.init(...)
    
    with sentry_sdk.start_transaction(name="testing_sentry"):
        httpx2.get("https://sentry.io/")
Bug Fixes 🐛
Internal Changes 🔧

v2.61.1

Compare Source

Internal Changes 🔧
Rq
Other

v2.61.0

Compare Source

New Features ✨
  • Add server.address to transformed spans when stream_gen_ai_spans=True by @​alexander-alderman-webb in #​6307

  • Allow 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_length init option to the previous value of 100_000:

    sentry_sdk.init(
        ...,
        max_value_length=100_000,
    )
Bug Fixes 🐛
Langchain
Openai Agents
Pydantic AI
Strawberry
Other
  • (anthropic) Do not set gen_ai.response.model to None by @​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 None response 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 #​6304

    Previously, we'd attempt to serialize any Sequence by 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 (see
    here).

  • Memory leak in SentrySpanProcessor by @​volodkindv in #​6271

Documentation 📚
Internal Changes 🔧
Langchain
Openai Agents
Pydantic Ai
Other

v2.60.0

Compare Source

Adds a new stream_gen_ai_spans option that controls how gen_ai spans are
sent to Sentry. When set, the SDK extracts all gen_ai spans out of a
transaction and sends them as v2 envelope items.

Enable this option if gen_ai spans are being dropped because the transaction payload exceeds size limits.

import sentry_sdk

sentry_sdk.init(
  dsn='https://examplePublicKey@o0.ingest.sentry.io/0',
  stream_gen_ai_spans=True,
)
New Features ✨
Bug Fixes 🐛
Openai
Other
Internal Changes 🔧
Django
Openai
Other

v2.59.0

Compare Source

New Features ✨
Langchain
Other
Bug Fixes 🐛

We've put additional data that might contain sensitive information, like GraphQL documents, behind the send_default_pii option.

Httpx
Langchain
Other
Internal Changes 🔧
Stdlib
Other

v2.58.0

Compare Source

New Features ✨
Bug Fixes 🐛
Anthropic
Pydantic Ai
Other
Internal Changes 🔧
Litellm
Other
Other

v2.57.0

Compare Source

New Features ✨
Langchain
Other
Bug Fixes 🐛
Openai
Other
Internal Changes 🔧
Ai
Langchain
Openai
Other

v2.56.0

Compare Source

New Features ✨
Bug Fixes 🐛
Anthropic
Other
Documentation 📚
Internal Changes 🔧
Other

v2.55.0

Compare Source

New Features ✨
Anthropic
Pydantic Ai
Other
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧
Anthropic
Openai Agents

Note

PR body was truncated to here.


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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested review from a team as code owners June 8, 2025 15:57
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 9832ea5 to d7a5a20 Compare June 15, 2025 03:48
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from d7a5a20 to 477ca46 Compare June 28, 2025 20:01
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 477ca46 to cc0afc9 Compare July 20, 2025 04:07
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from cc0afc9 to 43e99be Compare August 3, 2025 16:03
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 43e99be to 703da49 Compare August 16, 2025 07:09
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch 3 times, most recently from eb72378 to 7cd7776 Compare September 6, 2025 07:04
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 7cd7776 to 9052303 Compare September 9, 2025 19:47
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 9052303 to c07f5fc Compare September 17, 2025 19:55
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from c07f5fc to a407cb8 Compare September 26, 2025 07:50
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch 2 times, most recently from 60b5856 to 259d326 Compare October 10, 2025 15:52
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch 2 times, most recently from cf5f2b4 to 800b4dc Compare October 21, 2025 03:53
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 800b4dc to 1125942 Compare November 2, 2025 11:12
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch 2 times, most recently from e620ddf to eea3fe4 Compare November 19, 2025 04:09
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from eea3fe4 to bd1e72a Compare November 24, 2025 22:27
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from bd1e72a to 1c302df Compare December 3, 2025 22:37
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 1c302df to 66ea08f Compare December 17, 2025 08:10
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 66ea08f to 87dee41 Compare January 8, 2026 23:49
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 87dee41 to 714d692 Compare January 20, 2026 19:36
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch 2 times, most recently from bbf8985 to ec9f6d3 Compare February 5, 2026 03:11
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from ec9f6d3 to 053887b Compare February 17, 2026 03:32
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 053887b to 6fd17b9 Compare March 8, 2026 10:50
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 6fd17b9 to 9f89162 Compare March 31, 2026 17:11
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 9f89162 to b70be2f Compare April 15, 2026 12:54
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from b70be2f to 8272f29 Compare May 6, 2026 03:59
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 8272f29 to 9d6ee5c Compare May 14, 2026 02:42
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch 2 times, most recently from 02bcdc7 to 3eab03e Compare June 5, 2026 20:08
@renovate renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 3eab03e to ba4b950 Compare June 13, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants