Skip to content

Bump sentry-sdk[starlette] from 1.40.0 to 2.13.0

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

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

Merge request reports