Files
bracket/backend
dependabot[bot] 0de812c8b9 Bump sentry-sdk from 2.59.0 to 2.60.0 in /backend (#1715)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.59.0 to 2.60.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.60.0</h2>
<p>Adds a new <code>stream_gen_ai_spans</code> option that controls how
<code>gen_ai</code> spans are
sent to Sentry. When set, the SDK extracts all <code>gen_ai</code> spans
out of a
transaction and sends them as v2 envelope items.</p>
<p>Enable this option if <code>gen_ai</code> spans are being dropped
because the transaction payload exceeds size limits.</p>
<pre lang="python"><code>import sentry_sdk
<p>sentry_sdk.init(<br />
dsn='https://<a
href="mailto:examplePublicKey@o0.ingest.sentry.io">examplePublicKey@o0.ingest.sentry.io</a>/0',<br
/>
stream_gen_ai_spans=True,<br />
)<br />
</code></pre></p>
<h3>New Features </h3>
<ul>
<li>(asyncpg) Add cursor span support via BaseCursor method patching by
<a href="https://github.com/ericapisani"><code>@​ericapisani</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6252">#6252</a></li>
<li>(integrations) Pass along the conversation ID for openai
<code>responses</code> calls by <a
href="https://github.com/constantinius"><code>@​constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6199">#6199</a></li>
<li>(wsgi,asgi) Introduce substitute values for filtered fields in
span-streaming mode by <a
href="https://github.com/ericapisani"><code>@​ericapisani</code></a> in
<a
href="https://redirect.github.com/getsentry/sentry-python/pull/6178">#6178</a></li>
<li>Remove truncation when <code>stream_gen_ai_spans</code> is enabled
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/6260">#6260</a></li>
<li>Add option to send GenAI spans in the new span format 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/6079">#6079</a></li>
</ul>
<h3>Bug Fixes 🐛</h3>
<h4>Openai</h4>
<ul>
<li>Guard against <code>choices=None</code> by <a
href="https://github.com/cla7aye15I4nd"><code>@​cla7aye15I4nd</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6216">#6216</a></li>
<li>Stop setting transaction status when child span fails 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/6192">#6192</a></li>
<li>Only finish relevant spans in Responses patches 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/6191">#6191</a></li>
<li>Only finish relevant spans in Chat Completions patches 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/6190">#6190</a></li>
</ul>
<h4>Other</h4>
<ul>
<li>(stdlib) Instrument response body read for chunked HTTP responses by
<a href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in
<a
href="https://redirect.github.com/getsentry/sentry-python/pull/6202">#6202</a></li>
<li>(typing) Add <code>@sentry_sdk.traces.trace</code> overloads to fix
typing by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6236">#6236</a></li>
<li>Use proto version 2 to fix backfilled user agent and IP by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6256">#6256</a></li>
<li>Make sure <code>http.server</code> spans are segments by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6230">#6230</a></li>
<li>Handle mypy 2.0 related failures 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/6218">#6218</a></li>
</ul>
<h3>Internal Changes 🔧</h3>
<h4>Django</h4>
<ul>
<li>Check transaction annotations on transaction events 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/6251">#6251</a></li>
<li>Reload middleware on test teardown 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/6249">#6249</a></li>
</ul>
<h4>Openai</h4>
<!-- 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.60.0</h2>
<p>Adds a new <code>stream_gen_ai_spans</code> option that controls how
<code>gen_ai</code> spans are
sent to Sentry. When set, the SDK extracts all <code>gen_ai</code> spans
out of a
transaction and sends them as v2 envelope items.</p>
<p>Enable this option if <code>gen_ai</code> spans are being dropped
because the transaction payload exceeds size limits.</p>
<pre lang="python"><code>import sentry_sdk
<p>sentry_sdk.init(<br />
dsn='https://<a
href="mailto:examplePublicKey@o0.ingest.sentry.io">examplePublicKey@o0.ingest.sentry.io</a>/0',<br
/>
stream_gen_ai_spans=True,<br />
)<br />
</code></pre></p>
<h3>New Features </h3>
<ul>
<li>(asyncpg) Add cursor span support via BaseCursor method patching by
<a href="https://github.com/ericapisani"><code>@​ericapisani</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6252">#6252</a></li>
<li>(integrations) Pass along the conversation ID for openai
<code>responses</code> calls by <a
href="https://github.com/constantinius"><code>@​constantinius</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6199">#6199</a></li>
<li>(wsgi,asgi) Introduce substitute values for filtered fields in
span-streaming mode by <a
href="https://github.com/ericapisani"><code>@​ericapisani</code></a> in
<a
href="https://redirect.github.com/getsentry/sentry-python/pull/6178">#6178</a></li>
<li>Remove truncation when <code>stream_gen_ai_spans</code> is enabled
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/6260">#6260</a></li>
<li>Add option to send GenAI spans in the new span format 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/6079">#6079</a></li>
</ul>
<h3>Bug Fixes 🐛</h3>
<h4>Openai</h4>
<ul>
<li>Guard against <code>choices=None</code> by <a
href="https://github.com/cla7aye15I4nd"><code>@​cla7aye15I4nd</code></a>
in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6216">#6216</a></li>
<li>Stop setting transaction status when child span fails 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/6192">#6192</a></li>
<li>Only finish relevant spans in Responses patches 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/6191">#6191</a></li>
<li>Only finish relevant spans in Chat Completions patches 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/6190">#6190</a></li>
</ul>
<h4>Other</h4>
<ul>
<li>(stdlib) Instrument response body read for chunked HTTP responses by
<a href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in
<a
href="https://redirect.github.com/getsentry/sentry-python/pull/6202">#6202</a></li>
<li>(typing) Add <code>@sentry_sdk.traces.trace</code> overloads to fix
typing by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6236">#6236</a></li>
<li>Use proto version 2 to fix backfilled user agent and IP by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6256">#6256</a></li>
<li>Make sure <code>http.server</code> spans are segments by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a> in <a
href="https://redirect.github.com/getsentry/sentry-python/pull/6230">#6230</a></li>
<li>Handle mypy 2.0 related failures 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/6218">#6218</a></li>
</ul>
<h3>Internal Changes 🔧</h3>
<h4>Django</h4>
<ul>
<li>Check transaction annotations on transaction events 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/6251">#6251</a></li>
<li>Reload middleware on test teardown 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/6249">#6249</a></li>
</ul>
<h4>Openai</h4>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e30caaa977"><code>e30caaa</code></a>
Update CHANGELOG.md</li>
<li><a
href="d31ac85a92"><code>d31ac85</code></a>
release: 2.60.0</li>
<li><a
href="fcb93051c5"><code>fcb9305</code></a>
feat: Remove truncation when <code>stream_gen_ai_spans</code> is enabled
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6260">#6260</a>)</li>
<li><a
href="253a4d42b1"><code>253a4d4</code></a>
feat: Add option to send GenAI spans in the new span format (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6079">#6079</a>)</li>
<li><a
href="619d803d82"><code>619d803</code></a>
test(langchain): Inline global state (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6261">#6261</a>)</li>
<li><a
href="f92c8036a8"><code>f92c803</code></a>
Revert &quot;fix: Work around compromised transitive dependency (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6257">#6257</a>)&quot;
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6262">#6262</a>)</li>
<li><a
href="7a303dcbf0"><code>7a303dc</code></a>
Add option to drop scrubbed user IP addresses (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6241">#6241</a>)</li>
<li><a
href="edaa6d6d14"><code>edaa6d6</code></a>
feat(pymongo): Add span streaming support (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6253">#6253</a>)</li>
<li><a
href="0e47eadede"><code>0e47ead</code></a>
feat(asyncpg): Add cursor span support via BaseCursor method patching
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6252">#6252</a>)</li>
<li><a
href="17cc8c7b2c"><code>17cc8c7</code></a>
fix: Use proto version 2 to fix backfilled user agent and IP (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/6256">#6256</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.59.0...2.60.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentry-sdk&package-manager=uv&previous-version=2.59.0&new-version=2.60.0)](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-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 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>
2026-06-16 04:12:38 +00:00
..
2025-11-14 10:47:23 +00:00
2023-01-12 21:04:51 +01:00
2022-12-24 14:33:51 +01:00
2022-12-27 12:49:44 +01:00
2025-12-21 16:15:51 +00:00
2025-12-20 19:32:33 +01:00