Skip to content

Commit 80789d6

Browse files
committed
Merge branch 'master' into potel-base
2 parents 673c34c + c15b390 commit 80789d6

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,45 @@ for your feedback. How was the migration? Is everything working as expected? Is
2020
[on GitHub](https://github.com/getsentry/sentry-python/discussions/3936) or
2121
[on Discord](https://discord.gg/wdNEHETs87).
2222

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

2564
### Various fixes & improvements

0 commit comments

Comments
 (0)