|
4 | 4 |
|
5 | 5 | ### New Features ✨ |
6 | 6 |
|
7 | | -- (bottle) Add span streaming support to Bottle integration by @ericapisani in [#6486](https://github.com/getsentry/sentry-python/pull/6486) |
8 | | -- (cohere) Add span streaming support by @ericapisani in [#6479](https://github.com/getsentry/sentry-python/pull/6479) |
9 | | -- (gcp) Add span streaming support to GCP Cloud Functions integration by @ericapisani in [#6440](https://github.com/getsentry/sentry-python/pull/6440) |
10 | | -- (graphene) Add span streaming support by @ericapisani in [#6476](https://github.com/getsentry/sentry-python/pull/6476) |
11 | | -- (integrations) Add integration for `aiomysql` by @tonal in [#4703](https://github.com/getsentry/sentry-python/pull/4703) |
12 | | -- (pyreqwest) Support span streaming by @alexander-alderman-webb in [#6455](https://github.com/getsentry/sentry-python/pull/6455) |
13 | | -- Support httpx2 by @sentrivana in [#6463](https://github.com/getsentry/sentry-python/pull/6463) |
| 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 | + ``` |
14 | 35 |
|
15 | 36 | ### Bug Fixes 🐛 |
16 | 37 |
|
17 | | -- (api) Only emit API mismatch warnings when client is active by @sentrivana in [#6520](https://github.com/getsentry/sentry-python/pull/6520) |
18 | 38 | - (arq) Never capture control flow exceptions by @alexander-alderman-webb in [#6507](https://github.com/getsentry/sentry-python/pull/6507) |
19 | 39 | - (client) Guard against dotless qualified_name in \_setup_instrumentation by @devteamaegis in [#6452](https://github.com/getsentry/sentry-python/pull/6452) |
20 | 40 | - (pydantic-ai) Only use hooks when `ModelRequestContext.model` exists by @alexander-alderman-webb in [#6480](https://github.com/getsentry/sentry-python/pull/6480) |
|
0 commit comments