|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 1.31.0 |
| 4 | + |
| 5 | +### Various fixes & improvements |
| 6 | + |
| 7 | +- **New:** Add integration for `clickhouse-driver` (#2167) by @mimre25 |
| 8 | + |
| 9 | + For more information, see the documentation for [clickhouse-driver](https://docs.sentry.io/platforms/python/configuration/integrations/clickhouse-driver) for more information. |
| 10 | + |
| 11 | + Usage: |
| 12 | + |
| 13 | + ```python |
| 14 | + import sentry_sdk |
| 15 | + from sentry_sdk.integrations.clickhouse_driver import ClickhouseDriverIntegration |
| 16 | + |
| 17 | + sentry_sdk.init( |
| 18 | + dsn='___PUBLIC_DSN___', |
| 19 | + integrations=[ |
| 20 | + ClickhouseDriverIntegration(), |
| 21 | + ], |
| 22 | + ) |
| 23 | + ``` |
| 24 | + |
| 25 | +- **New:** Add integration for `asyncpg` (#2314) by @mimre25 |
| 26 | + |
| 27 | + For more information, see the documentation for [asyncpg](https://docs.sentry.io/platforms/python/configuration/integrations/asyncpg/) for more information. |
| 28 | + |
| 29 | + Usage: |
| 30 | + |
| 31 | + ```python |
| 32 | + import sentry_sdk |
| 33 | + from sentry_sdk.integrations.asyncpg import AsyncPGIntegration |
| 34 | + |
| 35 | + sentry_sdk.init( |
| 36 | + dsn='___PUBLIC_DSN___', |
| 37 | + integrations=[ |
| 38 | + AsyncPGIntegration(), |
| 39 | + ], |
| 40 | + ) |
| 41 | + ``` |
| 42 | + |
| 43 | +- **New:** Allow to override `propagate_traces` in `Celery` per task (#2331) by @jan-auer |
| 44 | + |
| 45 | + For more information, see the documentation for [Celery](https://docs.sentry.io//platforms/python/guides/celery/#distributed-traces) for more information. |
| 46 | + |
| 47 | + Usage: |
| 48 | + ```python |
| 49 | + import sentry_sdk |
| 50 | + from sentry_sdk.integrations.celery import CeleryIntegration |
| 51 | + |
| 52 | + # Enable global distributed traces (this is the default, just to be explicit.) |
| 53 | + sentry_sdk.init( |
| 54 | + dsn='___PUBLIC_DSN___', |
| 55 | + integrations=[ |
| 56 | + CeleryIntegration(propagate_traces=True), |
| 57 | + ], |
| 58 | + ) |
| 59 | + |
| 60 | + ... |
| 61 | + |
| 62 | + # This will NOT propagate the trace. (The task will start its own trace): |
| 63 | + my_task_b.apply_async( |
| 64 | + args=("some_parameter", ), |
| 65 | + headers={"sentry-propagate-traces": False}, |
| 66 | + ) |
| 67 | + ``` |
| 68 | + |
| 69 | +- Prevent Falcon integration from breaking ASGI apps (#2359) by @szokeasaurusrex |
| 70 | +- Backpressure: only downsample a max of 10 times (#2347) by @sl0thentr0py |
| 71 | +- Made NoOpSpan compatible to Transactions. (#2364) by @antonpirker |
| 72 | +- Cleanup ASGI integration (#2335) by @antonpirker |
| 73 | +- Pin anyio in tests (dep of httpx), because new major 4.0.0 breaks tests. (#2336) by @antonpirker |
| 74 | +- Added link to backpressure section in docs. (#2354) by @antonpirker |
| 75 | +- Add .vscode to .gitignore (#2317) by @shoaib-mohd |
| 76 | +- Documenting Spans and Transactions (#2358) by @antonpirker |
| 77 | +- Fix in profiler: do not call getcwd from module root (#2329) by @Zylphrex |
| 78 | +- Fix deprecated version attribute (#2338) by @vagi8 |
| 79 | +- Fix transaction name in Starlette and FastAPI (#2341) by @antonpirker |
| 80 | +- Fix tests using Postgres (#2362) by @antonpirker |
| 81 | +- build(deps): Updated linting tooling (#2350) by @antonpirker |
| 82 | +- build(deps): bump sphinx from 7.2.4 to 7.2.5 (#2344) by @dependabot |
| 83 | +- build(deps): bump actions/checkout from 2 to 4 (#2352) by @dependabot |
| 84 | +- build(deps): bump checkouts/data-schemas from `ebc77d3` to `68def1e` (#2351) by @dependabot |
| 85 | + |
3 | 86 | ## 1.30.0
|
4 | 87 |
|
5 | 88 | ### Various fixes & improvements
|
|
0 commit comments