hhatto/autopep8 (autopep8)
### [`v2.1.0`](https://togithub.com/hhatto/autopep8/releases/tag/v2.1.0)
[Compare Source](https://togithub.com/hhatto/autopep8/compare/v2.0.4...v2.1.0)
#### What's Changed
- migrate to pyproject.toml by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/705](https://togithub.com/hhatto/autopep8/pull/705)
- Revert "Update MANIFEST.in" by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/710](https://togithub.com/hhatto/autopep8/pull/710)
- run with pypy3.10 by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/711](https://togithub.com/hhatto/autopep8/pull/711)
- ISSUE_TEMPLATE: use "console" instead of non-existing "shell" syntax by [@emanuele6](https://togithub.com/emanuele6) in [https://github.com/hhatto/autopep8/pull/714](https://togithub.com/hhatto/autopep8/pull/714)
- add 3.12, drop 3.7 by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/709](https://togithub.com/hhatto/autopep8/pull/709)
- tox: add python3.12 to test environments by [@mvo5](https://togithub.com/mvo5) in [https://github.com/hhatto/autopep8/pull/726](https://togithub.com/hhatto/autopep8/pull/726)
- async def function formatting by [@j-z10](https://togithub.com/j-z10) in [https://github.com/hhatto/autopep8/pull/728](https://togithub.com/hhatto/autopep8/pull/728)
- pyproject: support py3.12 via new version of pycodestyle by [@mvo5](https://togithub.com/mvo5) in [https://github.com/hhatto/autopep8/pull/730](https://togithub.com/hhatto/autopep8/pull/730)
- add: unit test for e501 with async def by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/729](https://togithub.com/hhatto/autopep8/pull/729)
- Update python versions by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/731](https://togithub.com/hhatto/autopep8/pull/731)
- add unit test for e501 not effected with f-string by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/732](https://togithub.com/hhatto/autopep8/pull/732)
- add dependabot alearts for GitHub Actions by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/733](https://togithub.com/hhatto/autopep8/pull/733)
- Bump actions/setup-python from 4 to 5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hhatto/autopep8/pull/737](https://togithub.com/hhatto/autopep8/pull/737)
- Bump actions/checkout from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hhatto/autopep8/pull/736](https://togithub.com/hhatto/autopep8/pull/736)
- Bump github/codeql-action from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hhatto/autopep8/pull/734](https://togithub.com/hhatto/autopep8/pull/734)
- update codecov action v4 by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/738](https://togithub.com/hhatto/autopep8/pull/738)
- Avoid lib2to3 (second challenge) by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/739](https://togithub.com/hhatto/autopep8/pull/739)
#### New Contributors
- [@emanuele6](https://togithub.com/emanuele6) made their first contribution in [https://github.com/hhatto/autopep8/pull/714](https://togithub.com/hhatto/autopep8/pull/714)
- [@mvo5](https://togithub.com/mvo5) made their first contribution in [https://github.com/hhatto/autopep8/pull/726](https://togithub.com/hhatto/autopep8/pull/726)
- [@j-z10](https://togithub.com/j-z10) made their first contribution in [https://github.com/hhatto/autopep8/pull/728](https://togithub.com/hhatto/autopep8/pull/728)
- [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/hhatto/autopep8/pull/737](https://togithub.com/hhatto/autopep8/pull/737)
**Full Changelog**: https://github.com/hhatto/autopep8/compare/v2.0.4...v2.1.0
ipython/ipython (ipython)
### [`v8.23.0`](https://togithub.com/ipython/ipython/compare/8.22.2...8.23.0)
[Compare Source](https://togithub.com/ipython/ipython/compare/8.22.2...8.23.0)
### [`v8.22.2`](https://togithub.com/ipython/ipython/compare/8.22.1...8.22.2)
[Compare Source](https://togithub.com/ipython/ipython/compare/8.22.1...8.22.2)
python/mypy (mypy)
### [`v1.9.0`](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0)
[Compare Source](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0)
pre-commit/pre-commit (pre-commit)
### [`v3.7.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#370---2024-03-24)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0)
\==================
##### Features
- Use a tty for `docker` and `docker_image` hooks when `--color` is specified.
- [#3122](https://togithub.com/pre-commit/pre-commit/issues/3122) PR by [@glehmann](https://togithub.com/glehmann).
##### Fixes
- Fix `fail_fast` for individual hooks stopping when previous hooks had failed.
- [#3167](https://togithub.com/pre-commit/pre-commit/issues/3167) issue by [@tp832944](https://togithub.com/tp832944).
- [#3168](https://togithub.com/pre-commit/pre-commit/issues/3168) PR by [@asottile](https://togithub.com/asottile).
##### Updating
- The per-hook behaviour of `fail_fast` was fixed. If you want the pre-3.7.0
behaviour, add `fail_fast: true` to all hooks before the last `fail_fast`
hook.
getsentry/sentry-python (sentry-sdk)
### [`v1.44.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1440)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.43.0...1.44.0)
##### Various fixes & improvements
- ref: Define types at runtime ([#2914](https://togithub.com/getsentry/sentry-python/issues/2914)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- Explicit reexport of types ([#2866](https://togithub.com/getsentry/sentry-python/issues/2866)) ([#2913](https://togithub.com/getsentry/sentry-python/issues/2913)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- feat(profiling): Add thread data to spans ([#2843](https://togithub.com/getsentry/sentry-python/issues/2843)) by [@Zylphrex](https://togithub.com/Zylphrex)
### [`v1.43.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1430)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.42.0...1.43.0)
##### Various fixes & improvements
- Add optional `keep_alive` ([#2842](https://togithub.com/getsentry/sentry-python/issues/2842)) by [@sentrivana](https://togithub.com/sentrivana)
If you're experiencing frequent network issues between the SDK and Sentry,
you can try turning on TCP keep-alive:
```python
import sentry_sdk
sentry_sdk.init(
```
### ...your usual settings...
keep_alive=True,
)
```
- Add support for Celery Redbeat cron tasks (#2643) by @kwigley
The SDK now supports the Redbeat scheduler in addition to the default
Celery Beat scheduler for auto instrumenting crons. See
[the docs](https://docs.sentry.io/platforms/python/integrations/celery/crons/)
for more information about how to set this up.
- `aws_event` can be an empty list (#2849) by @sentrivana
- Re-export `Event` in `types.py` (#2829) by @szokeasaurusrex
- Small API docs improvement (#2828) by @antonpirker
- Fixed OpenAI tests (#2834) by @antonpirker
- Bump `checkouts/data-schemas` from `ed078ed` to `8232f17` (#2832) by @dependabot
```
### [`v1.42.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1420)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.41.0...1.42.0)
##### Various fixes & improvements
- **New integration:** [OpenAI integration](https://docs.sentry.io/platforms/python/integrations/openai/) ([#2791](https://togithub.com/getsentry/sentry-python/issues/2791)) by [@colin-sentry](https://togithub.com/colin-sentry)
We added an integration for OpenAI to capture errors and also performance data when using the OpenAI Python SDK.
Useage:
This integrations is auto-enabling, so if you have the `openai` package in your project it will be enabled. Just initialize Sentry before you create your OpenAI client.
```python
from openai import OpenAI
import sentry_sdk
sentry_sdk.init(
dsn="___PUBLIC_DSN___",
enable_tracing=True,
traces_sample_rate=1.0,
)
client = OpenAI()
```
For more information, see the documentation for [OpenAI integration](https://docs.sentry.io/platforms/python/integrations/openai/).
- Discard open OpenTelemetry spans after 10 minutes ([#2801](https://togithub.com/getsentry/sentry-python/issues/2801)) by [@antonpirker](https://togithub.com/antonpirker)
- Propagate sentry-trace and baggage headers to Huey tasks ([#2792](https://togithub.com/getsentry/sentry-python/issues/2792)) by [@cnschn](https://togithub.com/cnschn)
- Added Event type ([#2753](https://togithub.com/getsentry/sentry-python/issues/2753)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- Improve scrub_dict typing ([#2768](https://togithub.com/getsentry/sentry-python/issues/2768)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311 ([#2797](https://togithub.com/getsentry/sentry-python/issues/2797)) by [@dependabot](https://togithub.com/dependabot)
### [`v1.41.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1410)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.40.6...1.41.0)
##### Various fixes & improvements
- Add recursive scrubbing to `EventScrubber` ([#2755](https://togithub.com/getsentry/sentry-python/issues/2755)) by [@Cheapshot003](https://togithub.com/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](https://togithub.com/getsentry/sentry-python/issues/2777)) by [@sentrivana](https://togithub.com/sentrivana)
- Allow empty character in metric tags values ([#2775](https://togithub.com/getsentry/sentry-python/issues/2775)) by [@viglia](https://togithub.com/viglia)
- Replace invalid tag values with an empty string instead of \_ ([#2773](https://togithub.com/getsentry/sentry-python/issues/2773)) by [@markushi](https://togithub.com/markushi)
- Add documentation comment to `scrub_list` ([#2769](https://togithub.com/getsentry/sentry-python/issues/2769)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
- Fixed regex to parse version in lambda package file ([#2767](https://togithub.com/getsentry/sentry-python/issues/2767)) by [@antonpirker](https://togithub.com/antonpirker)
- xfail broken AWS Lambda tests for now ([#2794](https://togithub.com/getsentry/sentry-python/issues/2794)) by [@sentrivana](https://togithub.com/sentrivana)
- Removed print statements because it messes with the tests ([#2789](https://togithub.com/getsentry/sentry-python/issues/2789)) by [@antonpirker](https://togithub.com/antonpirker)
- Bump `types-protobuf` from 4.24.0.20240129 to 4.24.0.20240302 ([#2782](https://togithub.com/getsentry/sentry-python/issues/2782)) by [@dependabot](https://togithub.com/dependabot)
- Bump `checkouts/data-schemas` from `eb941c2` to `ed078ed` ([#2781](https://togithub.com/getsentry/sentry-python/issues/2781)) by [@dependabot](https://togithub.com/dependabot)
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Asia/Singapore, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==1.4.51
->==1.4.52
==2.0.4
->==2.1.0
==8.22.1
->==8.23.0
1.8.0
->1.9.0
==3.6.2
->==3.7.0
==1.40.6
->==1.44.0
Release Notes
hhatto/autopep8 (autopep8)
### [`v2.1.0`](https://togithub.com/hhatto/autopep8/releases/tag/v2.1.0) [Compare Source](https://togithub.com/hhatto/autopep8/compare/v2.0.4...v2.1.0) #### What's Changed - migrate to pyproject.toml by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/705](https://togithub.com/hhatto/autopep8/pull/705) - Revert "Update MANIFEST.in" by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/710](https://togithub.com/hhatto/autopep8/pull/710) - run with pypy3.10 by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/711](https://togithub.com/hhatto/autopep8/pull/711) - ISSUE_TEMPLATE: use "console" instead of non-existing "shell" syntax by [@emanuele6](https://togithub.com/emanuele6) in [https://github.com/hhatto/autopep8/pull/714](https://togithub.com/hhatto/autopep8/pull/714) - add 3.12, drop 3.7 by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/709](https://togithub.com/hhatto/autopep8/pull/709) - tox: add python3.12 to test environments by [@mvo5](https://togithub.com/mvo5) in [https://github.com/hhatto/autopep8/pull/726](https://togithub.com/hhatto/autopep8/pull/726) - async def function formatting by [@j-z10](https://togithub.com/j-z10) in [https://github.com/hhatto/autopep8/pull/728](https://togithub.com/hhatto/autopep8/pull/728) - pyproject: support py3.12 via new version of pycodestyle by [@mvo5](https://togithub.com/mvo5) in [https://github.com/hhatto/autopep8/pull/730](https://togithub.com/hhatto/autopep8/pull/730) - add: unit test for e501 with async def by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/729](https://togithub.com/hhatto/autopep8/pull/729) - Update python versions by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/731](https://togithub.com/hhatto/autopep8/pull/731) - add unit test for e501 not effected with f-string by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/732](https://togithub.com/hhatto/autopep8/pull/732) - add dependabot alearts for GitHub Actions by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/733](https://togithub.com/hhatto/autopep8/pull/733) - Bump actions/setup-python from 4 to 5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hhatto/autopep8/pull/737](https://togithub.com/hhatto/autopep8/pull/737) - Bump actions/checkout from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hhatto/autopep8/pull/736](https://togithub.com/hhatto/autopep8/pull/736) - Bump github/codeql-action from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hhatto/autopep8/pull/734](https://togithub.com/hhatto/autopep8/pull/734) - update codecov action v4 by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/738](https://togithub.com/hhatto/autopep8/pull/738) - Avoid lib2to3 (second challenge) by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/739](https://togithub.com/hhatto/autopep8/pull/739) #### New Contributors - [@emanuele6](https://togithub.com/emanuele6) made their first contribution in [https://github.com/hhatto/autopep8/pull/714](https://togithub.com/hhatto/autopep8/pull/714) - [@mvo5](https://togithub.com/mvo5) made their first contribution in [https://github.com/hhatto/autopep8/pull/726](https://togithub.com/hhatto/autopep8/pull/726) - [@j-z10](https://togithub.com/j-z10) made their first contribution in [https://github.com/hhatto/autopep8/pull/728](https://togithub.com/hhatto/autopep8/pull/728) - [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/hhatto/autopep8/pull/737](https://togithub.com/hhatto/autopep8/pull/737) **Full Changelog**: https://github.com/hhatto/autopep8/compare/v2.0.4...v2.1.0ipython/ipython (ipython)
### [`v8.23.0`](https://togithub.com/ipython/ipython/compare/8.22.2...8.23.0) [Compare Source](https://togithub.com/ipython/ipython/compare/8.22.2...8.23.0) ### [`v8.22.2`](https://togithub.com/ipython/ipython/compare/8.22.1...8.22.2) [Compare Source](https://togithub.com/ipython/ipython/compare/8.22.1...8.22.2)python/mypy (mypy)
### [`v1.9.0`](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.8.0...1.9.0)pre-commit/pre-commit (pre-commit)
### [`v3.7.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#370---2024-03-24) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0) \================== ##### Features - Use a tty for `docker` and `docker_image` hooks when `--color` is specified. - [#3122](https://togithub.com/pre-commit/pre-commit/issues/3122) PR by [@glehmann](https://togithub.com/glehmann). ##### Fixes - Fix `fail_fast` for individual hooks stopping when previous hooks had failed. - [#3167](https://togithub.com/pre-commit/pre-commit/issues/3167) issue by [@tp832944](https://togithub.com/tp832944). - [#3168](https://togithub.com/pre-commit/pre-commit/issues/3168) PR by [@asottile](https://togithub.com/asottile). ##### Updating - The per-hook behaviour of `fail_fast` was fixed. If you want the pre-3.7.0 behaviour, add `fail_fast: true` to all hooks before the last `fail_fast` hook.getsentry/sentry-python (sentry-sdk)
### [`v1.44.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1440) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.43.0...1.44.0) ##### Various fixes & improvements - ref: Define types at runtime ([#2914](https://togithub.com/getsentry/sentry-python/issues/2914)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Explicit reexport of types ([#2866](https://togithub.com/getsentry/sentry-python/issues/2866)) ([#2913](https://togithub.com/getsentry/sentry-python/issues/2913)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - feat(profiling): Add thread data to spans ([#2843](https://togithub.com/getsentry/sentry-python/issues/2843)) by [@Zylphrex](https://togithub.com/Zylphrex) ### [`v1.43.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1430) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.42.0...1.43.0) ##### Various fixes & improvements - Add optional `keep_alive` ([#2842](https://togithub.com/getsentry/sentry-python/issues/2842)) by [@sentrivana](https://togithub.com/sentrivana) If you're experiencing frequent network issues between the SDK and Sentry, you can try turning on TCP keep-alive: ```python import sentry_sdk sentry_sdk.init( ``` ### ...your usual settings... keep_alive=True, ) ``` - Add support for Celery Redbeat cron tasks (#2643) by @kwigley The SDK now supports the Redbeat scheduler in addition to the default Celery Beat scheduler for auto instrumenting crons. See [the docs](https://docs.sentry.io/platforms/python/integrations/celery/crons/) for more information about how to set this up. - `aws_event` can be an empty list (#2849) by @sentrivana - Re-export `Event` in `types.py` (#2829) by @szokeasaurusrex - Small API docs improvement (#2828) by @antonpirker - Fixed OpenAI tests (#2834) by @antonpirker - Bump `checkouts/data-schemas` from `ed078ed` to `8232f17` (#2832) by @dependabot ``` ### [`v1.42.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1420) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.41.0...1.42.0) ##### Various fixes & improvements - **New integration:** [OpenAI integration](https://docs.sentry.io/platforms/python/integrations/openai/) ([#2791](https://togithub.com/getsentry/sentry-python/issues/2791)) by [@colin-sentry](https://togithub.com/colin-sentry) We added an integration for OpenAI to capture errors and also performance data when using the OpenAI Python SDK. Useage: This integrations is auto-enabling, so if you have the `openai` package in your project it will be enabled. Just initialize Sentry before you create your OpenAI client. ```python from openai import OpenAI import sentry_sdk sentry_sdk.init( dsn="___PUBLIC_DSN___", enable_tracing=True, traces_sample_rate=1.0, ) client = OpenAI() ``` For more information, see the documentation for [OpenAI integration](https://docs.sentry.io/platforms/python/integrations/openai/). - Discard open OpenTelemetry spans after 10 minutes ([#2801](https://togithub.com/getsentry/sentry-python/issues/2801)) by [@antonpirker](https://togithub.com/antonpirker) - Propagate sentry-trace and baggage headers to Huey tasks ([#2792](https://togithub.com/getsentry/sentry-python/issues/2792)) by [@cnschn](https://togithub.com/cnschn) - Added Event type ([#2753](https://togithub.com/getsentry/sentry-python/issues/2753)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Improve scrub_dict typing ([#2768](https://togithub.com/getsentry/sentry-python/issues/2768)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311 ([#2797](https://togithub.com/getsentry/sentry-python/issues/2797)) by [@dependabot](https://togithub.com/dependabot) ### [`v1.41.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1410) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.40.6...1.41.0) ##### Various fixes & improvements - Add recursive scrubbing to `EventScrubber` ([#2755](https://togithub.com/getsentry/sentry-python/issues/2755)) by [@Cheapshot003](https://togithub.com/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](https://togithub.com/getsentry/sentry-python/issues/2777)) by [@sentrivana](https://togithub.com/sentrivana) - Allow empty character in metric tags values ([#2775](https://togithub.com/getsentry/sentry-python/issues/2775)) by [@viglia](https://togithub.com/viglia) - Replace invalid tag values with an empty string instead of \_ ([#2773](https://togithub.com/getsentry/sentry-python/issues/2773)) by [@markushi](https://togithub.com/markushi) - Add documentation comment to `scrub_list` ([#2769](https://togithub.com/getsentry/sentry-python/issues/2769)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Fixed regex to parse version in lambda package file ([#2767](https://togithub.com/getsentry/sentry-python/issues/2767)) by [@antonpirker](https://togithub.com/antonpirker) - xfail broken AWS Lambda tests for now ([#2794](https://togithub.com/getsentry/sentry-python/issues/2794)) by [@sentrivana](https://togithub.com/sentrivana) - Removed print statements because it messes with the tests ([#2789](https://togithub.com/getsentry/sentry-python/issues/2789)) by [@antonpirker](https://togithub.com/antonpirker) - Bump `types-protobuf` from 4.24.0.20240129 to 4.24.0.20240302 ([#2782](https://togithub.com/getsentry/sentry-python/issues/2782)) by [@dependabot](https://togithub.com/dependabot) - Bump `checkouts/data-schemas` from `eb941c2` to `ed078ed` ([#2781](https://togithub.com/getsentry/sentry-python/issues/2781)) by [@dependabot](https://togithub.com/dependabot)Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Asia/Singapore, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.