Releases: fastapi/fastapi
Releases · fastapi/fastapi
0.136.3
0.136.2
Refactors
- ♻️ Validate Server Sent Event fields to avoid applications from sending broken data. PR #15588 by @tiangolo.
Docs
- 📝 Document
--entrypointCLI option. PR #15464 by @YuriiMotov. - 📝 Update and simplify docs about help and management. PR #15583 by @tiangolo.
- 📝 Add docs references to central contributing docs. PR #15580 by @tiangolo.
- 📝 Update security policy. PR #15577 by @tiangolo.
- 🍱 Update sponsors: TalorData image. PR #15562 by @tiangolo.
- 📝 Update docs, simplify usage of admonitions, only default ones. PR #15553 by @tiangolo.
- 📝 Fix image URLs in
index.md. PR #15534 by @YuriiMotov. - ✏️ Fix Azkaban spelling typo in
virtual-environments.md. PR #15463 by @isaacbernat. - 💄 Improve layout and styling. PR #15462 by @alejsdev.
- 💄 Refactor opinions section with interactive tabs and new logos. PR #15458 by @alejsdev.
- 📝 Add FastAPI Conf '26 announcement to docs. PR #15457 by @alejsdev.
Translations
- 🌐 Improve translation consistency in
docs/pt/docs/advanced/generate-clients.md. PR #15456 by @Will-thom. - 🌐 Update translations for ja (update-outdated). PR #15530 by @tiangolo.
- 🌐 Update translations for uk (update-outdated). PR #15529 by @tiangolo.
- 🌐 Update translations for pt (update-outdated). PR #15528 by @tiangolo.
- 🌐 Update translations for de (update-outdated). PR #15527 by @tiangolo.
- 🌐 Update translations for tr (update-outdated). PR #15526 by @tiangolo.
- 🌐 Update translations for ko (update-outdated). PR #15525 by @tiangolo.
- 🌐 Update translations for zh-hant (update-outdated). PR #15524 by @tiangolo.
- 🌐 Update translations for fr (update-outdated). PR #15522 by @tiangolo.
- 🌐 Update translations for es (update-outdated). PR #15523 by @tiangolo.
- 🌐 Update translations for zh (update-outdated). PR #15520 by @tiangolo.
- 🌐 Update translations for ru (update-outdated). PR #15521 by @tiangolo.
- 🌐 Fix typos in Spanish LLM-prompt. PR #15472 by @crr004.
Internal
- ✅ Update tests, don't double dispose the engine. PR #15587 by @tiangolo.
- ⚡️ Speed up test suite via caching and fixture scopes to make it ~24% faster. PR #13583 by @dikos1337.
- 🔥 Remove config files now in central GitHub repo. PR #15585 by @tiangolo.
- ⬆ Bump urllib3 from 2.6.3 to 2.7.0. PR #15502 by @dependabot[bot].
- ⬆ Bump idna from 3.11 to 3.15. PR #15565 by @dependabot[bot].
- ⬆ Bump cloudflare/wrangler-action from 3.15.0 to 4.0.0. PR #15571 by @dependabot[bot].
- 🔧 Migrate docs from MkDocs to Zensical. PR #15563 by @tiangolo.
- 🔒️ Only allow team members to modify dependencies. PR #15548 by @svlandeg.
- ⬆ Bump actions/add-to-project from 1.0.2 to 2.0.0. PR #15490 by @dependabot[bot].
- ⬆ Bump actions/labeler from 6.0.1 to 6.1.0. PR #15507 by @dependabot[bot].
- 🔧 Remove Ruff ignored rule for tabs. PR #15533 by @tiangolo.
- 🔧 Update sponsors badge. PR #15532 by @tiangolo.
- 🔧 Add sponsor: TalorData. PR #15531 by @tiangolo.
- ⬆ Bump ty from 0.0.21 to 0.0.34. PR #15443 by @dependabot[bot].
- ⬆ Bump pydantic from 2.13.2 to 2.13.3. PR #15444 by @dependabot[bot].
- 👷 Add pre-commit to check typos. PR #15482 by @tiangolo.
- 👥 Update FastAPI GitHub topic repositories. PR #15470 by @tiangolo.
- 👥 Update FastAPI People - Experts. PR #15471 by @tiangolo.
- 👥 Update FastAPI People - Contributors and Translators. PR #15467 by @tiangolo.
- 👷 Fix missing credentials issue in
translateworkflow. PR #15468 by @YuriiMotov. - ⬆ Bump sqlmodel from 0.0.32 to 0.0.38. PR #15437 by @dependabot[bot].
- ⬆ Bump CodSpeedHQ/action from 4.12.1 to 4.14.0. PR #15436 by @dependabot[bot].
- ⬆ Bump pydantic from 2.12.5 to 2.13.2. PR #15439 by @dependabot[bot].
- ⬆ Bump pydantic-ai from 1.63.0 to 1.83.0. PR #15417 by @dependabot[bot].
- ⬆ Bump prek from 0.3.2 to 0.3.9. PR #15418 by @dependabot[bot].
- ⬆ Bump fastar from 0.9.0 to 0.11.0. PR #15419 by @dependabot[bot].
- ⬆ Bump astral-sh/setup-uv from 7.6.0 to 8.1.0. PR #15415 by @dependabot[bot].
0.136.1
Upgrades
Internal
- 🔨 Tweak translation script. PR #15174 by @YuriiMotov.
- ⬆ Bump mkdocs-material from 9.7.1 to 9.7.6. PR #15408 by @dependabot[bot].
- ⬆ Bump inline-snapshot from 0.31.1 to 0.32.6. PR #15409 by @dependabot[bot].
- ⬆ Bump pytest-codspeed from 4.3.0 to 4.4.0. PR #15407 by @dependabot[bot].
- ⬆ Bump pytest-cov from 7.0.0 to 7.1.0. PR #15406 by @dependabot[bot].
- ⬆ Bump cloudflare/wrangler-action from 3.14.1 to 3.15.0. PR #15405 by @dependabot[bot].
- ⬆ Bump mypy from 1.19.1 to 1.20.1. PR #15410 by @dependabot[bot].
- ⬆ Bump python-dotenv from 1.2.1 to 1.2.2. PR #15400 by @dependabot[bot].
- ⬆ Bump starlette from 0.52.1 to 1.0.0. PR #15397 by @dependabot[bot].
- ⬆ Bump pygithub from 2.8.1 to 2.9.1. PR #15396 by @dependabot[bot].
- ⬆ Bump pyjwt from 2.12.0 to 2.12.1. PR #15393 by @dependabot[bot].
- ⬆ Bump zizmor from 1.23.1 to 1.24.1. PR #15394 by @dependabot[bot].
- ⬆ Bump strawberry-graphql from 0.312.3 to 0.314.3. PR #15395 by @dependabot[bot].
- ⬆ Bump python-multipart from 0.0.22 to 0.0.26. PR #15360 by @dependabot[bot].
- ⬆ Bump authlib from 1.6.9 to 1.6.11. PR #15373 by @dependabot[bot].
- ⬆ Bump aiohttp from 3.13.3 to 3.13.4. PR #15282 by @dependabot[bot].
- ⬆ Bump pygments from 2.19.2 to 2.20.0. PR #15263 by @dependabot[bot].
- ⬆ Bump pymdown-extensions from 10.20.1 to 10.21.2. PR #15391 by @YuriiMotov.
- ⬆ Bump pillow from 12.1.1 to 12.2.0. PR #15333 by @dependabot[bot].
- ⬆ Bump pytest from 9.0.2 to 9.0.3. PR #15334 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 7.0.0 to 7.0.1. PR #15374 by @dependabot[bot].
- ⬆ Bump actions/cache from 5.0.4 to 5.0.5. PR #15385 by @dependabot[bot].
- 🔧 Update sponsors: remove Zuplo. PR #15369 by @tiangolo.
- 🔧 Update sponsors: remove Speakeasy. PR #15368 by @tiangolo.
- 🔒️ Add zizmor and fix audit findings. PR #15316 by @YuriiMotov.
0.136.0
0.135.4
Refactors
Internal
- ⬆ Bump cryptography from 46.0.5 to 46.0.7. PR #15314 by @dependabot[bot].
- ⬆ Bump strawberry-graphql from 0.307.1 to 0.312.3. PR #15309 by @dependabot[bot].
- 🔨 Add pre-commit hook to ensure latest release header has date. PR #15293 by @YuriiMotov.
0.135.3
Features
- ✨ Add support for
@app.vibe(). PR #15280 by @tiangolo.- New docs: Vibe Coding.
Docs
Internal
- 👥 Update FastAPI People - Experts. PR #15279 by @tiangolo.
- ⬆ Bump orjson from 3.11.7 to 3.11.8. PR #15276 by @dependabot[bot].
- ⬆ Bump ruff from 0.15.0 to 0.15.8. PR #15277 by @dependabot[bot].
- 👥 Update FastAPI GitHub topic repositories. PR #15274 by @tiangolo.
- ⬆ Bump fastmcp from 2.14.5 to 3.2.0. PR #15267 by @dependabot[bot].
- 👥 Update FastAPI People - Contributors and Translators. PR #15270 by @tiangolo.
- ⬆ Bump requests from 2.32.5 to 2.33.0. PR #15228 by @dependabot[bot].
- 👷 Add ty check to
lint.sh. PR #15136 by @svlandeg.
0.135.2
Upgrades
Docs
- 📝 Add missing last release notes dates. PR #15202 by @tiangolo.
- 📝 Update docs for contributors and team members regarding translation PRs. PR #15200 by @YuriiMotov.
- 💄 Fix code blocks in reference docs overflowing table width. PR #15094 by @YuriiMotov.
- 📝 Fix duplicated words in docstrings. PR #15116 by @AhsanSheraz.
- 📝 Add docs for
pyproject.tomlwithentrypoint. PR #15075 by @tiangolo. - 📝 Update links in docs to no longer use the classes external-link and internal-link. PR #15061 by @tiangolo.
- 🔨 Add JS and CSS handling for automatic
target=_blankfor links in docs. PR #15063 by @tiangolo. - 💄 Update styles for internal and external links in new tab. PR #15058 by @tiangolo.
- 📝 Add documentation for the FastAPI VS Code extension. PR #15008 by @savannahostrowski.
- 📝 Fix doctrings for
max_digitsanddecimal_places. PR #14944 by @YuriiMotov. - 📝 Add dates to release notes. PR #15001 by @YuriiMotov.
Translations
- 🌐 Update translations for zh (update-outdated). PR #15177 by @tiangolo.
- 🌐 Update translations for zh-hant (update-outdated). PR #15178 by @tiangolo.
- 🌐 Update translations for zh-hant (add-missing). PR #15176 by @tiangolo.
- 🌐 Update translations for zh (add-missing). PR #15175 by @tiangolo.
- 🌐 Update translations for ja (update-outdated). PR #15171 by @tiangolo.
- 🌐 Update translations for ko (update-outdated). PR #15170 by @tiangolo.
- 🌐 Update translations for tr (update-outdated). PR #15172 by @tiangolo.
- 🌐 Update translations for ko (add-missing). PR #15168 by @tiangolo.
- 🌐 Update translations for ja (add-missing). PR #15167 by @tiangolo.
- 🌐 Update translations for tr (add-missing). PR #15169 by @tiangolo.
- 🌐 Update translations for fr (update-outdated). PR #15165 by @tiangolo.
- 🌐 Update translations for fr (add-missing). PR #15163 by @tiangolo.
- 🌐 Update translations for uk (update-outdated). PR #15160 by @tiangolo.
- 🌐 Update translations for uk (add-missing). PR #15158 by @tiangolo.
- 🌐 Update translations for pt (add-missing). PR #15157 by @tiangolo.
- 🌐 Update translations for pt (update-outdated). PR #15159 by @tiangolo.
- 🌐 Update translations for es (update-outdated). PR #15155 by @tiangolo.
- 🌐 Update translations for es (add-missing). PR #15154 by @tiangolo.
- 🌐 Update translations for de (update-outdated). PR #15156 by @tiangolo.
- 🌐 Update translations for ru (update-and-add). PR #15152 by @tiangolo.
- 🌐 Update translations for de (add-missing). PR #15153 by @tiangolo.
Internal
- 🔨 Exclude spam comments from statistics in
scripts/people.py. PR #15088 by @YuriiMotov. - ⬆ Bump authlib from 1.6.7 to 1.6.9. PR #15128 by @dependabot[bot].
- ⬆ Bump pyasn1 from 0.6.2 to 0.6.3. PR #15143 by @dependabot[bot].
- ⬆ Bump ujson from 5.11.0 to 5.12.0. PR #15150 by @dependabot[bot].
- 🔨 Tweak translation workflow and translation fixer tool. PR #15166 by @YuriiMotov.
- 🔨 Fix
commit_in_placepassed via env variable intranslate.ymlworkflow. PR #15151 by @YuriiMotov. - 🔨 Update translation general prompt to enforce link style in translation matches the original link style. PR #15148 by @YuriiMotov.
- 👷 Re-enable translation workflow run by cron in CI (twice a month). PR #15145 by @YuriiMotov.
- 👷 Add
tyto precommit. PR #15091 by @svlandeg. - ⬆ Bump dorny/paths-filter from 3 to 4. PR #15106 by @dependabot[bot].
- ⬆ Bump cairosvg from 2.8.2 to 2.9.0. PR #15108 by @dependabot[bot].
- ⬆ Bump pyjwt from 2.11.0 to 2.12.0. PR #15110 by @dependabot[bot].
- ⬆ Bump black from 26.1.0 to 26.3.1. PR #15100 by @dependabot[bot].
- 🔨 Update script to autofix permalinks to account for headers with Markdown links. PR #15062 by @tiangolo.
- 📌 Pin Click for MkDocs live reload. PR #15057 by @tiangolo.
- ⬆ Bump werkzeug from 3.1.5 to 3.1.6. PR #14948 by @dependabot[bot].
- ⬆ Bump pydantic-ai from 1.62.0 to 1.63.0. PR #15035 by @dependabot[bot].
- ⬆ Bump pytest-codspeed from 4.2.0 to 4.3.0. PR #15034 by @dependabot[bot].
- ⬆ Bump strawberry-graphql from 0.291.2 to 0.307.1. PR #15033 by @dependabot[bot].
- ⬆ Bump typer from 0.21.1 to 0.24.1. PR #15032 by @dependabot[bot].
- ⬆ Bump actions/download-artifact from 7 to 8. PR #15020 by @dependabot[bot].
- ⬆ Bump actions/upload-artifact from 6 to 7. PR #15019 by @dependabot[bot].
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 by @tiangolo.
Docs
- ✏️ Fix typo in
docs/en/docs/_llm-test.md. PR #15007 by @adityagiri3600. - 📝 Update Skill, optimize context, trim and refactor into references. PR #15031 by @tiangolo.
Internal
0.135.0
0.134.0
Features
- ✨ Add support for streaming JSON Lines and binary data with
yield. PR #15022 by @tiangolo.- This also upgrades Starlette from
>=0.40.0to>=0.46.0, as it's needed to properly unrwap and re-raise exceptions from exception groups. - New docs: Stream JSON Lines.
- And new docs: Stream Data.
- This also upgrades Starlette from
Docs
- 📝 Update Library Agent Skill with streaming responses. PR #15024 by @tiangolo.
- 📝 Update docs for responses and new stream with
yield. PR #15023 by @tiangolo. - 📝 Add
awaitinStreamingResponsecode example to allow cancellation. PR #14681 by @casperdcl. - 📝 Rename
docs_src/websocketstodocs_src/websockets_to avoid import errors. PR #14979 by @YuriiMotov.
Internal
- 🔨 Run tests with
pytest-xdistandpytest-cov. PR #14992 by @YuriiMotov.