Releases: fastapi/fastapi
Releases · fastapi/fastapi
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.
0.133.1
Features
- 🔧 Add FastAPI Agent Skill. PR #14982 by @tiangolo.
- Read more about it in Library Agent Skills.
Internal
- ✅ Fix all tests are skipped on Windows. PR #14994 by @YuriiMotov.
0.133.0
0.132.1
0.132.0
Breaking Changes
- 🔒️ Add
strict_content_typechecking for JSON requests. PR #14978 by @tiangolo.- Now FastAPI checks, by default, that JSON requests have a
Content-Typeheader with a valid JSON value, likeapplication/json, and rejects requests that don't. - If the clients for your app don't send a valid
Content-Typeheader you can disable this withstrict_content_type=False. - Check the new docs: Strict Content-Type Checking.
- Now FastAPI checks, by default, that JSON requests have a
Internal
- ⬆ Bump flask from 3.1.2 to 3.1.3. PR #14949 by @dependabot[bot].
- ⬆ Update all dependencies to use
griffelibinstead ofgriffe. PR #14973 by @svlandeg. - 🔨 Fix
FastAPI Peopleworkflow. PR #14951 by @YuriiMotov. - 👷 Do not run codspeed with coverage as it's not tracked. PR #14966 by @tiangolo.
- 👷 Do not include benchmark tests in coverage to speed up coverage processing. PR #14965 by @tiangolo.