Skip to content

Commit caefa4f

Browse files
author
getsentry-bot
committed
Merge branch 'release/1.30.0'
2 parents 46c24ea + 0962e39 commit caefa4f

File tree

4 files changed

+67
-3
lines changed

4 files changed

+67
-3
lines changed

CHANGELOG.md

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

3+
## 1.30.0
4+
5+
### Various fixes & improvements
6+
7+
- Officially support Python 3.11 (#2300) by @sentrivana
8+
- Context manager monitor (#2290) by @szokeasaurusrex
9+
- Set response status code in transaction `response` context. (#2312) by @antonpirker
10+
- Add missing context kwarg to `_sentry_task_factory` (#2267) by @JohnnyDeuss
11+
- In Postgres take the connection params from the connection (#2308) by @antonpirker
12+
- Experimental: Allow using OTel for performance instrumentation (#2272) by @sentrivana
13+
14+
This release includes experimental support for replacing Sentry's default
15+
performance monitoring solution with one powered by OpenTelemetry without having
16+
to do any manual setup.
17+
18+
Try it out by installing `pip install sentry-sdk[opentelemetry-experimental]` and
19+
then initializing the SDK with:
20+
21+
```python
22+
sentry_sdk.init(
23+
# ...your usual options...
24+
_experiments={"otel_powered_performance": True},
25+
)
26+
```
27+
28+
This enables OpenTelemetry performance monitoring support for some of the most
29+
popular frameworks and libraries (Flask, Django, FastAPI, request...).
30+
31+
We're looking forward to your feedback! Please let us know about your experience
32+
in this discussion: https://github.com/getsentry/sentry/discussions/55023
33+
34+
**Important note:** Please note that this feature is experimental and in a
35+
proof-of-concept stage and is not meant for production use. It may be changed or
36+
removed at any point.
37+
38+
- Enable backpressure handling by default (#2298) by @sl0thentr0py
39+
40+
The SDK now dynamically downsamples transactions to reduce backpressure in high
41+
throughput systems. It starts a new `Monitor` thread to perform some health checks
42+
which decide to downsample (halved each time) in 10 second intervals till the system
43+
is healthy again.
44+
45+
To disable this behavior, use:
46+
47+
```python
48+
sentry_sdk.init(
49+
# ...your usual options...
50+
enable_backpressure_handling=False,
51+
)
52+
```
53+
54+
If your system serves heavy load, please let us know how this feature works for you!
55+
56+
- Stop recording spans for internal web requests to Sentry (#2297) by @szokeasaurusrex
57+
- Add test for `ThreadPoolExecutor` (#2259) by @gggritso
58+
- Add docstrings for `Scope.update_from_*` (#2311) by @sentrivana
59+
- Moved `is_sentry_url`` to utils (#2304) by @szokeasaurusrex
60+
- Fix: arq attribute error on settings, support worker args (#2260) by @rossmacarthur
61+
- Fix: Exceptions include detail property for their value (#2193) by @nicolassanmar
62+
- build(deps): bump mypy from 1.4.1 to 1.5.1 (#2319) by @dependabot
63+
- build(deps): bump sphinx from 7.1.2 to 7.2.4 (#2322) by @dependabot
64+
- build(deps): bump sphinx from 7.0.1 to 7.1.2 (#2296) by @dependabot
65+
- build(deps): bump checkouts/data-schemas from `1b85152` to `ebc77d3` (#2254) by @dependabot
66+
367
## 1.29.2
468

569
### 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.29.2"
33+
release = "1.30.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
@@ -264,4 +264,4 @@ def _get_default_options():
264264
del _get_default_options
265265

266266

267-
VERSION = "1.29.2"
267+
VERSION = "1.30.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.29.2",
24+
version="1.30.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)