Bump sentry-sdk[starlette] from 1.40.0 to 1.42.0
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
-
d27c5cd
Update changelog -
8f9d49e
release: 1.42.0 -
e7535c1
build(deps): bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311 (#2797) -
5717f1b
ref: Event Type (#2753) -
1a8db5e
Discard open spans after 10 minutes (#2801) -
f40e27f
Add a method for normalizing data passed to set_data (#2800) -
ff0a94b
OpenAI integration (#2791) -
46a632d
Propagate sentry-trace and baggage to huey tasks (#2792) -
461bd59
ref: Improve scrub_dict typing (#2768) -
1b0e932
Merge branch 'release/1.41.0' - Additional commits viewable in compare view