Bump sentry-sdk[starlette] from 1.40.0 to 2.13.0
Bumps sentry-sdk[starlette] from 1.40.0 to 2.13.0.
Release notes
Sourced from sentry-sdk[starlette]'s releases.
2.13.0
Various fixes & improvements
New integration: Ray (#2400) (#2444) by
@glowskir
Usage: (add the RayIntegration to your
sentry_sdk.init()
call and make sure it is called in the worker processes)import ray import sentry_sdk from sentry_sdk.integrations.ray import RayIntegration def init_sentry(): sentry_sdk.init( dsn="...", traces_sample_rate=1.0, integrations=[RayIntegration()], ) init_sentry() ray.init( runtime_env=dict(worker_process_setup_hook=init_sentry), )
For more information, see the documentation for the Ray integration.
New integration: Litestar (#2413) (#3358) by
@KellyWalker
Usage: (add the LitestarIntegration to your
sentry_sdk.init()
)from litestar import Litestar, get import sentry_sdk from sentry_sdk.integrations.litestar import LitestarIntegration sentry_sdk.init( dsn="...", traces_sample_rate=1.0, integrations=[LitestarIntegration()], ) @get("/") async def index() -> str: return "Hello, world!" app = Litestar(...)
For more information, see the documentation for the Litestar integration.
... (truncated)
Changelog
Sourced from sentry-sdk[starlette]'s changelog.
2.13.0
Various fixes & improvements
New integration: Ray (#2400) (#2444) by
@glowskir
Usage: (add the RayIntegration to your
sentry_sdk.init()
call and make sure it is called in the worker processes)import ray import sentry_sdk from sentry_sdk.integrations.ray import RayIntegration def init_sentry(): sentry_sdk.init( dsn="...", traces_sample_rate=1.0, integrations=[RayIntegration()], ) init_sentry() ray.init( runtime_env=dict(worker_process_setup_hook=init_sentry), )
For more information, see the documentation for the Ray integration.
New integration: Litestar (#2413) (#3358) by
@KellyWalker
Usage: (add the LitestarIntegration to your
sentry_sdk.init()
)from litestar import Litestar, get import sentry_sdk from sentry_sdk.integrations.litestar import LitestarIntegration sentry_sdk.init( dsn="...", traces_sample_rate=1.0, integrations=[LitestarIntegration()], ) @get("/") async def index() -> str: return "Hello, world!" app = Litestar(...)
For more information, see the documentation for the Litestar integration.
... (truncated)
Commits
-
570307c
Updated changelog -
4c1ea7a
release: 2.13.0 -
17a6cf0
feat: Add ray integration support (#2400) (#2444) -
4858996
Expose custom_repr function that precedes safe_repr invocation in serializer ... -
275c63e
ref(sessions): Deprecate hub-basedsessions.py
logic (#3419) -
6a4e729
ref(sessions): Deprecateis_auto_session_tracking_enabled
(#3428) -
a6cb9b1
Add note to generated yaml files (#3423) -
19c4069
test(sessions): Remove unnecessary line (#3418) -
da0392f
Dramatiq integration from@jacobsvante
(#3397) -
7d46709
Serialize vars early to avoid living references (#3409) - Additional commits viewable in compare view