Skip to content

Commit 1b0e932

Browse files
author
getsentry-bot
committed
Merge branch 'release/1.41.0'
2 parents 8f1a125 + df9841e commit 1b0e932

File tree

4 files changed

+55
-3
lines changed

4 files changed

+55
-3
lines changed

CHANGELOG.md

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

3+
## 1.41.0
4+
5+
### Various fixes & improvements
6+
7+
- Add recursive scrubbing to `EventScrubber` (#2755) by @Cheapshot003
8+
9+
By default, the `EventScrubber` will not search your events for potential
10+
PII recursively. With this release, you can enable this behavior with:
11+
12+
```python
13+
import sentry_sdk
14+
from sentry_sdk.scrubber import EventScrubber
15+
16+
sentry_sdk.init(
17+
# ...your usual settings...
18+
event_scrubber=EventScrubber(recursive=True),
19+
)
20+
```
21+
22+
- Expose `socket_options` (#2786) by @sentrivana
23+
24+
If the SDK is experiencing connection issues (connection resets, server
25+
closing connection without response, etc.) while sending events to Sentry,
26+
tweaking the default `urllib3` socket options to the following can help:
27+
28+
```python
29+
import socket
30+
from urllib3.connection import HTTPConnection
31+
import sentry_sdk
32+
33+
sentry_sdk.init(
34+
# ...your usual settings...
35+
socket_options=HTTPConnection.default_socket_options + [
36+
(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1),
37+
# note: skip the following line if you're on MacOS since TCP_KEEPIDLE doesn't exist there
38+
(socket.SOL_TCP, socket.TCP_KEEPIDLE, 45),
39+
(socket.SOL_TCP, socket.TCP_KEEPINTVL, 10),
40+
(socket.SOL_TCP, socket.TCP_KEEPCNT, 6),
41+
],
42+
)
43+
```
44+
45+
- Allow to configure merge target for releases (#2777) by @sentrivana
46+
- Allow empty character in metric tags values (#2775) by @viglia
47+
- Replace invalid tag values with an empty string instead of _ (#2773) by @markushi
48+
- Add documentation comment to `scrub_list` (#2769) by @szokeasaurusrex
49+
- Fixed regex to parse version in lambda package file (#2767) by @antonpirker
50+
- xfail broken AWS Lambda tests for now (#2794) by @sentrivana
51+
- Removed print statements because it messes with the tests (#2789) by @antonpirker
52+
- Bump `types-protobuf` from 4.24.0.20240129 to 4.24.0.20240302 (#2782) by @dependabot
53+
- Bump `checkouts/data-schemas` from `eb941c2` to `ed078ed` (#2781) by @dependabot
54+
355
## 1.40.6
456

557
### 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.40.6"
33+
release = "1.41.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
@@ -318,4 +318,4 @@ def _get_default_options():
318318
del _get_default_options
319319

320320

321-
VERSION = "1.40.6"
321+
VERSION = "1.41.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.40.6",
24+
version="1.41.0",
2525
author="Sentry Team and Contributors",
2626
author_email="hello@sentry.io",
2727
url="https://github.com/getsentry/sentry-python",

0 commit comments

Comments
 (0)