Skip to content

Commit cb7299a

Browse files
author
getsentry-bot
committed
Merge branch 'release/1.35.0'
2 parents 9cae5f2 + 1e72ef8 commit cb7299a

File tree

4 files changed

+37
-3
lines changed

4 files changed

+37
-3
lines changed

CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Changelog
22

3+
## 1.35.0
4+
5+
### Various fixes & improvements
6+
7+
- **Updated gRPC integration:** Asyncio interceptors and easier setup (#2369) by @fdellekart
8+
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
16+
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
36+
337
## 1.34.0
438

539
### Various fixes & improvements

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year)
3131
author = "Sentry Team and Contributors"
3232

33-
release = "1.34.0"
33+
release = "1.35.0"
3434
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3535

3636

sentry_sdk/consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,4 +286,4 @@ def _get_default_options():
286286
del _get_default_options
287287

288288

289-
VERSION = "1.34.0"
289+
VERSION = "1.35.0"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_file_text(file_name):
2121

2222
setup(
2323
name="sentry-sdk",
24-
version="1.34.0",
24+
version="1.35.0",
2525
author="Sentry Team and Contributors",
2626
author_email="[email protected]",
2727
url="https://github.com/getsentry/sentry-python",

0 commit comments

Comments
 (0)