|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 2.62.0 |
| 4 | + |
| 5 | +### New Features ✨ |
| 6 | + |
| 7 | +- Add integration for `aiomysql` by @tonal in [#4703](https://github.com/getsentry/sentry-python/pull/4703) |
| 8 | + |
| 9 | + We're adding support for the `aiomysql` package. To enable the integration, add it to your `integrations` list: |
| 10 | + |
| 11 | + ```python |
| 12 | + import sentry_sdk |
| 13 | + from sentry_sdk.integrations.aiomysql import AioMySQLIntegration |
| 14 | + |
| 15 | + sentry_sdk.init( |
| 16 | + traces_sample_rate=1.0, |
| 17 | + integrations=[AioMySQLIntegration()], |
| 18 | + ) |
| 19 | + ``` |
| 20 | + |
| 21 | +- Support HTTPX2 by @sentrivana in [#6463](https://github.com/getsentry/sentry-python/pull/6463) |
| 22 | + |
| 23 | + We're adding out-of-the-box support for HTTPX2. As long as use the package, the Sentry integration |
| 24 | + will be enabled automatically and you should see your requests instrumented in Sentry. |
| 25 | + |
| 26 | + ```python |
| 27 | + import httpx2 |
| 28 | + import sentry_sdk |
| 29 | + |
| 30 | + sentry_sdk.init(...) |
| 31 | + |
| 32 | + with sentry_sdk.start_transaction(name="testing_sentry"): |
| 33 | + httpx2.get("https://sentry.io/") |
| 34 | + ``` |
| 35 | + |
| 36 | +### Bug Fixes 🐛 |
| 37 | + |
| 38 | +- (arq) Never capture control flow exceptions by @alexander-alderman-webb in [#6507](https://github.com/getsentry/sentry-python/pull/6507) |
| 39 | +- (client) Guard against dotless qualified_name in \_setup_instrumentation by @devteamaegis in [#6452](https://github.com/getsentry/sentry-python/pull/6452) |
| 40 | +- (pydantic-ai) Only use hooks when `ModelRequestContext.model` exists by @alexander-alderman-webb in [#6480](https://github.com/getsentry/sentry-python/pull/6480) |
| 41 | +- (rq) Restore `functools.wraps()` for patched functions by @alexander-alderman-webb in [#6532](https://github.com/getsentry/sentry-python/pull/6532) |
| 42 | +- (tracing_utils) Handle baggage values containing '=' in from_incoming_header by @devteamaegis in [#6450](https://github.com/getsentry/sentry-python/pull/6450) |
| 43 | +- (utils) Handle image_url string shorthand in \_is_image_type_with_blob_content by @devteamaegis in [#6478](https://github.com/getsentry/sentry-python/pull/6478) |
| 44 | + |
| 45 | +### Internal Changes 🔧 |
| 46 | + |
| 47 | +- (arq) Only pin `fakeredis<2.36.0` in tests by @alexander-alderman-webb in [#6444](https://github.com/getsentry/sentry-python/pull/6444) |
| 48 | +- (flaky) Change env for flaky test detector by @sl0thentr0py in [#6492](https://github.com/getsentry/sentry-python/pull/6492) |
| 49 | +- (pydantic-ai) Create event loop before invoking sync methods by @alexander-alderman-webb in [#6475](https://github.com/getsentry/sentry-python/pull/6475) |
| 50 | +- Use `package-ecosystem: uv` in dependabot by @sentrivana in [#6522](https://github.com/getsentry/sentry-python/pull/6522) |
| 51 | +- 🤖 Update test matrix with new releases (06/08) by @github-actions in [#6519](https://github.com/getsentry/sentry-python/pull/6519) |
| 52 | +- Raise minimum supported `aiomysql` version and update text matrix by @alexander-alderman-webb in [#6496](https://github.com/getsentry/sentry-python/pull/6496) |
| 53 | +- Deprecate OpenTelemetryIntegration in favor of OTLPIntegration and no-op for span first by @sl0thentr0py in [#6494](https://github.com/getsentry/sentry-python/pull/6494) |
| 54 | +- 🤖 Update test matrix with new releases (06/03) by @github-actions in [#6489](https://github.com/getsentry/sentry-python/pull/6489) |
| 55 | +- Raise `update-tox` timeout to 20 minutes by @alexander-alderman-webb in [#6488](https://github.com/getsentry/sentry-python/pull/6488) |
| 56 | +- Prevent `grpcio-tools` source builds when generating test matrices by @alexander-alderman-webb in [#6487](https://github.com/getsentry/sentry-python/pull/6487) |
| 57 | +- Add weekly flaky test detector workflow by @sl0thentr0py in [#6484](https://github.com/getsentry/sentry-python/pull/6484) |
| 58 | +- Pin transitive dependencies for tests on Python>=3.8 by @alexander-alderman-webb in [#6437](https://github.com/getsentry/sentry-python/pull/6437) |
| 59 | +- Install uv in `update-tox` job by @alexander-alderman-webb in [#6453](https://github.com/getsentry/sentry-python/pull/6453) |
| 60 | +- Only pin `setuptools` in relevant tests by @alexander-alderman-webb in [#6467](https://github.com/getsentry/sentry-python/pull/6467) |
| 61 | + |
3 | 62 | ## 2.61.1 |
4 | 63 |
|
5 | 64 | ### Internal Changes 🔧 |
|
0 commit comments