Update dependency sentry-sdk to v1.25.0 - autoclosed #23

Closed
renovate wants to merge 1 commits from renovate/sentry-sdk-1.x into master
Collaborator

This PR contains the following updates:

Package Update Change
sentry-sdk (changelog) minor ==1.21.1 -> ==1.25.0

Release Notes

getsentry/sentry-python

v1.25.0

Compare Source

Various fixes & improvements

v1.24.0

Compare Source

Various fixes & improvements
  • New: Celery Beat exclude tasks option (#​2130) by @​antonpirker

    You can exclude Celery Beat tasks from being auto-instrumented. To do this, add a list of tasks you want to exclude as option exclude_beat_tasks when creating CeleryIntegration. The list can contain simple strings with the full task name, as specified in the Celery Beat schedule, or regular expressions to match multiple tasks.

    For more information, see the documentation for Crons for more information.

    Usage:

        exclude_beat_tasks = [
            "some-task-a",
            "payment-check-.*",
        ]
        sentry_sdk.init(
            dsn='___PUBLIC_DSN___',
            integrations=[
                CeleryIntegration(
                    monitor_beat_tasks=True,
                    exclude_beat_tasks=exclude_beat_tasks,
                ),
            ],
        )
    

    In this example the task some-task-a and all tasks with a name starting with payment-check- will be ignored.

  • New: Add support for ExceptionGroups (#​2025) by @​antonpirker

    Note: If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry. Updating early will not break anything, but you will not get the full benefit of the Exception Groups improvements to issue grouping that were added to the Sentry backend.

  • Prefer importlib.metadata over pkg_resources if available (#​2081) by @​sentrivana

  • Work with a copy of request, vars in the event (#​2125) by @​sentrivana

  • Pinned version of dependency that broke the build (#​2133) by @​antonpirker

v1.23.1

Compare Source

Various fixes & improvements

v1.23.0

Compare Source

Various fixes & improvements
  • New: Add loguru integration (#​1994) by @​PerchunPak

    Check the documentation for more information.

    Usage:

    from loguru import logger
    import sentry_sdk
    from sentry_sdk.integrations.loguru import LoguruIntegration
    
    sentry_sdk.init(
        dsn="___PUBLIC_DSN___",
        integrations=[
            LoguruIntegration(),
        ],
    )
    
    logger.debug("I am ignored")
    logger.info("I am a breadcrumb")
    logger.error("I am an event", extra=dict(bar=43))
    logger.exception("An exception happened")
    
    • An error event with the message "I am an event" will be created.
    • "I am a breadcrumb" will be attached as a breadcrumb to that event.
    • bar will end up in the extra attributes of that event.
    • "An exception happened" will send the current exception from sys.exc_info() with the stack trace to Sentry. If there's no exception, the current stack will be attached.
    • The debug message "I am ignored" will not be captured by Sentry. To capture it, set level to DEBUG or lower in LoguruIntegration.
  • Do not truncate request body if request_bodies is "always" (#​2092) by @​sentrivana

  • Fixed Celery headers for Beat auto-instrumentation (#​2102) by @​antonpirker

  • Add db.operation to Redis and MongoDB spans (#​2089) by @​antonpirker

  • Make sure we're importing redis the library (#​2106) by @​sentrivana

  • Add include_source_context option (#​2020) by @​farhat-nawaz and @​sentrivana

  • Import Markup from markupsafe (#​2047) by @​rco-ableton

  • Fix __qualname__ missing attribute in asyncio integration (#​2105) by @​sl0thentr0py

  • Remove relay extension from AWS Layer (#​2068) by @​sl0thentr0py

  • Add a note about pip freeze to the bug template (#​2103) by @​sentrivana

v1.22.2

Compare Source

Various fixes & improvements

v1.22.1

Compare Source

Various fixes & improvements

v1.22.0

Compare Source

Various fixes & improvements
  • Add cache.hit and cache.item_size to Django (#​2057) by @​antonpirker

    Note: This will add spans for all requests to the caches configured in Django. This will probably add some overhead to your server an also add multiple spans to your performance waterfall diagrams. If you do not want this, you can disable this feature in the DjangoIntegration:

    sentry_sdk.init(
        dsn="...",
        integrations=[
            DjangoIntegration(cache_spans=False),
        ]
    )
    
  • Use http.method instead of method (#​2054) by @​AbhiPrasad

  • Handle non-int exc.status_code in Starlette (#​2075) by @​sentrivana

  • Handle SQLAlchemy engine.name being bytes (#​2074) by @​sentrivana

  • Fix KeyError in capture_checkin if SDK is not initialized (#​2073) by @​antonpirker

  • Use functools.wrap for ThreadingIntegration patches to fix attributes (#​2080) by @​EpicWink

  • Pin urllib3 to <2.0.0 for now (#​2069) by @​sl0thentr0py


Configuration

📅 Schedule: 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 Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [sentry-sdk](https://github.com/getsentry/sentry-python) ([changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)) | minor | `==1.21.1` -> `==1.25.0` | --- ### Release Notes <details> <summary>getsentry/sentry-python</summary> ### [`v1.25.0`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#&#8203;1250) [Compare Source](https://github.com/getsentry/sentry-python/compare/1.24.0...1.25.0) ##### Various fixes & improvements - Support urllib3>=2.0.0 ([#&#8203;2148](https://github.com/getsentry/sentry-python/issues/2148)) by [@&#8203;asottile-sentry](https://github.com/asottile-sentry) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to `<2.0.0` manually in your project. Check out the [the urllib3 migration guide](https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html#migrating-as-an-application-developer) for details. - Auto-retry tests on failure ([#&#8203;2134](https://github.com/getsentry/sentry-python/issues/2134)) by [@&#8203;sentrivana](https://github.com/sentrivana) - Correct `importlib.metadata` check in `test_modules` ([#&#8203;2149](https://github.com/getsentry/sentry-python/issues/2149)) by [@&#8203;asottile-sentry](https://github.com/asottile-sentry) - Fix distribution name normalization (PEP-0503) ([#&#8203;2144](https://github.com/getsentry/sentry-python/issues/2144)) by [@&#8203;rominf](https://github.com/rominf) - Fix `functions_to_trace` typing ([#&#8203;2141](https://github.com/getsentry/sentry-python/issues/2141)) by [@&#8203;rcmarron](https://github.com/rcmarron) ### [`v1.24.0`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#&#8203;1240) [Compare Source](https://github.com/getsentry/sentry-python/compare/1.23.1...1.24.0) ##### Various fixes & improvements - **New:** Celery Beat exclude tasks option ([#&#8203;2130](https://github.com/getsentry/sentry-python/issues/2130)) by [@&#8203;antonpirker](https://github.com/antonpirker) You can exclude Celery Beat tasks from being auto-instrumented. To do this, add a list of tasks you want to exclude as option `exclude_beat_tasks` when creating `CeleryIntegration`. The list can contain simple strings with the full task name, as specified in the Celery Beat schedule, or regular expressions to match multiple tasks. For more information, see the documentation for [Crons](https://docs.sentry.io/platforms/python/guides/celery/crons/) for more information. Usage: ```python exclude_beat_tasks = [ "some-task-a", "payment-check-.*", ] sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ CeleryIntegration( monitor_beat_tasks=True, exclude_beat_tasks=exclude_beat_tasks, ), ], ) ``` In this example the task `some-task-a` and all tasks with a name starting with `payment-check-` will be ignored. - **New:** Add support for **ExceptionGroups** ([#&#8203;2025](https://github.com/getsentry/sentry-python/issues/2025)) by [@&#8203;antonpirker](https://github.com/antonpirker) *Note:* If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry. Updating early will not break anything, but you will not get the full benefit of the Exception Groups improvements to issue grouping that were added to the Sentry backend. - Prefer `importlib.metadata` over `pkg_resources` if available ([#&#8203;2081](https://github.com/getsentry/sentry-python/issues/2081)) by [@&#8203;sentrivana](https://github.com/sentrivana) - Work with a copy of request, vars in the event ([#&#8203;2125](https://github.com/getsentry/sentry-python/issues/2125)) by [@&#8203;sentrivana](https://github.com/sentrivana) - Pinned version of dependency that broke the build ([#&#8203;2133](https://github.com/getsentry/sentry-python/issues/2133)) by [@&#8203;antonpirker](https://github.com/antonpirker) ### [`v1.23.1`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#&#8203;1231) [Compare Source](https://github.com/getsentry/sentry-python/compare/1.23.0...1.23.1) ##### Various fixes & improvements - Disable Django Cache spans by default. ([#&#8203;2120](https://github.com/getsentry/sentry-python/issues/2120)) by [@&#8203;antonpirker](https://github.com/antonpirker) ### [`v1.23.0`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#&#8203;1230) [Compare Source](https://github.com/getsentry/sentry-python/compare/1.22.2...1.23.0) ##### Various fixes & improvements - **New:** Add `loguru` integration ([#&#8203;1994](https://github.com/getsentry/sentry-python/issues/1994)) by [@&#8203;PerchunPak](https://github.com/PerchunPak) Check [the documentation](https://docs.sentry.io/platforms/python/configuration/integrations/loguru/) for more information. Usage: ```python from loguru import logger import sentry_sdk from sentry_sdk.integrations.loguru import LoguruIntegration sentry_sdk.init( dsn="___PUBLIC_DSN___", integrations=[ LoguruIntegration(), ], ) logger.debug("I am ignored") logger.info("I am a breadcrumb") logger.error("I am an event", extra=dict(bar=43)) logger.exception("An exception happened") ``` - An error event with the message `"I am an event"` will be created. - `"I am a breadcrumb"` will be attached as a breadcrumb to that event. - `bar` will end up in the `extra` attributes of that event. - `"An exception happened"` will send the current exception from `sys.exc_info()` with the stack trace to Sentry. If there's no exception, the current stack will be attached. - The debug message `"I am ignored"` will not be captured by Sentry. To capture it, set `level` to `DEBUG` or lower in `LoguruIntegration`. - Do not truncate request body if `request_bodies` is `"always"` ([#&#8203;2092](https://github.com/getsentry/sentry-python/issues/2092)) by [@&#8203;sentrivana](https://github.com/sentrivana) - Fixed Celery headers for Beat auto-instrumentation ([#&#8203;2102](https://github.com/getsentry/sentry-python/issues/2102)) by [@&#8203;antonpirker](https://github.com/antonpirker) - Add `db.operation` to Redis and MongoDB spans ([#&#8203;2089](https://github.com/getsentry/sentry-python/issues/2089)) by [@&#8203;antonpirker](https://github.com/antonpirker) - Make sure we're importing `redis` the library ([#&#8203;2106](https://github.com/getsentry/sentry-python/issues/2106)) by [@&#8203;sentrivana](https://github.com/sentrivana) - Add `include_source_context` option ([#&#8203;2020](https://github.com/getsentry/sentry-python/issues/2020)) by [@&#8203;farhat-nawaz](https://github.com/farhat-nawaz) and [@&#8203;sentrivana](https://github.com/sentrivana) - Import `Markup` from `markupsafe` ([#&#8203;2047](https://github.com/getsentry/sentry-python/issues/2047)) by [@&#8203;rco-ableton](https://github.com/rco-ableton) - Fix `__qualname__` missing attribute in asyncio integration ([#&#8203;2105](https://github.com/getsentry/sentry-python/issues/2105)) by [@&#8203;sl0thentr0py](https://github.com/sl0thentr0py) - Remove relay extension from AWS Layer ([#&#8203;2068](https://github.com/getsentry/sentry-python/issues/2068)) by [@&#8203;sl0thentr0py](https://github.com/sl0thentr0py) - Add a note about `pip freeze` to the bug template ([#&#8203;2103](https://github.com/getsentry/sentry-python/issues/2103)) by [@&#8203;sentrivana](https://github.com/sentrivana) ### [`v1.22.2`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#&#8203;1222) [Compare Source](https://github.com/getsentry/sentry-python/compare/1.22.1...1.22.2) ##### Various fixes & improvements - Fix: Django caching spans when using keyword arguments ([#&#8203;2086](https://github.com/getsentry/sentry-python/issues/2086)) by [@&#8203;antonpirker](https://github.com/antonpirker) - Fix: Duration in Celery Beat tasks monitoring ([#&#8203;2087](https://github.com/getsentry/sentry-python/issues/2087)) by [@&#8203;antonpirker](https://github.com/antonpirker) - Fix: Docstrings of SPANDATA ([#&#8203;2084](https://github.com/getsentry/sentry-python/issues/2084)) by [@&#8203;antonpirker](https://github.com/antonpirker) ### [`v1.22.1`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#&#8203;1221) [Compare Source](https://github.com/getsentry/sentry-python/compare/1.22.0...1.22.1) ##### Various fixes & improvements - Fix: Handle a list of keys (not just a single key) in Django cache spans ([#&#8203;2082](https://github.com/getsentry/sentry-python/issues/2082)) by [@&#8203;antonpirker](https://github.com/antonpirker) ### [`v1.22.0`](https://github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#&#8203;1220) [Compare Source](https://github.com/getsentry/sentry-python/compare/1.21.1...1.22.0) ##### Various fixes & improvements - Add `cache.hit` and `cache.item_size` to Django ([#&#8203;2057](https://github.com/getsentry/sentry-python/issues/2057)) by [@&#8203;antonpirker](https://github.com/antonpirker) *Note:* This will add spans for all requests to the caches configured in Django. This will probably add some overhead to your server an also add multiple spans to your performance waterfall diagrams. If you do not want this, you can disable this feature in the DjangoIntegration: ```python sentry_sdk.init( dsn="...", integrations=[ DjangoIntegration(cache_spans=False), ] ) ``` - Use `http.method` instead of `method` ([#&#8203;2054](https://github.com/getsentry/sentry-python/issues/2054)) by [@&#8203;AbhiPrasad](https://github.com/AbhiPrasad) - Handle non-int `exc.status_code` in Starlette ([#&#8203;2075](https://github.com/getsentry/sentry-python/issues/2075)) by [@&#8203;sentrivana](https://github.com/sentrivana) - Handle SQLAlchemy `engine.name` being bytes ([#&#8203;2074](https://github.com/getsentry/sentry-python/issues/2074)) by [@&#8203;sentrivana](https://github.com/sentrivana) - Fix `KeyError` in `capture_checkin` if SDK is not initialized ([#&#8203;2073](https://github.com/getsentry/sentry-python/issues/2073)) by [@&#8203;antonpirker](https://github.com/antonpirker) - Use `functools.wrap` for `ThreadingIntegration` patches to fix attributes ([#&#8203;2080](https://github.com/getsentry/sentry-python/issues/2080)) by [@&#8203;EpicWink](https://github.com/EpicWink) - Pin `urllib3` to <2.0.0 for now ([#&#8203;2069](https://github.com/getsentry/sentry-python/issues/2069)) by [@&#8203;sl0thentr0py](https://github.com/sl0thentr0py) </details> --- ### Configuration 📅 **Schedule**: 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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40OC4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTA1LjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
renovate force-pushed renovate/sentry-sdk-1.x from d9c8908009 to d440cd42ca 2023-04-25 16:00:53 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.20.0 to Update dependency sentry-sdk to v1.21.0 2023-04-25 16:00:55 +01:00
renovate force-pushed renovate/sentry-sdk-1.x from d440cd42ca to 376f614bda 2023-04-28 22:01:03 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.21.0 to Update dependency sentry-sdk to v1.21.1 2023-04-28 22:01:04 +01:00
renovate force-pushed renovate/sentry-sdk-1.x from 376f614bda to 6dd5981ea3 2023-05-05 14:00:50 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.21.1 to Update dependency sentry-sdk to v1.22.0 2023-05-05 14:00:51 +01:00
renovate force-pushed renovate/sentry-sdk-1.x from 6dd5981ea3 to 0698123323 2023-05-05 16:00:43 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.22.0 to Update dependency sentry-sdk to v1.22.1 2023-05-05 16:00:44 +01:00
renovate force-pushed renovate/sentry-sdk-1.x from 0698123323 to c3e7f2f2a0 2023-05-08 14:00:43 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.22.1 to Update dependency sentry-sdk to v1.22.2 2023-05-08 14:00:44 +01:00
renovate force-pushed renovate/sentry-sdk-1.x from c3e7f2f2a0 to c311d64a2e 2023-05-15 14:00:40 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.22.2 to Update dependency sentry-sdk to v1.23.0 2023-05-15 14:00:42 +01:00
renovate force-pushed renovate/sentry-sdk-1.x from c311d64a2e to 7d7faaba33 2023-05-17 14:00:43 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.23.0 to Update dependency sentry-sdk to v1.23.1 2023-05-17 14:00:46 +01:00
renovate force-pushed renovate/sentry-sdk-1.x from 7d7faaba33 to b868d48597 2023-05-23 12:00:48 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.23.1 to Update dependency sentry-sdk to v1.24.0 2023-05-23 12:00:51 +01:00
renovate force-pushed renovate/sentry-sdk-1.x from b868d48597 to 97d7044d09 2023-06-02 14:00:44 +01:00 Compare
renovate changed title from Update dependency sentry-sdk to v1.24.0 to Update dependency sentry-sdk to v1.25.0 2023-06-02 14:00:46 +01:00
renovate changed title from Update dependency sentry-sdk to v1.25.0 to Update dependency sentry-sdk to v1.25.0 - autoclosed 2023-06-02 16:00:55 +01:00
renovate closed this pull request 2023-06-02 16:00:55 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: repos/website#23
No description provided.