Skip to content

Bump sentry-sdk[flask] from 1.41.0 to 1.42.0

Created by: dependabot[bot]

Bumps sentry-sdk[flask] from 1.41.0 to 1.42.0.

Release notes

Sourced from sentry-sdk[flask]'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

Changelog

Sourced from sentry-sdk[flask]'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

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Merge request reports

Loading