Commit 9743a1d
authored
chore(deps): Bump sentry-sdk from 2.47.0 to 2.48.0 in /experimenter/tests (#14244)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.47.0 to 2.48.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's
releases</a>.</em></p>
<blockquote>
<h2>2.48.0</h2>
<p>Middleware spans are now disabled by default in Django, Starlette and
FastAPI integrations. Set the <code>middleware_spans</code>
integration-level
option to capture individual spans per middleware layer. To record
Django middleware spans, for example, configure as follows</p>
<pre lang="python"><code> import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
<p>sentry_sdk.init(<br />
dsn="<your-dsn>",<br />
integrations=[<br />
DjangoIntegration(middleware_spans=True),<br />
],<br />
)<br />
</code></pre></p>
<h3>New Features ✨</h3>
<ul>
<li>
<p>feat(ai): add single message truncation by <a
href="https://github.com/shellmayr"><code>@shellmayr</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5079">#5079</a></p>
</li>
<li>
<p>feat(django): Add span around <code>Task.enqueue</code> by <a
href="https://github.com/sentrivana"><code>@sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5209">#5209</a></p>
</li>
<li>
<p>feat(starlette): Set transaction name when middleware spans are
disabled by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5223">#5223</a></p>
</li>
<li>
<p>feat: Add "K_REVISION" to environment variable release
check (exposed by cloud run) by <a
href="https://github.com/rpradal"><code>@rpradal</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5222">#5222</a></p>
</li>
</ul>
<h4>Langgraph</h4>
<ul>
<li>feat(langgraph): Response model attribute on invocation spans by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5212">#5212</a></li>
<li>feat(langgraph): Usage attributes on invocation spans by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5211">#5211</a></li>
</ul>
<h4>OTLP</h4>
<ul>
<li>feat(otlp): Optionally capture exceptions from otel's
Span.record_exception api by <a
href="https://github.com/sl0thentr0py"><code>@sl0thentr0py</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5235">#5235</a></li>
<li>feat(otlp): Implement new Propagator.inject for OTLPIntegration by
<a
href="https://github.com/sl0thentr0py"><code>@sl0thentr0py</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5221">#5221</a></li>
</ul>
<h3>Bug Fixes 🐛</h3>
<h4>Integrations</h4>
<ul>
<li>
<p>fix(django): Set active thread ID when middleware spans are disabled
by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5220">#5220</a></p>
</li>
<li>
<p>fix(integrations): openai-agents fixing the input messages structure
which was wrapped too much in some cases by <a
href="https://github.com/constantinius"><code>@constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5203">#5203</a></p>
</li>
<li>
<p>fix(integrations): openai-agents fix multi-patching of
<code>get_model</code> function by <a
href="https://github.com/constantinius"><code>@constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5195">#5195</a></p>
</li>
<li>
<p>fix(integrations): add values for pydantic-ai and openai-agents to
<code>_INTEGRATION_DEACTIVATES</code> to prohibit double span creation
by <a
href="https://github.com/constantinius"><code>@constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5196">#5196</a></p>
</li>
<li>
<p>fix(logs): Set <code>span_id</code> instead of
<code>sentry.trace.parent_span_id</code> attribute by <a
href="https://github.com/sentrivana"><code>@sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5241">#5241</a></p>
</li>
<li>
<p>fix(logs, metrics): Gate metrics, logs user attributes behind
<code>send_default_pii</code> by <a
href="https://github.com/sentrivana"><code>@sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5240">#5240</a></p>
</li>
<li>
<p>fix(pydantic-ai): Stop capturing internal exceptions by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5237">#5237</a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md">sentry-sdk's
changelog</a>.</em></p>
<blockquote>
<h2>2.48.0</h2>
<p>Middleware spans are now disabled by default in Django, Starlette and
FastAPI integrations. Set the <code>middleware_spans</code>
integration-level
option to capture individual spans per middleware layer. To record
Django middleware spans, for example, configure as follows</p>
<pre lang="python"><code> import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
<p>sentry_sdk.init(<br />
dsn="<your-dsn>",<br />
integrations=[<br />
DjangoIntegration(middleware_spans=True),<br />
],<br />
)<br />
</code></pre></p>
<h3>New Features ✨</h3>
<ul>
<li>
<p>feat(ai): add single message truncation by <a
href="https://github.com/shellmayr"><code>@shellmayr</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5079">#5079</a></p>
</li>
<li>
<p>feat(django): Add span around <code>Task.enqueue</code> by <a
href="https://github.com/sentrivana"><code>@sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5209">#5209</a></p>
</li>
<li>
<p>feat(starlette): Set transaction name when middleware spans are
disabled by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5223">#5223</a></p>
</li>
<li>
<p>feat: Add "K_REVISION" to environment variable release
check (exposed by cloud run) by <a
href="https://github.com/rpradal"><code>@rpradal</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5222">#5222</a></p>
</li>
</ul>
<h4>Langgraph</h4>
<ul>
<li>feat(langgraph): Response model attribute on invocation spans by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5212">#5212</a></li>
<li>feat(langgraph): Usage attributes on invocation spans by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5211">#5211</a></li>
</ul>
<h4>OTLP</h4>
<ul>
<li>feat(otlp): Optionally capture exceptions from otel's
Span.record_exception api by <a
href="https://github.com/sl0thentr0py"><code>@sl0thentr0py</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5235">#5235</a></li>
<li>feat(otlp): Implement new Propagator.inject for OTLPIntegration by
<a
href="https://github.com/sl0thentr0py"><code>@sl0thentr0py</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5221">#5221</a></li>
</ul>
<h3>Bug Fixes 🐛</h3>
<h4>Integrations</h4>
<ul>
<li>
<p>fix(django): Set active thread ID when middleware spans are disabled
by <a
href="https://github.com/alexander-alderman-webb"><code>@alexander-alderman-webb</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5220">#5220</a></p>
</li>
<li>
<p>fix(integrations): openai-agents fixing the input messages structure
which was wrapped too much in some cases by <a
href="https://github.com/constantinius"><code>@constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5203">#5203</a></p>
</li>
<li>
<p>fix(integrations): openai-agents fix multi-patching of
<code>get_model</code> function by <a
href="https://github.com/constantinius"><code>@constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5195">#5195</a></p>
</li>
<li>
<p>fix(integrations): add values for pydantic-ai and openai-agents to
<code>_INTEGRATION_DEACTIVATES</code> to prohibit double span creation
by <a
href="https://github.com/constantinius"><code>@constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5196">#5196</a></p>
</li>
<li>
<p>fix(logs): Set <code>span_id</code> instead of
<code>sentry.trace.parent_span_id</code> attribute by <a
href="https://github.com/sentrivana"><code>@sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5241">#5241</a></p>
</li>
<li>
<p>fix(logs, metrics): Gate metrics, logs user attributes behind
<code>send_default_pii</code> by <a
href="https://github.com/sentrivana"><code>@sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/5240">#5240</a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/getsentry/sentry-python/commit/32e9cac9b2be3f80b1ad9338d04ede01260dead6"><code>32e9cac</code></a>
Phrasing and code formatting in changelog</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/bf3040395e6a37c9e5244e5a12b3319d37cb9d8e"><code>bf30403</code></a>
Call out new default for middleware spans and fix formatting in
changelog</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/19e0d1fb8c332fa96fb30cbc6b9bed7034d79c81"><code>19e0d1f</code></a>
Fix changelog</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/6516b8b62798021da0220754698e008b2dcaa16d"><code>6516b8b</code></a>
release: 2.48.0</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/e275c9e94323b429f39196881fb992d81a2e52ea"><code>e275c9e</code></a>
Convert all remaining type annotations to PEP-526 format (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5239">#5239</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/a29b42171e68403754113b57701b3a97152247ec"><code>a29b421</code></a>
fix(logs): Set <code>span_id</code> instead of
<code>sentry.trace.parent_span_id</code> attribute (...</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/a9d89f2ddd234237237691b7388cd48f1a3a0f8e"><code>a9d89f2</code></a>
fix(pydantic-ai): Stop capturing internal exceptions (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5237">#5237</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/5606bb3e58e1c27e2c1e48d6dc69e09e30469897"><code>5606bb3</code></a>
fix(logs, metrics): Gate metrics, logs user attributes behind
`send_default_p...</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/6046f2d04632176654415d5ad16ad17d558a81a3"><code>6046f2d</code></a>
ci: Unpin Python version for LiteLLM tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5238">#5238</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-python/commit/42ed87a774a780f0f60f8915ac52cd31fbf0d85c"><code>42ed87a</code></a>
ci: 🤖 Update test matrix with new releases (12/15) (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/5229">#5229</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.47.0...2.48.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
Dependabot will merge this PR once it's up-to-date and CI passes on it,
as requested by @jaredlockhart.
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 <dependency name> 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)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 99a2eeb commit 9743a1d
2 files changed
+5
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments