Skip to content

Commit c15b390

Browse files
author
getsentry-bot
committed
Merge branch 'release/2.30.0'
2 parents 51db87c + 719efd5 commit c15b390

File tree

4 files changed

+42
-3
lines changed

4 files changed

+42
-3
lines changed

CHANGELOG.md

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

3+
## 2.30.0
4+
5+
### Various fixes & improvements
6+
7+
- **New beta feature:** Sentry logs for Loguru (#4445) by @sentrivana
8+
9+
We can now capture Loguru logs and send them to Sentry.
10+
11+
```python
12+
import sentry_sdk
13+
from sentry_sdk.integrations.loguru import LoguruIntegration
14+
15+
# Setup Sentry SDK to send Loguru log messages with a level of "error" or higher to Sentry
16+
sentry_sdk.init(
17+
_experiments={
18+
"enable_logs": True,
19+
},
20+
integrations=[
21+
LoguruIntegration(sentry_logs_level=logging.ERROR),
22+
]
23+
)
24+
```
25+
26+
- fix(logs): Don't gate user behind `send_default_pii` (#4453) by @AbhiPrasad
27+
- fix(logging): Strip log `record.name` for more robust matching (#4411) by @romaingd-spi
28+
- Migrate to modern threading interface (#4452) by @emmanuel-ferdman
29+
- ref: Remove `_capture_experimental_log` `scope` parameter (#4424) by @szokeasaurusrex
30+
- feat(logs): Add user attributes to logs (#4423) by @szokeasaurusrex
31+
- fix: fix ARQ integration error (#4427) (#4428) by @ninoseki
32+
- fix(grpc): Fix AttributeError when instrumenting with OTel (#4405) by @sentrivana
33+
- fix(redis): Use `command_queue` instead of `command_stack` if available (#4404) by @sentrivana
34+
- fix: Handle invalid `SENTRY_DEBUG` values properly (#4400) by @szokeasaurusrex
35+
- Increase test coverage (#4393) by @mgaligniana
36+
- tests(logs): avoid failures when running with integrations enabled (#4388) by @rominf
37+
- Fix CI, adapt to new redis-py release (#4431) by @sentrivana
38+
- tests: Regenerate toxgen (#4403) by @sentrivana
39+
- tests: Regenerate tox.ini & fix CI (#4435) by @sentrivana
40+
- build(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 (#4397) by @dependabot
41+
342
## 2.29.1
443

544
### Various fixes & improvements

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year)
3232
author = "Sentry Team and Contributors"
3333

34-
release = "2.29.1"
34+
release = "2.30.0"
3535
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3636

3737

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,4 +1026,4 @@ def _get_default_options():
10261026
del _get_default_options
10271027

10281028

1029-
VERSION = "2.29.1"
1029+
VERSION = "2.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="2.29.1",
24+
version="2.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)