fandsdev / django

Our production ready (too much) opinionated django template
MIT License
212 stars 36 forks source link

Bump sentry-sdk from 1.45.0 to 2.2.0 in /{{ cookiecutter.name }} #642

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 6 months ago

Bumps sentry-sdk from 1.45.0 to 2.2.0.

Release notes

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


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 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)
dependabot[bot] commented 5 months ago

Superseded by #649.