Skip to content

Commit 396cc66

Browse files
author
getsentry-bot
committed
Merge branch 'release/1.24.0'
2 parents 4bffa98 + 39b3770 commit 396cc66

File tree

4 files changed

+41
-3
lines changed

4 files changed

+41
-3
lines changed

Diff for: CHANGELOG.md

+38
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Changelog
22

3+
## 1.24.0
4+
5+
### Various fixes & improvements
6+
7+
- **New:** Celery Beat exclude tasks option (#2130) by @antonpirker
8+
9+
You can exclude Celery Beat tasks from being auto-instrumented. To do this, add a list of tasks you want to exclude as option `exclude_beat_tasks` when creating `CeleryIntegration`. The list can contain simple strings with the full task name, as specified in the Celery Beat schedule, or regular expressions to match multiple tasks.
10+
11+
For more information, see the documentation for [Crons](https://docs.sentry.io/platforms/python/guides/celery/crons/) for more information.
12+
13+
Usage:
14+
15+
```python
16+
exclude_beat_tasks = [
17+
"some-task-a",
18+
"payment-check-.*",
19+
]
20+
sentry_sdk.init(
21+
dsn='___PUBLIC_DSN___',
22+
integrations=[
23+
CeleryIntegration(
24+
monitor_beat_tasks=True,
25+
exclude_beat_tasks=exclude_beat_tasks,
26+
),
27+
],
28+
)
29+
```
30+
31+
In this example the task `some-task-a` and all tasks with a name starting with `payment-check-` will be ignored.
32+
33+
- **New:** Add support for **ExceptionGroups** (#2025) by @antonpirker
34+
35+
_Note:_ If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry. Updating early will not break anything, but you will not get the full benefit of the Exception Groups improvements to issue grouping that were added to the Sentry backend.
36+
37+
- Prefer `importlib.metadata` over `pkg_resources` if available (#2081) by @sentrivana
38+
- Work with a copy of request, vars in the event (#2125) by @sentrivana
39+
- Pinned version of dependency that broke the build (#2133) by @antonpirker
40+
341
## 1.23.1
442

543
### Various fixes & improvements

Diff for: docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
copyright = "2019, Sentry Team and Contributors"
3030
author = "Sentry Team and Contributors"
3131

32-
release = "1.23.1"
32+
release = "1.24.0"
3333
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3434

3535

Diff for: sentry_sdk/consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,4 @@ def _get_default_options():
214214
del _get_default_options
215215

216216

217-
VERSION = "1.23.1"
217+
VERSION = "1.24.0"

Diff for: 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.23.1",
24+
version="1.24.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)