Skip to content

Update fastapi to 0.136.0 - #565

Closed
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-fastapi-0.6.4-to-0.136.0
Closed

Update fastapi to 0.136.0#565
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-fastapi-0.6.4-to-0.136.0

Conversation

@pyup-bot

@pyup-bot pyup-bot commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

This PR updates fastapi from 0.6.4 to 0.136.0.

Changelog

0.136.0

Upgrades

* ⬆️ Support free-threaded Python 3.14t. PR [15149](https://github.com/fastapi/fastapi/pull/15149) by [svlandeg](https://github.com/svlandeg).

0.135.4

Refactors

* 🔥 Remove April Fool's `app.vibe()` 🤪. PR [15363](https://github.com/fastapi/fastapi/pull/15363) by [tiangolo](https://github.com/tiangolo).

Internal

* ⬆ Bump cryptography from 46.0.5 to 46.0.7. PR [15314](https://github.com/fastapi/fastapi/pull/15314) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump strawberry-graphql from 0.307.1 to 0.312.3. PR [15309](https://github.com/fastapi/fastapi/pull/15309) by [dependabot[bot]](https://github.com/apps/dependabot).
* 🔨 Add pre-commit hook to ensure latest release header has date. PR [15293](https://github.com/fastapi/fastapi/pull/15293) by [YuriiMotov](https://github.com/YuriiMotov).

0.135.3

Features

* ✨ Add support for `app.vibe()`. PR [15280](https://github.com/fastapi/fastapi/pull/15280) by [tiangolo](https://github.com/tiangolo).
 * New docs: [Vibe Coding](https://fastapi.tiangolo.com/advanced/vibe/).

Docs

* ✏️ Fix typo for `client_secret` in OAuth2 form docstrings. PR [14946](https://github.com/fastapi/fastapi/pull/14946) by [bysiber](https://github.com/bysiber).

Internal

* 👥 Update FastAPI People - Experts. PR [15279](https://github.com/fastapi/fastapi/pull/15279) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump orjson from 3.11.7 to 3.11.8. PR [15276](https://github.com/fastapi/fastapi/pull/15276) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump ruff from 0.15.0 to 0.15.8. PR [15277](https://github.com/fastapi/fastapi/pull/15277) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👥 Update FastAPI GitHub topic repositories. PR [15274](https://github.com/fastapi/fastapi/pull/15274) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump fastmcp from 2.14.5 to 3.2.0. PR [15267](https://github.com/fastapi/fastapi/pull/15267) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👥 Update FastAPI People - Contributors and Translators. PR [15270](https://github.com/fastapi/fastapi/pull/15270) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump requests from 2.32.5 to 2.33.0. PR [15228](https://github.com/fastapi/fastapi/pull/15228) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👷 Add ty check to `lint.sh`. PR [15136](https://github.com/fastapi/fastapi/pull/15136) by [svlandeg](https://github.com/svlandeg).

0.135.2

Upgrades

* ⬆️ Increase lower bound to `pydantic >=2.9.0.` and fix the test suite. PR [15139](https://github.com/fastapi/fastapi/pull/15139) by [svlandeg](https://github.com/svlandeg).

Docs

* 📝 Add missing last release notes dates. PR [15202](https://github.com/fastapi/fastapi/pull/15202) by [tiangolo](https://github.com/tiangolo).
* 📝 Update docs for contributors and team members regarding translation PRs. PR [15200](https://github.com/fastapi/fastapi/pull/15200) by [YuriiMotov](https://github.com/YuriiMotov).
* 💄 Fix code blocks in reference docs overflowing table width. PR [15094](https://github.com/fastapi/fastapi/pull/15094) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Fix duplicated words in docstrings. PR [15116](https://github.com/fastapi/fastapi/pull/15116) by [AhsanSheraz](https://github.com/AhsanSheraz).
* 📝 Add docs for `pyproject.toml` with `entrypoint`. PR [15075](https://github.com/fastapi/fastapi/pull/15075) by [tiangolo](https://github.com/tiangolo).
* 📝 Update links in docs to no longer use the classes external-link and internal-link. PR [15061](https://github.com/fastapi/fastapi/pull/15061) by [tiangolo](https://github.com/tiangolo).
* 🔨 Add JS and CSS handling for automatic `target=_blank` for links in docs. PR [15063](https://github.com/fastapi/fastapi/pull/15063) by [tiangolo](https://github.com/tiangolo).
* 💄 Update styles for internal and external links in new tab. PR [15058](https://github.com/fastapi/fastapi/pull/15058) by [tiangolo](https://github.com/tiangolo).
* 📝  Add documentation for the FastAPI VS Code extension. PR [15008](https://github.com/fastapi/fastapi/pull/15008) by [savannahostrowski](https://github.com/savannahostrowski).
* 📝 Fix doctrings for `max_digits` and `decimal_places`. PR [14944](https://github.com/fastapi/fastapi/pull/14944) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Add dates to release notes. PR [15001](https://github.com/fastapi/fastapi/pull/15001) by [YuriiMotov](https://github.com/YuriiMotov).

Translations

* 🌐 Update translations for zh (update-outdated). PR [15177](https://github.com/fastapi/fastapi/pull/15177) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for zh-hant (update-outdated). PR [15178](https://github.com/fastapi/fastapi/pull/15178) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for zh-hant (add-missing). PR [15176](https://github.com/fastapi/fastapi/pull/15176) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for zh (add-missing). PR [15175](https://github.com/fastapi/fastapi/pull/15175) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for ja (update-outdated). PR [15171](https://github.com/fastapi/fastapi/pull/15171) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for ko (update-outdated). PR [15170](https://github.com/fastapi/fastapi/pull/15170) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for tr (update-outdated). PR [15172](https://github.com/fastapi/fastapi/pull/15172) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for ko (add-missing). PR [15168](https://github.com/fastapi/fastapi/pull/15168) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for ja (add-missing). PR [15167](https://github.com/fastapi/fastapi/pull/15167) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for tr (add-missing). PR [15169](https://github.com/fastapi/fastapi/pull/15169) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for fr (update-outdated). PR [15165](https://github.com/fastapi/fastapi/pull/15165) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for fr (add-missing). PR [15163](https://github.com/fastapi/fastapi/pull/15163) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for uk (update-outdated). PR [15160](https://github.com/fastapi/fastapi/pull/15160) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for uk (add-missing). PR [15158](https://github.com/fastapi/fastapi/pull/15158) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for pt (add-missing). PR [15157](https://github.com/fastapi/fastapi/pull/15157) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for pt (update-outdated). PR [15159](https://github.com/fastapi/fastapi/pull/15159) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for es (update-outdated). PR [15155](https://github.com/fastapi/fastapi/pull/15155) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for es (add-missing). PR [15154](https://github.com/fastapi/fastapi/pull/15154) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for de (update-outdated). PR [15156](https://github.com/fastapi/fastapi/pull/15156) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for ru (update-and-add). PR [15152](https://github.com/fastapi/fastapi/pull/15152) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for de (add-missing). PR [15153](https://github.com/fastapi/fastapi/pull/15153) by [tiangolo](https://github.com/tiangolo).

Internal

* 🔨 Exclude spam comments from statistics in `scripts/people.py`. PR [15088](https://github.com/fastapi/fastapi/pull/15088) by [YuriiMotov](https://github.com/YuriiMotov).
* ⬆ Bump authlib from 1.6.7 to 1.6.9. PR [15128](https://github.com/fastapi/fastapi/pull/15128) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pyasn1 from 0.6.2 to 0.6.3. PR [15143](https://github.com/fastapi/fastapi/pull/15143) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump ujson from 5.11.0 to 5.12.0. PR [15150](https://github.com/fastapi/fastapi/pull/15150) by [dependabot[bot]](https://github.com/apps/dependabot).
* 🔨 Tweak translation workflow and translation fixer tool. PR [15166](https://github.com/fastapi/fastapi/pull/15166) by [YuriiMotov](https://github.com/YuriiMotov).
* 🔨 Fix `commit_in_place` passed via env variable in `translate.yml` workflow. PR [15151](https://github.com/fastapi/fastapi/pull/15151) by [YuriiMotov](https://github.com/YuriiMotov).
* 🔨 Update translation general prompt to enforce link style in translation matches the original link style. PR [15148](https://github.com/fastapi/fastapi/pull/15148) by [YuriiMotov](https://github.com/YuriiMotov).
* 👷 Re-enable translation workflow run by cron in CI (twice a month). PR [15145](https://github.com/fastapi/fastapi/pull/15145) by [YuriiMotov](https://github.com/YuriiMotov).
* 👷 Add `ty` to precommit. PR [15091](https://github.com/fastapi/fastapi/pull/15091) by [svlandeg](https://github.com/svlandeg).
* ⬆ Bump dorny/paths-filter from 3 to 4. PR [15106](https://github.com/fastapi/fastapi/pull/15106) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump cairosvg from 2.8.2 to 2.9.0. PR [15108](https://github.com/fastapi/fastapi/pull/15108) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pyjwt from 2.11.0 to 2.12.0. PR [15110](https://github.com/fastapi/fastapi/pull/15110) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump black from 26.1.0 to 26.3.1. PR [15100](https://github.com/fastapi/fastapi/pull/15100) by [dependabot[bot]](https://github.com/apps/dependabot).
* 🔨 Update script to autofix permalinks to account for headers with Markdown links. PR [15062](https://github.com/fastapi/fastapi/pull/15062) by [tiangolo](https://github.com/tiangolo).
* 📌 Pin Click for MkDocs live reload. PR [15057](https://github.com/fastapi/fastapi/pull/15057) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump werkzeug from 3.1.5 to 3.1.6. PR [14948](https://github.com/fastapi/fastapi/pull/14948) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pydantic-ai from 1.62.0 to 1.63.0. PR [15035](https://github.com/fastapi/fastapi/pull/15035) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pytest-codspeed from 4.2.0 to 4.3.0. PR [15034](https://github.com/fastapi/fastapi/pull/15034) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump strawberry-graphql from 0.291.2 to 0.307.1. PR [15033](https://github.com/fastapi/fastapi/pull/15033) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump typer from 0.21.1 to 0.24.1. PR [15032](https://github.com/fastapi/fastapi/pull/15032) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump actions/download-artifact from 7 to 8. PR [15020](https://github.com/fastapi/fastapi/pull/15020) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump actions/upload-artifact from 6 to 7. PR [15019](https://github.com/fastapi/fastapi/pull/15019) by [dependabot[bot]](https://github.com/apps/dependabot).

0.135.1

Fixes

* 🐛 Fix, avoid yield from a TaskGroup, only as an async context manager, closed in the request async exit stack. PR [15038](https://github.com/fastapi/fastapi/pull/15038) by [tiangolo](https://github.com/tiangolo).

Docs

* ✏️ Fix typo in `docs/en/docs/_llm-test.md`. PR [15007](https://github.com/fastapi/fastapi/pull/15007) by [adityagiri3600](https://github.com/adityagiri3600).
* 📝 Update Skill, optimize context, trim and refactor into references. PR [15031](https://github.com/fastapi/fastapi/pull/15031) by [tiangolo](https://github.com/tiangolo).

Internal

* 👥 Update FastAPI People - Experts. PR [15037](https://github.com/fastapi/fastapi/pull/15037) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI People - Contributors and Translators. PR [15029](https://github.com/fastapi/fastapi/pull/15029) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI GitHub topic repositories. PR [15036](https://github.com/fastapi/fastapi/pull/15036) by [tiangolo](https://github.com/tiangolo).

0.135.0

Features

* ✨ Add support for Server Sent Events. PR [15030](https://github.com/fastapi/fastapi/pull/15030) by [tiangolo](https://github.com/tiangolo).
 * New docs: [Server-Sent Events (SSE)](https://fastapi.tiangolo.com/tutorial/server-sent-events/).

0.134.0

Features

* ✨ Add support for streaming JSON Lines and binary data with `yield`. PR [15022](https://github.com/fastapi/fastapi/pull/15022) by [tiangolo](https://github.com/tiangolo).
 * This also upgrades Starlette from `>=0.40.0` to `>=0.46.0`, as it's needed to properly unrwap and re-raise exceptions from exception groups.
 * New docs: [Stream JSON Lines](https://fastapi.tiangolo.com/tutorial/stream-json-lines/).
 * And new docs: [Stream Data](https://fastapi.tiangolo.com/advanced/stream-data/).

Docs

* 📝 Update Library Agent Skill with streaming responses. PR [15024](https://github.com/fastapi/fastapi/pull/15024) by [tiangolo](https://github.com/tiangolo).
* 📝 Update docs for responses and new stream with `yield`. PR [15023](https://github.com/fastapi/fastapi/pull/15023) by [tiangolo](https://github.com/tiangolo).
* 📝 Add `await` in `StreamingResponse` code example to allow cancellation. PR [14681](https://github.com/fastapi/fastapi/pull/14681) by [casperdcl](https://github.com/casperdcl).
* 📝 Rename `docs_src/websockets` to `docs_src/websockets_` to avoid import errors. PR [14979](https://github.com/fastapi/fastapi/pull/14979) by [YuriiMotov](https://github.com/YuriiMotov).

Internal

* 🔨 Run tests with `pytest-xdist` and `pytest-cov`. PR [14992](https://github.com/fastapi/fastapi/pull/14992) by [YuriiMotov](https://github.com/YuriiMotov).

0.133.1

Features

* 🔧 Add FastAPI Agent Skill. PR [14982](https://github.com/fastapi/fastapi/pull/14982) by [tiangolo](https://github.com/tiangolo).
 * Read more about it in [Library Agent Skills](https://tiangolo.com/ideas/library-agent-skills/).

Internal

* ✅ Fix all tests are skipped on Windows. PR [14994](https://github.com/fastapi/fastapi/pull/14994) by [YuriiMotov](https://github.com/YuriiMotov).

0.133.0

Upgrades

* ⬆️ Add support for Starlette 1.0.0+. PR [14987](https://github.com/fastapi/fastapi/pull/14987) by [tiangolo](https://github.com/tiangolo).

0.132.1

Refactors

* ♻️ Refactor logic to handle OpenAPI and Swagger UI escaping data. PR [14986](https://github.com/fastapi/fastapi/pull/14986) by [tiangolo](https://github.com/tiangolo).

Internal

* 👥 Update FastAPI People - Experts. PR [14972](https://github.com/fastapi/fastapi/pull/14972) by [tiangolo](https://github.com/tiangolo).
* 👷 Allow skipping `benchmark` job in `test` workflow. PR [14974](https://github.com/fastapi/fastapi/pull/14974) by [YuriiMotov](https://github.com/YuriiMotov).

0.132.0

Breaking Changes

* 🔒️ Add `strict_content_type` checking for JSON requests. PR [14978](https://github.com/fastapi/fastapi/pull/14978) by [tiangolo](https://github.com/tiangolo).
 * Now FastAPI checks, by default, that JSON requests have a `Content-Type` header with a valid JSON value, like `application/json`, and rejects requests that don't.
 * If the clients for your app don't send a valid `Content-Type` header you can disable this with `strict_content_type=False`.
 * Check the new docs: [Strict Content-Type Checking](https://fastapi.tiangolo.com/advanced/strict-content-type/).

Internal

* ⬆ Bump flask from 3.1.2 to 3.1.3. PR [14949](https://github.com/fastapi/fastapi/pull/14949) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Update all dependencies to use `griffelib` instead of `griffe`. PR [14973](https://github.com/fastapi/fastapi/pull/14973) by [svlandeg](https://github.com/svlandeg).
* 🔨 Fix `FastAPI People` workflow. PR [14951](https://github.com/fastapi/fastapi/pull/14951) by [YuriiMotov](https://github.com/YuriiMotov).
* 👷 Do not run codspeed with coverage as it's not tracked. PR [14966](https://github.com/fastapi/fastapi/pull/14966) by [tiangolo](https://github.com/tiangolo).
* 👷 Do not include benchmark tests in coverage to speed up coverage processing. PR [14965](https://github.com/fastapi/fastapi/pull/14965) by [tiangolo](https://github.com/tiangolo).

0.131.0

Breaking Changes

* 🗑️ Deprecate `ORJSONResponse` and `UJSONResponse`. PR [14964](https://github.com/fastapi/fastapi/pull/14964) by [tiangolo](https://github.com/tiangolo).

0.130.0

Features

* ✨ Serialize JSON response with Pydantic (in Rust), when there's a Pydantic return type or response model. PR [14962](https://github.com/fastapi/fastapi/pull/14962) by [tiangolo](https://github.com/tiangolo).
 * This results in 2x (or more) performance increase for JSON responses.
 * New docs: [Custom Response - JSON Performance](https://fastapi.tiangolo.com/advanced/custom-response/#json-performance).

0.129.2

Internal

* ⬆️ Upgrade pytest. PR [14959](https://github.com/fastapi/fastapi/pull/14959) by [tiangolo](https://github.com/tiangolo).
* 👷 Fix CI, do not attempt to publish `fastapi-slim`. PR [14958](https://github.com/fastapi/fastapi/pull/14958) by [tiangolo](https://github.com/tiangolo).
* ➖ Drop support for `fastapi-slim`, no more versions will be released, use only `"fastapi[standard]"` or `fastapi`. PR [14957](https://github.com/fastapi/fastapi/pull/14957) by [tiangolo](https://github.com/tiangolo).
* 🔧 Update pyproject.toml, remove unneeded lines. PR [14956](https://github.com/fastapi/fastapi/pull/14956) by [tiangolo](https://github.com/tiangolo).

0.129.1

Fixes

* ♻️ Fix JSON Schema for bytes, use `"contentMediaType": "application/octet-stream"` instead of `"format": "binary"`. PR [14953](https://github.com/fastapi/fastapi/pull/14953) by [tiangolo](https://github.com/tiangolo).

Docs

* 🔨 Add Kapa.ai widget (AI chatbot). PR [14938](https://github.com/fastapi/fastapi/pull/14938) by [tiangolo](https://github.com/tiangolo).
* 🔥 Remove Python 3.9 specific files, no longer needed after updating translations. PR [14931](https://github.com/fastapi/fastapi/pull/14931) by [tiangolo](https://github.com/tiangolo).
* 📝 Update docs for JWT to prevent timing attacks. PR [14908](https://github.com/fastapi/fastapi/pull/14908) by [tiangolo](https://github.com/tiangolo).

Translations

* ✏️ Fix several typos in ru translations. PR [14934](https://github.com/fastapi/fastapi/pull/14934) by [argoarsiks](https://github.com/argoarsiks).
* 🌐 Update translations for ko (update-all and add-missing). PR [14923](https://github.com/fastapi/fastapi/pull/14923) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for uk (add-missing). PR [14922](https://github.com/fastapi/fastapi/pull/14922) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for zh-hant (update-all and add-missing). PR [14921](https://github.com/fastapi/fastapi/pull/14921) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for fr (update-all and add-missing). PR [14920](https://github.com/fastapi/fastapi/pull/14920) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for de (update-all) . PR [14910](https://github.com/fastapi/fastapi/pull/14910) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for ja (update-all). PR [14916](https://github.com/fastapi/fastapi/pull/14916) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for pt (update-all). PR [14912](https://github.com/fastapi/fastapi/pull/14912) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for es (update-all and add-missing). PR [14911](https://github.com/fastapi/fastapi/pull/14911) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for zh (update-all). PR [14917](https://github.com/fastapi/fastapi/pull/14917) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for uk (update-all). PR [14914](https://github.com/fastapi/fastapi/pull/14914) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for tr (update-all). PR [14913](https://github.com/fastapi/fastapi/pull/14913) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for ru (update-outdated). PR [14909](https://github.com/fastapi/fastapi/pull/14909) by [YuriiMotov](https://github.com/YuriiMotov).

Internal

* 👷 Always run tests on push to `master` branch and when run by scheduler. PR [14940](https://github.com/fastapi/fastapi/pull/14940) by [YuriiMotov](https://github.com/YuriiMotov).
* 🎨 Upgrade typing syntax for Python 3.10. PR [14932](https://github.com/fastapi/fastapi/pull/14932) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump cryptography from 46.0.4 to 46.0.5. PR [14892](https://github.com/fastapi/fastapi/pull/14892) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pillow from 12.1.0 to 12.1.1. PR [14899](https://github.com/fastapi/fastapi/pull/14899) by [dependabot[bot]](https://github.com/apps/dependabot).

0.129.0

Breaking Changes

* ➖ Drop support for Python 3.9. PR [14897](https://github.com/fastapi/fastapi/pull/14897) by [tiangolo](https://github.com/tiangolo).

Refactors

* 🎨 Update internal types for Python 3.10. PR [14898](https://github.com/fastapi/fastapi/pull/14898) by [tiangolo](https://github.com/tiangolo).

Docs

* 📝 Update highlights in webhooks docs. PR [14905](https://github.com/fastapi/fastapi/pull/14905) by [tiangolo](https://github.com/tiangolo).
* 📝 Update source examples and docs from Python 3.9 to 3.10. PR [14900](https://github.com/fastapi/fastapi/pull/14900) by [tiangolo](https://github.com/tiangolo).

Internal

* 🔨 Update docs.py scripts to migrate Python 3.9 to Python 3.10. PR [14906](https://github.com/fastapi/fastapi/pull/14906) by [tiangolo](https://github.com/tiangolo).

0.128.8

Docs

* 📝 Fix grammar in `docs/en/docs/tutorial/first-steps.md`. PR [14708](https://github.com/fastapi/fastapi/pull/14708) by [SanjanaS10](https://github.com/SanjanaS10).

Internal

* 🔨 Tweak PDM hook script. PR [14895](https://github.com/fastapi/fastapi/pull/14895) by [tiangolo](https://github.com/tiangolo).
* ♻️ Update build setup for `fastapi-slim`, deprecate it, and make it only depend on `fastapi`. PR [14894](https://github.com/fastapi/fastapi/pull/14894) by [tiangolo](https://github.com/tiangolo).

0.128.7

Features

* ✨ Show a clear error on attempt to include router into itself. PR [14258](https://github.com/fastapi/fastapi/pull/14258) by [JavierSanchezCastro](https://github.com/JavierSanchezCastro).
* ✨ Replace `dict` by `Mapping` on `HTTPException.headers`. PR [12997](https://github.com/fastapi/fastapi/pull/12997) by [rijenkii](https://github.com/rijenkii).

Refactors

* ♻️ Simplify reading files in memory, do it sequentially instead of (fake) parallel. PR [14884](https://github.com/fastapi/fastapi/pull/14884) by [tiangolo](https://github.com/tiangolo).

Docs

* 📝 Use `dfn` tag for definitions instead of `abbr` in docs. PR [14744](https://github.com/fastapi/fastapi/pull/14744) by [YuriiMotov](https://github.com/YuriiMotov).

Internal

* ✅ Tweak comment in test to reference PR. PR [14885](https://github.com/fastapi/fastapi/pull/14885) by [tiangolo](https://github.com/tiangolo).
* 🔧 Update LLM-prompt for `abbr` and `dfn` tags. PR [14747](https://github.com/fastapi/fastapi/pull/14747) by [YuriiMotov](https://github.com/YuriiMotov).
* ✅ Test order for the submitted byte Files. PR [14828](https://github.com/fastapi/fastapi/pull/14828) by [valentinDruzhinin](https://github.com/valentinDruzhinin).
* 🔧 Configure `test` workflow to run tests with `inline-snapshot=review`. PR [14876](https://github.com/fastapi/fastapi/pull/14876) by [YuriiMotov](https://github.com/YuriiMotov).

0.128.6

Fixes

* 🐛 Fix `on_startup` and `on_shutdown` parameters of `APIRouter`. PR [14873](https://github.com/fastapi/fastapi/pull/14873) by [YuriiMotov](https://github.com/YuriiMotov).

Translations

* 🌐 Update translations for zh (update-outdated). PR [14843](https://github.com/fastapi/fastapi/pull/14843) by [tiangolo](https://github.com/tiangolo).

Internal

* ✅ Fix parameterized tests with snapshots. PR [14875](https://github.com/fastapi/fastapi/pull/14875) by [YuriiMotov](https://github.com/YuriiMotov).

0.128.5

Refactors

* ♻️ Refactor and simplify Pydantic v2 (and v1) compatibility internal utils. PR [14862](https://github.com/fastapi/fastapi/pull/14862) by [tiangolo](https://github.com/tiangolo).

Internal

* ✅ Add inline snapshot tests for OpenAPI before changes from Pydantic v2. PR [14864](https://github.com/fastapi/fastapi/pull/14864) by [tiangolo](https://github.com/tiangolo).

0.128.4

Refactors

* ♻️ Refactor internals, simplify Pydantic v2/v1 utils, `create_model_field`, better types for `lenient_issubclass`. PR [14860](https://github.com/fastapi/fastapi/pull/14860) by [tiangolo](https://github.com/tiangolo).
* ♻️ Simplify internals, remove Pydantic v1 only logic, no longer needed. PR [14857](https://github.com/fastapi/fastapi/pull/14857) by [tiangolo](https://github.com/tiangolo).
* ♻️ Refactor internals, cleanup unneeded Pydantic v1 specific logic. PR [14856](https://github.com/fastapi/fastapi/pull/14856) by [tiangolo](https://github.com/tiangolo).

Translations

* 🌐 Update translations for fr (outdated pages). PR [14839](https://github.com/fastapi/fastapi/pull/14839) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for tr (outdated and missing). PR [14838](https://github.com/fastapi/fastapi/pull/14838) by [YuriiMotov](https://github.com/YuriiMotov).

Internal

* ⬆️ Upgrade development dependencies. PR [14854](https://github.com/fastapi/fastapi/pull/14854) by [tiangolo](https://github.com/tiangolo).

0.128.3

Refactors

* ♻️ Re-implement `on_event` in FastAPI for compatibility with the next Starlette, while keeping backwards compatibility. PR [14851](https://github.com/fastapi/fastapi/pull/14851) by [tiangolo](https://github.com/tiangolo).

Upgrades

* ⬆️ Upgrade Starlette supported version range to `starlette>=0.40.0,<1.0.0`. PR [14853](https://github.com/fastapi/fastapi/pull/14853) by [tiangolo](https://github.com/tiangolo).

Translations

* 🌐 Update translations for ru (update-outdated). PR [14834](https://github.com/fastapi/fastapi/pull/14834) by [tiangolo](https://github.com/tiangolo).

Internal

* 👷 Run tests with Starlette from git. PR [14849](https://github.com/fastapi/fastapi/pull/14849) by [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`. PR [14846](https://github.com/fastapi/fastapi/pull/14846) by [tiangolo](https://github.com/tiangolo).

0.128.2

Features

* ✨ Add support for PEP695 `TypeAliasType`. PR [13920](https://github.com/fastapi/fastapi/pull/13920) by [cstruct](https://github.com/cstruct).
* ✨ Allow `Response` type hint as dependency annotation. PR [14794](https://github.com/fastapi/fastapi/pull/14794) by [jonathan-fulton](https://github.com/jonathan-fulton).

Fixes

* 🐛 Fix using `Json[list[str]]` type (issue 10997). PR [14616](https://github.com/fastapi/fastapi/pull/14616) by [mkanetsuna](https://github.com/mkanetsuna).

Docs

* 📝 Update docs for translations. PR [14830](https://github.com/fastapi/fastapi/pull/14830) by [tiangolo](https://github.com/tiangolo).
* 📝 Fix duplicate word in `advanced-dependencies.md`. PR [14815](https://github.com/fastapi/fastapi/pull/14815) by [Rayyan-Oumlil](https://github.com/Rayyan-Oumlil).

Translations

* 🌐 Enable Traditional Chinese translations. PR [14842](https://github.com/fastapi/fastapi/pull/14842) by [tiangolo](https://github.com/tiangolo).
* 🌐 Enable French docs translations. PR [14841](https://github.com/fastapi/fastapi/pull/14841) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for fr (translate-page). PR [14837](https://github.com/fastapi/fastapi/pull/14837) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for de (update-outdated). PR [14836](https://github.com/fastapi/fastapi/pull/14836) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for pt (update-outdated). PR [14833](https://github.com/fastapi/fastapi/pull/14833) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for ko (update-outdated). PR [14835](https://github.com/fastapi/fastapi/pull/14835) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for es (update-outdated). PR [14832](https://github.com/fastapi/fastapi/pull/14832) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for tr (update-outdated). PR [14831](https://github.com/fastapi/fastapi/pull/14831) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for tr (add-missing). PR [14790](https://github.com/fastapi/fastapi/pull/14790) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for fr (update-outdated). PR [14826](https://github.com/fastapi/fastapi/pull/14826) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for zh-hant (update-outdated). PR [14825](https://github.com/fastapi/fastapi/pull/14825) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for uk (update-outdated). PR [14822](https://github.com/fastapi/fastapi/pull/14822) by [tiangolo](https://github.com/tiangolo).
* 🔨 Update docs and translations scripts, enable Turkish. PR [14824](https://github.com/fastapi/fastapi/pull/14824) by [tiangolo](https://github.com/tiangolo).

Internal

* 🔨 Add max pages to translate to configs. PR [14840](https://github.com/fastapi/fastapi/pull/14840) by [tiangolo](https://github.com/tiangolo).

0.128.1

Features

* ✨ Add `viewport` meta tag to improve Swagger UI on mobile devices. PR [14777](https://github.com/fastapi/fastapi/pull/14777) by [Joab0](https://github.com/Joab0).
* 🚸 Improve error message for invalid query parameter type annotations. PR [14479](https://github.com/fastapi/fastapi/pull/14479) by [retwish](https://github.com/retwish).

Fixes

* 🐛 Update `ValidationError` schema to include `input` and `ctx`. PR [14791](https://github.com/fastapi/fastapi/pull/14791) by [jonathan-fulton](https://github.com/jonathan-fulton).
* 🐛 Fix TYPE_CHECKING annotations for Python 3.14 (PEP 649). PR [14789](https://github.com/fastapi/fastapi/pull/14789) by [mgu](https://github.com/mgu).
* 🐛 Strip whitespaces from `Authorization` header credentials. PR [14786](https://github.com/fastapi/fastapi/pull/14786) by [WaveTheory1](https://github.com/WaveTheory1).
* 🐛 Fix OpenAPI duplication of `anyOf` refs for app-level responses with specified `content` and `model` as `Union`. PR [14463](https://github.com/fastapi/fastapi/pull/14463) by [DJMcoder](https://github.com/DJMcoder).

Refactors

* 🎨 Tweak types for mypy. PR [14816](https://github.com/fastapi/fastapi/pull/14816) by [tiangolo](https://github.com/tiangolo).
* 🏷️ Re-export `IncEx` type from Pydantic instead of duplicating it. PR [14641](https://github.com/fastapi/fastapi/pull/14641) by [mvanderlee](https://github.com/mvanderlee).
* 💡 Update comment for Pydantic internals. PR [14814](https://github.com/fastapi/fastapi/pull/14814) by [tiangolo](https://github.com/tiangolo).

Docs

* 📝 Update docs for contributing translations, simplify title. PR [14817](https://github.com/fastapi/fastapi/pull/14817) by [tiangolo](https://github.com/tiangolo).
* 📝 Fix typing issue in `docs_src/app_testing/app_b` code example. PR [14573](https://github.com/fastapi/fastapi/pull/14573) by [timakaa](https://github.com/timakaa).
* 📝 Fix example of license identifier in documentation. PR [14492](https://github.com/fastapi/fastapi/pull/14492) by [johnson-earls](https://github.com/johnson-earls).
* 📝 Add banner to translated pages. PR [14809](https://github.com/fastapi/fastapi/pull/14809) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Add links to related sections of docs to docstrings. PR [14776](https://github.com/fastapi/fastapi/pull/14776) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Update embedded code examples to Python 3.10 syntax. PR [14758](https://github.com/fastapi/fastapi/pull/14758) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Fix dependency installation command in `docs/en/docs/contributing.md`. PR [14757](https://github.com/fastapi/fastapi/pull/14757) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Use return type annotation instead of `response_model` when possible. PR [14753](https://github.com/fastapi/fastapi/pull/14753) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Use `WSGIMiddleware` from `a2wsgi` instead of deprecated `fastapi.middleware.wsgi.WSGIMiddleware`. PR [14756](https://github.com/fastapi/fastapi/pull/14756) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Fix minor typos in release notes. PR [14780](https://github.com/fastapi/fastapi/pull/14780) by [whyvineet](https://github.com/whyvineet).
* 🐛 Fix copy button in custom.js. PR [14722](https://github.com/fastapi/fastapi/pull/14722) by [fcharrier](https://github.com/fcharrier).
* 📝 Add contribution instructions about LLM generated code and comments and automated tools for PRs. PR [14706](https://github.com/fastapi/fastapi/pull/14706) by [tiangolo](https://github.com/tiangolo).
* 📝 Update docs for management tasks. PR [14705](https://github.com/fastapi/fastapi/pull/14705) by [tiangolo](https://github.com/tiangolo).
* 📝 Update docs about managing translations. PR [14704](https://github.com/fastapi/fastapi/pull/14704) by [tiangolo](https://github.com/tiangolo).
* 📝 Update docs for contributing with translations. PR [14701](https://github.com/fastapi/fastapi/pull/14701) by [tiangolo](https://github.com/tiangolo).
* 📝 Specify language code for code block. PR [14656](https://github.com/fastapi/fastapi/pull/14656) by [YuriiMotov](https://github.com/YuriiMotov).

Translations

* 🌐 Improve LLM prompt of `uk` documentation. PR [14795](https://github.com/fastapi/fastapi/pull/14795) by [roli2py](https://github.com/roli2py).
* 🌐 Update translations for ja (update-outdated). PR [14588](https://github.com/fastapi/fastapi/pull/14588) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for uk (update outdated, found by fixer tool). PR [14739](https://github.com/fastapi/fastapi/pull/14739) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for tr (update-outdated). PR [14745](https://github.com/fastapi/fastapi/pull/14745) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update `llm-prompt.md` for Korean language. PR [14763](https://github.com/fastapi/fastapi/pull/14763) by [seuthootDev](https://github.com/seuthootDev).
* 🌐 Update translations for ko (update outdated, found by fixer tool). PR [14738](https://github.com/fastapi/fastapi/pull/14738) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for de (update-outdated). PR [14690](https://github.com/fastapi/fastapi/pull/14690) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update LLM prompt for Russian translations. PR [14733](https://github.com/fastapi/fastapi/pull/14733) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Update translations for ru (update-outdated). PR [14693](https://github.com/fastapi/fastapi/pull/14693) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for pt (update-outdated). PR [14724](https://github.com/fastapi/fastapi/pull/14724) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update Korean LLM prompt. PR [14740](https://github.com/fastapi/fastapi/pull/14740) by [hard-coders](https://github.com/hard-coders).
* 🌐 Improve LLM prompt for Turkish translations. PR [14728](https://github.com/fastapi/fastapi/pull/14728) by [Kadermiyanyedi](https://github.com/Kadermiyanyedi).
* 🌐 Update portuguese llm-prompt.md. PR [14702](https://github.com/fastapi/fastapi/pull/14702) by [ceb10n](https://github.com/ceb10n).
* 🌐 Update LLM prompt instructions file for French. PR [14618](https://github.com/fastapi/fastapi/pull/14618) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for ko (add-missing). PR [14699](https://github.com/fastapi/fastapi/pull/14699) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for ko (update-outdated). PR [14589](https://github.com/fastapi/fastapi/pull/14589) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for uk (update-outdated). PR [14587](https://github.com/fastapi/fastapi/pull/14587) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for es (update-outdated). PR [14686](https://github.com/fastapi/fastapi/pull/14686) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add LLM prompt file for Turkish, generated from the existing translations. PR [14547](https://github.com/fastapi/fastapi/pull/14547) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add LLM prompt file for Traditional Chinese, generated from the existing translations. PR [14550](https://github.com/fastapi/fastapi/pull/14550) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add LLM prompt file for Simplified Chinese, generated from the existing translations. PR [14549](https://github.com/fastapi/fastapi/pull/14549) by [tiangolo](https://github.com/tiangolo).

Internal

* ⬇️ Downgrade LLM translations model to GPT-5 to reduce mistakes. PR [14823](https://github.com/fastapi/fastapi/pull/14823) by [tiangolo](https://github.com/tiangolo).
* 🐛 Fix translation script commit in place. PR [14818](https://github.com/fastapi/fastapi/pull/14818) by [tiangolo](https://github.com/tiangolo).
* 🔨 Update translation script to retry if LLM-response doesn't pass validation with Translation Fixer tool. PR [14749](https://github.com/fastapi/fastapi/pull/14749) by [YuriiMotov](https://github.com/YuriiMotov).
* 👷 Run tests only on relevant code changes (not on docs). PR [14813](https://github.com/fastapi/fastapi/pull/14813) by [tiangolo](https://github.com/tiangolo).
* 👷 Run mypy by pre-commit. PR [14806](https://github.com/fastapi/fastapi/pull/14806) by [YuriiMotov](https://github.com/YuriiMotov).
* ⬆ Bump ruff from 0.14.3 to 0.14.14. PR [14798](https://github.com/fastapi/fastapi/pull/14798) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump pyasn1 from 0.6.1 to 0.6.2. PR [14804](https://github.com/fastapi/fastapi/pull/14804) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump sqlmodel from 0.0.27 to 0.0.31. PR [14802](https://github.com/fastapi/fastapi/pull/14802) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump mkdocs-macros-plugin from 1.4.1 to 1.5.0. PR [14801](https://github.com/fastapi/fastapi/pull/14801) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump gitpython from 3.1.45 to 3.1.46. PR [14800](https://github.com/fastapi/fastapi/pull/14800) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump typer from 0.16.0 to 0.21.1. PR [14799](https://github.com/fastapi/fastapi/pull/14799) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👥 Update FastAPI GitHub topic repositories. PR [14803](https://github.com/fastapi/fastapi/pull/14803) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI People - Contributors and Translators. PR [14796](https://github.com/fastapi/fastapi/pull/14796) by [tiangolo](https://github.com/tiangolo).
* 🔧 Ensure that an edit to `uv.lock` gets the `internal` label. PR [14759](https://github.com/fastapi/fastapi/pull/14759) by [svlandeg](https://github.com/svlandeg).
* 🔧 Update sponsors: remove Requestly. PR [14735](https://github.com/fastapi/fastapi/pull/14735) by [tiangolo](https://github.com/tiangolo).
* 🔧 Update sponsors, LambdaTest changes to TestMu AI. PR [14734](https://github.com/fastapi/fastapi/pull/14734) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump actions/cache from 4 to 5. PR [14511](https://github.com/fastapi/fastapi/pull/14511) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump actions/upload-artifact from 5 to 6. PR [14525](https://github.com/fastapi/fastapi/pull/14525) by [dependabot[bot]](https://github.com/apps/dependabot).
* ⬆ Bump actions/download-artifact from 6 to 7. PR [14526](https://github.com/fastapi/fastapi/pull/14526) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👷 Tweak CI input names. PR [14688](https://github.com/fastapi/fastapi/pull/14688) by [tiangolo](https://github.com/tiangolo).
* 🔨 Refactor translation script to allow committing in place. PR [14687](https://github.com/fastapi/fastapi/pull/14687) by [tiangolo](https://github.com/tiangolo).
* 🐛 Fix translation script path. PR [14685](https://github.com/fastapi/fastapi/pull/14685) by [tiangolo](https://github.com/tiangolo).
* ✅ Enable tests in CI for scripts. PR [14684](https://github.com/fastapi/fastapi/pull/14684) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add pre-commit local script to fix language translations. PR [14683](https://github.com/fastapi/fastapi/pull/14683) by [tiangolo](https://github.com/tiangolo).
* ⬆️  Migrate to uv. PR [14676](https://github.com/fastapi/fastapi/pull/14676) by [DoctorJohn](https://github.com/DoctorJohn).
* 🔨 Add LLM translations tool fixer. PR [14652](https://github.com/fastapi/fastapi/pull/14652) by [YuriiMotov](https://github.com/YuriiMotov).
* 👥 Update FastAPI People - Sponsors. PR [14626](https://github.com/fastapi/fastapi/pull/14626) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI GitHub topic repositories. PR [14630](https://github.com/fastapi/fastapi/pull/14630) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI People - Contributors and Translators. PR [14625](https://github.com/fastapi/fastapi/pull/14625) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translation prompts. PR [14619](https://github.com/fastapi/fastapi/pull/14619) by [tiangolo](https://github.com/tiangolo).
* 🔨 Update LLM translation script to guide reviewers to change the prompt. PR [14614](https://github.com/fastapi/fastapi/pull/14614) by [tiangolo](https://github.com/tiangolo).
* 👷 Do not run translations on cron while finishing updating existing languages. PR [14613](https://github.com/fastapi/fastapi/pull/14613) by [tiangolo](https://github.com/tiangolo).
* 🔥 Remove test variants for Pydantic v1 in test_request_params. PR [14612](https://github.com/fastapi/fastapi/pull/14612) by [tiangolo](https://github.com/tiangolo).
* 🔥 Remove Pydantic v1  specific test variants. PR [14611](https://github.com/fastapi/fastapi/pull/14611) by [tiangolo](https://github.com/tiangolo).

0.128.0

Breaking Changes

* ➖ Drop support for `pydantic.v1`. PR [14609](https://github.com/fastapi/fastapi/pull/14609) by [tiangolo](https://github.com/tiangolo).

Internal

* ✅ Run performance tests only on Pydantic v2. PR [14608](https://github.com/fastapi/fastapi/pull/14608) by [tiangolo](https://github.com/tiangolo).

0.127.1

Refactors

* 🔊 Add a custom `FastAPIDeprecationWarning`. PR [14605](https://github.com/fastapi/fastapi/pull/14605) by [tiangolo](https://github.com/tiangolo).

Docs

* 📝 Add documentary to website. PR [14600](https://github.com/fastapi/fastapi/pull/14600) by [tiangolo](https://github.com/tiangolo).

Translations

* 🌐 Update translations for de (update-outdated). PR [14602](https://github.com/fastapi/fastapi/pull/14602) by [nilslindemann](https://github.com/nilslindemann).
* 🌐 Update translations for de (update-outdated). PR [14581](https://github.com/fastapi/fastapi/pull/14581) by [nilslindemann](https://github.com/nilslindemann).

Internal

* 🔧 Update pre-commit to use local Ruff instead of hook. PR [14604](https://github.com/fastapi/fastapi/pull/14604) by [tiangolo](https://github.com/tiangolo).
* ✅ Add missing tests for code examples. PR [14569](https://github.com/fastapi/fastapi/pull/14569) by [YuriiMotov](https://github.com/YuriiMotov).
* 👷 Remove `lint` job from `test` CI workflow. PR [14593](https://github.com/fastapi/fastapi/pull/14593) by [YuriiMotov](https://github.com/YuriiMotov).
* 👷 Update secrets check. PR [14592](https://github.com/fastapi/fastapi/pull/14592) by [tiangolo](https://github.com/tiangolo).
* 👷 Run CodSpeed tests in parallel to other tests to speed up CI. PR [14586](https://github.com/fastapi/fastapi/pull/14586) by [tiangolo](https://github.com/tiangolo).
* 🔨 Update scripts and pre-commit to autofix files. PR [14585](https://github.com/fastapi/fastapi/pull/14585) by [tiangolo](https://github.com/tiangolo).

0.127.0

Breaking Changes

* 🔊 Add deprecation warnings when using `pydantic.v1`. PR [14583](https://github.com/fastapi/fastapi/pull/14583) by [tiangolo](https://github.com/tiangolo).

Translations

* 🔧 Add LLM prompt file for Korean, generated from the existing translations. PR [14546](https://github.com/fastapi/fastapi/pull/14546) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add LLM prompt file for Japanese, generated from the existing translations. PR [14545](https://github.com/fastapi/fastapi/pull/14545) by [tiangolo](https://github.com/tiangolo).

Internal

* ⬆️ Upgrade OpenAI model for translations to gpt-5.2. PR [14579](https://github.com/fastapi/fastapi/pull/14579) by [tiangolo](https://github.com/tiangolo).

0.126.0

Upgrades

* ➖ Drop support for Pydantic v1, keeping short temporary support for Pydantic v2's `pydantic.v1`. PR [14575](https://github.com/fastapi/fastapi/pull/14575) by [tiangolo](https://github.com/tiangolo).
 * The minimum version of Pydantic installed is now `pydantic >=2.7.0`.
 * The `standard` dependencies now include `pydantic-settings >=2.0.0` and `pydantic-extra-types >=2.0.0`.

Docs

* 📝 Fix duplicated variable in `docs_src/python_types/tutorial005_py39.py`. PR [14565](https://github.com/fastapi/fastapi/pull/14565) by [paras-verma7454](https://github.com/paras-verma7454).

Translations

* 🔧 Add LLM prompt file for Ukrainian, generated from the existing translations. PR [14548](https://github.com/fastapi/fastapi/pull/14548) by [tiangolo](https://github.com/tiangolo).

Internal

* 🔧 Tweak pre-commit to allow committing release-notes. PR [14577](https://github.com/fastapi/fastapi/pull/14577) by [tiangolo](https://github.com/tiangolo).
* ⬆️ Use prek as a pre-commit alternative. PR [14572](https://github.com/fastapi/fastapi/pull/14572) by [tiangolo](https://github.com/tiangolo).
* 👷 Add performance tests with CodSpeed. PR [14558](https://github.com/fastapi/fastapi/pull/14558) by [tiangolo](https://github.com/tiangolo).

0.125.0

Breaking Changes

* 🔧 Drop support for Python 3.8. PR [14563](https://github.com/fastapi/fastapi/pull/14563) by [tiangolo](https://github.com/tiangolo).
 * This would actually not be a _breaking_ change as no code would really break. Any Python 3.8 installer would just refuse to install the latest version of FastAPI and would only install 0.124.4. Only marking it as a "breaking change" to make it visible.

Refactors

* ♻️ Upgrade internal syntax to Python 3.9+ 🎉. PR [14564](https://github.com/fastapi/fastapi/pull/14564) by [tiangolo](https://github.com/tiangolo).

Docs

* ⚰️ Remove Python 3.8 from CI and remove Python 3.8 examples from source docs. PR [14559](https://github.com/fastapi/fastapi/pull/14559) by [YuriiMotov](https://github.com/YuriiMotov) and [tiangolo](https://github.com/tiangolo).

Translations

* 🌐 Update translations for pt (add-missing). PR [14539](https://github.com/fastapi/fastapi/pull/14539) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add LLM prompt file for French, generated from the existing French docs. PR [14544](https://github.com/fastapi/fastapi/pull/14544) by [tiangolo](https://github.com/tiangolo).
* 🌐 Sync Portuguese docs (pages found with script). PR [14554](https://github.com/fastapi/fastapi/pull/14554) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Sync Spanish docs (outdated pages found with script). PR [14553](https://github.com/fastapi/fastapi/pull/14553) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Sync German docs. PR [14519](https://github.com/fastapi/fastapi/pull/14519) by [nilslindemann](https://github.com/nilslindemann).
* 🔥 Remove inactive/scarce translations to Vietnamese. PR [14543](https://github.com/fastapi/fastapi/pull/14543) by [tiangolo](https://github.com/tiangolo).
* 🔥 Remove inactive/scarce translations to Persian. PR [14542](https://github.com/fastapi/fastapi/pull/14542) by [tiangolo](https://github.com/tiangolo).
* 🔥 Remove translation to emoji to simplify the new setup with LLM autotranslations. PR [14541](https://github.com/fastapi/fastapi/pull/14541) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for pt (update-outdated). PR [14537](https://github.com/fastapi/fastapi/pull/14537) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for es (update-outdated). PR [14532](https://github.com/fastapi/fastapi/pull/14532) by [tiangolo](https://github.com/tiangolo).
* 🌐 Update translations for es (add-missing). PR [14533](https://github.com/fastapi/fastapi/pull/14533) by [tiangolo](https://github.com/tiangolo).
* 🌐 Remove translations for removed docs. PR [14516](https://github.com/fastapi/fastapi/pull/14516) by [tiangolo](https://github.com/tiangolo).

Internal

* ⬆ Bump `markdown-include-variants` from 0.0.7 to 0.0.8. PR [14556](https://github.com/fastapi/fastapi/pull/14556) by [YuriiMotov](https://github.com/YuriiMotov).
* 🔧 Temporarily disable translations still in progress, being migrated to the new LLM setup. PR [14555](https://github.com/fastapi/fastapi/pull/14555) by [YuriiMotov](https://github.com/YuriiMotov).
* 🔧 Update test workflow config, remove commented code. PR [14540](https://github.com/fastapi/fastapi/pull/14540) by [tiangolo](https://github.com/tiangolo).
* 👷 Configure coverage, error on main tests, don't wait for Smokeshow. PR [14536](https://github.com/fastapi/fastapi/pull/14536) by [tiangolo](https://github.com/tiangolo).
* 👷 Run Smokeshow always, even on test failures. PR [14538](https://github.com/fastapi/fastapi/pull/14538) by [tiangolo](https://github.com/tiangolo).
* 👷 Make Pydantic versions customizable in CI. PR [14535](https://github.com/fastapi/fastapi/pull/14535) by [tiangolo](https://github.com/tiangolo).
* 👷 Fix checkout GitHub Action fetch-depth for LLM translations, enable cron monthly. PR [14531](https://github.com/fastapi/fastapi/pull/14531) by [tiangolo](https://github.com/tiangolo).
* 👷 Fix Typer command for CI LLM translations. PR [14530](https://github.com/fastapi/fastapi/pull/14530) by [tiangolo](https://github.com/tiangolo).
* 👷 Update LLM translation CI, add language matrix and extra commands, prepare for scheduled run. PR [14529](https://github.com/fastapi/fastapi/pull/14529) by [tiangolo](https://github.com/tiangolo).
* 👷 Update github-actions user for GitHub Actions workflows. PR [14528](https://github.com/fastapi/fastapi/pull/14528) by [tiangolo](https://github.com/tiangolo).
* ➕ Add requirements for translations. PR [14515](https://github.com/fastapi/fastapi/pull/14515) by [tiangolo](https://github.com/tiangolo).

0.124.4

Fixes

* 🐛 Fix parameter aliases. PR [14371](https://github.com/fastapi/fastapi/pull/14371) by [YuriiMotov](https://github.com/YuriiMotov).

0.124.3

Fixes

* 🐛 Fix support for tagged union with discriminator inside of `Annotated` with `Body()`. PR [14512](https://github.com/fastapi/fastapi/pull/14512) by [tiangolo](https://github.com/tiangolo).

Refactors

* ✅ Add set of tests for request parameters and alias. PR [14358](https://github.com/fastapi/fastapi/pull/14358) by [YuriiMotov](https://github.com/YuriiMotov).

Docs

* 📝 Tweak links format. PR [14505](https://github.com/fastapi/fastapi/pull/14505) by [tiangolo](https://github.com/tiangolo).
* 📝 Update docs about re-raising validation errors, do not include string as is to not leak information. PR [14487](https://github.com/fastapi/fastapi/pull/14487) by [tiangolo](https://github.com/tiangolo).
* 🔥 Remove external links section. PR [14486](https://github.com/fastapi/fastapi/pull/14486) by [tiangolo](https://github.com/tiangolo).

Translations

* 🌐 Sync Russian docs. PR [14509](https://github.com/fastapi/fastapi/pull/14509) by [YuriiMotov](https://github.com/YuriiMotov).
* 🌐 Sync German docs. PR [14488](https://github.com/fastapi/fastapi/pull/14488) by [nilslindemann](https://github.com/nilslindemann).

Internal

* 👷 Tweak coverage to not pass Smokeshow max file size limit. PR [14507](https://github.com/fastapi/fastapi/pull/14507) by [tiangolo](https://github.com/tiangolo).
* ✅ Expand test matrix to include Windows and MacOS. PR [14171](https://github.com/fastapi/fastapi/pull/14171) by [svlandeg](https://github.com/svlandeg).

0.124.2

Fixes

* 🐛 Fix support for `if TYPE_CHECKING`,  non-evaluated stringified annotations. PR [14485](https://github.com/fastapi/fastapi/pull/14485) by [tiangolo](https://github.com/tiangolo).

0.124.1

Fixes

* 🐛 Fix handling arbitrary types when using `arbitrary_types_allowed=True`. PR [14482](https://github.com/fastapi/fastapi/pull/14482) by [tiangolo](https://github.com/tiangolo).

Docs

* 📝 Add variants for code examples in "Advanced User Guide". PR [14413](https://github.com/fastapi/fastapi/pull/14413) by [YuriiMotov](https://github.com/YuriiMotov).
* 📝 Update tech stack in project generation docs. PR [14472](https://github.com/fastapi/fastapi/pull/14472) by [alejsdev](https://github.com/alejsdev).

Internal

* ✅ Add test for Pydantic v2, dataclasses, UUID, and `__annotations__`. PR [14477](https://github.com/fastapi/fastapi/pull/14477) by [tiangolo](https://github.com/tiangolo).

0.124.0

Features

* 🚸  Improve tracebacks by adding endpoint metadata. PR [14306](https://github.com/fastapi/fastapi/pull/14306) by [savannahostrowski](https://github.com/savannahostrowski).

Internal

* ✏️ Fix typo in `scripts/mkdocs_hooks.py`. PR [14457](https://github.com/fastapi/fastapi/pull/14457) by [yujiteshima](https://github.com/yujiteshima).

0.123.10

Fixes

* 🐛 Fix using class (not instance) dependency that has `__call__` method. PR [14458](https://github.com/fastapi/fastapi/pull/14458) by [YuriiMotov](https://github.com/YuriiMotov).
* 🐛 Fix `separate_input_output_schemas=False` with `computed_field`. PR [14453](https://github.com/fastapi/fastapi/pull/14453) by [YuriiMotov](https://github.com/YuriiMotov).

0.123.9

Fixes

* 🐛 Fix OAuth2 scopes in OpenAPI in extra corner cases, parent dependency with scopes, sub-dependency security scheme without scopes. PR [14459](https://github.com/fastapi/fastapi/pull/14459) by [tiangolo](https://github.com/tiangolo).

0.123.8

Fixes

* 🐛 Fix OpenAPI security scheme OAuth2 scopes declaration, deduplicate security schemes with different scopes. PR [14455](https://github.com/fastapi/fastapi/pull/14455) by [tiangolo](https://github.com/tiangolo).

0.123.7

Fixes

* 🐛 Fix evaluating stringified annotations in Python 3.10. PR [11355](https://github.com/fastapi/fastapi/pull/11355) by [chaen](https://github.com/chaen).

0.123.6

Fixes

* 🐛 Fix support for functools wraps and partial combined, for async and regular functions and classes in path operations and dependencies. PR [14448](https://github.com/fastapi/fastapi/pull/14448) by [tiangolo](https://github.com/tiangolo).

0.123.5

Features

* ✨ Allow using dependables with `functools.partial()`. PR [9753](https://github.com/fastapi/fastapi/pull/9753) by [lieryan](https://github.com/lieryan).
* ✨ Add support for wrapped functions (e.g. `functools.wraps()`) used with forward references. PR [5077](https://github.com/fastapi/fastapi/pull/5077) by [lucaswiman](https://github.com/lucaswiman).
* ✨ Handle wrapped dependencies. PR [9555](https://github.com/fastapi/fastapi/pull/9555) by [phy1729](https://github.com/phy1729).

Fixes

* 🐛 Fix optional sequence handling with new union syntax from Python 3.10. PR [14430](https://github.com/fastapi/fastapi/pull/14430) by [Viicos](https://github.com/Viicos).

Refactors

* 🔥 Remove dangling extra condiitonal no longer needed. PR [14435](https://github.com/fastapi/fastapi/pull/14435) by [tiangolo](https://github.com/tiangolo).
* ♻️ Refactor internals, update `is_coroutine` check to reuse internal supported variants (unwrap, check class). PR [14434](https://github.com/fastapi/fastapi/pull/14434) by [tiangolo](https://github.com/tiangolo).

Translations

* 🌐 Sync German docs. PR [14367](https://github.com/fastapi/fastapi/pull/14367) by [nilslindemann](https://github.com/nilslindemann).

0.123.4

Fixes

* 🐛 Fix OpenAPI schema support for computed fields when using `separate_input_output_schemas=False`. PR [13207](https://github.com/fastapi/fastapi/pull/13207) by [vgrafe](https://github.com/vgrafe).

Docs

* 📝 Fix docstring of `servers` parameter. PR [14405](https://github.com/fastapi/fastapi/pull/14405) by [YuriiMotov](https://github.com/YuriiMotov).

0.123.3

Fixes

* 🐛 Fix Query\Header\Cookie parameter model alias. PR [14360](https://github.com/fastapi/fastapi/pull/14360) by [YuriiMotov](https://github.com/YuriiMotov).
* 🐛 Fix optional sequence handling in `serialize sequence value` with Pydantic V2. PR [14297](https://github.com/fastapi/fastapi/pull/14297) by [YuriiMotov](https://github.com/YuriiMotov).

0.123.2

Fixes

* 🐛 Fix unformatted `{type_}` in FastAPIError. PR [14416](https://github.com/fastapi/fastapi/pull/14416) by [Just-Helpful](https://github.com/Just-Helpful).
* 🐛 Fix parsing extra non-body parameter list. PR [14356](https://github.com/fastapi/fastapi/pull/14356) by [YuriiMotov](https://github.com/YuriiMotov).
* 🐛 Fix parsing extra `Form` parameter list. PR [14303](https://github.com/fastapi/fastapi/pull/14303) by [YuriiMotov](https://github.com/YuriiMotov).
* 🐛 Fix support for form values with empty strings interpreted as missing (`None` if that's the default), for compatibility with HTML forms. PR [13537](https://github.com/fastapi/fastapi/pull/13537) by [MarinPostma](https://github.com/MarinPostma).

Docs

* 📝 Add tip on how to install `pip` in case of `No module named pip` error in `virtual-environments.md`. PR [14211](https://github.com/fastapi/fastapi/pull/14211) by [zadevhub](https://github.com/zadevhub).
* 📝 Update Primary Key notes for the SQL databases tutorial to avoid confusion. PR [14120](https://github.com/fastapi/fastapi/pull/14120) by [FlaviusRaducu](https://github.com/FlaviusRaducu).
* 📝 Clarify estimation note in documentation. PR [14070](https://github.com/fastapi/fastapi/pull/14070) by [SaisakthiM](https://github.com/SaisakthiM).

0.123.1

Fixes

* 🐛 Avoid accessing non-existing "$ref" key for Pydantic v2 compat remapping. PR [14361](https://github.com/fastapi/fastapi/pull/14361) by [svlandeg](https://github.com/svlandeg).
* 🐛 Fix `TypeError` when encoding a decimal with a `NaN` or `Infinity` value. PR [12935](https://github.com/fastapi/fastapi/pull/12935) by [kentwelcome](https://github.com/kentwelcome).

Internal

* 🐛 Fix Windows UnicodeEncodeError in CLI test. PR [14295](https://github.com/fastapi/fastapi/pull/14295) by [hemanth-thirthahalli](https://github.com/hemanth-thirthahalli).
* 🔧 Update sponsors: add Greptile. PR [14429](https://github.com/fastapi/fastapi/pull/14429) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI GitHub topic repositories. PR [14426](https://github.com/fastapi/fastapi/pull/14426) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump markdown-include-variants from 0.0.6 to 0.0.7. PR [14423](https://github.com/fastapi/fastapi/pull/14423) by [YuriiMotov](https://github.com/YuriiMotov).
* 👥 Update FastAPI People - Sponsors. PR [14422](https://github.com/fastapi/fastapi/pull/14422) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI People - Contributors and Translators. PR [14420](https://github.com/fastapi/fastapi/pull/14420) by [tiangolo](https://github.com/tiangolo).

0.123.0

Fixes

* 🐛 Cache dependencies that don't use scopes and don't have sub-dependencies with scopes. PR [14419](https://github.com/fastapi/fastapi/pull/14419) by [tiangolo](https://github.com/tiangolo).

0.122.1

Fixes

* 🐛 Fix hierarchical security scope propagation. PR [5624](https://github.com/fastapi/fastapi/pull/5624) by [kristjanvalur](https://github.com/kristjanvalur).

Docs

* 💅 Update CSS to explicitly use emoji font. PR [14415](https://github.com/fastapi/fastapi/pull/14415) by [tiangolo](https://github.com/tiangolo).

Internal

* ⬆ Bump markdown-include-variants from 0.0.5 to 0.0.6. PR [14418](https://github.com/fastapi/fastapi/pull/14418) by [YuriiMotov](https://github.com/YuriiMotov).

0.122.0

Fixes

* 🐛 Use `401` status code in security classes when credentials are missing. PR [13786](https://github.com/fastapi/fastapi/pull/13786) by [YuriiMotov](https://github.com/YuriiMotov).
 * If your code depended on these classes raising the old (less correct) `403` status code, check the new docs about how to override the classes, to use the same old behavior: [Use Old 403 Authentication Error Status Codes](https://fastapi.tiangolo.com/how-to/authentication-error-status-code/).

Internal

* 🔧 Configure labeler to exclude files that start from underscore for `lang-all` label. PR [14213](https://github.com/fastapi/fastapi/pull/14213) by [YuriiMotov](https://github.com/YuriiMotov).
* 👷 Add pre-commit config with local script for permalinks. PR [14398](https://github.com/fastapi/fastapi/pull/14398) by [tiangolo](https://github.com/tiangolo).
* 💄 Use font Fira Code to fix display of Rich panels in docs in Windows. PR [14387](https://github.com/fastapi/fastapi/pull/14387) by [tiangolo](https://github.com/tiangolo).
* 👷 Add custom pre-commit CI. PR [14397](https://github.com/fastapi/fastapi/pull/14397) by [tiangolo](https://github.com/tiangolo).
* ⬆ Bump actions/checkout from 5 to 6. PR [14381](https://github.com/fastapi/fastapi/pull/14381) by [dependabot[bot]](https://github.com/apps/dependabot).
* 👷 Upgrade `latest-changes` GitHub Action and pin `actions/checkoutv5`. PR [14403](https://github.com/fastapi/fastapi/pull/14403) by [svlandeg](https://github.com/svlandeg).
* 🛠️ Add `add-permalinks` and `add-permalinks-page` to `scripts/docs.py`. PR [14033](https://github.com/fastapi/fastapi/pull/14033) by [YuriiMotov](https://github.com/YuriiMotov).
* 🔧 Upgrade Material for MkDocs and remove insiders. PR [14375](https://github.com/fastapi/fastapi/pull/14375) by [tiangolo](https://github.com/tiangolo).

0.121.3

Refactors

* ♻️ Make the result of `Depends()` and `Security()` hashable, as a workaround for other tools interacting with these internal parts. PR [14372](https://github.com/fastapi/fastapi/pull/14372) by [tiangolo](https://github.com/tiangolo).

Upgrades

* ⬆️ Bump Starlette to <`0.51.0`. PR [14282](https://github.com/fastapi/fastapi/pull/14282) by [musicinmybrain](https://github.com/musicinmybrain).

Docs

* 📝 Add missing hash part. PR [14369](https://github.com/fastapi/fastapi/pull/14369) by [nilslindemann](https://github.com/nilslindemann).
* 📝 Fix typos in code comments. PR [14364](https://github.com/fastapi/fastapi/pull/14364) by [Edge-Seven](https://github.com/Edge-Seven).
* 📝 Add docs for using FastAPI Cloud. PR [14359](https://github.com/fastapi/fastapi/pull/14359) by [tiangolo](https://github.com/tiangolo).

0.121.2

Fixes

* 🐛 Fix handling of JSON Schema attributes named "$ref". PR [14349](https://github.com/fastapi/fastapi/pull/14349) by [tiangolo](https://github.com/tiangolo).

Docs

* 📝 Add EuroPython talk & podcast episode with Sebastián Ramírez. PR [14260](https://github.com/fastapi/fastapi/pull/14260) by [clytaemnestra](https://github.com/clytaemnestra).
* ✏️ Fix links and add missing permalink in docs. PR [14217](https://github.com/fastapi/fastapi/pull/14217) by [YuriiMotov](https

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

* **Chores**
* Updated backend dependencies to newer versions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

@coderabbitai

coderabbitai Bot commented Apr 16, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The pull request updates the pinned fastapi dependency version in src/requirements.txt from 0.6.4 to 0.136.0. No other dependencies were modified, and no code changes were made.

Changes

Cohort / File(s) Summary
Dependency Update
src/requirements.txt
Updated fastapi pinned version from 0.6.4 to 0.136.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A hop and a bound, a version so grand,
FastAPI leaps forward across the land,
From 0.6.4 to 0.136's might,
Dependencies updated, everything's right! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title clearly and accurately summarizes the main change: updating the fastapi dependency from 0.6.4 to 0.136.0, which matches the file changes in src/requirements.txt.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pyup-update-fastapi-0.6.4-to-0.136.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/requirements.txt`:
- Line 3: Replace the deprecated pinned uvicorn==0.4.6 in requirements.txt with
a modern, secure release (for example update to uvicorn>=0.23.0 or pin to a
0.23.x release) to remove the log injection/HTTP response splitting
vulnerabilities and satisfy FastAPI's minimum uvicorn requirement; after
changing the uvicorn entry in requirements.txt, re-run dependency installation
and the test suite (and any security scanner) to ensure compatibility with
FastAPI and no regressions.
- Line 2: Pin the gitpython dependency in requirements.txt to a patched release
to avoid installing vulnerable versions; replace the bare "gitpython" entry with
a constrained spec such as "gitpython>=3.1.41,<4.0" (or an exact patched version
like "gitpython==3.1.41") and then regenerate any lock files or reinstall
dependencies to verify no regressions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0d61935a-1265-49aa-bac0-d79cdbb555fa

📥 Commits

Reviewing files that changed from the base of the PR and between d377ad0 and b2aef46.

📒 Files selected for processing (1)
  • src/requirements.txt

Comment thread src/requirements.txt
@@ -1,3 +1,3 @@
fastapi==0.6.4
fastapi==0.136.0
gitpython

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check gitpython security advisories and find patched version

gh api graphql -f query='
{
  securityVulnerabilities(first: 10, ecosystem: PIP, package: "gitpython") {
    nodes {
      advisory {
        summary
        severity
        publishedAt
      }
      vulnerableVersionRange
      firstPatchedVersion {
        identifier
      }
    }
  }
}'

Repository: salimfadhley/dockerized_python_playground

Length of output: 1360


Pin gitpython to a patched version to address critical security vulnerabilities.

The unpinned dependency allows installation of vulnerable versions with critical remote code execution flaws (patched in 3.1.32, 3.1.30), blind local file inclusion (patched in 3.1.37), and Windows search path execution vulnerabilities (patched in 3.1.33, 3.1.41).

-gitpython
+gitpython>=3.1.43
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
gitpython
gitpython>=3.1.43
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/requirements.txt` at line 2, Pin the gitpython dependency in
requirements.txt to a patched release to avoid installing vulnerable versions;
replace the bare "gitpython" entry with a constrained spec such as
"gitpython>=3.1.41,<4.0" (or an exact patched version like "gitpython==3.1.41")
and then regenerate any lock files or reinstall dependencies to verify no
regressions.

Comment thread src/requirements.txt
fastapi==0.6.4
fastapi==0.136.0
gitpython
uvicorn==0.4.6

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check FastAPI 0.136.0 uvicorn dependency requirements and security advisories

# Check for security advisories on uvicorn 0.4.6
gh api graphql -f query='
{
  securityVulnerabilities(first: 10, ecosystem: PIP, package: "uvicorn") {
    nodes {
      advisory {
        summary
        severity
        publishedAt
      }
      vulnerableVersionRange
      firstPatchedVersion {
        identifier
      }
    }
  }
}'

Repository: salimfadhley/dockerized_python_playground

Length of output: 521


🌐 Web query:

FastAPI 0.136.0 uvicorn version requirements

💡 Result:

FastAPI 0.136.0 does not appear to exist as of 2026-04-16. The latest version is 0.135.3 (released 2026-04-01). FastAPI does not have a direct runtime dependency on Uvicorn; Uvicorn is an optional dependency included in the [standard] extras. Uvicorn requirement: uvicorn[standard] >=0.12.0 (from pyproject.toml master branch and PyPI metadata for recent versions). To run a FastAPI app, install with: pip install "fastapi[standard]" This includes Uvicorn >=0.12.0 with high-performance extras like uvloop. No specific changes or tighter bounds for recent versions like 0.135.x; the minimum remains >=0.12.0 across all extras (standard, standard-no-fastapi-cloud-cli, all).

Citations:


Update uvicorn to a compatible version and address security vulnerabilities.

uvicorn 0.4.6 is deprecated and contains HIGH severity security vulnerabilities (log injection and HTTP response splitting affecting versions < 0.11.7). It is incompatible with any modern FastAPI version, which requires uvicorn >=0.12.0. Update to a recent version (0.23.x or later recommended).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/requirements.txt` at line 3, Replace the deprecated pinned uvicorn==0.4.6
in requirements.txt with a modern, secure release (for example update to
uvicorn>=0.23.0 or pin to a 0.23.x release) to remove the log injection/HTTP
response splitting vulnerabilities and satisfy FastAPI's minimum uvicorn
requirement; after changing the uvicorn entry in requirements.txt, re-run
dependency installation and the test suite (and any security scanner) to ensure
compatibility with FastAPI and no regressions.

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #570

@pyup-bot pyup-bot closed this Apr 23, 2026
@salimfadhley
salimfadhley deleted the pyup-update-fastapi-0.6.4-to-0.136.0 branch April 23, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant