Fastapi

Latest version: v0.111.0

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

Scan your dependencies

Page 15 of 31

0.62.0

Not secure
Features

* ✨ Add support for shared/top-level parameters (dependencies, tags, etc). PR [2434](https://github.com/tiangolo/fastapi/pull/2434) by [tiangolo](https://github.com/tiangolo).

Up to now, for several options, the only way to apply them to a group of *path operations* was in `include_router`. That works well, but the call to `app.include_router()` or `router.include_router()` is normally done in another file.

That means that, for example, to apply authentication to all the *path operations* in a router it would end up being done in a different file, instead of keeping related logic together.

Setting options in `include_router` still makes sense in some cases, for example, to override or increase configurations from a third party router included in an app. But in a router that is part of a bigger application, it would probably make more sense to add those settings when creating the `APIRouter`.

**In `FastAPI`**

This allows setting the (mostly new) parameters (additionally to the already existing parameters):

* `default_response_class`: updated to handle defaults in `APIRouter` and `include_router`.
* `dependencies`: to include ✨ top-level dependencies ✨ that apply to the whole application. E.g. to add global authentication.
* `callbacks`: OpenAPI callbacks that apply to all the *path operations*.
* `deprecated`: to mark all the *path operations* as deprecated. 🤷
* `include_in_schema`: to allow excluding all the *path operations* from the OpenAPI schema.
* `responses`: OpenAPI responses that apply to all the *path operations*.

For example:

Python
from fastapi import FastAPI, Depends


async def some_dependency():
return


app = FastAPI(dependencies=[Depends(some_dependency)])


**In `APIRouter`**

This allows setting the (mostly new) parameters (additionally to the already existing parameters):

* `default_response_class`: updated to handle defaults in `APIRouter` and `include_router`. For example, it's not needed to set it explicitly when [creating callbacks](https://fastapi.tiangolo.com/advanced/openapi-callbacks/).
* `dependencies`: to include ✨ router-level dependencies ✨ that apply to all the *path operations* in a router. Up to now, this was only possible with `include_router`.
* `callbacks`: OpenAPI callbacks that apply to all the *path operations* in this router.
* `deprecated`: to mark all the *path operations* in a router as deprecated.
* `include_in_schema`: to allow excluding all the *path operations* in a router from the OpenAPI schema.
* `responses`: OpenAPI responses that apply to all the *path operations* in a router.
* `prefix`: to set the path prefix for a router. Up to now, this was only possible when calling `include_router`.
* `tags`: OpenAPI tags to apply to all the *path operations* in this router.

For example:

Python
from fastapi import APIRouter, Depends


async def some_dependency():
return


router = APIRouter(prefix="/users", dependencies=[Depends(some_dependency)])


**In `include_router`**

Most of these settings are now supported in `APIRouter`, which normally lives closer to the related code, so it is recommended to use `APIRouter` when possible.

But `include_router` is still useful to, for example, adding options (like `dependencies`, `prefix`, and `tags`) when including a third party router, or a generic router that is shared between several projects.

This PR allows setting the (mostly new) parameters (additionally to the already existing parameters):

* `default_response_class`: updated to handle defaults in `APIRouter` and `FastAPI`.
* `deprecated`: to mark all the *path operations* in a router as deprecated in OpenAPI.
* `include_in_schema`: to allow disabling all the *path operations* from showing in the OpenAPI schema.
* `callbacks`: OpenAPI callbacks that apply to all the *path operations* in this router.

Note: all the previous parameters are still there, so it's still possible to declare `dependencies` in `include_router`.

Breaking Changes

* PR [2434](https://github.com/tiangolo/fastapi/pull/2434) includes several improvements that shouldn't affect normal use cases, but could affect in advanced scenarios:
* If you are testing the generated OpenAPI (you shouldn't, FastAPI already tests it extensively for you): the order for `tags` in `include_router` and *path operations* was updated for consistency, but it's a simple order change.
* If you have advanced custom logic to access each route's `route.response_class`, or the `router.default_response_class`, or the `app.default_response_class`: the default value for `response_class` in `APIRoute` and for `default_response_class` in `APIRouter` and `FastAPI` is now a `DefaultPlaceholder` used internally to handle and solve default values and overrides. The actual response class inside the `DefaultPlaceholder` is available at `route.response_class.value`.

Docs

* PR [2434](https://github.com/tiangolo/fastapi/pull/2434) (above) includes new or updated docs:
* <a href="https://fastapi.tiangolo.com/advanced/openapi-callbacks/" class="external-link" target="_blank">Advanced User Guide - OpenAPI Callbacks</a>.
* <a href="https://fastapi.tiangolo.com/tutorial/bigger-applications/" class="external-link" target="_blank">Tutorial - Bigger Applications</a>.
* <a href="https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-in-path-operation-decorators/" class="external-link" target="_blank">Tutorial - Dependencies - Dependencies in path operation decorators</a>.
* <a href="https://fastapi.tiangolo.com/tutorial/dependencies/global-dependencies/" class="external-link" target="_blank">Tutorial - Dependencies - Global Dependencies</a>.

* 📝 Add FastAPI monitoring blog post to External Links. PR [2324](https://github.com/tiangolo/fastapi/pull/2324) by [louisguitton](https://github.com/louisguitton).
* ✏️ Fix typo in Deta tutorial. PR [2320](https://github.com/tiangolo/fastapi/pull/2320) by [tiangolo](https://github.com/tiangolo).
* ✨ Add Discord chat. PR [2322](https://github.com/tiangolo/fastapi/pull/2322) by [tiangolo](https://github.com/tiangolo).
* 📝 Fix image links for sponsors. PR [2304](https://github.com/tiangolo/fastapi/pull/2304) by [tiangolo](https://github.com/tiangolo).

Translations

* 🌐 Add Japanese translation for Advanced - Custom Response. PR [2193](https://github.com/tiangolo/fastapi/pull/2193) by [Attsun1031](https://github.com/Attsun1031).
* 🌐 Add Chinese translation for Benchmarks. PR [2119](https://github.com/tiangolo/fastapi/pull/2119) by [spaceack](https://github.com/spaceack).
* 🌐 Add Chinese translation for Tutorial - Body - Nested Models. PR [1609](https://github.com/tiangolo/fastapi/pull/1609) by [waynerv](https://github.com/waynerv).
* 🌐 Add Chinese translation for Advanced - Custom Response. PR [1459](https://github.com/tiangolo/fastapi/pull/1459) by [RunningIkkyu](https://github.com/RunningIkkyu).
* 🌐 Add Chinese translation for Advanced - Return a Response Directly. PR [1452](https://github.com/tiangolo/fastapi/pull/1452) by [RunningIkkyu](https://github.com/RunningIkkyu).
* 🌐 Add Chinese translation for Advanced - Additional Status Codes. PR [1451](https://github.com/tiangolo/fastapi/pull/1451) by [RunningIkkyu](https://github.com/RunningIkkyu).
* 🌐 Add Chinese translation for Advanced - Path Operation Advanced Configuration. PR [1447](https://github.com/tiangolo/fastapi/pull/1447) by [RunningIkkyu](https://github.com/RunningIkkyu).
* 🌐 Add Chinese translation for Advanced User Guide - Intro. PR [1445](https://github.com/tiangolo/fastapi/pull/1445) by [RunningIkkyu](https://github.com/RunningIkkyu).

Internal

* 🔧 Update TestDriven link to course in sponsors section. PR [2435](https://github.com/tiangolo/fastapi/pull/2435) by [tiangolo](https://github.com/tiangolo).
* 🍱 Update sponsor logos. PR [2418](https://github.com/tiangolo/fastapi/pull/2418) by [tiangolo](https://github.com/tiangolo).
* 💚 Fix disabling install of Material for MkDocs Insiders in forks, strike 1 ⚾. PR [2340](https://github.com/tiangolo/fastapi/pull/2340) by [tiangolo](https://github.com/tiangolo).
* 🐛 Fix disabling Material for MkDocs Insiders install in forks. PR [2339](https://github.com/tiangolo/fastapi/pull/2339) by [tiangolo](https://github.com/tiangolo).
* ✨ Add silver sponsor WeTransfer. PR [2338](https://github.com/tiangolo/fastapi/pull/2338) by [tiangolo](https://github.com/tiangolo).
* ✨ Set up and enable Material for MkDocs Insiders for the docs. PR [2325](https://github.com/tiangolo/fastapi/pull/2325) by [tiangolo](https://github.com/tiangolo).

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).

Page 15 of 31

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.