Skip to content

Bump sentry-sdk[starlette] from 1.40.0 to 1.42.0

Ronan Amicel requested to merge dependabot-pip-sentry-sdk-starlette--1.42.0 into main

Bumps sentry-sdk[starlette] from 1.40.0 to 1.42.0.

Release notes

Sourced from sentry-sdk[starlette]'s releases.

1.42.0

Various fixes & improvements

  • New integration: OpenAI integration (#2791) by @​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.

    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.

  • Discard open OpenTelemetry spans after 10 minutes (#2801) by @​antonpirker

  • Propagate sentry-trace and baggage headers to Huey tasks (#2792) by @​cnschn

  • Added Event type (#2753) by @​szokeasaurusrex

  • Improve scrub_dict typing (#2768) by @​szokeasaurusrex

  • Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311 (#2797) by @​dependabot

1.41.0

Various fixes & improvements

  • 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:

    import sentry_sdk
    from sentry_sdk.scrubber import EventScrubber
    sentry_sdk.init(
    # ...your usual settings...
    event_scrubber=EventScrubber(recursive=True),
    )

... (truncated)

Changelog

Sourced from sentry-sdk[starlette]'s changelog.

1.42.0

Various fixes & improvements

  • New integration: OpenAI integration (#2791) by @​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.

    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.

  • Discard open OpenTelemetry spans after 10 minutes (#2801) by @​antonpirker

  • Propagate sentry-trace and baggage headers to Huey tasks (#2792) by @​cnschn

  • Added Event type (#2753) by @​szokeasaurusrex

  • Improve scrub_dict typing (#2768) by @​szokeasaurusrex

  • Dependencies: bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311 (#2797) by @​dependabot

1.41.0

Various fixes & improvements

  • 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:

    import sentry_sdk
    from sentry_sdk.scrubber import EventScrubber
    sentry_sdk.init(
    # ...your usual settings...
    event_scrubber=EventScrubber(recursive=True),

... (truncated)

Commits

Merge request reports