Skip to content

Update dependency sentry-sdk to v2.71.0 - #2919

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-sdk-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-sdk-2.x

Conversation

@renovate

@renovate renovate Bot commented Jan 14, 2025 •

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
sentry-sdk (changelog) ==2.19.2 → ==2.71.0 age confidence

Release Notes

getsentry/sentry-python (sentry-sdk)

v2.71.0

Compare Source

New Features ✨
import sentry_sdk
from sentry_sdk.integrations.typesafe import TypeSafeIntegration

sentry_sdk.init(
    dsn="...",
    traces_sample_rate=1.0,
    integrations=[
        TypeSafeIntegration(),
    ]
)
Typesafe
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧

v2.70.0

Compare Source

New Features ✨
import sentry_sdk
from sentry_sdk.integrations.mistral import MistralIntegration

sentry_sdk.init(
    dsn="...",
    traces_sample_rate=1.0,
    integrations=[
        MistralIntegration(),
    ]
)
import sentry_sdk

sentry_sdk.init(
    data_collection={
        "user_info": False,
        "gen_ai": {"inputs": False, "outputs": False},
        "graphql": {"document": False, "variables": False},
        "database_query_data": False,
        "queues": False,
        "http_bodies": [],
        "cookies": {
            "mode": "denylist",
            "terms": ["forwarded", "-ip", "remote-", "via", "-user"],
        },
        "http_headers": {
            "request": {
                "mode": "denylist",
                "terms": ["forwarded", "-ip", "remote-", "via", "-user"],
            },
        },
        "url_query_params": {
            "mode": "denylist",
            "terms": ["forwarded", "-ip", "remote-", "via", "-user"],
        },
    }
)
Mistral
Internal Changes 🔧

v2.69.2

Compare Source

Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧
Huggingface Hub
Pydantic Ai
Other
Other

v2.69.1

Compare Source

New Features ✨
Bug Fixes 🐛
Internal Changes 🔧
Mcp
Other

v2.69.0

Compare Source

New Features ✨
Other
Bug Fixes 🐛
Mcp
Openai
Starlette
Other
Internal Changes 🔧
Openai Agents
Pydantic Ai
Other

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 🐛

v2.68.0

Compare Source

Important
  • We're making enable_logs and enable_metrics no-op with this release (#​7177), and they'll be dropped in the next major.

    Previously, enable_logs also controlled automatic logs collection from the logging and Loguru integrations. These integrations now get an integration-level capture_sentry_logs boolean option to allow for more control over the auto-collection. These options are False by default, i.e., nothing is auto-collected without your explicit opt-in.

Action Needed

If you had enable_logs set to True:

  • If you were using the sentry_sdk.logger.X API, no action necessary, the API will just work.
  • If you were auto-collecting logs from either LoggingIntegration or LoguruIntegration, the auto-collection will be turned off in this release. You can switch auto-collection on explicitly with:
import sentry_sdk
from sentry_sdk.integrations.logging import LoggingIntegration
from sentry_sdk.integrations.loguru import LoguruIntegration

sentry_sdk.init(
    integrations=[
        LoggingIntegration(capture_sentry_logs=True),
        LoguruIntegration(capture_sentry_logs=True),
    ],
)

If you had enable_logs set to False:

  • If you were using it to gate usages of the sentry_sdk.logger.X API, you'll need to remove the calls entirely or define a before_send_log callback to filter out unwanted logs.

If you has enable_metrics set to False:

  • Any metrics emitted using the metrics API will be emitted. You'll need to drop them in a before_send_metric or remove the calls to the API.
Why We're Doing This

We recognize this is a disruptive change for some folks and want to make it clear this is a one-off. We're removing the options because they were an unnecessary hurdle that one had to jump through to be able to use logs and metrics, and it was confusing why the logging API would not just work on its own. On the other hand, we wanted to give you more fine-grained control over automatic collection.

New Features ✨
Other
Bug Fixes 🐛
Internal Changes 🔧
HTTPX, HTTPX2
Other

v2.67.1

Compare Source

Bug Fixes 🐛

v2.67.0

Compare Source

New Features ✨
Batcher
Integrations
Langchain
Openai
Streaming
Other
Bug Fixes 🐛
Openai Agents
Tests
Other
Documentation 📚
Internal Changes 🔧
Fastmcp
Mcp
Openai Agents
Other

v2.66.1

Compare Source

Bug Fixes 🐛
Tracing
Internal Changes 🔧

v2.66.0

Compare Source

New Features ✨
Bug Fixes 🐛
Tracing
Internal Changes 🔧

v2.65.0

Compare Source

New Features ✨
Huey
Other
Bug Fixes 🐛
Tracing
Other

❗ Important

✂ PR body was truncated to here.


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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Jan 14, 2025
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.20.0 chore(deps): update dependency sentry-sdk to v2.21.0 Feb 12, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 74f3953 to fb1bcbb Compare February 12, 2025 11:43
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.21.0 chore(deps): update dependency sentry-sdk to v2.22.0 Feb 17, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from fb1bcbb to 84ca06f Compare February 17, 2025 16:21
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 84ca06f to f2284ff Compare March 17, 2025 11:52
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.22.0 chore(deps): update dependency sentry-sdk to v2.23.0 Mar 17, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from f2284ff to c7e4279 Compare March 17, 2025 17:29
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.23.0 chore(deps): update dependency sentry-sdk to v2.23.1 Mar 17, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from c7e4279 to 0bc7bf9 Compare March 21, 2025 15:27
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.23.1 chore(deps): update dependency sentry-sdk to v2.24.0 Mar 21, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 0bc7bf9 to 2467dd1 Compare March 24, 2025 11:14
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.24.0 chore(deps): update dependency sentry-sdk to v2.24.1 Mar 24, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 2467dd1 to 0515d79 Compare March 31, 2025 16:47
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.24.1 chore(deps): update dependency sentry-sdk to v2.25.0 Mar 31, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 0515d79 to 9e04fed Compare April 2, 2025 18:07
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.25.0 chore(deps): update dependency sentry-sdk to v2.25.1 Apr 2, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 9e04fed to 701674b Compare April 14, 2025 15:23
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.25.1 chore(deps): update dependency sentry-sdk to v2.26.0 Apr 14, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 701674b to 3e88e3c Compare April 15, 2025 11:40
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.26.0 chore(deps): update dependency sentry-sdk to v2.26.1 Apr 15, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 3e88e3c to c04fbc9 Compare April 24, 2025 10:42
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.26.1 chore(deps): update dependency sentry-sdk to v2.27.0 Apr 24, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from c04fbc9 to 4908b29 Compare May 12, 2025 10:31
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.27.0 chore(deps): update dependency sentry-sdk to v2.28.0 May 12, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 4908b29 to 127b21d Compare May 19, 2025 16:30
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.28.0 chore(deps): update dependency sentry-sdk to v2.29.1 May 19, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 127b21d to d94eade Compare June 12, 2025 14:39
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.29.1 chore(deps): update dependency sentry-sdk to v2.30.0 Jun 12, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from d94eade to fc2b3c6 Compare June 24, 2025 20:54
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from c308d38 to a6691b3 Compare July 30, 2025 17:26
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.34.0 chore(deps): update dependency sentry-sdk to v2.34.1 Jul 30, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch 2 times, most recently from 6ba22ba to 86b546c Compare August 14, 2025 17:44
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.34.1 chore(deps): update dependency sentry-sdk to v2.35.0 Aug 14, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 86b546c to 3b124b6 Compare August 26, 2025 17:11
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.35.0 chore(deps): update dependency sentry-sdk to v2.35.1 Aug 26, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 3b124b6 to 9c84fa1 Compare September 1, 2025 12:10
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.35.1 chore(deps): update dependency sentry-sdk to v2.35.2 Sep 1, 2025
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.35.2 chore(deps): update dependency sentry-sdk to v2.36.0 Sep 4, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch 2 times, most recently from 8d04258 to eabadb3 Compare September 5, 2025 12:49
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.36.0 chore(deps): update dependency sentry-sdk to v2.37.0 Sep 5, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from eabadb3 to 5cbe626 Compare September 9, 2025 14:53
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.37.0 chore(deps): update dependency sentry-sdk to v2.37.1 Sep 9, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 5cbe626 to ae5572a Compare September 16, 2025 05:55
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.37.1 chore(deps): update dependency sentry-sdk to v2.38.0 Sep 16, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from ae5572a to fe2ab36 Compare September 25, 2025 10:01
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.38.0 chore(deps): update dependency sentry-sdk to v2.39.0 Sep 25, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from fe2ab36 to 3eeb08b Compare October 6, 2025 14:36
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.39.0 chore(deps): update dependency sentry-sdk to v2.40.0 Oct 6, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 3eeb08b to b9de61b Compare October 9, 2025 14:29
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.40.0 chore(deps): update dependency sentry-sdk to v2.41.0 Oct 9, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from b9de61b to 5009e35 Compare October 15, 2025 08:46
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.41.0 chore(deps): update dependency sentry-sdk to v2.42.0 Oct 15, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 5009e35 to 7b360a8 Compare October 20, 2025 15:12
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.42.0 chore(deps): update dependency sentry-sdk to v2.42.1 Oct 20, 2025
@renovate
renovate Bot force-pushed the renovate/sentry-sdk-2.x branch from 7b360a8 to efa18b0 Compare October 29, 2025 12:03
@renovate renovate Bot changed the title chore(deps): update dependency sentry-sdk to v2.42.1 chore(deps): update dependency sentry-sdk to v2.43.0 Oct 29, 2025

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants