Skip to content

Commit 9bbd480

Browse files
author
getsentry-bot
committed
Merge branch 'release/1.31.0'
2 parents ad0ed59 + 6935ba2 commit 9bbd480

File tree

4 files changed

+86
-3
lines changed

4 files changed

+86
-3
lines changed

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,88 @@
11
# Changelog
22

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+
386
## 1.30.0
487

588
### Various fixes & improvements

docs/conf.py

Lines changed: 1 addition & 1 deletion
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.30.0"
33+
release = "1.31.0"
3434
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3535

3636

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,4 +271,4 @@ def _get_default_options():
271271
del _get_default_options
272272

273273

274-
VERSION = "1.30.0"
274+
VERSION = "1.31.0"

setup.py

Lines changed: 1 addition & 1 deletion
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.30.0",
24+
version="1.31.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)