Skip to content

Commit f5d8c1e

Browse files
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` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/sentry-sdk/2.48.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/sentry-sdk/2.47.0/2.48.0?slim=true) | --- ### 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 [@&#8203;shellmayr](https://redirect.github.com/shellmayr) in [#&#8203;5079](https://redirect.github.com/getsentry/sentry-python/pull/5079) - feat(django): Add span around `Task.enqueue` by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) in [#&#8203;5209](https://redirect.github.com/getsentry/sentry-python/pull/5209) - feat(starlette): Set transaction name when middleware spans are disabled by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5223](https://redirect.github.com/getsentry/sentry-python/pull/5223) - feat: Add "K\_REVISION" to environment variable release check (exposed by cloud run) by [@&#8203;rpradal](https://redirect.github.com/rpradal) in [#&#8203;5222](https://redirect.github.com/getsentry/sentry-python/pull/5222) ##### Langgraph - feat(langgraph): Response model attribute on invocation spans by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5212](https://redirect.github.com/getsentry/sentry-python/pull/5212) - feat(langgraph): Usage attributes on invocation spans by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5211](https://redirect.github.com/getsentry/sentry-python/pull/5211) ##### OTLP - feat(otlp): Optionally capture exceptions from otel's Span.record\_exception api by [@&#8203;sl0thentr0py](https://redirect.github.com/sl0thentr0py) in [#&#8203;5235](https://redirect.github.com/getsentry/sentry-python/pull/5235) - feat(otlp): Implement new Propagator.inject for OTLPIntegration by [@&#8203;sl0thentr0py](https://redirect.github.com/sl0thentr0py) in [#&#8203;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 [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;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 [@&#8203;constantinius](https://redirect.github.com/constantinius) in [#&#8203;5203](https://redirect.github.com/getsentry/sentry-python/pull/5203) - fix(integrations): openai-agents fix multi-patching of `get_model` function by [@&#8203;constantinius](https://redirect.github.com/constantinius) in [#&#8203;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 [@&#8203;constantinius](https://redirect.github.com/constantinius) in [#&#8203;5196](https://redirect.github.com/getsentry/sentry-python/pull/5196) - fix(logs): Set `span_id` instead of `sentry.trace.parent_span_id` attribute by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) in [#&#8203;5241](https://redirect.github.com/getsentry/sentry-python/pull/5241) - fix(logs, metrics): Gate metrics, logs user attributes behind `send_default_pii` by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) in [#&#8203;5240](https://redirect.github.com/getsentry/sentry-python/pull/5240) - fix(pydantic-ai): Stop capturing internal exceptions by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5237](https://redirect.github.com/getsentry/sentry-python/pull/5237) - fix(ray): Actor class decorator with arguments by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5230](https://redirect.github.com/getsentry/sentry-python/pull/5230) - fix: Don't log internal exception for tornado user auth by [@&#8203;sl0thentr0py](https://redirect.github.com/sl0thentr0py) in [#&#8203;5208](https://redirect.github.com/getsentry/sentry-python/pull/5208) - fix: Fix changelog config by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) in [#&#8203;5192](https://redirect.github.com/getsentry/sentry-python/pull/5192) ##### Internal Changes 🔧 - chore(django): Disable middleware spans by default by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5219](https://redirect.github.com/getsentry/sentry-python/pull/5219) - chore(starlette): Disable middleware spans by default by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5224](https://redirect.github.com/getsentry/sentry-python/pull/5224) - ci: Unpin Python version for LiteLLM tests by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5238](https://redirect.github.com/getsentry/sentry-python/pull/5238) - ci: 🤖 Update test matrix with new releases (12/15) by [@&#8203;github-actions](https://redirect.github.com/github-actions) in [#&#8203;5229](https://redirect.github.com/getsentry/sentry-python/pull/5229) - chore: Ignore type annotation migration in blame by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5234](https://redirect.github.com/getsentry/sentry-python/pull/5234) - ref: Clean up get\_active\_propagation\_context by [@&#8203;sl0thentr0py](https://redirect.github.com/sl0thentr0py) in [#&#8203;5217](https://redirect.github.com/getsentry/sentry-python/pull/5217) - ref: Cleanup outgoing propagation\_context logic by [@&#8203;sl0thentr0py](https://redirect.github.com/sl0thentr0py) in [#&#8203;5215](https://redirect.github.com/getsentry/sentry-python/pull/5215) - ci: Pin Python version to at least 3.10 for LiteLLM by [@&#8203;alexander-alderman-webb](https://redirect.github.com/alexander-alderman-webb) in [#&#8203;5202](https://redirect.github.com/getsentry/sentry-python/pull/5202) - test: Remove skipped test by [@&#8203;sentrivana](https://redirect.github.com/sentrivana) in [#&#8203;5197](https://redirect.github.com/getsentry/sentry-python/pull/5197) - Convert all remaining type annotations into the modern format by [@&#8203;zsol](https://redirect.github.com/zsol) in [#&#8203;5239](https://redirect.github.com/getsentry/sentry-python/pull/5239) - Convert sentry\_sdk type annotations into the modern format by [@&#8203;zsol](https://redirect.github.com/zsol) in [#&#8203;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

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616
"iterpy==1.12.0",
1717
"markdown==3.10",
1818
"pydantic==2.12.5",
19-
"sentry-sdk==2.47.0",
19+
"sentry-sdk==2.48.0",
2020
"typer==0.20.0",
2121
"tqdm==4.67.1",
2222
"unidecode==1.4.0",

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)