Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana authored Mar 7, 2024
1 parent fc70611 commit df9841e
Showing 1 changed file with 46 additions and 10 deletions.
56 changes: 46 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,53 @@

### Various fixes & improvements

- ref(awslambda): xfail broken tests for now (#2794) by @sentrivana
- Removed print statements because it messes with the tests (#2789) by @antonpirker
- build(deps): bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240302 (#2782) by @dependabot
- build(deps): bump checkouts/data-schemas from `eb941c2` to `ed078ed` (#2781) by @dependabot
- feat(transport): Expose `socket_options` (#2786) by @sentrivana
- Add recursive scrubbing to `EventScrubber` (#2755) by @Cheapshot003

By default, the `EventScrubber` will not search your events for potential
PII recursively. With this release, you can enable this behavior with:

```python
import sentry_sdk
from sentry_sdk.scrubber import EventScrubber

sentry_sdk.init(
# ...your usual settings...
event_scrubber=EventScrubber(recursive=True),
)
```

- Expose `socket_options` (#2786) by @sentrivana

If the SDK is experiencing connection issues (connection resets, server
closing connection without response, etc.) while sending events to Sentry,
tweaking the default `urllib3` socket options to the following can help:

```python
import socket
from urllib3.connection import HTTPConnection
import sentry_sdk

sentry_sdk.init(
# ...your usual settings...
socket_options=HTTPConnection.default_socket_options + [
(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1),
# note: skip the following line if you're on MacOS since TCP_KEEPIDLE doesn't exist there
(socket.SOL_TCP, socket.TCP_KEEPIDLE, 45),
(socket.SOL_TCP, socket.TCP_KEEPINTVL, 10),
(socket.SOL_TCP, socket.TCP_KEEPCNT, 6),
],
)
```

- Allow to configure merge target for releases (#2777) by @sentrivana
- fix(docs): allow empty character in metric tags values (#2775) by @viglia
- fix(metrics): Replace invalid tag values with an empty string instead of _ (#2773) by @markushi
- docs: Add documentation comment to `scrub_list` (#2769) by @szokeasaurusrex
- ref(scrubber): Add recursive scrubbing to EventScrubber (#2755) by @Cheapshot003
- Fixed regex to parse version in lambda package file (#2767) by @sentrivana
- Allow empty character in metric tags values (#2775) by @viglia
- Replace invalid tag values with an empty string instead of _ (#2773) by @markushi
- Add documentation comment to `scrub_list` (#2769) by @szokeasaurusrex
- Fixed regex to parse version in lambda package file (#2767) by @antonpirker
- xfail broken AWS Lambda tests for now (#2794) by @sentrivana
- Removed print statements because it messes with the tests (#2789) by @antonpirker
- Bump `types-protobuf` from 4.24.0.20240129 to 4.24.0.20240302 (#2782) by @dependabot
- Bump `checkouts/data-schemas` from `eb941c2` to `ed078ed` (#2781) by @dependabot

## 1.40.6

Expand Down

0 comments on commit df9841e

Please sign in to comment.