releases.shpreview

aiomysql integration; HTTPX2 now auto-instrumented

v2.62.0

2 features1 enhancement6 fixesThis release2 featuresNew capabilities1 enhancementImprovements to existing features6 fixesBug fixesAI-tallied from the release notes

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 🔧

Fetched June 8, 2026