fix(deps): update dependency sentry-sdk to >=2.68.1 #645

Merged
tobru merged 1 commit from renovate/sentry-sdk-2.x into main 2026-09-04 14:40:37 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
sentry-sdk (changelog) >=2.68.0>=2.68.1 age confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v2.68.1

Compare Source

enable_logs
  • (logs) Don't stop sending auto-collected logs when enable_logs=True by @​sentrivana in #​7237

    If you have enable_logs set to True, our logging integrations for the standard library logging module as well as Loguru will auto-collect logs and send them to Sentry as Sentry logs by default, preserving old behavior. Turning automatic collection off for a specific integration can still be achieved using the capture_sentry_logs integration option.

    import sentry_sdk
    from sentry_sdk.integrations.logging import LoggingIntegration
    from sentry_sdk.integrations.loguru import LoguruIntegration
    
    sentry_sdk.init(
        enable_logs=True,
        integrations=[
            LoggingIntegration(capture_sentry_logs=True),
            LoguruIntegration(capture_sentry_logs=False),
        ],
    )
    

    Please note that the enable_logs option is deprecated and will be removed in the next major release. The sentry_sdk.logger.X API now works regardless of it, and auto-collection can be opted into via the capture_sentry_logs integration-level options, which are False by default, unless you have enable_logs=True. We've added this compatibility layer to make the transition to a enable_logs-free world easier.

Bug Fixes 🐛

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [sentry-sdk](https://github.com/getsentry/sentry-python) ([changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)) | `>=2.68.0` → `>=2.68.1` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/sentry-sdk/2.68.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sentry-sdk/2.68.0/2.68.1?slim=true) | --- ### Release Notes <details> <summary>getsentry/sentry-python (sentry-sdk)</summary> ### [`v2.68.1`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2681) [Compare Source](https://github.com/getsentry/sentry-python/compare/2.68.0...2.68.1) ##### `enable_logs` - (logs) Don't stop sending auto-collected logs when `enable_logs=True` by [@&#8203;sentrivana](https://github.com/sentrivana) in [#&#8203;7237](https://github.com/getsentry/sentry-python/pull/7237) If you have `enable_logs` set to `True`, our logging integrations for the standard library logging module as well as Loguru will auto-collect logs and send them to Sentry as Sentry logs by default, preserving old behavior. Turning automatic collection off for a specific integration can still be achieved using the `capture_sentry_logs` integration option. ```python import sentry_sdk from sentry_sdk.integrations.logging import LoggingIntegration from sentry_sdk.integrations.loguru import LoguruIntegration sentry_sdk.init( enable_logs=True, integrations=[ LoggingIntegration(capture_sentry_logs=True), LoguruIntegration(capture_sentry_logs=False), ], ) ``` Please note that the `enable_logs` option is deprecated and will be removed in the next major release. The `sentry_sdk.logger.X` API now works regardless of it, and auto-collection can be opted into via the `capture_sentry_logs` integration-level options, which are `False` by default, unless you have `enable_logs=True`. We've added this compatibility layer to make the transition to a `enable_logs`-free world easier. ##### Bug Fixes 🐛 - (django) Add `failed_request_status_codes` by [@&#8203;mgaligniana](https://github.com/mgaligniana) in [#&#8203;7140](https://github.com/getsentry/sentry-python/pull/7140) - (anthropic) Gate `gen_ai.response.tool_calls` on outputs, not inputs by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;7207](https://github.com/getsentry/sentry-python/pull/7207) - (google\_genai) Gate streaming `gen_ai.response.tool_calls` on outputs, not inputs by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;7210](https://github.com/getsentry/sentry-python/pull/7210) - (langchain) Use `gen_ai.tool.definitions` attribute when data collection is enabled by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;7204](https://github.com/getsentry/sentry-python/pull/7204) - (langgraph,huggingface\_hub) Gate `gen_ai.response.tool_calls` on outputs, not inputs by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;7208](https://github.com/getsentry/sentry-python/pull/7208) - (openai) Gate `gen_ai.response.tool_calls` on outputs, not inputs by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;7205](https://github.com/getsentry/sentry-python/pull/7205) - (openai\_agents) Gate `gen_ai.response.tool_calls` on outputs, not inputs by [@&#8203;ericapisani](https://github.com/ericapisani) in [#&#8203;7209](https://github.com/getsentry/sentry-python/pull/7209) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zMy4yIiwidXBkYXRlZEluVmVyIjoiNDQuMzMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
fix(deps): update dependency sentry-sdk to >=2.68.1
All checks were successful
Tests / test (push) Successful in 1m15s
8fe814c5e0
tobru merged commit b2e019a02a into main 2026-09-04 14:40:37 +00:00
tobru deleted branch renovate/sentry-sdk-2.x 2026-09-04 14:40:37 +00:00
Sign in to join this conversation.
No description provided.