Commit f5d8c1e
authored
fix(deps): update dependency sentry-sdk to v2.48.0 (#1020)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [sentry-sdk](https://redirect.github.com/getsentry/sentry-python)
([changelog](https://redirect.github.com/getsentry/sentry-python/blob/master/CHANGELOG.md))
| `==2.47.0` -> `==2.48.0` |

|

|
---
### Release Notes
<details>
<summary>getsentry/sentry-python (sentry-sdk)</summary>
###
[`v2.48.0`](https://redirect.github.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#2480)
[Compare
Source](https://redirect.github.com/getsentry/sentry-python/compare/2.47.0...2.48.0)
Middleware spans are now disabled by default in Django, Starlette and
FastAPI integrations. Set the `middleware_spans` integration-level
option to capture individual spans per middleware layer. To record
Django middleware spans, for example, configure as follows
```python
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
sentry_sdk.init(
dsn="<your-dsn>",
integrations=[
DjangoIntegration(middleware_spans=True),
],
)
```
##### New Features ✨
- feat(ai): add single message truncation by
[@​shellmayr](https://redirect.github.com/shellmayr) in
[#​5079](https://redirect.github.com/getsentry/sentry-python/pull/5079)
- feat(django): Add span around `Task.enqueue` by
[@​sentrivana](https://redirect.github.com/sentrivana) in
[#​5209](https://redirect.github.com/getsentry/sentry-python/pull/5209)
- feat(starlette): Set transaction name when middleware spans are
disabled by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5223](https://redirect.github.com/getsentry/sentry-python/pull/5223)
- feat: Add "K\_REVISION" to environment variable release check (exposed
by cloud run) by [@​rpradal](https://redirect.github.com/rpradal)
in
[#​5222](https://redirect.github.com/getsentry/sentry-python/pull/5222)
##### Langgraph
- feat(langgraph): Response model attribute on invocation spans by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5212](https://redirect.github.com/getsentry/sentry-python/pull/5212)
- feat(langgraph): Usage attributes on invocation spans by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5211](https://redirect.github.com/getsentry/sentry-python/pull/5211)
##### OTLP
- feat(otlp): Optionally capture exceptions from otel's
Span.record\_exception api by
[@​sl0thentr0py](https://redirect.github.com/sl0thentr0py) in
[#​5235](https://redirect.github.com/getsentry/sentry-python/pull/5235)
- feat(otlp): Implement new Propagator.inject for OTLPIntegration by
[@​sl0thentr0py](https://redirect.github.com/sl0thentr0py) in
[#​5221](https://redirect.github.com/getsentry/sentry-python/pull/5221)
##### Bug Fixes 🐛
##### Integrations
- fix(django): Set active thread ID when middleware spans are disabled
by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5220](https://redirect.github.com/getsentry/sentry-python/pull/5220)
- fix(integrations): openai-agents fixing the input messages structure
which was wrapped too much in some cases by
[@​constantinius](https://redirect.github.com/constantinius) in
[#​5203](https://redirect.github.com/getsentry/sentry-python/pull/5203)
- fix(integrations): openai-agents fix multi-patching of `get_model`
function by
[@​constantinius](https://redirect.github.com/constantinius) in
[#​5195](https://redirect.github.com/getsentry/sentry-python/pull/5195)
- fix(integrations): add values for pydantic-ai and openai-agents to
`_INTEGRATION_DEACTIVATES` to prohibit double span creation by
[@​constantinius](https://redirect.github.com/constantinius) in
[#​5196](https://redirect.github.com/getsentry/sentry-python/pull/5196)
- fix(logs): Set `span_id` instead of `sentry.trace.parent_span_id`
attribute by
[@​sentrivana](https://redirect.github.com/sentrivana) in
[#​5241](https://redirect.github.com/getsentry/sentry-python/pull/5241)
- fix(logs, metrics): Gate metrics, logs user attributes behind
`send_default_pii` by
[@​sentrivana](https://redirect.github.com/sentrivana) in
[#​5240](https://redirect.github.com/getsentry/sentry-python/pull/5240)
- fix(pydantic-ai): Stop capturing internal exceptions by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5237](https://redirect.github.com/getsentry/sentry-python/pull/5237)
- fix(ray): Actor class decorator with arguments by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5230](https://redirect.github.com/getsentry/sentry-python/pull/5230)
- fix: Don't log internal exception for tornado user auth by
[@​sl0thentr0py](https://redirect.github.com/sl0thentr0py) in
[#​5208](https://redirect.github.com/getsentry/sentry-python/pull/5208)
- fix: Fix changelog config by
[@​sentrivana](https://redirect.github.com/sentrivana) in
[#​5192](https://redirect.github.com/getsentry/sentry-python/pull/5192)
##### Internal Changes 🔧
- chore(django): Disable middleware spans by default by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5219](https://redirect.github.com/getsentry/sentry-python/pull/5219)
- chore(starlette): Disable middleware spans by default by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5224](https://redirect.github.com/getsentry/sentry-python/pull/5224)
- ci: Unpin Python version for LiteLLM tests by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5238](https://redirect.github.com/getsentry/sentry-python/pull/5238)
- ci: 🤖 Update test matrix with new releases (12/15) by
[@​github-actions](https://redirect.github.com/github-actions) in
[#​5229](https://redirect.github.com/getsentry/sentry-python/pull/5229)
- chore: Ignore type annotation migration in blame by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5234](https://redirect.github.com/getsentry/sentry-python/pull/5234)
- ref: Clean up get\_active\_propagation\_context by
[@​sl0thentr0py](https://redirect.github.com/sl0thentr0py) in
[#​5217](https://redirect.github.com/getsentry/sentry-python/pull/5217)
- ref: Cleanup outgoing propagation\_context logic by
[@​sl0thentr0py](https://redirect.github.com/sl0thentr0py) in
[#​5215](https://redirect.github.com/getsentry/sentry-python/pull/5215)
- ci: Pin Python version to at least 3.10 for LiteLLM by
[@​alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb)
in
[#​5202](https://redirect.github.com/getsentry/sentry-python/pull/5202)
- test: Remove skipped test by
[@​sentrivana](https://redirect.github.com/sentrivana) in
[#​5197](https://redirect.github.com/getsentry/sentry-python/pull/5197)
- Convert all remaining type annotations into the modern format by
[@​zsol](https://redirect.github.com/zsol) in
[#​5239](https://redirect.github.com/getsentry/sentry-python/pull/5239)
- Convert sentry\_sdk type annotations into the modern format by
[@​zsol](https://redirect.github.com/zsol) in
[#​5206](https://redirect.github.com/getsentry/sentry-python/pull/5206)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/MartinBernstorff/Memium).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41NC4yIiwidXBkYXRlZEluVmVyIjoiNDIuNTQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent f8c1f91 commit f5d8c1e
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments