dependabot[bot] f4d4ee369f Bump sentry-sdk from 2.47.0 to 2.48.0 in /backend (#1474)
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=&quot;&lt;your-dsn&gt;&quot;,<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 &quot;K_REVISION&quot; 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=&quot;&lt;your-dsn&gt;&quot;,<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 &quot;K_REVISION&quot; 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="32e9cac9b2"><code>32e9cac</code></a>
Phrasing and code formatting in changelog</li>
<li><a
href="bf3040395e"><code>bf30403</code></a>
Call out new default for middleware spans and fix formatting in
changelog</li>
<li><a
href="19e0d1fb8c"><code>19e0d1f</code></a>
Fix changelog</li>
<li><a
href="6516b8b627"><code>6516b8b</code></a>
release: 2.48.0</li>
<li><a
href="e275c9e943"><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="a29b42171e"><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="a9d89f2ddd"><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="5606bb3e58"><code>5606bb3</code></a>
fix(logs, metrics): Gate metrics, logs user attributes behind
`send_default_p...</li>
<li><a
href="6046f2d046"><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="42ed87a774"><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 />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentry-sdk&package-manager=uv&previous-version=2.47.0&new-version=2.48.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 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>
2025-12-17 04:27:29 +00:00
2024-02-27 20:58:28 +01:00
2023-11-27 20:38:30 +01:00
2025-11-12 11:18:06 +01:00
2025-11-12 11:18:06 +01:00
2023-12-13 12:44:04 +01:00

Bracket - Tournament System

build status translations last commit release codecov

Demo · Documentation · Quickstart · GitHub · Releases

evroon/bracket | Trendshift

Tournament system meant to be easy to use. Bracket is written in async Python (with FastAPI) and Vite as frontend using the Mantine library.

It has the following features:

  • Supports single elimination, round-robin and swiss formats.
  • Build your tournament structure with multiple stages that can have multiple groups/brackets in them.
  • Drag-and-drop matches to different courts or reschedule them to another start time.
  • Various dashboard pages are available that can be presented to the public, customized with a logo.
  • Create/update teams, and add players to teams.
  • Create multiple clubs, with multiple tournaments per club.
  • Swiss tournaments can be handled dynamically, with automatic scheduling of matches.

Explore the Bracket docs  ▶

Live Demo

A demo is available for free at https://www.bracketapp.nl/demo. The demo lasts for 30 minutes, after which your data will de deleted.

Quickstart

To quickly run bracket to see how it works, clone it and run docker compose up:

git clone git@github.com:evroon/bracket.git
cd bracket
sudo docker compose up -d

This will start the backend and frontend of Bracket, as well as a postgres instance. You should now be able to view bracket at http://localhost:3000. You can log in with the following credentials:

  • Username: test@example.org
  • Password: aeGhoe1ahng2Aezai0Dei6Aih6dieHoo.

To insert dummy rows into the database, run:

sudo docker exec bracket-backend uv run ./cli.py create-dev-db

See also the quickstart docs.

Usage

Read the usage guide for how to organize a tournament in Bracket from start to finish.

Configuration

Read the configuration docs for how to configure Bracket.

Bracket's backend is configured using .env files (prod.env for production, dev.env for development etc.). But you can also configure Bracket using environment variables directly, for example by specifying them in the docker-compose.yml.

The frontend doesn't can be configured by environment variables as well, as well as .env files using Vite's way of loading environment variables.

Running Bracket in production

Read the deployment docs for how to deploy Bracket and run it in production.

Bracket can be run in Docker or by itself (using uv and pnpm).

Development setup

Read the development docs for how to run Bracket for development.

Prerequisites are pnpm, postgresql and uv to run the frontend, database and backend.

Translations

Based on your browser settings, your language should be automatically detected and loaded. For now, there's no manual way of choosing a different language.

Supported Languages

To add/refine translations, Crowdin is used. See the docs for more information.

More screenshots

Help

If you're having trouble getting Bracket up and running, or have a question about usage or configuration, feel free to ask. The best place to do this is by creating a Discussion.

Supporting Bracket

If you're using Bracket and would like to help support its development, that would be greatly appreciated!

Several areas that we need a bit of help with at the moment are:

  • Star Bracket on GitHub
  • 🌐 Translating: Help make Bracket available to non-native English speakers by adding your language (via crowdin)
  • 📣 Spread the word by sharing Bracket to help new users discover it
  • 🖥️ Submit a PR to add a new feature, fix a bug, extend/update the docs or something else

See the contribution docs for more information on how to contribute

Contributors

evroon
Erik Vroon
robigan
Null
BachErik
BachErik
djpiper28
Danny Piper
MaxRickettsUy
Max Ricketts-Uy
sevi418
Sevi C
nvanheuverzwijn
Nicolas Vanheuverzwijn
FelipeGdM
Felipe Gomes De Melo
IzStriker
IzStriker
jmillxyz
Jon Miller
oscartobar
Oscar Tobar Rios
babeuh
Raphael Le Goaller

License

Bracket is licensed under AGPL-v3.0.

Please note that any contributions also fall under this license.

See LICENSE

Description
No description provided
Readme AGPL-3.0 48 MiB
Languages
TypeScript 51.1%
Python 47.6%
CSS 0.8%
Dockerfile 0.2%