Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

✨ AllowResponse type hint as dependency annotation#14794

Merged
tiangolo merged 5 commits intofastapi:masterfrom
jonathan-fulton:fix/issue-10127-response-dependency-annotation
Feb 5, 2026
Merged

✨ AllowResponse type hint as dependency annotation#14794
tiangolo merged 5 commits intofastapi:masterfrom
jonathan-fulton:fix/issue-10127-response-dependency-annotation

Conversation

@jonathan-fulton
Copy link
Contributor

Summary

Fixes#10127

UsingResponse as a type hint withDepends would fail with an assertion error:

defendpoint(response:Annotated[Response,Depends(modify_response)]):# AssertionError: Cannot specify \`Depends\` for type Response

Changes

Modified the type annotation handling inanalyze_param() to check forDepends before applying special type handling. When aDepends is specified, the dependency is called normally and its return value used.

Usage

Now supports:

  • response: Annotated[Response, Depends(modify_response)]
  • response: Response = Depends(modify_response)

While still supporting regular injection:

  • response: Response

Testing

Added comprehensive tests intests/test_response_dependency.py

Previously, using Response as a type hint with Depends would fail:    def endpoint(response: Annotated[Response, Depends(modify_response)]):This was due to an overly strict assertion that prevented Dependsfrom being used with Response type annotations.The fix moves the Depends check before the special type handling,so when a Depends is specified, the dependency is called normallyand its return value used, rather than applying the specialResponse injection logic.This allows patterns like:- response: Annotated[Response, Depends(modify_response)]- response: Response = Depends(modify_response)While still supporting regular Response injection:- response: ResponseFixesfastapi#10127
@codspeed-hq
Copy link

codspeed-hqbot commentedFeb 1, 2026
edited
Loading

CodSpeed Performance Report

Merging this PR willnot alter performance

Comparingjonathan-fulton:fix/issue-10127-response-dependency-annotation (914f43a) withmaster (0e68d36)1

Summary

✅ 20 untouched benchmarks

Footnotes

  1. No successful run was found onmaster (464c359) during the generation of this report, so0e68d36 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@YuriiMotovYuriiMotov added the featureNew feature or request labelFeb 2, 2026
YuriiMotov

This comment was marked as resolved.

- Add test for dependency returning different Response instance (JSONResponse)- Add test for Request type in dependency chain- Add test for BackgroundTasks with Depends annotation- Update module docstring to reflect broader scope (all special types)
@jonathan-fulton
Copy link
ContributorAuthor

@YuriiMotov Thank you for the thorough review! I've addressed your feedback:

  1. Added test for dependency returning different Response instance - Addedtest_response_dependency_returns_different_response_instance which tests the exact scenario you suggested with a JSONResponse.

  2. Added tests for other special types - Since this fix applies to all special dependencies, I've added tests for:

    • Request type in dependency chains
    • BackgroundTasks with Depends annotation
  3. Updated docstring - Changed the module docstring to reflect the broader scope: "Test using special types (Response, Request, BackgroundTasks) as dependency annotations."

Regarding the PR title/description - you're right that this affects all special types, not just Response. Should I update the title to something like "fix: allow special types (Response, Request, BackgroundTasks) as dependency annotations"? Happy to do so if that would be clearer.

All 7 tests pass locally. 🎉

@YuriiMotovYuriiMotov changed the titlefix: allow Response type hint as dependency annotation✨ AllowResponse type hint as dependency annotationFeb 3, 2026
Copy link
Member

@YuriiMotovYuriiMotov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM!

@jonathan-fulton, thank you!

Copy link
Member

@tiangolotiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Excellent, thank you! 🙌

This will be available in FastAPI 0.128.2, released in the next few hours. 🎉

@tiangolotiangoloenabled auto-merge (squash)February 5, 2026 18:20
@tiangolotiangolo merged commitb49435b intofastapi:masterFeb 5, 2026
26 checks passed
736-c41-2c1-e464fc974 added a commit to Swiss-Armed-Forces/Loom that referenced this pull requestFeb 20, 2026
This MR contains the following updates:| Package | Type | Update | Change | OpenSSF ||---|---|---|---|---|| [debugpy](https://aka.ms/debugpy) ([source](https://github.com/microsoft/debugpy)) | dev | patch | `1.8.19` → `1.8.20` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/microsoft/debugpy/badge)](https://securityscorecards.dev/viewer/?uri=github.com/microsoft/debugpy) || [fastapi](https://github.com/fastapi/fastapi) ([changelog](https://fastapi.tiangolo.com/release-notes/)) | dependencies | patch | `0.128.0` → `0.128.8` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/fastapi/fastapi/badge)](https://securityscorecards.dev/viewer/?uri=github.com/fastapi/fastapi) || [filelock](https://github.com/tox-dev/py-filelock) | dependencies | patch | `3.20.3` → `3.20.4` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/tox-dev/py-filelock/badge)](https://securityscorecards.dev/viewer/?uri=github.com/tox-dev/py-filelock) || [python-multipart](https://github.com/Kludex/python-multipart) ([changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)) | dependencies | patch | `^0.0.21` → `^0.0.22` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/Kludex/python-multipart/badge)](https://securityscorecards.dev/viewer/?uri=github.com/Kludex/python-multipart) || [stream-zip](https://github.com/uktrade/stream-zip) | dependencies | patch | `^0.0.83` → `^0.0.84` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/uktrade/stream-zip/badge)](https://securityscorecards.dev/viewer/?uri=github.com/uktrade/stream-zip) |---### Release Notes<details><summary>microsoft/debugpy (debugpy)</summary>### [`v1.8.20`](https://github.com/microsoft/debugpy/releases/tag/v1.8.20): debugpy v1.8.20[Compare Source](microsoft/debugpy@v1.8.19...v1.8.20)Fixes for:- annotate in 3.14 causing exceptions: [#&#8203;1971](microsoft/debugpy#1971)Enhancements:- Use remote\_exec if available: [`c7e86a1`](microsoft/debugpy@c7e86a1)- Support more architectures: [`1bbecdf`](microsoft/debugpy@1bbecdf)Infrastructure work:- Support devcontainers for development: [`7dbc229`](microsoft/debugpy@7dbc229)Thanks to [@&#8203;rameshvarun](https://github.com/rameshvarun), [@&#8203;Xeonacid](https://github.com/Xeonacid), and [@&#8203;pdepetro](https://github.com/pdepetro) for the commits</details><details><summary>fastapi/fastapi (fastapi)</summary>### [`v0.128.8`](https://github.com/fastapi/fastapi/releases/tag/0.128.8)[Compare Source](fastapi/fastapi@0.128.7...0.128.8)##### Docs- 📝 Fix grammar in `docs/en/docs/tutorial/first-steps.md`. MR [#&#8203;14708](fastapi/fastapi#14708) by [@&#8203;SanjanaS10](https://github.com/SanjanaS10).##### Internal- 🔨 Tweak PDM hook script. MR [#&#8203;14895](fastapi/fastapi#14895) by [@&#8203;tiangolo](https://github.com/tiangolo).- ♻️ Update build setup for `fastapi-slim`, deprecate it, and make it only depend on `fastapi`. MR [#&#8203;14894](fastapi/fastapi#14894) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.7`](https://github.com/fastapi/fastapi/releases/tag/0.128.7)[Compare Source](fastapi/fastapi@0.128.6...0.128.7)##### Features- ✨ Show a clear error on attempt to include router into itself. MR [#&#8203;14258](fastapi/fastapi#14258) by [@&#8203;JavierSanchezCastro](https://github.com/JavierSanchezCastro).- ✨ Replace `dict` by `Mapping` on `HTTPException.headers`. MR [#&#8203;12997](fastapi/fastapi#12997) by [@&#8203;rijenkii](https://github.com/rijenkii).##### Refactors- ♻️ Simplify reading files in memory, do it sequentially instead of (fake) parallel. MR [#&#8203;14884](fastapi/fastapi#14884) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Docs- 📝 Use `dfn` tag for definitions instead of `abbr` in docs. MR [#&#8203;14744](fastapi/fastapi#14744) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).##### Internal- ✅ Tweak comment in test to reference MR. MR [#&#8203;14885](fastapi/fastapi#14885) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Update LLM-prompt for `abbr` and `dfn` tags. MR [#&#8203;14747](fastapi/fastapi#14747) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- ✅ Test order for the submitted byte Files. MR [#&#8203;14828](fastapi/fastapi#14828) by [@&#8203;valentinDruzhinin](https://github.com/valentinDruzhinin).- 🔧 Configure `test` workflow to run tests with `inline-snapshot=review`. MR [#&#8203;14876](fastapi/fastapi#14876) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).### [`v0.128.6`](https://github.com/fastapi/fastapi/releases/tag/0.128.6)[Compare Source](fastapi/fastapi@0.128.5...0.128.6)##### Fixes- 🐛 Fix `on_startup` and `on_shutdown` parameters of `APIRouter`. MR [#&#8203;14873](fastapi/fastapi#14873) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).##### Translations- 🌐 Update translations for zh (update-outdated). MR [#&#8203;14843](fastapi/fastapi#14843) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- ✅ Fix parameterized tests with snapshots. MR [#&#8203;14875](fastapi/fastapi#14875) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).### [`v0.128.5`](https://github.com/fastapi/fastapi/releases/tag/0.128.5)[Compare Source](fastapi/fastapi@0.128.4...0.128.5)##### Refactors- ♻️ Refactor and simplify Pydantic v2 (and v1) compatibility internal utils. MR [#&#8203;14862](fastapi/fastapi#14862) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- ✅ Add inline snapshot tests for OpenAPI before changes from Pydantic v2. MR [#&#8203;14864](fastapi/fastapi#14864) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.4`](https://github.com/fastapi/fastapi/releases/tag/0.128.4)[Compare Source](fastapi/fastapi@0.128.3...0.128.4)##### Refactors- ♻️ Refactor internals, simplify Pydantic v2/v1 utils, `create_model_field`, better types for `lenient_issubclass`. MR [#&#8203;14860](fastapi/fastapi#14860) by [@&#8203;tiangolo](https://github.com/tiangolo).- ♻️ Simplify internals, remove Pydantic v1 only logic, no longer needed. MR [#&#8203;14857](fastapi/fastapi#14857) by [@&#8203;tiangolo](https://github.com/tiangolo).- ♻️ Refactor internals, cleanup unneeded Pydantic v1 specific logic. MR [#&#8203;14856](fastapi/fastapi#14856) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Translations- 🌐 Update translations for fr (outdated pages). MR [#&#8203;14839](fastapi/fastapi#14839) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 🌐 Update translations for tr (outdated and missing). MR [#&#8203;14838](fastapi/fastapi#14838) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).##### Internal- ⬆️ Upgrade development dependencies. MR [#&#8203;14854](fastapi/fastapi#14854) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.3`](https://github.com/fastapi/fastapi/releases/tag/0.128.3)[Compare Source](fastapi/fastapi@0.128.2...0.128.3)##### Refactors- ♻️ Re-implement `on_event` in FastAPI for compatibility with the next Starlette, while keeping backwards compatibility. MR [#&#8203;14851](fastapi/fastapi#14851) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Upgrades- ⬆️ Upgrade Starlette supported version range to `starlette>=0.40.0,<1.0.0`. MR [#&#8203;14853](fastapi/fastapi#14853) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Translations- 🌐 Update translations for ru (update-outdated). MR [#&#8203;14834](fastapi/fastapi#14834) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- 👷 Run tests with Starlette from git. MR [#&#8203;14849](fastapi/fastapi#14849) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👷 Run tests with lower bound uv sync, upgrade `fastapi[all]` minimum dependencies: `ujson >=5.8.0`, `orjson >=3.9.3`. MR [#&#8203;14846](fastapi/fastapi#14846) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.2`](https://github.com/fastapi/fastapi/releases/tag/0.128.2)[Compare Source](fastapi/fastapi@0.128.1...0.128.2)##### Features- ✨ Add support for PEP695 `TypeAliasType`. MR [#&#8203;13920](fastapi/fastapi#13920) by [@&#8203;cstruct](https://github.com/cstruct).- ✨ Allow `Response` type hint as dependency annotation. MR [#&#8203;14794](fastapi/fastapi#14794) by [@&#8203;jonathan-fulton](https://github.com/jonathan-fulton).##### Fixes- 🐛 Fix using `Json[list[str]]` type (issue [#&#8203;10997](fastapi/fastapi#10997)). MR [#&#8203;14616](fastapi/fastapi#14616) by [@&#8203;mkanetsuna](https://github.com/mkanetsuna).##### Docs- 📝 Update docs for translations. MR [#&#8203;14830](fastapi/fastapi#14830) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Fix duplicate word in `advanced-dependencies.md`. MR [#&#8203;14815](fastapi/fastapi#14815) by [@&#8203;Rayyan-Oumlil](https://github.com/Rayyan-Oumlil).##### Translations- 🌐 Enable Traditional Chinese translations. MR [#&#8203;14842](fastapi/fastapi#14842) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Enable French docs translations. MR [#&#8203;14841](fastapi/fastapi#14841) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for fr (translate-page). MR [#&#8203;14837](fastapi/fastapi#14837) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for de (update-outdated). MR [#&#8203;14836](fastapi/fastapi#14836) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for pt (update-outdated). MR [#&#8203;14833](fastapi/fastapi#14833) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for ko (update-outdated). MR [#&#8203;14835](fastapi/fastapi#14835) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for es (update-outdated). MR [#&#8203;14832](fastapi/fastapi#14832) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for tr (update-outdated). MR [#&#8203;14831](fastapi/fastapi#14831) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for tr (add-missing). MR [#&#8203;14790](fastapi/fastapi#14790) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for fr (update-outdated). MR [#&#8203;14826](fastapi/fastapi#14826) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for zh-hant (update-outdated). MR [#&#8203;14825](fastapi/fastapi#14825) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for uk (update-outdated). MR [#&#8203;14822](fastapi/fastapi#14822) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔨 Update docs and translations scripts, enable Turkish. MR [#&#8203;14824](fastapi/fastapi#14824) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- 🔨 Add max pages to translate to configs. MR [#&#8203;14840](fastapi/fastapi#14840) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.1`](https://github.com/fastapi/fastapi/releases/tag/0.128.1)[Compare Source](fastapi/fastapi@0.128.0...0.128.1)##### Features- ✨ Add `viewport` meta tag to improve Swagger UI on mobile devices. MR [#&#8203;14777](fastapi/fastapi#14777) by [@&#8203;Joab0](https://github.com/Joab0).- 🚸 Improve error message for invalid query parameter type annotations. MR [#&#8203;14479](fastapi/fastapi#14479) by [@&#8203;retwish](https://github.com/retwish).##### Fixes- 🐛 Update `ValidationError` schema to include `input` and `ctx`. MR [#&#8203;14791](fastapi/fastapi#14791) by [@&#8203;jonathan-fulton](https://github.com/jonathan-fulton).- 🐛 Fix TYPE\_CHECKING annotations for Python 3.14 (PEP 649). MR [#&#8203;14789](fastapi/fastapi#14789) by [@&#8203;mgu](https://github.com/mgu).- 🐛 Strip whitespaces from `Authorization` header credentials. MR [#&#8203;14786](fastapi/fastapi#14786) by [@&#8203;WaveTheory1](https://github.com/WaveTheory1).- 🐛 Fix OpenAPI duplication of `anyOf` refs for app-level responses with specified `content` and `model` as `Union`. MR [#&#8203;14463](fastapi/fastapi#14463) by [@&#8203;DJMcoder](https://github.com/DJMcoder).##### Refactors- 🎨 Tweak types for mypy. MR [#&#8203;14816](fastapi/fastapi#14816) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🏷️ Re-export `IncEx` type from Pydantic instead of duplicating it. MR [#&#8203;14641](fastapi/fastapi#14641) by [@&#8203;mvanderlee](https://github.com/mvanderlee).- 💡 Update comment for Pydantic internals. MR [#&#8203;14814](fastapi/fastapi#14814) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Docs- 📝 Update docs for contributing translations, simplify title. MR [#&#8203;14817](fastapi/fastapi#14817) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Fix typing issue in `docs_src/app_testing/app_b` code example. MR [#&#8203;14573](fastapi/fastapi#14573) by [@&#8203;timakaa](https://github.com/timakaa).- 📝 Fix example of license identifier in documentation. MR [#&#8203;14492](fastapi/fastapi#14492) by [@&#8203;johnson-earls](https://github.com/johnson-earls).- 📝 Add banner to translated pages. MR [#&#8203;14809](fastapi/fastapi#14809) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Add links to related sections of docs to docstrings. MR [#&#8203;14776](fastapi/fastapi#14776) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Update embedded code examples to Python 3.10 syntax. MR [#&#8203;14758](fastapi/fastapi#14758) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Fix dependency installation command in `docs/en/docs/contributing.md`. MR [#&#8203;14757](fastapi/fastapi#14757) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Use return type annotation instead of `response_model` when possible. MR [#&#8203;14753](fastapi/fastapi#14753) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Use `WSGIMiddleware` from `a2wsgi` instead of deprecated `fastapi.middleware.wsgi.WSGIMiddleware`. MR [#&#8203;14756](fastapi/fastapi#14756) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Fix minor typos in release notes. MR [#&#8203;14780](fastapi/fastapi#14780) by [@&#8203;whyvineet](https://github.com/whyvineet).- 🐛 Fix copy button in custom.js. MR [#&#8203;14722](fastapi/fastapi#14722) by [@&#8203;fcharrier](https://github.com/fcharrier).- 📝 Add contribution instructions about LLM generated code and comments and automated tools for MRs. MR [#&#8203;14706](fastapi/fastapi#14706) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Update docs for management tasks. MR [#&#8203;14705](fastapi/fastapi#14705) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Update docs about managing translations. MR [#&#8203;14704](fastapi/fastapi#14704) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Update docs for contributing with translations. MR [#&#8203;14701](fastapi/fastapi#14701) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Specify language code for code block. MR [#&#8203;14656](fastapi/fastapi#14656) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).##### Translations- 🌐 Improve LLM prompt of `uk` documentation. MR [#&#8203;14795](fastapi/fastapi#14795) by [@&#8203;roli2py](https://github.com/roli2py).- 🌐 Update translations for ja (update-outdated). MR [#&#8203;14588](fastapi/fastapi#14588) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for uk (update outdated, found by fixer tool). MR [#&#8203;14739](fastapi/fastapi#14739) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 🌐 Update translations for tr (update-outdated). MR [#&#8203;14745](fastapi/fastapi#14745) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update `llm-prompt.md` for Korean language. MR [#&#8203;14763](fastapi/fastapi#14763) by [@&#8203;seuthootDev](https://github.com/seuthootDev).- 🌐 Update translations for ko (update outdated, found by fixer tool). MR [#&#8203;14738](fastapi/fastapi#14738) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 🌐 Update translations for de (update-outdated). MR [#&#8203;14690](fastapi/fastapi#14690) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update LLM prompt for Russian translations. MR [#&#8203;14733](fastapi/fastapi#14733) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 🌐 Update translations for ru (update-outdated). MR [#&#8203;14693](fastapi/fastapi#14693) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for pt (update-outdated). MR [#&#8203;14724](fastapi/fastapi#14724) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update Korean LLM prompt. MR [#&#8203;14740](fastapi/fastapi#14740) by [@&#8203;hard-coders](https://github.com/hard-coders).- 🌐 Improve LLM prompt for Turkish translations. MR [#&#8203;14728](fastapi/fastapi#14728) by [@&#8203;Kadermiyanyedi](https://github.com/Kadermiyanyedi).- 🌐 Update portuguese llm-prompt.md. MR [#&#8203;14702](fastapi/fastapi#14702) by [@&#8203;ceb10n](https://github.com/ceb10n).- 🌐 Update LLM prompt instructions file for French. MR [#&#8203;14618](fastapi/fastapi#14618) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for ko (add-missing). MR [#&#8203;14699](fastapi/fastapi#14699) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for ko (update-outdated). MR [#&#8203;14589](fastapi/fastapi#14589) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for uk (update-outdated). MR [#&#8203;14587](fastapi/fastapi#14587) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for es (update-outdated). MR [#&#8203;14686](fastapi/fastapi#14686) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Add LLM prompt file for Turkish, generated from the existing translations. MR [#&#8203;14547](fastapi/fastapi#14547) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Add LLM prompt file for Traditional Chinese, generated from the existing translations. MR [#&#8203;14550](fastapi/fastapi#14550) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Add LLM prompt file for Simplified Chinese, generated from the existing translations. MR [#&#8203;14549](fastapi/fastapi#14549) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- ⬇️ Downgrade LLM translations model to GPT-5 to reduce mistakes. MR [#&#8203;14823](fastapi/fastapi#14823) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🐛 Fix translation script commit in place. MR [#&#8203;14818](fastapi/fastapi#14818) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔨 Update translation script to retry if LLM-response doesn't pass validation with Translation Fixer tool. MR [#&#8203;14749](fastapi/fastapi#14749) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 👷 Run tests only on relevant code changes (not on docs). MR [#&#8203;14813](fastapi/fastapi#14813) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👷 Run mypy by pre-commit. MR [#&#8203;14806](fastapi/fastapi#14806) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- ⬆ Bump ruff from 0.14.3 to 0.14.14. MR [#&#8203;14798](fastapi/fastapi#14798) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump pyasn1 from 0.6.1 to 0.6.2. MR [#&#8203;14804](fastapi/fastapi#14804) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump sqlmodel from 0.0.27 to 0.0.31. MR [#&#8203;14802](fastapi/fastapi#14802) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump mkdocs-macros-plugin from 1.4.1 to 1.5.0. MR [#&#8203;14801](fastapi/fastapi#14801) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump gitpython from 3.1.45 to 3.1.46. MR [#&#8203;14800](fastapi/fastapi#14800) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump typer from 0.16.0 to 0.21.1. MR [#&#8203;14799](fastapi/fastapi#14799) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- 👥 Update FastAPI GitHub topic repositories. MR [#&#8203;14803](fastapi/fastapi#14803) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👥 Update FastAPI People - Contributors and Translators. MR [#&#8203;14796](fastapi/fastapi#14796) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Ensure that an edit to `uv.lock` gets the `internal` label. MR [#&#8203;14759](fastapi/fastapi#14759) by [@&#8203;svlandeg](https://github.com/svlandeg).- 🔧 Update sponsors: remove Requestly. MR [#&#8203;14735](fastapi/fastapi#14735) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Update sponsors, LambdaTest changes to TestMu AI. MR [#&#8203;14734](fastapi/fastapi#14734) by [@&#8203;tiangolo](https://github.com/tiangolo).- ⬆ Bump actions/cache from 4 to 5. MR [#&#8203;14511](fastapi/fastapi#14511) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump actions/upload-artifact from 5 to 6. MR [#&#8203;14525](fastapi/fastapi#14525) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump actions/download-artifact from 6 to 7. MR [#&#8203;14526](fastapi/fastapi#14526) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- 👷 Tweak CI input names. MR [#&#8203;14688](fastapi/fastapi#14688) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔨 Refactor translation script to allow committing in place. MR [#&#8203;14687](fastapi/fastapi#14687) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🐛 Fix translation script path. MR [#&#8203;14685](fastapi/fastapi#14685) by [@&#8203;tiangolo](https://github.com/tiangolo).- ✅ Enable tests in CI for scripts. MR [#&#8203;14684](fastapi/fastapi#14684) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Add pre-commit local script to fix language translations. MR [#&#8203;14683](fastapi/fastapi#14683) by [@&#8203;tiangolo](https://github.com/tiangolo).- ⬆️  Migrate to uv. MR [#&#8203;14676](fastapi/fastapi#14676) by [@&#8203;DoctorJohn](https://github.com/DoctorJohn).- 🔨 Add LLM translations tool fixer. MR [#&#8203;14652](fastapi/fastapi#14652) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 👥 Update FastAPI People - Sponsors. MR [#&#8203;14626](fastapi/fastapi#14626) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👥 Update FastAPI GitHub topic repositories. MR [#&#8203;14630](fastapi/fastapi#14630) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👥 Update FastAPI People - Contributors and Translators. MR [#&#8203;14625](fastapi/fastapi#14625) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translation prompts. MR [#&#8203;14619](fastapi/fastapi#14619) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔨 Update LLM translation script to guide reviewers to change the prompt. MR [#&#8203;14614](fastapi/fastapi#14614) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👷 Do not run translations on cron while finishing updating existing languages. MR [#&#8203;14613](fastapi/fastapi#14613) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔥 Remove test variants for Pydantic v1 in test\_request\_params. MR [#&#8203;14612](fastapi/fastapi#14612) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔥 Remove Pydantic v1  specific test variants. MR [#&#8203;14611](fastapi/fastapi#14611) by [@&#8203;tiangolo](https://github.com/tiangolo).</details><details><summary>Kludex/python-multipart (python-multipart)</summary>### [`v0.0.22`](https://github.com/Kludex/python-multipart/blob/HEAD/CHANGELOG.md#0022-2026-01-25)[Compare Source](Kludex/python-multipart@0.0.21...0.0.22)- Drop directory path from filename in `File` [9433f4b](Kludex/python-multipart@9433f4b).</details><details><summary>uktrade/stream-zip (stream-zip)</summary>### [`v0.0.84`](https://github.com/uktrade/stream-zip/releases/tag/v0.0.84)[Compare Source](uktrade/stream-zip@v0.0.83...v0.0.84)#### What's Changed##### Client-code facing changes- feat: remove input buffering and flush output buffer after local header by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;176](uktrade/stream-zip#176)##### Non client-code facing changes- build(deps): bump send and [@&#8203;x-govuk/govuk-prototype-components](https://github.com/x-govuk/govuk-prototype-components) by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;148](uktrade/stream-zip#148)- build(deps): bump rollup from 4.17.2 to 4.22.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;149](uktrade/stream-zip#149)- build(deps): bump cross-spawn from 7.0.3 to 7.0.6 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;150](uktrade/stream-zip#150)- build(deps): bump js-yaml from 3.14.1 to 3.14.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;152](uktrade/stream-zip#152)- build(deps): bump brace-expansion by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;151](uktrade/stream-zip#151)- build(deps): bump glob to 10.5.0 by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;154](uktrade/stream-zip#154)- feat: add pre-commit framework by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;155](uktrade/stream-zip#155)- feat: add CODEOWNERS by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;156](uktrade/stream-zip#156)- feat: tick off security checklist by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;157](uktrade/stream-zip#157)- fix: update upload and deploy pages actions to v4 by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;158](uktrade/stream-zip#158)- build: move tests to ubuntu 24.04 by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;159](uktrade/stream-zip#159)- Fix GitHub pages deploy permissions by [@&#8203;JackSwerdlow](https://github.com/JackSwerdlow) in [#&#8203;160](uktrade/stream-zip#160)- docs: update to latest GDS Design System by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;162](uktrade/stream-zip#162)- docs: use more appropriate logo and split into subsections by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;163](uktrade/stream-zip#163)- docs: fix header styles by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;164](uktrade/stream-zip#164)- docs: update favicon to one consistent with uktrade GitHub org by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;165](uktrade/stream-zip#165)- docs: correct title suffix by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;166](uktrade/stream-zip#166)- docs: use official DBT image for OpenGraph/social image by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;167](uktrade/stream-zip#167)- docs: remove footer crown by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;168](uktrade/stream-zip#168)- docs: initial API reference by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;169](uktrade/stream-zip#169)- docs: initial functions API reference by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;170](uktrade/stream-zip#170)- docs: surface password protection as its own page by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;171](uktrade/stream-zip#171)- docs: fix typos and broken links by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;172](uktrade/stream-zip#172)- chore: update pre-commit repo to latest version by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;175](uktrade/stream-zip#175)- ci: bump upload and download action versions in PyPI publish by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;177](uktrade/stream-zip#177)- ci: add permissions for PyPI publish to amend existing release by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;178](uktrade/stream-zip#178)#### New Contributors- [@&#8203;JackSwerdlow](https://github.com/JackSwerdlow) made their first contribution in [#&#8203;160](uktrade/stream-zip#160)**Full Changelog**: <uktrade/stream-zip@v0.0.83...v0.0.84></details>--- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box---This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNS4wIiwidXBkYXRlZEluVmVyIjoiNDMuMjUuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGUiXX0=-->See merge request swiss-armed-forces/cyber-command/cea/loom!305Co-authored-by: Loom MR Pipeline Trigger <group_103951964_bot_9504bb8dead6d4e406ad817a607f24be@noreply.gitlab.com>Co-authored-by: shrewd-laidback palace <shrewd-laidback-palace-736-c41-2c1-e464fc974@swiss-armed-forces-open-source.ch>
736-c41-2c1-e464fc974 added a commit to Swiss-Armed-Forces/Loom that referenced this pull requestFeb 20, 2026
fix(deps): update backend dependencies (patch) (patch)This MR contains the following updates:| Package | Type | Update | Change | OpenSSF ||---|---|---|---|---|| [debugpy](https://aka.ms/debugpy) ([source](https://github.com/microsoft/debugpy)) | dev | patch | `1.8.19` → `1.8.20` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/microsoft/debugpy/badge)](https://securityscorecards.dev/viewer/?uri=github.com/microsoft/debugpy) || [fastapi](https://github.com/fastapi/fastapi) ([changelog](https://fastapi.tiangolo.com/release-notes/)) | dependencies | patch | `0.128.0` → `0.128.8` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/fastapi/fastapi/badge)](https://securityscorecards.dev/viewer/?uri=github.com/fastapi/fastapi) || [filelock](https://github.com/tox-dev/py-filelock) | dependencies | patch | `3.20.3` → `3.20.4` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/tox-dev/py-filelock/badge)](https://securityscorecards.dev/viewer/?uri=github.com/tox-dev/py-filelock) || [python-multipart](https://github.com/Kludex/python-multipart) ([changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md)) | dependencies | patch | `^0.0.21` → `^0.0.22` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/Kludex/python-multipart/badge)](https://securityscorecards.dev/viewer/?uri=github.com/Kludex/python-multipart) || [stream-zip](https://github.com/uktrade/stream-zip) | dependencies | patch | `^0.0.83` → `^0.0.84` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/uktrade/stream-zip/badge)](https://securityscorecards.dev/viewer/?uri=github.com/uktrade/stream-zip) |---### Release Notes<details><summary>microsoft/debugpy (debugpy)</summary>### [`v1.8.20`](https://github.com/microsoft/debugpy/releases/tag/v1.8.20): debugpy v1.8.20[Compare Source](microsoft/debugpy@v1.8.19...v1.8.20)Fixes for:- annotate in 3.14 causing exceptions: [#&#8203;1971](microsoft/debugpy#1971)Enhancements:- Use remote\_exec if available: [`c7e86a1`](microsoft/debugpy@c7e86a1)- Support more architectures: [`1bbecdf`](microsoft/debugpy@1bbecdf)Infrastructure work:- Support devcontainers for development: [`7dbc229`](microsoft/debugpy@7dbc229)Thanks to [@&#8203;rameshvarun](https://github.com/rameshvarun), [@&#8203;Xeonacid](https://github.com/Xeonacid), and [@&#8203;pdepetro](https://github.com/pdepetro) for the commits</details><details><summary>fastapi/fastapi (fastapi)</summary>### [`v0.128.8`](https://github.com/fastapi/fastapi/releases/tag/0.128.8)[Compare Source](fastapi/fastapi@0.128.7...0.128.8)##### Docs- 📝 Fix grammar in `docs/en/docs/tutorial/first-steps.md`. MR [#&#8203;14708](fastapi/fastapi#14708) by [@&#8203;SanjanaS10](https://github.com/SanjanaS10).##### Internal- 🔨 Tweak PDM hook script. MR [#&#8203;14895](fastapi/fastapi#14895) by [@&#8203;tiangolo](https://github.com/tiangolo).- ♻️ Update build setup for `fastapi-slim`, deprecate it, and make it only depend on `fastapi`. MR [#&#8203;14894](fastapi/fastapi#14894) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.7`](https://github.com/fastapi/fastapi/releases/tag/0.128.7)[Compare Source](fastapi/fastapi@0.128.6...0.128.7)##### Features- ✨ Show a clear error on attempt to include router into itself. MR [#&#8203;14258](fastapi/fastapi#14258) by [@&#8203;JavierSanchezCastro](https://github.com/JavierSanchezCastro).- ✨ Replace `dict` by `Mapping` on `HTTPException.headers`. MR [#&#8203;12997](fastapi/fastapi#12997) by [@&#8203;rijenkii](https://github.com/rijenkii).##### Refactors- ♻️ Simplify reading files in memory, do it sequentially instead of (fake) parallel. MR [#&#8203;14884](fastapi/fastapi#14884) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Docs- 📝 Use `dfn` tag for definitions instead of `abbr` in docs. MR [#&#8203;14744](fastapi/fastapi#14744) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).##### Internal- ✅ Tweak comment in test to reference MR. MR [#&#8203;14885](fastapi/fastapi#14885) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Update LLM-prompt for `abbr` and `dfn` tags. MR [#&#8203;14747](fastapi/fastapi#14747) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- ✅ Test order for the submitted byte Files. MR [#&#8203;14828](fastapi/fastapi#14828) by [@&#8203;valentinDruzhinin](https://github.com/valentinDruzhinin).- 🔧 Configure `test` workflow to run tests with `inline-snapshot=review`. MR [#&#8203;14876](fastapi/fastapi#14876) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).### [`v0.128.6`](https://github.com/fastapi/fastapi/releases/tag/0.128.6)[Compare Source](fastapi/fastapi@0.128.5...0.128.6)##### Fixes- 🐛 Fix `on_startup` and `on_shutdown` parameters of `APIRouter`. MR [#&#8203;14873](fastapi/fastapi#14873) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).##### Translations- 🌐 Update translations for zh (update-outdated). MR [#&#8203;14843](fastapi/fastapi#14843) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- ✅ Fix parameterized tests with snapshots. MR [#&#8203;14875](fastapi/fastapi#14875) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).### [`v0.128.5`](https://github.com/fastapi/fastapi/releases/tag/0.128.5)[Compare Source](fastapi/fastapi@0.128.4...0.128.5)##### Refactors- ♻️ Refactor and simplify Pydantic v2 (and v1) compatibility internal utils. MR [#&#8203;14862](fastapi/fastapi#14862) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- ✅ Add inline snapshot tests for OpenAPI before changes from Pydantic v2. MR [#&#8203;14864](fastapi/fastapi#14864) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.4`](https://github.com/fastapi/fastapi/releases/tag/0.128.4)[Compare Source](fastapi/fastapi@0.128.3...0.128.4)##### Refactors- ♻️ Refactor internals, simplify Pydantic v2/v1 utils, `create_model_field`, better types for `lenient_issubclass`. MR [#&#8203;14860](fastapi/fastapi#14860) by [@&#8203;tiangolo](https://github.com/tiangolo).- ♻️ Simplify internals, remove Pydantic v1 only logic, no longer needed. MR [#&#8203;14857](fastapi/fastapi#14857) by [@&#8203;tiangolo](https://github.com/tiangolo).- ♻️ Refactor internals, cleanup unneeded Pydantic v1 specific logic. MR [#&#8203;14856](fastapi/fastapi#14856) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Translations- 🌐 Update translations for fr (outdated pages). MR [#&#8203;14839](fastapi/fastapi#14839) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 🌐 Update translations for tr (outdated and missing). MR [#&#8203;14838](fastapi/fastapi#14838) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).##### Internal- ⬆️ Upgrade development dependencies. MR [#&#8203;14854](fastapi/fastapi#14854) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.3`](https://github.com/fastapi/fastapi/releases/tag/0.128.3)[Compare Source](fastapi/fastapi@0.128.2...0.128.3)##### Refactors- ♻️ Re-implement `on_event` in FastAPI for compatibility with the next Starlette, while keeping backwards compatibility. MR [#&#8203;14851](fastapi/fastapi#14851) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Upgrades- ⬆️ Upgrade Starlette supported version range to `starlette>=0.40.0,<1.0.0`. MR [#&#8203;14853](fastapi/fastapi#14853) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Translations- 🌐 Update translations for ru (update-outdated). MR [#&#8203;14834](fastapi/fastapi#14834) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- 👷 Run tests with Starlette from git. MR [#&#8203;14849](fastapi/fastapi#14849) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👷 Run tests with lower bound uv sync, upgrade `fastapi[all]` minimum dependencies: `ujson >=5.8.0`, `orjson >=3.9.3`. MR [#&#8203;14846](fastapi/fastapi#14846) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.2`](https://github.com/fastapi/fastapi/releases/tag/0.128.2)[Compare Source](fastapi/fastapi@0.128.1...0.128.2)##### Features- ✨ Add support for PEP695 `TypeAliasType`. MR [#&#8203;13920](fastapi/fastapi#13920) by [@&#8203;cstruct](https://github.com/cstruct).- ✨ Allow `Response` type hint as dependency annotation. MR [#&#8203;14794](fastapi/fastapi#14794) by [@&#8203;jonathan-fulton](https://github.com/jonathan-fulton).##### Fixes- 🐛 Fix using `Json[list[str]]` type (issue [#&#8203;10997](fastapi/fastapi#10997)). MR [#&#8203;14616](fastapi/fastapi#14616) by [@&#8203;mkanetsuna](https://github.com/mkanetsuna).##### Docs- 📝 Update docs for translations. MR [#&#8203;14830](fastapi/fastapi#14830) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Fix duplicate word in `advanced-dependencies.md`. MR [#&#8203;14815](fastapi/fastapi#14815) by [@&#8203;Rayyan-Oumlil](https://github.com/Rayyan-Oumlil).##### Translations- 🌐 Enable Traditional Chinese translations. MR [#&#8203;14842](fastapi/fastapi#14842) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Enable French docs translations. MR [#&#8203;14841](fastapi/fastapi#14841) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for fr (translate-page). MR [#&#8203;14837](fastapi/fastapi#14837) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for de (update-outdated). MR [#&#8203;14836](fastapi/fastapi#14836) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for pt (update-outdated). MR [#&#8203;14833](fastapi/fastapi#14833) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for ko (update-outdated). MR [#&#8203;14835](fastapi/fastapi#14835) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for es (update-outdated). MR [#&#8203;14832](fastapi/fastapi#14832) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for tr (update-outdated). MR [#&#8203;14831](fastapi/fastapi#14831) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for tr (add-missing). MR [#&#8203;14790](fastapi/fastapi#14790) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for fr (update-outdated). MR [#&#8203;14826](fastapi/fastapi#14826) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for zh-hant (update-outdated). MR [#&#8203;14825](fastapi/fastapi#14825) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for uk (update-outdated). MR [#&#8203;14822](fastapi/fastapi#14822) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔨 Update docs and translations scripts, enable Turkish. MR [#&#8203;14824](fastapi/fastapi#14824) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- 🔨 Add max pages to translate to configs. MR [#&#8203;14840](fastapi/fastapi#14840) by [@&#8203;tiangolo](https://github.com/tiangolo).### [`v0.128.1`](https://github.com/fastapi/fastapi/releases/tag/0.128.1)[Compare Source](fastapi/fastapi@0.128.0...0.128.1)##### Features- ✨ Add `viewport` meta tag to improve Swagger UI on mobile devices. MR [#&#8203;14777](fastapi/fastapi#14777) by [@&#8203;Joab0](https://github.com/Joab0).- 🚸 Improve error message for invalid query parameter type annotations. MR [#&#8203;14479](fastapi/fastapi#14479) by [@&#8203;retwish](https://github.com/retwish).##### Fixes- 🐛 Update `ValidationError` schema to include `input` and `ctx`. MR [#&#8203;14791](fastapi/fastapi#14791) by [@&#8203;jonathan-fulton](https://github.com/jonathan-fulton).- 🐛 Fix TYPE\_CHECKING annotations for Python 3.14 (PEP 649). MR [#&#8203;14789](fastapi/fastapi#14789) by [@&#8203;mgu](https://github.com/mgu).- 🐛 Strip whitespaces from `Authorization` header credentials. MR [#&#8203;14786](fastapi/fastapi#14786) by [@&#8203;WaveTheory1](https://github.com/WaveTheory1).- 🐛 Fix OpenAPI duplication of `anyOf` refs for app-level responses with specified `content` and `model` as `Union`. MR [#&#8203;14463](fastapi/fastapi#14463) by [@&#8203;DJMcoder](https://github.com/DJMcoder).##### Refactors- 🎨 Tweak types for mypy. MR [#&#8203;14816](fastapi/fastapi#14816) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🏷️ Re-export `IncEx` type from Pydantic instead of duplicating it. MR [#&#8203;14641](fastapi/fastapi#14641) by [@&#8203;mvanderlee](https://github.com/mvanderlee).- 💡 Update comment for Pydantic internals. MR [#&#8203;14814](fastapi/fastapi#14814) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Docs- 📝 Update docs for contributing translations, simplify title. MR [#&#8203;14817](fastapi/fastapi#14817) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Fix typing issue in `docs_src/app_testing/app_b` code example. MR [#&#8203;14573](fastapi/fastapi#14573) by [@&#8203;timakaa](https://github.com/timakaa).- 📝 Fix example of license identifier in documentation. MR [#&#8203;14492](fastapi/fastapi#14492) by [@&#8203;johnson-earls](https://github.com/johnson-earls).- 📝 Add banner to translated pages. MR [#&#8203;14809](fastapi/fastapi#14809) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Add links to related sections of docs to docstrings. MR [#&#8203;14776](fastapi/fastapi#14776) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Update embedded code examples to Python 3.10 syntax. MR [#&#8203;14758](fastapi/fastapi#14758) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Fix dependency installation command in `docs/en/docs/contributing.md`. MR [#&#8203;14757](fastapi/fastapi#14757) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Use return type annotation instead of `response_model` when possible. MR [#&#8203;14753](fastapi/fastapi#14753) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Use `WSGIMiddleware` from `a2wsgi` instead of deprecated `fastapi.middleware.wsgi.WSGIMiddleware`. MR [#&#8203;14756](fastapi/fastapi#14756) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 📝 Fix minor typos in release notes. MR [#&#8203;14780](fastapi/fastapi#14780) by [@&#8203;whyvineet](https://github.com/whyvineet).- 🐛 Fix copy button in custom.js. MR [#&#8203;14722](fastapi/fastapi#14722) by [@&#8203;fcharrier](https://github.com/fcharrier).- 📝 Add contribution instructions about LLM generated code and comments and automated tools for MRs. MR [#&#8203;14706](fastapi/fastapi#14706) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Update docs for management tasks. MR [#&#8203;14705](fastapi/fastapi#14705) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Update docs about managing translations. MR [#&#8203;14704](fastapi/fastapi#14704) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Update docs for contributing with translations. MR [#&#8203;14701](fastapi/fastapi#14701) by [@&#8203;tiangolo](https://github.com/tiangolo).- 📝 Specify language code for code block. MR [#&#8203;14656](fastapi/fastapi#14656) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).##### Translations- 🌐 Improve LLM prompt of `uk` documentation. MR [#&#8203;14795](fastapi/fastapi#14795) by [@&#8203;roli2py](https://github.com/roli2py).- 🌐 Update translations for ja (update-outdated). MR [#&#8203;14588](fastapi/fastapi#14588) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for uk (update outdated, found by fixer tool). MR [#&#8203;14739](fastapi/fastapi#14739) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 🌐 Update translations for tr (update-outdated). MR [#&#8203;14745](fastapi/fastapi#14745) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update `llm-prompt.md` for Korean language. MR [#&#8203;14763](fastapi/fastapi#14763) by [@&#8203;seuthootDev](https://github.com/seuthootDev).- 🌐 Update translations for ko (update outdated, found by fixer tool). MR [#&#8203;14738](fastapi/fastapi#14738) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 🌐 Update translations for de (update-outdated). MR [#&#8203;14690](fastapi/fastapi#14690) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update LLM prompt for Russian translations. MR [#&#8203;14733](fastapi/fastapi#14733) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 🌐 Update translations for ru (update-outdated). MR [#&#8203;14693](fastapi/fastapi#14693) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for pt (update-outdated). MR [#&#8203;14724](fastapi/fastapi#14724) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update Korean LLM prompt. MR [#&#8203;14740](fastapi/fastapi#14740) by [@&#8203;hard-coders](https://github.com/hard-coders).- 🌐 Improve LLM prompt for Turkish translations. MR [#&#8203;14728](fastapi/fastapi#14728) by [@&#8203;Kadermiyanyedi](https://github.com/Kadermiyanyedi).- 🌐 Update portuguese llm-prompt.md. MR [#&#8203;14702](fastapi/fastapi#14702) by [@&#8203;ceb10n](https://github.com/ceb10n).- 🌐 Update LLM prompt instructions file for French. MR [#&#8203;14618](fastapi/fastapi#14618) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for ko (add-missing). MR [#&#8203;14699](fastapi/fastapi#14699) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for ko (update-outdated). MR [#&#8203;14589](fastapi/fastapi#14589) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for uk (update-outdated). MR [#&#8203;14587](fastapi/fastapi#14587) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translations for es (update-outdated). MR [#&#8203;14686](fastapi/fastapi#14686) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Add LLM prompt file for Turkish, generated from the existing translations. MR [#&#8203;14547](fastapi/fastapi#14547) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Add LLM prompt file for Traditional Chinese, generated from the existing translations. MR [#&#8203;14550](fastapi/fastapi#14550) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Add LLM prompt file for Simplified Chinese, generated from the existing translations. MR [#&#8203;14549](fastapi/fastapi#14549) by [@&#8203;tiangolo](https://github.com/tiangolo).##### Internal- ⬇️ Downgrade LLM translations model to GPT-5 to reduce mistakes. MR [#&#8203;14823](fastapi/fastapi#14823) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🐛 Fix translation script commit in place. MR [#&#8203;14818](fastapi/fastapi#14818) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔨 Update translation script to retry if LLM-response doesn't pass validation with Translation Fixer tool. MR [#&#8203;14749](fastapi/fastapi#14749) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 👷 Run tests only on relevant code changes (not on docs). MR [#&#8203;14813](fastapi/fastapi#14813) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👷 Run mypy by pre-commit. MR [#&#8203;14806](fastapi/fastapi#14806) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- ⬆ Bump ruff from 0.14.3 to 0.14.14. MR [#&#8203;14798](fastapi/fastapi#14798) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump pyasn1 from 0.6.1 to 0.6.2. MR [#&#8203;14804](fastapi/fastapi#14804) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump sqlmodel from 0.0.27 to 0.0.31. MR [#&#8203;14802](fastapi/fastapi#14802) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump mkdocs-macros-plugin from 1.4.1 to 1.5.0. MR [#&#8203;14801](fastapi/fastapi#14801) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump gitpython from 3.1.45 to 3.1.46. MR [#&#8203;14800](fastapi/fastapi#14800) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump typer from 0.16.0 to 0.21.1. MR [#&#8203;14799](fastapi/fastapi#14799) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- 👥 Update FastAPI GitHub topic repositories. MR [#&#8203;14803](fastapi/fastapi#14803) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👥 Update FastAPI People - Contributors and Translators. MR [#&#8203;14796](fastapi/fastapi#14796) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Ensure that an edit to `uv.lock` gets the `internal` label. MR [#&#8203;14759](fastapi/fastapi#14759) by [@&#8203;svlandeg](https://github.com/svlandeg).- 🔧 Update sponsors: remove Requestly. MR [#&#8203;14735](fastapi/fastapi#14735) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Update sponsors, LambdaTest changes to TestMu AI. MR [#&#8203;14734](fastapi/fastapi#14734) by [@&#8203;tiangolo](https://github.com/tiangolo).- ⬆ Bump actions/cache from 4 to 5. MR [#&#8203;14511](fastapi/fastapi#14511) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump actions/upload-artifact from 5 to 6. MR [#&#8203;14525](fastapi/fastapi#14525) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- ⬆ Bump actions/download-artifact from 6 to 7. MR [#&#8203;14526](fastapi/fastapi#14526) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot).- 👷 Tweak CI input names. MR [#&#8203;14688](fastapi/fastapi#14688) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔨 Refactor translation script to allow committing in place. MR [#&#8203;14687](fastapi/fastapi#14687) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🐛 Fix translation script path. MR [#&#8203;14685](fastapi/fastapi#14685) by [@&#8203;tiangolo](https://github.com/tiangolo).- ✅ Enable tests in CI for scripts. MR [#&#8203;14684](fastapi/fastapi#14684) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔧 Add pre-commit local script to fix language translations. MR [#&#8203;14683](fastapi/fastapi#14683) by [@&#8203;tiangolo](https://github.com/tiangolo).- ⬆️  Migrate to uv. MR [#&#8203;14676](fastapi/fastapi#14676) by [@&#8203;DoctorJohn](https://github.com/DoctorJohn).- 🔨 Add LLM translations tool fixer. MR [#&#8203;14652](fastapi/fastapi#14652) by [@&#8203;YuriiMotov](https://github.com/YuriiMotov).- 👥 Update FastAPI People - Sponsors. MR [#&#8203;14626](fastapi/fastapi#14626) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👥 Update FastAPI GitHub topic repositories. MR [#&#8203;14630](fastapi/fastapi#14630) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👥 Update FastAPI People - Contributors and Translators. MR [#&#8203;14625](fastapi/fastapi#14625) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🌐 Update translation prompts. MR [#&#8203;14619](fastapi/fastapi#14619) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔨 Update LLM translation script to guide reviewers to change the prompt. MR [#&#8203;14614](fastapi/fastapi#14614) by [@&#8203;tiangolo](https://github.com/tiangolo).- 👷 Do not run translations on cron while finishing updating existing languages. MR [#&#8203;14613](fastapi/fastapi#14613) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔥 Remove test variants for Pydantic v1 in test\_request\_params. MR [#&#8203;14612](fastapi/fastapi#14612) by [@&#8203;tiangolo](https://github.com/tiangolo).- 🔥 Remove Pydantic v1  specific test variants. MR [#&#8203;14611](fastapi/fastapi#14611) by [@&#8203;tiangolo](https://github.com/tiangolo).</details><details><summary>Kludex/python-multipart (python-multipart)</summary>### [`v0.0.22`](https://github.com/Kludex/python-multipart/blob/HEAD/CHANGELOG.md#0022-2026-01-25)[Compare Source](Kludex/python-multipart@0.0.21...0.0.22)- Drop directory path from filename in `File` [9433f4b](Kludex/python-multipart@9433f4b).</details><details><summary>uktrade/stream-zip (stream-zip)</summary>### [`v0.0.84`](https://github.com/uktrade/stream-zip/releases/tag/v0.0.84)[Compare Source](uktrade/stream-zip@v0.0.83...v0.0.84)#### What's Changed##### Client-code facing changes- feat: remove input buffering and flush output buffer after local header by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;176](uktrade/stream-zip#176)##### Non client-code facing changes- build(deps): bump send and [@&#8203;x-govuk/govuk-prototype-components](https://github.com/x-govuk/govuk-prototype-components) by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;148](uktrade/stream-zip#148)- build(deps): bump rollup from 4.17.2 to 4.22.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;149](uktrade/stream-zip#149)- build(deps): bump cross-spawn from 7.0.3 to 7.0.6 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;150](uktrade/stream-zip#150)- build(deps): bump js-yaml from 3.14.1 to 3.14.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;152](uktrade/stream-zip#152)- build(deps): bump brace-expansion by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;151](uktrade/stream-zip#151)- build(deps): bump glob to 10.5.0 by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;154](uktrade/stream-zip#154)- feat: add pre-commit framework by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;155](uktrade/stream-zip#155)- feat: add CODEOWNERS by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;156](uktrade/stream-zip#156)- feat: tick off security checklist by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;157](uktrade/stream-zip#157)- fix: update upload and deploy pages actions to v4 by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;158](uktrade/stream-zip#158)- build: move tests to ubuntu 24.04 by [@&#8203;JosefSmith](https://github.com/JosefSmith) in [#&#8203;159](uktrade/stream-zip#159)- Fix GitHub pages deploy permissions by [@&#8203;JackSwerdlow](https://github.com/JackSwerdlow) in [#&#8203;160](uktrade/stream-zip#160)- docs: update to latest GDS Design System by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;162](uktrade/stream-zip#162)- docs: use more appropriate logo and split into subsections by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;163](uktrade/stream-zip#163)- docs: fix header styles by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;164](uktrade/stream-zip#164)- docs: update favicon to one consistent with uktrade GitHub org by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;165](uktrade/stream-zip#165)- docs: correct title suffix by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;166](uktrade/stream-zip#166)- docs: use official DBT image for OpenGraph/social image by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;167](uktrade/stream-zip#167)- docs: remove footer crown by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;168](uktrade/stream-zip#168)- docs: initial API reference by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;169](uktrade/stream-zip#169)- docs: initial functions API reference by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;170](uktrade/stream-zip#170)- docs: surface password protection as its own page by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;171](uktrade/stream-zip#171)- docs: fix typos and broken links by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;172](uktrade/stream-zip#172)- chore: update pre-commit repo to latest version by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;175](uktrade/stream-zip#175)- ci: bump upload and download action versions in PyPI publish by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;177](uktrade/stream-zip#177)- ci: add permissions for PyPI publish to amend existing release by [@&#8203;michalc](https://github.com/michalc) in [#&#8203;178](uktrade/stream-zip#178)#### New Contributors- [@&#8203;JackSwerdlow](https://github.com/JackSwerdlow) made their first contribution in [#&#8203;160](uktrade/stream-zip#160)**Full Changelog**: <uktrade/stream-zip@v0.0.83...v0.0.84></details>--- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box---This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNS4wIiwidXBkYXRlZEluVmVyIjoiNDMuMjUuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGUiXX0=-->See merge request swiss-armed-forces/cyber-command/cea/loom!305Co-authored-by: Loom MR Pipeline Trigger <group_103951964_bot_9504bb8dead6d4e406ad817a607f24be@noreply.gitlab.com>Co-authored-by: open-source Pipeline <group_90701827_bot_ed04ae348bc5f40af9966fb8b6867e99@noreply.gitlab.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tiangolotiangolotiangolo approved these changes

@YuriiMotovYuriiMotovYuriiMotov approved these changes

Assignees

No one assigned

Labels

featureNew feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Cannot useResponse type hint as dependency annotation

3 participants

@jonathan-fulton@tiangolo@YuriiMotov

Comments


[8]ページ先頭

©2009-2026 Movatter.jp