From f4d4ee369f81e8fb6cae78e91a03e578348115d7 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 17 Dec 2025 04:27:29 +0000
Subject: [PATCH] Bump sentry-sdk from 2.47.0 to 2.48.0 in /backend (#1474)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.47.0 to 2.48.0.
Sourced from sentry-sdk's
releases. Middleware spans are now disabled by default in Django, Starlette and
FastAPI integrations. Set the sentry_sdk.init(Release notes
2.48.0
middleware_spans
integration-level
option to capture individual spans per middleware layer. To record
Django middleware spans, for example, configure as follows import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
dsn="<your-dsn>",
integrations=[
DjangoIntegration(middleware_spans=True),
],
)
feat(ai): add single message truncation by @shellmayr in #5079
feat(django): Add span around Task.enqueue by @sentrivana in #5209
feat(starlette): Set transaction name when middleware spans are
disabled by @alexander-alderman-webb
in #5223
feat: Add "K_REVISION" to environment variable release
check (exposed by cloud run) by @rpradal in #5222
@alexander-alderman-webb
in #5212@alexander-alderman-webb
in #5211@sl0thentr0py
in #5235@sl0thentr0py
in #5221fix(django): Set active thread ID when middleware spans are disabled
by @alexander-alderman-webb
in #5220
fix(integrations): openai-agents fixing the input messages structure
which was wrapped too much in some cases by @constantinius
in #5203
fix(integrations): openai-agents fix multi-patching of
get_model function by @constantinius
in #5195
fix(integrations): add values for pydantic-ai and openai-agents to
_INTEGRATION_DEACTIVATES to prohibit double span creation
by @constantinius
in #5196
fix(logs): Set span_id instead of
sentry.trace.parent_span_id attribute by @sentrivana in #5241
fix(logs, metrics): Gate metrics, logs user attributes behind
send_default_pii by @sentrivana in #5240
fix(pydantic-ai): Stop capturing internal exceptions by @alexander-alderman-webb
in #5237
... (truncated)
Sourced from sentry-sdk's changelog.
2.48.0
Middleware spans are now disabled by default in Django, Starlette and FastAPI integrations. Set the
middleware_spansintegration-level option to capture individual spans per middleware layer. To record Django middleware spans, for example, configure as followsimport sentry_sdk from sentry_sdk.integrations.django import DjangoIntegrationsentry_sdk.init(
dsn="<your-dsn>",
integrations=[
DjangoIntegration(middleware_spans=True),
],
)
New Features ✨
feat(ai): add single message truncation by
@shellmayrin #5079feat(django): Add span around
Task.enqueueby@sentrivanain #5209feat(starlette): Set transaction name when middleware spans are disabled by
@alexander-alderman-webbin #5223feat: Add "K_REVISION" to environment variable release check (exposed by cloud run) by
@rpradalin #5222Langgraph
- feat(langgraph): Response model attribute on invocation spans by
@alexander-alderman-webbin #5212- feat(langgraph): Usage attributes on invocation spans by
@alexander-alderman-webbin #5211OTLP
- feat(otlp): Optionally capture exceptions from otel's Span.record_exception api by
@sl0thentr0pyin #5235- feat(otlp): Implement new Propagator.inject for OTLPIntegration by
@sl0thentr0pyin #5221Bug Fixes 🐛
Integrations
fix(django): Set active thread ID when middleware spans are disabled by
@alexander-alderman-webbin #5220fix(integrations): openai-agents fixing the input messages structure which was wrapped too much in some cases by
@constantiniusin #5203fix(integrations): openai-agents fix multi-patching of
get_modelfunction by@constantiniusin #5195fix(integrations): add values for pydantic-ai and openai-agents to
_INTEGRATION_DEACTIVATESto prohibit double span creation by@constantiniusin #5196fix(logs): Set
span_idinstead ofsentry.trace.parent_span_idattribute by@sentrivanain #5241fix(logs, metrics): Gate metrics, logs user attributes behind
send_default_piiby@sentrivanain #5240
... (truncated)
32e9cac
Phrasing and code formatting in changelogbf30403
Call out new default for middleware spans and fix formatting in
changelog19e0d1f
Fix changelog6516b8b
release: 2.48.0e275c9e
Convert all remaining type annotations to PEP-526 format (#5239)a29b421
fix(logs): Set span_id instead of
sentry.trace.parent_span_id attribute (...a9d89f2
fix(pydantic-ai): Stop capturing internal exceptions (#5237)5606bb3
fix(logs, metrics): Gate metrics, logs user attributes behind
`send_default_p...6046f2d
ci: Unpin Python version for LiteLLM tests (#5238)42ed87a
ci: 🤖 Update test matrix with new releases (12/15) (#5229)