|
2 | 2 |
|
3 | 3 | ## 1.35.0
|
4 | 4 |
|
5 |
| -### Python 3.12 Support (ongoing) |
| 5 | +### Various fixes & improvements |
6 | 6 |
|
7 |
| -By: @sentrivana (#2488) |
| 7 | +- **Updated gRPC integration:** Asyncio interceptors and easier setup (#2369) by @fdellekart |
8 | 8 |
|
9 |
| -### Various fixes & improvements |
| 9 | + Our gRPC integration now instruments incoming unary-unary grpc requests and outgoing unary-unary, unary-stream grpc requests using grpcio channels. Everything works now for sync and async code. |
| 10 | + |
| 11 | + Before this release you had to add Sentry interceptors by hand to your gRPC code, now the only thing you need to do is adding the `GRPCIntegration` to you `sentry_sdk_init()` call. (See [documentation](https://docs.sentry.io/platforms/python/integrations/grpc/) for more information): |
| 12 | + |
| 13 | + ```python |
| 14 | + import sentry_sdk |
| 15 | + from sentry_sdk.integrations.grpc import GRPCIntegration |
10 | 16 |
|
11 |
| -- Replace deprecated datetime functions (#2502) by @sentrivana |
12 |
| -- Set correct data in `check_in`s (#2500) by @antonpirker |
13 |
| -- Make reading the request body work in Django ASGI apps. (#2495) by @antonpirker |
14 |
| -- Read timezone for Crons monitors from `celery_schedule` if existing (#2497) by @antonpirker |
15 |
| -- feat(metrics): Unify datetime format (#2409) by @mitsuhiko |
16 |
| -- gRPC integration and aio interceptors (#2369) by @fdellekart |
17 |
| -- fix(integrations): Use wraps on fastapi request call wrapper (#2476) by @nkaras |
18 |
| -- Remove unnecessary TYPE_CHECKING alias (#2467) by @rafrafek |
19 |
| -- Removing redundant code in Django tests (#2491) by @vagi8 |
20 |
| -- Probe for psycopg2 and psycopg3 parameters function. (#2492) by @antonpirker |
| 17 | + sentry_sdk.init( |
| 18 | + dsn="___PUBLIC_DSN___", |
| 19 | + enable_tracing=True, |
| 20 | + integrations=[ |
| 21 | + GRPCIntegration(), |
| 22 | + ], |
| 23 | + ) |
| 24 | + ``` |
| 25 | + The old way still works, but we strongly encourage you to update your code to the way described above. |
| 26 | + |
| 27 | +- Python 3.12: Replace deprecated datetime functions (#2502) by @sentrivana |
| 28 | +- Metrics: Unify datetime format (#2409) by @mitsuhiko |
| 29 | +- Celery: Set correct data in `check_in`s (#2500) by @antonpirker |
| 30 | +- Celery: Read timezone for Crons monitors from `celery_schedule` if existing (#2497) by @antonpirker |
| 31 | +- Django: Removing redundant code in Django tests (#2491) by @vagi8 |
| 32 | +- Django: Make reading the request body work in Django ASGI apps. (#2495) by @antonpirker |
| 33 | +- FastAPI: Use wraps on fastapi request call wrapper (#2476) by @nkaras |
| 34 | +- Fix: Probe for psycopg2 and psycopg3 parameters function. (#2492) by @antonpirker |
| 35 | +- Fix: Remove unnecessary TYPE_CHECKING alias (#2467) by @rafrafek |
21 | 36 |
|
22 | 37 | ## 1.34.0
|
23 | 38 |
|
|
0 commit comments