Fastapi

Latest version: v0.115.5

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

Scan your dependencies

Page 3 of 33

0.112.3

This release is mainly internal refactors, it shouldn't affect apps using FastAPI in any way. You don't even have to upgrade to this version yet. There are a few bigger releases coming right after. ๐Ÿš€

Refactors

* โ™ป๏ธ Refactor internal `check_file_field()`, rename to `ensure_multipart_is_installed()` to clarify its purpose. PR [12106](https://github.com/fastapi/fastapi/pull/12106) by [tiangolo](https://github.com/tiangolo).
* โ™ป๏ธ Rename internal `create_response_field()` to `create_model_field()` as it's used for more than response models. PR [12103](https://github.com/fastapi/fastapi/pull/12103) by [tiangolo](https://github.com/tiangolo).
* โ™ป๏ธ Refactor and simplify internal data from `solve_dependencies()` using dataclasses. PR [12100](https://github.com/fastapi/fastapi/pull/12100) by [tiangolo](https://github.com/tiangolo).
* โ™ป๏ธ Refactor and simplify internal `analyze_param()` to structure data with dataclasses instead of tuple. PR [12099](https://github.com/fastapi/fastapi/pull/12099) by [tiangolo](https://github.com/tiangolo).
* โ™ป๏ธ Refactor and simplify dependencies data structures with dataclasses. PR [12098](https://github.com/fastapi/fastapi/pull/12098) by [tiangolo](https://github.com/tiangolo).

Docs

* ๐Ÿ“ Add External Link: Techniques and applications of SQLAlchemy global filters in FastAPI. PR [12109](https://github.com/fastapi/fastapi/pull/12109) by [TheShubhendra](https://github.com/TheShubhendra).
* ๐Ÿ“ Add note about `time.perf_counter()` in middlewares. PR [12095](https://github.com/fastapi/fastapi/pull/12095) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Tweak middleware code sample `time.time()` to `time.perf_counter()`. PR [11957](https://github.com/fastapi/fastapi/pull/11957) by [domdent](https://github.com/domdent).
* ๐Ÿ”ง Update sponsors: Coherence. PR [12093](https://github.com/fastapi/fastapi/pull/12093) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Fix async test example not to trigger DeprecationWarning. PR [12084](https://github.com/fastapi/fastapi/pull/12084) by [marcinsulikowski](https://github.com/marcinsulikowski).
* ๐Ÿ“ Update `docs_src/path_params_numeric_validations/tutorial006.py`. PR [11478](https://github.com/fastapi/fastapi/pull/11478) by [MuhammadAshiqAmeer](https://github.com/MuhammadAshiqAmeer).
* ๐Ÿ“ Update comma in `docs/en/docs/async.md`. PR [12062](https://github.com/fastapi/fastapi/pull/12062) by [Alec-Gillis](https://github.com/Alec-Gillis).
* ๐Ÿ“ Update docs about serving FastAPI: ASGI servers, Docker containers, etc.. PR [12069](https://github.com/fastapi/fastapi/pull/12069) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Clarify `response_class` parameter, validations, and returning a response directly. PR [12067](https://github.com/fastapi/fastapi/pull/12067) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Fix minor typos and issues in the documentation. PR [12063](https://github.com/fastapi/fastapi/pull/12063) by [svlandeg](https://github.com/svlandeg).
* ๐Ÿ“ Add note in Docker docs about ensuring graceful shutdowns and lifespan events with `CMD` exec form. PR [11960](https://github.com/fastapi/fastapi/pull/11960) by [GPla](https://github.com/GPla).

Translations

* ๐ŸŒ Add Dutch translation for `docs/nl/docs/features.md`. PR [12101](https://github.com/fastapi/fastapi/pull/12101) by [maxscheijen](https://github.com/maxscheijen).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/testing-events.md`. PR [12108](https://github.com/fastapi/fastapi/pull/12108) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/security/index.md`. PR [12114](https://github.com/fastapi/fastapi/pull/12114) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Dutch translation for `docs/nl/docs/index.md`. PR [12042](https://github.com/fastapi/fastapi/pull/12042) by [svlandeg](https://github.com/svlandeg).
* ๐ŸŒ Update Chinese translation for `docs/zh/docs/how-to/index.md`. PR [12070](https://github.com/fastapi/fastapi/pull/12070) by [synthpop123](https://github.com/synthpop123).

Internal

* โฌ† [pre-commit.ci] pre-commit autoupdate. PR [12115](https://github.com/fastapi/fastapi/pull/12115) by [pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
* โฌ† Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1. PR [12120](https://github.com/fastapi/fastapi/pull/12120) by [dependabot[bot]](https://github.com/apps/dependabot).
* โฌ† Bump pillow from 10.3.0 to 10.4.0. PR [12105](https://github.com/fastapi/fastapi/pull/12105) by [dependabot[bot]](https://github.com/apps/dependabot).
* ๐Ÿ’š Set `include-hidden-files` to `True` when using the `upload-artifact` GH action. PR [12118](https://github.com/fastapi/fastapi/pull/12118) by [svlandeg](https://github.com/svlandeg).
* โฌ† Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0. PR [12112](https://github.com/fastapi/fastapi/pull/12112) by [dependabot[bot]](https://github.com/apps/dependabot).
* ๐Ÿ”ง Update sponsors link: Coherence. PR [12097](https://github.com/fastapi/fastapi/pull/12097) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update labeler config to handle sponsorships data. PR [12096](https://github.com/fastapi/fastapi/pull/12096) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update sponsors, remove Kong. PR [12085](https://github.com/fastapi/fastapi/pull/12085) by [tiangolo](https://github.com/tiangolo).
* โฌ† [pre-commit.ci] pre-commit autoupdate. PR [12076](https://github.com/fastapi/fastapi/pull/12076) by [pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
* ๐Ÿ‘ท Update `latest-changes` GitHub Action. PR [12073](https://github.com/fastapi/fastapi/pull/12073) by [tiangolo](https://github.com/tiangolo).

0.112.2

Fixes

* ๐Ÿ› Fix `allow_inf_nan` option for Param and Body classes. PR [11867](https://github.com/fastapi/fastapi/pull/11867) by [giunio-prc](https://github.com/giunio-prc).
* ๐Ÿ› Ensure that `app.include_router` merges nested lifespans. PR [9630](https://github.com/fastapi/fastapi/pull/9630) by [Lancetnik](https://github.com/Lancetnik).

Refactors

* ๐ŸŽจ Fix typing annotation for semi-internal `FastAPI.add_api_route()`. PR [10240](https://github.com/fastapi/fastapi/pull/10240) by [ordinary-jamie](https://github.com/ordinary-jamie).
* โฌ†๏ธ Upgrade version of Ruff and reformat. PR [12032](https://github.com/fastapi/fastapi/pull/12032) by [tiangolo](https://github.com/tiangolo).

Docs

* ๐Ÿ“ Fix a typo in `docs/en/docs/virtual-environments.md`. PR [12064](https://github.com/fastapi/fastapi/pull/12064) by [aymenkrifa](https://github.com/aymenkrifa).
* ๐Ÿ“ Add docs about Environment Variables and Virtual Environments. PR [12054](https://github.com/fastapi/fastapi/pull/12054) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Add Asyncer mention in async docs. PR [12037](https://github.com/fastapi/fastapi/pull/12037) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Move the Features docs to the top level to improve the main page menu. PR [12036](https://github.com/fastapi/fastapi/pull/12036) by [tiangolo](https://github.com/tiangolo).
* โœ๏ธ Fix import typo in reference example for `Security`. PR [11168](https://github.com/fastapi/fastapi/pull/11168) by [0shah0](https://github.com/0shah0).
* ๐Ÿ“ Highlight correct line in tutorial `docs/en/docs/tutorial/body-multiple-params.md`. PR [11978](https://github.com/fastapi/fastapi/pull/11978) by [svlandeg](https://github.com/svlandeg).
* ๐Ÿ”ฅ Remove Sentry link from Advanced Middleware docs. PR [12031](https://github.com/fastapi/fastapi/pull/12031) by [alejsdev](https://github.com/alejsdev).
* ๐Ÿ“ Clarify management tasks for translations, multiples files in one PR. PR [12030](https://github.com/fastapi/fastapi/pull/12030) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Edit the link to the OpenAPI "Responses Object" and "Response Object" sections in the "Additional Responses in OpenAPI" section. PR [11996](https://github.com/fastapi/fastapi/pull/11996) by [VaitoSoi](https://github.com/VaitoSoi).
* ๐Ÿ”จ Specify `email-validator` dependency with dash. PR [11515](https://github.com/fastapi/fastapi/pull/11515) by [jirikuncar](https://github.com/jirikuncar).
* ๐ŸŒ Add Spanish translation for `docs/es/docs/project-generation.md`. PR [11947](https://github.com/fastapi/fastapi/pull/11947) by [alejsdev](https://github.com/alejsdev).
* ๐Ÿ“ Fix minor typo. PR [12026](https://github.com/fastapi/fastapi/pull/12026) by [MicaelJarniac](https://github.com/MicaelJarniac).
* ๐Ÿ“ Several docs improvements, tweaks, and clarifications. PR [11390](https://github.com/fastapi/fastapi/pull/11390) by [nilslindemann](https://github.com/nilslindemann).
* ๐Ÿ“ Add missing `compresslevel` parameter on docs for `GZipMiddleware`. PR [11350](https://github.com/fastapi/fastapi/pull/11350) by [junah201](https://github.com/junah201).
* ๐Ÿ“ Fix inconsistent response code when item already exists in docs for testing. PR [11818](https://github.com/fastapi/fastapi/pull/11818) by [lokomilo](https://github.com/lokomilo).
* ๐Ÿ“ Update `docs/en/docs/tutorial/body.md` with Python 3.10 union type example. PR [11415](https://github.com/fastapi/fastapi/pull/11415) by [rangzen](https://github.com/rangzen).

Translations

* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/request_file.md`. PR [12018](https://github.com/fastapi/fastapi/pull/12018) by [Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
* ๐ŸŒ Add Japanese translation for `docs/ja/docs/learn/index.md`. PR [11592](https://github.com/fastapi/fastapi/pull/11592) by [ukwhatn](https://github.com/ukwhatn).
* ๐Ÿ“ Update Spanish translation docs for consistency. PR [12044](https://github.com/fastapi/fastapi/pull/12044) by [alejsdev](https://github.com/alejsdev).
* ๐ŸŒ Update Chinese translation for `docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [12028](https://github.com/fastapi/fastapi/pull/12028) by [xuvjso](https://github.com/xuvjso).
* ๐Ÿ“ Update FastAPI People, do not translate to have the most recent info. PR [12034](https://github.com/fastapi/fastapi/pull/12034) by [tiangolo](https://github.com/tiangolo).
* ๐ŸŒ Update Urdu translation for `docs/ur/docs/benchmarks.md`. PR [10046](https://github.com/fastapi/fastapi/pull/10046) by [AhsanSheraz](https://github.com/AhsanSheraz).

Internal

* โฌ† [pre-commit.ci] pre-commit autoupdate. PR [12046](https://github.com/fastapi/fastapi/pull/12046) by [pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
* ๐Ÿ”ง Update coverage config files. PR [12035](https://github.com/fastapi/fastapi/pull/12035) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”จ Standardize shebang across shell scripts. PR [11942](https://github.com/fastapi/fastapi/pull/11942) by [gitworkflows](https://github.com/gitworkflows).
* โฌ† Update sqlalchemy requirement from <1.4.43,>=1.3.18 to >=1.3.18,<2.0.33. PR [11979](https://github.com/fastapi/fastapi/pull/11979) by [dependabot[bot]](https://github.com/apps/dependabot).
* ๐Ÿ”Š Remove old ignore warnings. PR [11950](https://github.com/fastapi/fastapi/pull/11950) by [tiangolo](https://github.com/tiangolo).
* โฌ†๏ธ Upgrade griffe-typingdoc for the docs. PR [12029](https://github.com/fastapi/fastapi/pull/12029) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ™ˆ Add .coverage* to `.gitignore`. PR [11940](https://github.com/fastapi/fastapi/pull/11940) by [gitworkflows](https://github.com/gitworkflows).
* โš™๏ธ Record and show test coverage contexts (what test covers which line). PR [11518](https://github.com/fastapi/fastapi/pull/11518) by [slafs](https://github.com/slafs).

0.112.1

Upgrades

* โฌ†๏ธ Allow Starlette 0.38.x, update the pin to `>=0.37.2,<0.39.0`. PR [11876](https://github.com/fastapi/fastapi/pull/11876) by [musicinmybrain](https://github.com/musicinmybrain).

Docs

* ๐Ÿ“ Update docs section about "Don't Translate these Pages". PR [12022](https://github.com/fastapi/fastapi/pull/12022) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Add documentation for non-translated pages and scripts to verify them. PR [12020](https://github.com/fastapi/fastapi/pull/12020) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Update docs about discussions questions. PR [11985](https://github.com/fastapi/fastapi/pull/11985) by [tiangolo](https://github.com/tiangolo).

Translations

* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/bigger-applications.md`. PR [11971](https://github.com/fastapi/fastapi/pull/11971) by [marcelomarkus](https://github.com/marcelomarkus).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/testing-websockets.md`. PR [11994](https://github.com/fastapi/fastapi/pull/11994) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/testing-dependencies.md`. PR [11995](https://github.com/fastapi/fastapi/pull/11995) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/using-request-directly.md`. PR [11956](https://github.com/fastapi/fastapi/pull/11956) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add French translation for `docs/fr/docs/tutorial/body-multiple-params.md`. PR [11796](https://github.com/fastapi/fastapi/pull/11796) by [pe-brian](https://github.com/pe-brian).
* ๐ŸŒ Update Chinese translation for `docs/zh/docs/tutorial/query-params.md`. PR [11557](https://github.com/fastapi/fastapi/pull/11557) by [caomingpei](https://github.com/caomingpei).
* ๐ŸŒ Update typo in Chinese translation for `docs/zh/docs/advanced/testing-dependencies.md`. PR [11944](https://github.com/fastapi/fastapi/pull/11944) by [bestony](https://github.com/bestony).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/sub-applications.md` and `docs/pt/docs/advanced/behind-a-proxy.md`. PR [11856](https://github.com/fastapi/fastapi/pull/11856) by [marcelomarkus](https://github.com/marcelomarkus).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/cors.md` and `docs/pt/docs/tutorial/middleware.md`. PR [11916](https://github.com/fastapi/fastapi/pull/11916) by [wesinalves](https://github.com/wesinalves).
* ๐ŸŒ Add French translation for `docs/fr/docs/tutorial/path-params-numeric-validations.md`. PR [11788](https://github.com/fastapi/fastapi/pull/11788) by [pe-brian](https://github.com/pe-brian).

Internal

* โฌ† Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0. PR [11727](https://github.com/fastapi/fastapi/pull/11727) by [dependabot[bot]](https://github.com/apps/dependabot).
* ๐Ÿ”ง Add changelog URL to `pyproject.toml`, shows in PyPI. PR [11152](https://github.com/fastapi/fastapi/pull/11152) by [Pierre-VF](https://github.com/Pierre-VF).
* ๐Ÿ‘ท Do not sync labels as it overrides manually added labels. PR [12024](https://github.com/fastapi/fastapi/pull/12024) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท๐Ÿป Update Labeler GitHub Actions. PR [12019](https://github.com/fastapi/fastapi/pull/12019) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update configs for MkDocs for languages and social cards. PR [12016](https://github.com/fastapi/fastapi/pull/12016) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update permissions and config for labeler GitHub Action. PR [12008](https://github.com/fastapi/fastapi/pull/12008) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท๐Ÿป Add GitHub Action label-checker. PR [12005](https://github.com/fastapi/fastapi/pull/12005) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Add label checker GitHub Action. PR [12004](https://github.com/fastapi/fastapi/pull/12004) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update GitHub Action add-to-project. PR [12002](https://github.com/fastapi/fastapi/pull/12002) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update labeler GitHub Action. PR [12001](https://github.com/fastapi/fastapi/pull/12001) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Add GitHub Action labeler. PR [12000](https://github.com/fastapi/fastapi/pull/12000) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Add GitHub Action add-to-project. PR [11999](https://github.com/fastapi/fastapi/pull/11999) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Update admonitions in docs missing. PR [11998](https://github.com/fastapi/fastapi/pull/11998) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”จ Update docs.py script to enable dirty reload conditionally. PR [11986](https://github.com/fastapi/fastapi/pull/11986) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update MkDocs instant previews. PR [11982](https://github.com/fastapi/fastapi/pull/11982) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ› Fix deploy docs previews script to handle mkdocs.yml files. PR [11984](https://github.com/fastapi/fastapi/pull/11984) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ’ก Add comment about custom Termynal line-height. PR [11976](https://github.com/fastapi/fastapi/pull/11976) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Add alls-green for test-redistribute. PR [11974](https://github.com/fastapi/fastapi/pull/11974) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update docs-previews to handle no docs changes. PR [11975](https://github.com/fastapi/fastapi/pull/11975) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”จ Refactor script `deploy_docs_status.py` to account for deploy URLs with or without trailing slash. PR [11965](https://github.com/fastapi/fastapi/pull/11965) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”’๏ธ Update permissions for deploy-docs action. PR [11964](https://github.com/fastapi/fastapi/pull/11964) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท๐Ÿป Add deploy docs status and preview links to PRs. PR [11961](https://github.com/fastapi/fastapi/pull/11961) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update docs setup with latest configs and plugins. PR [11953](https://github.com/fastapi/fastapi/pull/11953) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”‡ Ignore warning from attrs in Trio. PR [11949](https://github.com/fastapi/fastapi/pull/11949) by [tiangolo](https://github.com/tiangolo).

0.112.0

Breaking Changes

* โ™ป๏ธ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi`. PR [11935](https://github.com/fastapi/fastapi/pull/11935) by [tiangolo](https://github.com/tiangolo).

Summary

Install with:

bash
pip install "fastapi[standard]"


Other Changes

* This adds support for calling the CLI as:

bash
python -m fastapi


* And it upgrades `fastapi-cli[standard] >=0.0.5`.

Technical Details

Before this, `fastapi` would include the standard dependencies, with Uvicorn and the `fastapi-cli`, etc.

And `fastapi-slim` would not include those standard dependencies.

Now `fastapi` doesn't include those standard dependencies unless you install with `pip install "fastapi[standard]"`.

Before, you would install `pip install fastapi`, now you should include the `standard` optional dependencies (unless you want to exclude one of those): `pip install "fastapi[standard]"`.

This change is because having the standard optional dependencies installed by default was being inconvenient to several users, and having to install instead `fastapi-slim` was not being a feasible solution.

Discussed here: [11522](https://github.com/fastapi/fastapi/pull/11522) and here: [#11525](https://github.com/fastapi/fastapi/discussions/11525)

Docs

* โœ๏ธ Fix typos in docs. PR [11926](https://github.com/fastapi/fastapi/pull/11926) by [jianghuyiyuan](https://github.com/jianghuyiyuan).
* ๐Ÿ“ Tweak management docs. PR [11918](https://github.com/fastapi/fastapi/pull/11918) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿšš Rename GitHub links from tiangolo/fastapi to fastapi/fastapi. PR [11913](https://github.com/fastapi/fastapi/pull/11913) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Add docs about FastAPI team and project management. PR [11908](https://github.com/tiangolo/fastapi/pull/11908) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Re-structure docs main menu. PR [11904](https://github.com/tiangolo/fastapi/pull/11904) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Update Speakeasy URL. PR [11871](https://github.com/tiangolo/fastapi/pull/11871) by [ndimares](https://github.com/ndimares).

Translations

* ๐ŸŒ Update Portuguese translation for `docs/pt/docs/alternatives.md`. PR [11931](https://github.com/fastapi/fastapi/pull/11931) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Russian translation for `docs/ru/docs/tutorial/dependencies/sub-dependencies.md`. PR [10515](https://github.com/tiangolo/fastapi/pull/10515) by [AlertRED](https://github.com/AlertRED).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/response-change-status-code.md`. PR [11863](https://github.com/tiangolo/fastapi/pull/11863) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/reference/background.md`. PR [11849](https://github.com/tiangolo/fastapi/pull/11849) by [lucasbalieiro](https://github.com/lucasbalieiro).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [11848](https://github.com/tiangolo/fastapi/pull/11848) by [Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/reference/apirouter.md`. PR [11843](https://github.com/tiangolo/fastapi/pull/11843) by [lucasbalieiro](https://github.com/lucasbalieiro).

Internal

* ๐Ÿ”ง Update sponsors: add liblab. PR [11934](https://github.com/fastapi/fastapi/pull/11934) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update GitHub Action label-approved permissions. PR [11933](https://github.com/fastapi/fastapi/pull/11933) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Refactor GitHub Action to comment docs deployment URLs and update token. PR [11925](https://github.com/fastapi/fastapi/pull/11925) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update tokens for GitHub Actions. PR [11924](https://github.com/fastapi/fastapi/pull/11924) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update token permissions to comment deployment URL in docs. PR [11917](https://github.com/fastapi/fastapi/pull/11917) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update token permissions for GitHub Actions. PR [11915](https://github.com/fastapi/fastapi/pull/11915) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update GitHub Actions token usage. PR [11914](https://github.com/fastapi/fastapi/pull/11914) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update GitHub Action to notify translations with label `approved-1`. PR [11907](https://github.com/tiangolo/fastapi/pull/11907) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update sponsors, remove Reflex. PR [11875](https://github.com/tiangolo/fastapi/pull/11875) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update sponsors: remove TalkPython. PR [11861](https://github.com/tiangolo/fastapi/pull/11861) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”จ Update docs Termynal scripts to not include line nums for local dev. PR [11854](https://github.com/tiangolo/fastapi/pull/11854) by [tiangolo](https://github.com/tiangolo).

0.111.1

Upgrades

* โž– Remove `orjson` and `ujson` from default dependencies. PR [11842](https://github.com/tiangolo/fastapi/pull/11842) by [tiangolo](https://github.com/tiangolo).
* These dependencies are still installed when you install with `pip install "fastapi[all]"`. But they not included in `pip install fastapi`.
* ๐Ÿ“ Restored Swagger-UI links to use the latest version possible. PR [11459](https://github.com/tiangolo/fastapi/pull/11459) by [UltimateLobster](https://github.com/UltimateLobster).

Docs

* โœ๏ธ Rewording in `docs/en/docs/fastapi-cli.md`. PR [11716](https://github.com/tiangolo/fastapi/pull/11716) by [alejsdev](https://github.com/alejsdev).
* ๐Ÿ“ Update Hypercorn links in all the docs. PR [11744](https://github.com/tiangolo/fastapi/pull/11744) by [kittydoor](https://github.com/kittydoor).
* ๐Ÿ“ Update docs with Ariadne reference from Starlette to FastAPI. PR [11797](https://github.com/tiangolo/fastapi/pull/11797) by [DamianCzajkowski](https://github.com/DamianCzajkowski).
* ๐Ÿ“ Update fastapi instrumentation external link. PR [11317](https://github.com/tiangolo/fastapi/pull/11317) by [softwarebloat](https://github.com/softwarebloat).
* โœ๏ธ Fix links to alembic example repo in docs. PR [11628](https://github.com/tiangolo/fastapi/pull/11628) by [augiwan](https://github.com/augiwan).
* โœ๏ธ Update `docs/en/docs/fastapi-cli.md`. PR [11715](https://github.com/tiangolo/fastapi/pull/11715) by [alejsdev](https://github.com/alejsdev).
* ๐Ÿ“ Update External Links . PR [11500](https://github.com/tiangolo/fastapi/pull/11500) by [devon2018](https://github.com/devon2018).
* ๐Ÿ“ Add External Link: Tutorial de FastAPI, ยฟel mejor framework de Python?. PR [11618](https://github.com/tiangolo/fastapi/pull/11618) by [EduardoZepeda](https://github.com/EduardoZepeda).
* ๐Ÿ“ Fix typo in `docs/en/docs/tutorial/body-multiple-params.md`. PR [11698](https://github.com/tiangolo/fastapi/pull/11698) by [mwb-u](https://github.com/mwb-u).
* ๐Ÿ“ Add External Link: Deploy a Serverless FastAPI App with Neon Postgres and AWS App Runner at any scale. PR [11633](https://github.com/tiangolo/fastapi/pull/11633) by [ananis25](https://github.com/ananis25).
* ๐Ÿ“ Update `security/first-steps.md`. PR [11674](https://github.com/tiangolo/fastapi/pull/11674) by [alejsdev](https://github.com/alejsdev).
* ๐Ÿ“ Update `security/first-steps.md`. PR [11673](https://github.com/tiangolo/fastapi/pull/11673) by [alejsdev](https://github.com/alejsdev).
* ๐Ÿ“ Update note in `path-params-numeric-validations.md`. PR [11672](https://github.com/tiangolo/fastapi/pull/11672) by [alejsdev](https://github.com/alejsdev).
* ๐Ÿ“ Tweak intro docs about `Annotated` and `Query()` params. PR [11664](https://github.com/tiangolo/fastapi/pull/11664) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ“ Update JWT auth documentation to use PyJWT instead of pyhon-jose. PR [11589](https://github.com/tiangolo/fastapi/pull/11589) by [estebanx64](https://github.com/estebanx64).
* ๐Ÿ“ Update docs. PR [11603](https://github.com/tiangolo/fastapi/pull/11603) by [alejsdev](https://github.com/alejsdev).
* โœ๏ธ Fix typo: convert every 're-use' to 'reuse'.. PR [11598](https://github.com/tiangolo/fastapi/pull/11598) by [hasansezertasan](https://github.com/hasansezertasan).
* โœ๏ธ Fix typo in `fastapi/applications.py`. PR [11593](https://github.com/tiangolo/fastapi/pull/11593) by [petarmaric](https://github.com/petarmaric).
* โœ๏ธ Fix link in `fastapi-cli.md`. PR [11524](https://github.com/tiangolo/fastapi/pull/11524) by [svlandeg](https://github.com/svlandeg).

Translations

* ๐ŸŒ Add Spanish translation for `docs/es/docs/how-to/graphql.md`. PR [11697](https://github.com/tiangolo/fastapi/pull/11697) by [camigomezdev](https://github.com/camigomezdev).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/reference/index.md`. PR [11840](https://github.com/tiangolo/fastapi/pull/11840) by [lucasbalieiro](https://github.com/lucasbalieiro).
* ๐ŸŒ Fix link in German translation. PR [11836](https://github.com/tiangolo/fastapi/pull/11836) by [anitahammer](https://github.com/anitahammer).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/dependencies/sub-dependencies.md`. PR [11792](https://github.com/tiangolo/fastapi/pull/11792) by [Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/tutorial/request-forms.md`. PR [11553](https://github.com/tiangolo/fastapi/pull/11553) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/reference/exceptions.md`. PR [11834](https://github.com/tiangolo/fastapi/pull/11834) by [lucasbalieiro](https://github.com/lucasbalieiro).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/dependencies/global-dependencies.md`. PR [11826](https://github.com/tiangolo/fastapi/pull/11826) by [Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/how-to/general.md`. PR [11825](https://github.com/tiangolo/fastapi/pull/11825) by [lucasbalieiro](https://github.com/lucasbalieiro).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/async-tests.md`. PR [11808](https://github.com/tiangolo/fastapi/pull/11808) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Ukrainian translation for `docs/uk/docs/tutorial/first-steps.md`. PR [11809](https://github.com/tiangolo/fastapi/pull/11809) by [vkhoroshchak](https://github.com/vkhoroshchak).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-operators.md`. PR [11804](https://github.com/tiangolo/fastapi/pull/11804) by [Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
* ๐ŸŒ Add Chinese translation for `docs/zh/docs/fastapi-cli.md`. PR [11786](https://github.com/tiangolo/fastapi/pull/11786) by [logan2d5](https://github.com/logan2d5).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/openapi-webhooks.md`. PR [11791](https://github.com/tiangolo/fastapi/pull/11791) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Update Chinese translation for `docs/tutorial/security/oauth2-jwt.md`. PR [11781](https://github.com/tiangolo/fastapi/pull/11781) by [logan2d5](https://github.com/logan2d5).
* ๐Ÿ“ Fix image missing in French translation for `docs/fr/docs/async.md` . PR [11787](https://github.com/tiangolo/fastapi/pull/11787) by [pe-brian](https://github.com/pe-brian).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/advanced-dependencies.md`. PR [11775](https://github.com/tiangolo/fastapi/pull/11775) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md`. PR [11768](https://github.com/tiangolo/fastapi/pull/11768) by [Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/additional-status-codes.md`. PR [11753](https://github.com/tiangolo/fastapi/pull/11753) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/tutorial/dependencies/index.md`. PR [11757](https://github.com/tiangolo/fastapi/pull/11757) by [Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/settings.md`. PR [11739](https://github.com/tiangolo/fastapi/pull/11739) by [Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
* ๐ŸŒ Add French translation for `docs/fr/docs/learn/index.md`. PR [11712](https://github.com/tiangolo/fastapi/pull/11712) by [benjaminvandammeholberton](https://github.com/benjaminvandammeholberton).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/how-to/index.md`. PR [11731](https://github.com/tiangolo/fastapi/pull/11731) by [vhsenna](https://github.com/vhsenna).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/additional-responses.md`. PR [11736](https://github.com/tiangolo/fastapi/pull/11736) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/benchmarks.md`. PR [11713](https://github.com/tiangolo/fastapi/pull/11713) by [ceb10n](https://github.com/ceb10n).
* ๐ŸŒ Fix Korean translation for `docs/ko/docs/tutorial/response-status-code.md`. PR [11718](https://github.com/tiangolo/fastapi/pull/11718) by [nayeonkinn](https://github.com/nayeonkinn).
* ๐ŸŒ Add Korean translation for `docs/ko/docs/tutorial/extra-data-types.md`. PR [11711](https://github.com/tiangolo/fastapi/pull/11711) by [nayeonkinn](https://github.com/nayeonkinn).
* ๐ŸŒ Fix Korean translation for `docs/ko/docs/tutorial/body-nested-models.md`. PR [11710](https://github.com/tiangolo/fastapi/pull/11710) by [nayeonkinn](https://github.com/nayeonkinn).
* ๐ŸŒ Add Portuguese translation for `docs/pt/docs/advanced/fastapi-cli.md`. PR [11641](https://github.com/tiangolo/fastapi/pull/11641) by [ayr-ton](https://github.com/ayr-ton).
* ๐ŸŒ Add Traditional Chinese translation for `docs/zh-hant/docs/fastapi-people.md`. PR [11639](https://github.com/tiangolo/fastapi/pull/11639) by [hsuanchi](https://github.com/hsuanchi).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/advanced/index.md`. PR [11606](https://github.com/tiangolo/fastapi/pull/11606) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/deployment/cloud.md`. PR [11610](https://github.com/tiangolo/fastapi/pull/11610) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/advanced/security/index.md`. PR [11609](https://github.com/tiangolo/fastapi/pull/11609) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/advanced/testing-websockets.md`. PR [11608](https://github.com/tiangolo/fastapi/pull/11608) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/how-to/general.md`. PR [11607](https://github.com/tiangolo/fastapi/pull/11607) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Update Chinese translation for `docs/zh/docs/advanced/templates.md`. PR [11620](https://github.com/tiangolo/fastapi/pull/11620) by [chaoless](https://github.com/chaoless).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/deployment/index.md`. PR [11605](https://github.com/tiangolo/fastapi/pull/11605) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/tutorial/static-files.md`. PR [11599](https://github.com/tiangolo/fastapi/pull/11599) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Polish translation for `docs/pl/docs/fastapi-people.md`. PR [10196](https://github.com/tiangolo/fastapi/pull/10196) by [isulim](https://github.com/isulim).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/advanced/wsgi.md`. PR [11575](https://github.com/tiangolo/fastapi/pull/11575) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Add Turkish translation for `docs/tr/docs/tutorial/cookie-params.md`. PR [11561](https://github.com/tiangolo/fastapi/pull/11561) by [hasansezertasan](https://github.com/hasansezertasan).
* ๐ŸŒ Add Russian translation for `docs/ru/docs/about/index.md`. PR [10961](https://github.com/tiangolo/fastapi/pull/10961) by [s111d](https://github.com/s111d).
* ๐ŸŒ Update Chinese translation for `docs/zh/docs/tutorial/sql-databases.md`. PR [11539](https://github.com/tiangolo/fastapi/pull/11539) by [chaoless](https://github.com/chaoless).
* ๐ŸŒ Add Chinese translation for `docs/zh/docs/how-to/configure-swagger-ui.md`. PR [11501](https://github.com/tiangolo/fastapi/pull/11501) by [Lucas-lyh](https://github.com/Lucas-lyh).
* ๐ŸŒ Update Chinese translation for `/docs/advanced/security/http-basic-auth.md`. PR [11512](https://github.com/tiangolo/fastapi/pull/11512) by [nick-cjyx9](https://github.com/nick-cjyx9).

Internal

* โ™ป๏ธ Simplify internal docs script. PR [11777](https://github.com/tiangolo/fastapi/pull/11777) by [gitworkflows](https://github.com/gitworkflows).
* ๐Ÿ”ง Update sponsors: add Fine. PR [11784](https://github.com/tiangolo/fastapi/pull/11784) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Tweak sponsors: Kong URL. PR [11765](https://github.com/tiangolo/fastapi/pull/11765) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Tweak sponsors: Kong URL. PR [11764](https://github.com/tiangolo/fastapi/pull/11764) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update sponsors, add Stainless. PR [11763](https://github.com/tiangolo/fastapi/pull/11763) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update sponsors, add Zuplo. PR [11729](https://github.com/tiangolo/fastapi/pull/11729) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Update Sponsor link: Coherence. PR [11730](https://github.com/tiangolo/fastapi/pull/11730) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ฅ Update FastAPI People. PR [11669](https://github.com/tiangolo/fastapi/pull/11669) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ”ง Add sponsor Kong. PR [11662](https://github.com/tiangolo/fastapi/pull/11662) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update Smokeshow, fix sync download artifact and smokeshow configs. PR [11563](https://github.com/tiangolo/fastapi/pull/11563) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update Smokeshow download artifact GitHub Action. PR [11562](https://github.com/tiangolo/fastapi/pull/11562) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ท Update GitHub actions to download and upload artifacts to v4, for docs and coverage. PR [11550](https://github.com/tiangolo/fastapi/pull/11550) by [tamird](https://github.com/tamird).
* ๐Ÿ‘ท Tweak CI for test-redistribute, add needed env vars for slim. PR [11549](https://github.com/tiangolo/fastapi/pull/11549) by [tiangolo](https://github.com/tiangolo).
* ๐Ÿ‘ฅ Update FastAPI People. PR [11511](https://github.com/tiangolo/fastapi/pull/11511) by [tiangolo](https://github.com/tiangolo).

0.111.0

Features

* โœจ Add FastAPI CLI, the new `fastapi` command. PR [11522](https://github.com/tiangolo/fastapi/pull/11522) by [tiangolo](https://github.com/tiangolo).
* New docs: [FastAPI CLI](https://fastapi.tiangolo.com/fastapi-cli/).

Try it out with:

console
$ pip install --upgrade fastapi

$ fastapi dev main.py


โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ FastAPI CLI - Development mode โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Serving at: http://127.0.0.1:8000 โ”‚
โ”‚ โ”‚
โ”‚ API docs: http://127.0.0.1:8000/docs โ”‚
โ”‚ โ”‚
โ”‚ Running in development mode, for production use: โ”‚
โ”‚ โ”‚
โ”‚ fastapi run โ”‚
โ”‚ โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

INFO: Will watch for changes in these directories: ['/home/user/code/awesomeapp']
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: Started reloader process [2248755] using WatchFiles
INFO: Started server process [2248757]
INFO: Waiting for application startup.
INFO: Application startup complete.


Refactors

* ๐Ÿ”ง Add configs and setup for `fastapi-slim` including optional extras `fastapi-slim[standard]`, and `fastapi` including by default the same `standard` extras. PR [11503](https://github.com/tiangolo/fastapi/pull/11503) by [tiangolo](https://github.com/tiangolo).

Page 3 of 33

ยฉ 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.