Skip to content

Bump sentry-sdk[starlette] from 1.40.0 to 2.2.0

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

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

Release notes

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

2.2.0

New features

  • Celery integration now sends additional data to Sentry to enable new features to guage the health of your queues
  • Added a new integration for Cohere
  • Reintroduced the last_event_id function, which had been removed in 2.0.0

Other fixes & improvements

2.1.1

2.1.0

  • fix(quart): Fix Quart integration (#3043) by @​szokeasaurusrex

  • New integration: Langchain (#2911) by @​colin-sentry

    Usage: (Langchain is auto enabling, so you do not need to do anything special)

    from langchain_openai import ChatOpenAI
    import sentry_sdk
    sentry_sdk.init(
    dsn="...",
    enable_tracing=True,
    traces_sample_rate=1.0,
    )
    llm = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=0)

    Check out the LangChain docs for details.

  • New integration: Anthropic (#2831) by @​czyber

    Usage: (add the AnthropicIntegration to your sentry_sdk.init() call)

    from anthropic import Anthropic
    import sentry_sdk
    sentry_sdk.init(
    dsn="...",

... (truncated)

Changelog

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

2.2.0

New features

  • Celery integration now sends additional data to Sentry to enable new features to guage the health of your queues
  • Added a new integration for Cohere
  • Reintroduced the last_event_id function, which had been removed in 2.0.0

Other fixes & improvements

2.1.1

2.1.0

  • fix(quart): Fix Quart integration (#3043) by @​szokeasaurusrex

  • New integration: Langchain (#2911) by @​colin-sentry

    Usage: (Langchain is auto enabling, so you do not need to do anything special)

    from langchain_openai import ChatOpenAI
    import sentry_sdk
    sentry_sdk.init(
    dsn="...",
    enable_tracing=True,
    traces_sample_rate=1.0,
    )
    llm = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=0)

    Check out the LangChain docs for details.

  • New integration: Anthropic (#2831) by @​czyber

    Usage: (add the AnthropicIntegration to your sentry_sdk.init() call)

    from anthropic import Anthropic
    import sentry_sdk

... (truncated)

Commits
  • 1475b34 meta: Update CHANGELOG.md
  • 573d321 release: 2.2.0
  • 06efff3 Add tags + data passing functionality to @​ai_track (#3071)
  • 0d7a6f7 feat: Add last_event_id to top-level api
  • 92a3698 feat(scope): Add last_event_id to Scope
  • 94a6c2a fix(tracing): Only propagate headers from spans within transactions
  • a02eb9c feat(celery): Set "messaging.system" on span
  • 68332d8 feat(celery): Set task ID on span
  • ff10b77 feat: Send Celery retry count
  • 72ac630 feat(celery): Send queue name to Sentry
  • Additional commits viewable in compare view

Merge request reports