Commit Graph

6918 Commits

Author SHA1 Message Date
pre-commit-ci-lite[bot] cb0c5f89af
🎨 Auto format 2026-03-14 06:13:14 +00:00
easonysliu 2ea91122c9 Emit UserWarning when Response.background silently discards injected BackgroundTasks
When an endpoint injects BackgroundTasks via dependency injection AND
returns a Response that already has its own `background` attribute set,
the injected tasks are silently dropped. This is a confusing footgun
that causes tasks to disappear without any indication.

This change adds a UserWarning in that scenario so the silent data loss
becomes visible. The warning message explains how to resolve the
conflict (either use the injected BackgroundTasks exclusively, or stop
injecting BackgroundTasks when using Response.background directly).

Ref: https://github.com/fastapi/fastapi/issues/11215

Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
2026-03-14 14:08:25 +08:00
github-actions[bot] 04b279fe77 📝 Update release notes
[skip ci]
2026-03-12 21:15:19 +00:00
dependabot[bot] 4b826022b1
⬆ Bump black from 26.1.0 to 26.3.1 (#15100)
Bumps [black](https://github.com/psf/black) from 26.1.0 to 26.3.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/26.1.0...26.3.1)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 26.3.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-12 21:14:44 +00:00
github-actions[bot] 11614be902 📝 Update release notes
[skip ci]
2026-03-07 09:29:24 +00:00
Sebastián Ramírez edaf23943c
📝 Add docs for `pyproject.toml` with `entrypoint` (#15075) 2026-03-07 10:29:03 +01:00
github-actions[bot] 627c10a293 📝 Update release notes
[skip ci]
2026-03-05 18:14:11 +00:00
Sebastián Ramírez 5b485f0848
📝 Update links in docs to no longer use the classes external-link and internal-link (#15061) 2026-03-05 19:13:19 +01:00
github-actions[bot] b618ba2792 📝 Update release notes
[skip ci]
2026-03-05 18:08:06 +00:00
Sebastián Ramírez f552fd3254
🔨 Add JS and CSS handling for automatic `target=_blank` for links in docs (#15063) 2026-03-05 18:59:48 +01:00
github-actions[bot] d23918588e 📝 Update release notes
[skip ci]
2026-03-05 17:58:48 +00:00
Sebastián Ramírez 0c0be9429f
🔨 Update script to autofix permalinks to account for headers with Markdown links (#15062) 2026-03-05 17:46:10 +00:00
github-actions[bot] b27fe99c2f 📝 Update release notes
[skip ci]
2026-03-05 11:54:36 +00:00
Sebastián Ramírez 8d6fdc80e8
💄 Update styles for internal and external links in new tab (#15058) 2026-03-05 11:54:05 +00:00
github-actions[bot] 4d6a5470bc 📝 Update release notes
[skip ci]
2026-03-05 11:27:42 +00:00
Savannah Ostrowski 196cafa07a
📝 Add documentation for the FastAPI VS Code extension (#15008)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-03-05 12:27:12 +01:00
github-actions[bot] e26eb871f8 📝 Update release notes
[skip ci]
2026-03-05 10:35:51 +00:00
Sebastián Ramírez 9d475aae74
📌 Pin Click for MkDocs live reload (#15057) 2026-03-05 10:35:17 +00:00
github-actions[bot] 365fad3c7b 📝 Update release notes
[skip ci]
2026-03-04 12:53:13 +00:00
Motov Yurii 8b0090c39b
📝 Fix doctrings for `max_digits` and `decimal_places` (#14944)
Fix doctrings for `max_digits` and `decimal_places`
2026-03-04 13:52:48 +01:00
github-actions[bot] 2bb280667d 📝 Update release notes
[skip ci]
2026-03-04 10:57:54 +00:00
Motov Yurii 9cfd5d685a
📝 Add dates to release notes (#15001)
Add dates to release notes
2026-03-04 11:57:30 +01:00
github-actions[bot] 7a03018d6a 📝 Update release notes
[skip ci]
2026-03-03 12:40:40 +00:00
dependabot[bot] 3234e25368
⬆ Bump werkzeug from 3.1.5 to 3.1.6 (#14948)
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-03 13:40:06 +01:00
github-actions[bot] b54aa52294 📝 Update release notes
[skip ci]
2026-03-03 00:15:45 +00:00
github-actions[bot] 0bc4d1be96 📝 Update release notes
[skip ci]
2026-03-03 00:15:28 +00:00
dependabot[bot] 800a1dbf5c
⬆ Bump pydantic-ai from 1.62.0 to 1.63.0 (#15035)
Bumps [pydantic-ai](https://github.com/pydantic/pydantic-ai) from 1.62.0 to 1.63.0.
- [Release notes](https://github.com/pydantic/pydantic-ai/releases)
- [Changelog](https://github.com/pydantic/pydantic-ai/blob/main/docs/changelog.md)
- [Commits](https://github.com/pydantic/pydantic-ai/compare/v1.62.0...v1.63.0)

---
updated-dependencies:
- dependency-name: pydantic-ai
  dependency-version: 1.63.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-03 01:15:05 +01:00
dependabot[bot] cac584c85d
⬆ Bump pytest-codspeed from 4.2.0 to 4.3.0 (#15034)
Bumps [pytest-codspeed](https://github.com/CodSpeedHQ/pytest-codspeed) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/CodSpeedHQ/pytest-codspeed/releases)
- [Changelog](https://github.com/CodSpeedHQ/pytest-codspeed/blob/master/CHANGELOG.md)
- [Commits](https://github.com/CodSpeedHQ/pytest-codspeed/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: pytest-codspeed
  dependency-version: 4.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-03 01:14:10 +01:00
github-actions[bot] 8469e19125 📝 Update release notes
[skip ci]
2026-03-03 00:14:05 +00:00
github-actions[bot] 107808931e 📝 Update release notes
[skip ci]
2026-03-03 00:13:32 +00:00
dependabot[bot] e1b271f566
⬆ Bump strawberry-graphql from 0.291.2 to 0.307.1 (#15033)
Bumps [strawberry-graphql](https://github.com/strawberry-graphql/strawberry) from 0.291.2 to 0.307.1.
- [Release notes](https://github.com/strawberry-graphql/strawberry/releases)
- [Changelog](https://github.com/strawberry-graphql/strawberry/blob/main/CHANGELOG.md)
- [Commits](https://github.com/strawberry-graphql/strawberry/compare/0.291.2...0.307.1)

---
updated-dependencies:
- dependency-name: strawberry-graphql
  dependency-version: 0.307.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-03 01:13:14 +01:00
github-actions[bot] d0ac80bccc 📝 Update release notes
[skip ci]
2026-03-03 00:13:05 +00:00
dependabot[bot] ce0a705066
⬆ Bump typer from 0.21.1 to 0.24.1 (#15032)
Bumps [typer](https://github.com/fastapi/typer) from 0.21.1 to 0.24.1.
- [Release notes](https://github.com/fastapi/typer/releases)
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md)
- [Commits](https://github.com/fastapi/typer/compare/0.21.1...0.24.1)

---
updated-dependencies:
- dependency-name: typer
  dependency-version: 0.24.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-03 01:12:33 +01:00
github-actions[bot] a3e3903cfa 📝 Update release notes
[skip ci]
2026-03-03 00:12:12 +00:00
dependabot[bot] 80c5fb6b1c
⬆ Bump actions/download-artifact from 7 to 8 (#15020)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-03 01:12:02 +01:00
dependabot[bot] 2f098a3121
⬆ Bump actions/upload-artifact from 6 to 7 (#15019)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-03 01:11:44 +01:00
Sebastián Ramírez ca5f60ee72 🔖 Release version 0.135.1 2026-03-01 19:17:26 +01:00
github-actions[bot] 87f75aa62c 📝 Update release notes
[skip ci]
2026-03-01 18:16:24 +00:00
Sebastián Ramírez 8a9258b169
🐛 Fix, avoid yield from a TaskGroup, only as an async context manager, closed in the request async exit stack (#15038) 2026-03-01 19:16:03 +01:00
github-actions[bot] 6038507823 📝 Update release notes
[skip ci]
2026-03-01 17:22:02 +00:00
Sebastián Ramírez c796ba4f46
👥 Update FastAPI People - Experts (#15037)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-01 18:21:37 +01:00
github-actions[bot] b24aa03b88 📝 Update release notes
[skip ci]
2026-03-01 12:47:40 +00:00
Aditya Giri 2c6104752a
✏️ Fix typo in `docs/en/docs/_llm-test.md` (#15007) 2026-03-01 13:45:56 +01:00
github-actions[bot] e3bbeef8a2 📝 Update release notes
[skip ci]
2026-03-01 12:45:43 +00:00
github-actions[bot] d726c8cb2b 📝 Update release notes
[skip ci]
2026-03-01 12:45:41 +00:00
Sebastián Ramírez cf514e6d38
👥 Update FastAPI People - Contributors and Translators (#15029)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-01 13:45:21 +01:00
Sebastián Ramírez 1084d42c3e
👥 Update FastAPI GitHub topic repositories (#15036)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-01 13:45:14 +01:00
github-actions[bot] f5c7b20933 📝 Update release notes
[skip ci]
2026-03-01 10:06:23 +00:00
Sebastián Ramírez 924a535a4f
📝 Update Skill, optimize context, trim and refactor into references (#15031) 2026-03-01 10:05:57 +00:00
Sebastián Ramírez 12ea7be0be 🔖 Release version 0.135.0 2026-03-01 10:27:00 +01:00