Skip to content

Commit 112577d

Browse files
committed
Merge branch 'master' into potel-base
2 parents 9cf068b + ee97003 commit 112577d

File tree

7 files changed

+56
-11
lines changed

7 files changed

+56
-11
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @getsentry/owners-python-sdk
1+
* @getsentry/team-web-sdk-backend

CHANGELOG.md

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

3+
## 2.25.0
4+
5+
### Various fixes & improvements
6+
7+
- **New Beta Feature** Enable Sentry logs in `logging` Integration (#4143) by @colin-sentry
8+
9+
You can now send existing log messages to the new Sentry Logs feature.
10+
11+
For more information see: https://github.com/getsentry/sentry/discussions/86804
12+
13+
This is how you can use it (Sentry Logs is in beta right now so the API can still change):
14+
15+
```python
16+
import sentry_sdk
17+
from sentry_sdk.integrations.logging import LoggingIntegration
18+
19+
# Setup Sentry SDK to send log messages with a level of "error" or higher to Sentry.
20+
sentry_sdk.init(
21+
dsn="...",
22+
_experiments={
23+
"enable_sentry_logs": True
24+
}
25+
integrations=[
26+
LoggingIntegration(sentry_logs_level="error"),
27+
]
28+
)
29+
30+
# Your existing logging setup
31+
import logging
32+
some_logger = logging.Logger("some-logger")
33+
34+
some_logger.info('In this example info events will not be sent to Sentry logs. my_value=%s', my_value)
35+
some_logger.error('But error events will be sent to Sentry logs. my_value=%s', my_value)
36+
```
37+
38+
- Spotlight: Sample everything 100% w/ Spotlight & no DSN set (#4207) by @BYK
39+
- Dramatiq: use set_transaction_name (#4175) by @timdrijvers
40+
- toxgen: Make it clearer which suites can be migrated (#4196) by @sentrivana
41+
- Move Litestar under toxgen (#4197) by @sentrivana
42+
- Added flake8 plugings to pre-commit call of flake8 (#4190) by @antonpirker
43+
- Deprecate Scope.user (#4194) by @sentrivana
44+
- Fix hanging when capturing long stacktrace (#4191) by @szokeasaurusrex
45+
- Fix GraphQL failures (#4208) by @sentrivana
46+
- Fix flaky test (#4198) by @sentrivana
47+
- Update Ubuntu in Github test runners (#4204) by @antonpirker
48+
349
## 2.24.1
450

551
### Various fixes & improvements

docs/conf.py

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

36-
release = "2.24.1"
36+
release = "2.25.0"
3737
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3838

3939

scripts/populate_tox/tox.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,9 @@ deps =
397397
# RQ (Redis Queue)
398398
# https://github.com/jamesls/fakeredis/issues/245
399399
rq-v{0.13,1.0,1.5,1.10}: fakeredis>=1.0,<1.7.4
400-
rq-v{1.15,1.16}: fakeredis
400+
rq-v{1.15,1.16}: fakeredis<2.28.0
401401
py3.7-rq-v{1.15,1.16}: fakeredis!=2.26.0 # https://github.com/cunla/fakeredis-py/issues/341
402-
rq-latest: fakeredis
402+
rq-latest: fakeredis<2.28.0
403403
py3.7-rq-latest: fakeredis!=2.26.0 # https://github.com/cunla/fakeredis-py/issues/341
404404
rq-v0.6: rq~=0.6.0
405405
rq-v0.13: rq~=0.13.0

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,4 +945,4 @@ def _get_default_options():
945945
del _get_default_options
946946

947947

948-
VERSION = "2.24.1"
948+
VERSION = "2.25.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.24.1",
24+
version="2.25.0",
2525
author="Sentry Team and Contributors",
2626
author_email="[email protected]",
2727
url="https://github.com/getsentry/sentry-python",

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ envlist =
215215
{py3.8,py3.10,py3.11}-strawberry-v0.209.8
216216
{py3.8,py3.11,py3.12}-strawberry-v0.227.7
217217
{py3.8,py3.11,py3.12}-strawberry-v0.245.0
218-
{py3.9,py3.12,py3.13}-strawberry-v0.262.5
218+
{py3.9,py3.12,py3.13}-strawberry-v0.262.6
219219

220220

221221
# ~~~ Network ~~~
@@ -515,9 +515,9 @@ deps =
515515
# RQ (Redis Queue)
516516
# https://github.com/jamesls/fakeredis/issues/245
517517
rq-v{0.13,1.0,1.5,1.10}: fakeredis>=1.0,<1.7.4
518-
rq-v{1.15,1.16}: fakeredis
518+
rq-v{1.15,1.16}: fakeredis<2.28.0
519519
py3.7-rq-v{1.15,1.16}: fakeredis!=2.26.0 # https://github.com/cunla/fakeredis-py/issues/341
520-
rq-latest: fakeredis
520+
rq-latest: fakeredis<2.28.0
521521
py3.7-rq-latest: fakeredis!=2.26.0 # https://github.com/cunla/fakeredis-py/issues/341
522522
rq-v0.6: rq~=0.6.0
523523
rq-v0.13: rq~=0.13.0
@@ -602,12 +602,11 @@ deps =
602602
strawberry-v0.209.8: strawberry-graphql[fastapi,flask]==0.209.8
603603
strawberry-v0.227.7: strawberry-graphql[fastapi,flask]==0.227.7
604604
strawberry-v0.245.0: strawberry-graphql[fastapi,flask]==0.245.0
605-
strawberry-v0.262.5: strawberry-graphql[fastapi,flask]==0.262.5
605+
strawberry-v0.262.6: strawberry-graphql[fastapi,flask]==0.262.6
606606
strawberry: httpx
607607
strawberry-v0.209.8: pydantic<2.11
608608
strawberry-v0.227.7: pydantic<2.11
609609
strawberry-v0.245.0: pydantic<2.11
610-
strawberry-v0.262.5: pydantic<2.11
611610

612611

613612
# ~~~ Network ~~~

0 commit comments

Comments
 (0)