8000 Updated changelog · getsentry/sentry-python@1e72ef8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e72ef8

Browse files
committed
Updated changelog
1 parent 7b48848 commit 1e72ef8

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed

CHANGELOG.md

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,37 @@
22

33
## 1.35.0
44

5-
### Python 3.12 Support (ongoing)
5+
### Various fixes & improvements
66

7-
By: @sentrivana (#2488)
7+
- **Updated gRPC integration:** Asyncio interceptors and easier setup (#2369) by @fdellekart
88

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
1016

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
2136

2237
## 1.34.0
2338

0 commit comments

Comments
 (0)
0