Fastapi

Latest version: v0.115.12

Safety actively analyzes 723166 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 19 of 35

0.61.2

Not secure
Fixes

* 📌 Relax Swagger UI version pin. PR [2089](https://github.com/tiangolo/fastapi/pull/2089) by [jmriebold](https://github.com/jmriebold).
* 🐛 Fix bug overriding custom HTTPException and RequestValidationError from exception_handlers. PR [1924](https://github.com/tiangolo/fastapi/pull/1924) by [uriyyo](https://github.com/uriyyo).
* ✏️ Fix typo on dependencies utils and cleanup unused variable. PR [1912](https://github.com/tiangolo/fastapi/pull/1912) by [Kludex](https://github.com/Kludex).

Docs

* ✏️ Fix typo in Tutorial - Path Parameters. PR [2231](https://github.com/tiangolo/fastapi/pull/2231) by [mariacamilagl](https://github.com/mariacamilagl).
* ✏ Fix a stylistic error in docs. PR [2206](https://github.com/tiangolo/fastapi/pull/2206) by [ddobrinskiy](https://github.com/ddobrinskiy).
* ✏ Fix capitalizaiton typo in docs. PR [2204](https://github.com/tiangolo/fastapi/pull/2204) by [imba-tjd](https://github.com/imba-tjd).
* ✏ Fix typo in docs. PR [2179](https://github.com/tiangolo/fastapi/pull/2179) by [ammarasmro](https://github.com/ammarasmro).
* 📝 Update/fix links in docs to use HTTPS. PR [2165](https://github.com/tiangolo/fastapi/pull/2165) by [imba-tjd](https://github.com/imba-tjd).
* ✏ Fix typos and add rewording in docs. PR [2159](https://github.com/tiangolo/fastapi/pull/2159) by [nukopy](https://github.com/nukopy).
* 📝 Fix code consistency in examples for Tutorial - User Guide - Path Parameters. PR [2158](https://github.com/tiangolo/fastapi/pull/2158) by [nukopy](https://github.com/nukopy).
* 📝 Fix renamed parameter `content_type` typo. PR [2135](https://github.com/tiangolo/fastapi/pull/2135) by [TeoZosa](https://github.com/TeoZosa).
* ✏ Fix minor typos in docs. PR [2122](https://github.com/tiangolo/fastapi/pull/2122) by [TeoZosa](https://github.com/TeoZosa).
* ✏ Fix typos in docs and source examples. PR [2102](https://github.com/tiangolo/fastapi/pull/2102) by [AdrianDeAnda](https://github.com/AdrianDeAnda).
* ✏ Fix incorrect Celery URLs in docs. PR [2100](https://github.com/tiangolo/fastapi/pull/2100) by [CircleOnCircles](https://github.com/CircleOnCircles).
* 📝 Simplify intro to Python Types, all currently supported Python versions include type hints 🎉. PR [2085](https://github.com/tiangolo/fastapi/pull/2085) by [ninjaaron](https://github.com/ninjaaron).
* 📝 Fix example code with sets in Tutorial - Body - Nested Models 3. PR [2054](https://github.com/tiangolo/fastapi/pull/2054) by [hitrust](https://github.com/hitrust).
* 📝 Fix example code with sets in Tutorial - Body - Nested Models 2. PR [2053](https://github.com/tiangolo/fastapi/pull/2053) by [hitrust](https://github.com/hitrust).
* 📝 Fix example code with sets in Tutorial - Body - Nested Models. PR [2052](https://github.com/tiangolo/fastapi/pull/2052) by [hitrust](https://github.com/hitrust).
* ✏ Fix typo in Benchmarks. PR [1995](https://github.com/tiangolo/fastapi/pull/1995) by [AlejoAsd](https://github.com/AlejoAsd).
* 📝 Add note in CORS tutorial about allow_origins with ["*"] and allow_credentials. PR [1895](https://github.com/tiangolo/fastapi/pull/1895) by [dsmurrell](https://github.com/dsmurrell).
* 📝 Add deployment to Deta, the first gold sponsor 🎉. PR [2303](https://github.com/tiangolo/fastapi/pull/2303) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI People. PR [2282](https://github.com/tiangolo/fastapi/pull/2282) by [github-actions[bot]](https://github.com/apps/github-actions).
* ✏️ Fix uppercase in Tutorial - Query parameters. PR [2245](https://github.com/tiangolo/fastapi/pull/2245) by [mariacamilagl](https://github.com/mariacamilagl).
* 📝 Add articles to External Links. PR [2247](https://github.com/tiangolo/fastapi/pull/2247) by [tiangolo](https://github.com/tiangolo).
* ✏ Fix typo in Spanish tutorial index. PR [2020](https://github.com/tiangolo/fastapi/pull/2020) by [aviloncho](https://github.com/aviloncho).

Translations

* 🌐 Add Japanese translation for Advanced Tutorial - Response Directly. PR [2191](https://github.com/tiangolo/fastapi/pull/2191) by [Attsun1031](https://github.com/Attsun1031).
* 📝 Add Japanese translation for Tutorial - Security - First Steps. PR [2153](https://github.com/tiangolo/fastapi/pull/2153) by [komtaki](https://github.com/komtaki).
* 🌐 Add Japanese translation for Tutorial - Query Parameters and String Validations. PR [1901](https://github.com/tiangolo/fastapi/pull/1901) by [SwftAlpc](https://github.com/SwftAlpc).
* 🌐 Add Portuguese translation for External Links. PR [1443](https://github.com/tiangolo/fastapi/pull/1443) by [Serrones](https://github.com/Serrones).
* 🌐 Add Japanese translation for Tutorial - CORS. PR [2125](https://github.com/tiangolo/fastapi/pull/2125) by [tokusumi](https://github.com/tokusumi).
* 🌐 Add Japanese translation for Contributing. PR [2067](https://github.com/tiangolo/fastapi/pull/2067) by [komtaki](https://github.com/komtaki).
* 🌐 Add Japanese translation for Project Generation. PR [2050](https://github.com/tiangolo/fastapi/pull/2050) by [tokusumi](https://github.com/tokusumi).
* 🌐 Add Japanese translation for Alternatives. PR [2043](https://github.com/tiangolo/fastapi/pull/2043) by [Attsun1031](https://github.com/Attsun1031).
* 🌐 Add Japanese translation for History Design and Future. PR [2002](https://github.com/tiangolo/fastapi/pull/2002) by [komtaki](https://github.com/komtaki).
* 🌐 Add Japanese translation for Benchmarks. PR [1992](https://github.com/tiangolo/fastapi/pull/1992) by [komtaki](https://github.com/komtaki).
* 🌐 Add Japanese translation for Tutorial - Header Parameters. PR [1935](https://github.com/tiangolo/fastapi/pull/1935) by [SwftAlpc](https://github.com/SwftAlpc).
* 🌐 Add Portuguese translation for Tutorial - First Steps. PR [1861](https://github.com/tiangolo/fastapi/pull/1861) by [jessicapaz](https://github.com/jessicapaz).
* 🌐 Add Portuguese translation for Python Types. PR [1796](https://github.com/tiangolo/fastapi/pull/1796) by [izaguerreiro](https://github.com/izaguerreiro).
* 🌐 Add Japanese translation for Help FastAPI. PR [1692](https://github.com/tiangolo/fastapi/pull/1692) by [tokusumi](https://github.com/tokusumi).
* 🌐 Add Japanese translation for Tutorial - Body. PR [1683](https://github.com/tiangolo/fastapi/pull/1683) by [tokusumi](https://github.com/tokusumi).
* 🌐 Add Japanese translation for Tutorial - Query Params. PR [1674](https://github.com/tiangolo/fastapi/pull/1674) by [tokusumi](https://github.com/tokusumi).
* 🌐 Add Japanese translation for tutorial/path-params.md. PR [1671](https://github.com/tiangolo/fastapi/pull/1671) by [tokusumi](https://github.com/tokusumi).
* 🌐 Add Japanese translation for tutorial/first-steps.md. PR [1658](https://github.com/tiangolo/fastapi/pull/1658) by [tokusumi](https://github.com/tokusumi).
* 🌐 Add Japanese translation for tutorial/index.md. PR [1656](https://github.com/tiangolo/fastapi/pull/1656) by [tokusumi](https://github.com/tokusumi).
* 🌐 Add translation to Portuguese for Project Generation. PR [1602](https://github.com/tiangolo/fastapi/pull/1602) by [Serrones](https://github.com/Serrones).
* 🌐 Add Japanese translation for Features. PR [1625](https://github.com/tiangolo/fastapi/pull/1625) by [tokusumi](https://github.com/tokusumi).
* 🌐 Initialize new language Korean for translations. PR [2018](https://github.com/tiangolo/fastapi/pull/2018) by [hard-coders](https://github.com/hard-coders).
* 🌐 Add Portuguese translation of Deployment. PR [1374](https://github.com/tiangolo/fastapi/pull/1374) by [Serrones](https://github.com/Serrones).

Internal

* 🔥 Cleanup after upgrade for Docs Previews GitHub Action. PR [2248](https://github.com/tiangolo/fastapi/pull/2248) by [tiangolo](https://github.com/tiangolo).
* 🐛 Fix CI docs preview, unzip docs. PR [2246](https://github.com/tiangolo/fastapi/pull/2246) by [tiangolo](https://github.com/tiangolo).
* ✨ Add instant docs deploy previews for PRs from forks. PR [2244](https://github.com/tiangolo/fastapi/pull/2244) by [tiangolo](https://github.com/tiangolo).
* ⚡️ Build docs for languages in parallel in subprocesses to speed up CI. PR [2242](https://github.com/tiangolo/fastapi/pull/2242) by [tiangolo](https://github.com/tiangolo).
* 🐛 Fix docs order generation for partial translations. PR [2238](https://github.com/tiangolo/fastapi/pull/2238) by [tiangolo](https://github.com/tiangolo).
* 👥 Update FastAPI People. PR [2202](https://github.com/tiangolo/fastapi/pull/2202) by [github-actions[bot]](https://github.com/apps/github-actions).
* ♻️ Update FastAPI People GitHub Action to send the PR as github-actions. PR [2201](https://github.com/tiangolo/fastapi/pull/2201) by [tiangolo](https://github.com/tiangolo).
* 🔧 Update FastAPI People GitHub Action config, run monthly. PR [2199](https://github.com/tiangolo/fastapi/pull/2199) by [tiangolo](https://github.com/tiangolo).
* 🐛 Fix FastAPI People GitHub Action Docker dependency, strike 1 ⚾. PR [2198](https://github.com/tiangolo/fastapi/pull/2198) by [tiangolo](https://github.com/tiangolo).
* 🐛 Fix FastAPI People GitHub Action Docker dependencies. PR [2197](https://github.com/tiangolo/fastapi/pull/2197) by [tiangolo](https://github.com/tiangolo).
* 🐛 Fix FastAPI People GitHub Action when there's nothing to change. PR [2196](https://github.com/tiangolo/fastapi/pull/2196) by [tiangolo](https://github.com/tiangolo).
* 👥 Add new section FastAPI People. PR [2195](https://github.com/tiangolo/fastapi/pull/2195) by [tiangolo](https://github.com/tiangolo).
* ⬆️ Upgrade GitHub Action Latest Changes. PR [2190](https://github.com/tiangolo/fastapi/pull/2190) by [tiangolo](https://github.com/tiangolo).
* ⬆️ Upgrade GitHub Action Label Approved. PR [2189](https://github.com/tiangolo/fastapi/pull/2189) by [tiangolo](https://github.com/tiangolo).
* 🔧 Update GitHub Action Label Approved, run at 12:00. PR [2185](https://github.com/tiangolo/fastapi/pull/2185) by [tiangolo](https://github.com/tiangolo).
* 👷 Upgrade GitHub Action Latest Changes. PR [2184](https://github.com/tiangolo/fastapi/pull/2184) by [tiangolo](https://github.com/tiangolo).
* 👷 Set GitHub Action Label Approved to run daily, not every minute. PR [2163](https://github.com/tiangolo/fastapi/pull/2163) by [tiangolo](https://github.com/tiangolo).
* 🔥 Remove pr-approvals GitHub Action as it's not compatible with forks. Use the new one. PR [2162](https://github.com/tiangolo/fastapi/pull/2162) by [tiangolo](https://github.com/tiangolo).
* 👷 Add GitHub Action Latest Changes. PR [2160](https://github.com/tiangolo/fastapi/pull/2160).
* 👷 Add GitHub Action Label Approved. PR [2161](https://github.com/tiangolo/fastapi/pull/2161).

0.61.1

Not secure
Fixes

* Fix issues using `jsonable_encoder` with SQLAlchemy models directly. PR [1987](https://github.com/tiangolo/fastapi/pull/1987).

Docs

* Fix typo in NoSQL docs. PR [1980](https://github.com/tiangolo/fastapi/pull/1980) by [facundojmaero](https://github.com/facundojmaero).

Translations

* Add translation for [main page to Japanese](https://fastapi.tiangolo.com/ja/) PR [#1571](https://github.com/tiangolo/fastapi/pull/1571) by [ryuckel](https://github.com/ryuckel).
* Initialize French translations. PR [1975](https://github.com/tiangolo/fastapi/pull/1975) by [JulianMaurin-BM](https://github.com/JulianMaurin-BM).
* Initialize Turkish translations. PR [1905](https://github.com/tiangolo/fastapi/pull/1905) by [ycd](https://github.com/ycd).

Internal

* Improve docs maintainability by updating `hl_lines` syntax to use ranges. PR [1863](https://github.com/tiangolo/fastapi/pull/1863) by [la-mar](https://github.com/la-mar).

0.61.0

Not secure
Features

* Add support for injecting `HTTPConnection` (as `Request` and `WebSocket`). Useful for sharing app state in dependencies. PR [1827](https://github.com/tiangolo/fastapi/pull/1827) by [nsidnev](https://github.com/nsidnev).
* Export `WebSocketDisconnect` and add example handling WebSocket disconnections to docs. PR [1822](https://github.com/tiangolo/fastapi/pull/1822) by [rkbeatss](https://github.com/rkbeatss).

Breaking Changes

* Require Pydantic > `1.0.0`.
* Remove support for deprecated Pydantic `0.32.2`. This improves maintainability and allows new features.
* In `FastAPI` and `APIRouter`:
* Remove *path operation decorators* related/deprecated parameter `response_model_skip_defaults` (use `response_model_exclude_unset` instead).
* Change *path operation decorators* parameter default for `response_model_exclude` from `set()` to `None` (as is in Pydantic).
* In `encoders.jsonable_encoder`:
* Remove deprecated `skip_defaults`, use instead `exclude_unset`.
* Set default of `exclude` from `set()` to `None` (as is in Pydantic).
* PR [1862](https://github.com/tiangolo/fastapi/pull/1862).
* In `encoders.jsonable_encoder` remove parameter `sqlalchemy_safe`.
* It was an early hack to allow returning SQLAlchemy models, but it was never documented, and the recommended way is using Pydantic's `orm_mode` as described in the tutorial: [SQL (Relational) Databases](https://fastapi.tiangolo.com/tutorial/sql-databases/).
* PR [1864](https://github.com/tiangolo/fastapi/pull/1864).

Docs

* Add link to the course by TestDriven.io: [Test-Driven Development with FastAPI and Docker](https://testdriven.io/courses/tdd-fastapi/). PR [#1860](https://github.com/tiangolo/fastapi/pull/1860).
* Fix empty log message in docs example about handling errors. PR [1815](https://github.com/tiangolo/fastapi/pull/1815) by [manlix](https://github.com/manlix).
* Reword text to reduce ambiguity while not being gender-specific. PR [1824](https://github.com/tiangolo/fastapi/pull/1824) by [Mause](https://github.com/Mause).

Internal

* Add Flake8 linting. Original PR [1774](https://github.com/tiangolo/fastapi/pull/1774) by [MashhadiNima](https://github.com/MashhadiNima).
* Disable Gitter bot, as it's currently broken, and Gitter's response doesn't show the problem. PR [1853](https://github.com/tiangolo/fastapi/pull/1853).

0.60.2

Not secure
* Fix typo in docs for query parameters. PR [1832](https://github.com/tiangolo/fastapi/pull/1832) by [ycd](https://github.com/ycd).
* Add docs about [Async Tests](https://fastapi.tiangolo.com/advanced/async-tests/). PR [#1619](https://github.com/tiangolo/fastapi/pull/1619) by [empicano](https://github.com/empicano).
* Raise an exception when using form data (`Form`, `File`) without having `python-multipart` installed.
* Up to now the application would run, and raise an exception only when receiving a request with form data, the new behavior, raising early, will prevent from deploying applications with broken dependencies.
* It also detects if the correct package `python-multipart` is installed instead of the incorrect `multipart` (both importable as `multipart`).
* PR [1851](https://github.com/tiangolo/fastapi/pull/1851) based on original PR [#1627](https://github.com/tiangolo/fastapi/pull/1627) by [chrisngyn](https://github.com/chrisngyn), [YKo20010](https://github.com/YKo20010), [kx-chen](https://github.com/kx-chen).
* Re-enable Gitter releases bot. PR [1831](https://github.com/tiangolo/fastapi/pull/1831).
* Add link to async SQL databases tutorial from main SQL tutorial. PR [1813](https://github.com/tiangolo/fastapi/pull/1813) by [short2strings](https://github.com/short2strings).
* Fix typo in tutorial about behind a proxy. PR [1807](https://github.com/tiangolo/fastapi/pull/1807) by [toidi](https://github.com/toidi).
* Fix typo in Portuguese docs. PR [1795](https://github.com/tiangolo/fastapi/pull/1795) by [izaguerreiro](https://github.com/izaguerreiro).
* Add translations setup for Ukrainian. PR [1830](https://github.com/tiangolo/fastapi/pull/1830).
* Add external link [Build And Host Fast Data Science Applications Using FastAPI](https://towardsdatascience.com/build-and-host-fast-data-science-applications-using-fastapi-823be8a1d6a0). PR [#1786](https://github.com/tiangolo/fastapi/pull/1786) by [Kludex](https://github.com/Kludex).
* Fix encoding of Pydantic models that inherit from others models with custom `json_encoders`. PR [1769](https://github.com/tiangolo/fastapi/pull/1769) by [henrybetts](https://github.com/henrybetts).
* Simplify and improve `jsonable_encoder`. PR [1754](https://github.com/tiangolo/fastapi/pull/1754) by [MashhadiNima](https://github.com/MashhadiNima).
* Simplify internal code syntax in several points. PR [1753](https://github.com/tiangolo/fastapi/pull/1753) by [uriyyo](https://github.com/uriyyo).
* Improve internal typing, declare `Optional` parameters. PR [1731](https://github.com/tiangolo/fastapi/pull/1731) by [MashhadiNima](https://github.com/MashhadiNima).
* Add external link [Deploy FastAPI on Azure App Service](https://www.tutlinks.com/deploy-fastapi-on-azure/) to docs. PR [#1726](https://github.com/tiangolo/fastapi/pull/1726) by [windson](https://github.com/windson).
* Add link to Starlette docs about WebSocket testing. PR [1717](https://github.com/tiangolo/fastapi/pull/1717) by [hellocoldworld](https://github.com/hellocoldworld).
* Refactor generating dependant, merge for loops. PR [1714](https://github.com/tiangolo/fastapi/pull/1714) by [Bloodielie](https://github.com/Bloodielie).
* Update example for templates with Jinja to include HTML media type. PR [1690](https://github.com/tiangolo/fastapi/pull/1690) by [frafra](https://github.com/frafra).
* Fix typos in docs for security. PR [1678](https://github.com/tiangolo/fastapi/pull/1678) by [nilslindemann](https://github.com/nilslindemann).
* Fix typos in docs for dependencies. PR [1675](https://github.com/tiangolo/fastapi/pull/1675) by [nilslindemann](https://github.com/nilslindemann).
* Fix type annotation for `**extra` parameters in `FastAPI`. PR [1659](https://github.com/tiangolo/fastapi/pull/1659) by [bharel](https://github.com/bharel).
* Bump MkDocs Material to fix docs in browsers with dark mode. PR [1789](https://github.com/tiangolo/fastapi/pull/1789) by [adriencaccia](https://github.com/adriencaccia).
* Remove docs preview comment from each commit. PR [1826](https://github.com/tiangolo/fastapi/pull/1826).
* Update GitHub context extraction for Gitter notification bot. PR [1766](https://github.com/tiangolo/fastapi/pull/1766).

0.60.1

Not secure
* Add debugging logs for GitHub actions to introspect GitHub hidden context. PR [1764](https://github.com/tiangolo/fastapi/pull/1764).
* Use OS preference theme for online docs. PR [1760](https://github.com/tiangolo/fastapi/pull/1760) by [adriencaccia](https://github.com/adriencaccia).
* Upgrade Starlette to version `0.13.6` to handle a vulnerability when using static files in Windows. PR [1759](https://github.com/tiangolo/fastapi/pull/1759) by [jamesag26](https://github.com/jamesag26).
* Pin Swagger UI temporarily, waiting for a fix for [swagger-api/swagger-ui6249](https://github.com/swagger-api/swagger-ui/issues/6249). PR [#1763](https://github.com/tiangolo/fastapi/pull/1763).
* Update GitHub Actions, use commit from PR for docs preview, not commit from pre-merge. PR [1761](https://github.com/tiangolo/fastapi/pull/1761).
* Update GitHub Actions, refactor Gitter bot. PR [1746](https://github.com/tiangolo/fastapi/pull/1746).

0.60.0

Not secure
* Add GitHub Action to watch for missing preview docs and trigger a preview deploy. PR [1740](https://github.com/tiangolo/fastapi/pull/1740).
* Add custom GitHub Action to get artifact with docs preview. PR [1739](https://github.com/tiangolo/fastapi/pull/1739).
* Add new GitHub Actions to preview docs from PRs. PR [1738](https://github.com/tiangolo/fastapi/pull/1738).
* Add XML test coverage to support GitHub Actions. PR [1737](https://github.com/tiangolo/fastapi/pull/1737).
* Update badges and remove Travis now that GitHub Actions is the main CI. PR [1736](https://github.com/tiangolo/fastapi/pull/1736).
* Add GitHub Actions for CI, move from Travis. PR [1735](https://github.com/tiangolo/fastapi/pull/1735).
* Add support for adding OpenAPI schema for GET requests with a body. PR [1626](https://github.com/tiangolo/fastapi/pull/1626) by [victorphoenix3](https://github.com/victorphoenix3).

Page 19 of 35

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.