tiangolo/fastapi (fastapi)
### [`v0.100.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.100.0)
[Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.99.1...0.100.0)
β¨ Support for **Pydantic v2** β¨
Pydantic version 2 has the **core** re-written in **Rust** and includes a lot of improvements and features, for example:
- Improved **correctness** in corner cases.
- **Safer** types.
- Better **performance** and **less energy** consumption.
- Better **extensibility**.
- etc.
...all this while keeping the **same Python API**. In most of the cases, for simple models, you can simply upgrade the Pydantic version and get all the benefits. π
In some cases, for pure data validation and processing, you can get performance improvements of **20x** or more. This means 2,000% or more. π€―
When you use **FastAPI**, there's a lot more going on, processing the request and response, handling dependencies, executing **your own code**, and particularly, **waiting for the network**. But you will probably still get some nice performance improvements just from the upgrade.
The focus of this release is **compatibility** with Pydantic v1 and v2, to make sure your current apps keep working. Later there will be more focus on refactors, correctness, code improvements, and then **performance** improvements. Some third-party early beta testers that ran benchmarks on the beta releases of FastAPI reported improvements of **2x - 3x**. Which is not bad for just doing `pip install --upgrade fastapi pydantic`. This was not an official benchmark and I didn't check it myself, but it's a good sign.
##### Migration
Check out the [Pydantic migration guide](https://docs.pydantic.dev/2.0/migration/).
For the things that need changes in your Pydantic models, the Pydantic team built [`bump-pydantic`](https://togithub.com/pydantic/bump-pydantic).
A command line tool that will **process your code** and update most of the things **automatically** for you. Make sure you have your code in git first, and review each of the changes to make sure everything is correct before committing the changes.
##### Pydantic v1
**This version of FastAPI still supports Pydantic v1**. And although Pydantic v1 will be deprecated at some point, ti will still be supported for a while.
This means that you can install the new Pydantic v2, and if something fails, you can install Pydantic v1 while you fix any problems you might have, but having the latest FastAPI.
There are **tests for both Pydantic v1 and v2**, and test **coverage** is kept at **100%**.
##### Changes
- There are **new parameter** fields supported by Pydantic `Field()` for:
- `Path()`
- `Query()`
- `Header()`
- `Cookie()`
- `Body()`
- `Form()`
- `File()`
- The new parameter fields are:
- `default_factory`
- `alias_priority`
- `validation_alias`
- `serialization_alias`
- `discriminator`
- `strict`
- `multiple_of`
- `allow_inf_nan`
- `max_digits`
- `decimal_places`
- `json_schema_extra`
...you can read about them in the Pydantic docs.
- The parameter `regex` has been deprecated and replaced by `pattern`.
- You can read more about it in the docs for [Query Parameters and String Validations: Add regular expressions](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#add-regular-expressions).
- New Pydantic models use an improved and simplified attribute `model_config` that takes a simple dict instead of an internal class `Config` for their configuration.
- You can read more about it in the docs for [Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/).
- The attribute `schema_extra` for the internal class `Config` has been replaced by the key `json_schema_extra` in the new `model_config` dict.
- You can read more about it in the docs for [Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/).
- When you install `"fastapi[all]"` it now also includes:
- pydantic-settings - for settings management.
- pydantic-extra-types - for extra types to be used with Pydantic.
- Now Pydantic Settings is an additional optional package (included in `"fastapi[all]"`). To use settings you should now import `from pydantic_settings import BaseSettings` instead of importing from `pydantic` directly.
- You can read more about it in the docs for [Settings and Environment Variables](https://fastapi.tiangolo.com/advanced/settings/).
- PR [#9816](https://togithub.com/tiangolo/fastapi/pull/9816) by [@tiangolo](https://togithub.com/tiangolo), included all the work done (in multiple PRs) on the beta branch (`main-pv2`).
### [`v0.99.1`](https://togithub.com/tiangolo/fastapi/releases/tag/0.99.1)
[Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.99.0...0.99.1)
##### Fixes
- π Fix JSON Schema accepting bools as valid JSON Schemas, e.g. `additionalProperties: false`. PR [#9781](https://togithub.com/tiangolo/fastapi/pull/9781) by [@tiangolo](https://togithub.com/tiangolo).
##### Docs
- π Update source examples to use new JSON Schema examples field. PR [#9776](https://togithub.com/tiangolo/fastapi/pull/9776) by [@tiangolo](https://togithub.com/tiangolo).
### [`v0.99.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.99.0)
[Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.98.0...0.99.0)
**Note**: this is the **last release before supporting Pydantic v2**. You can try out the beta with support for Pydantic v2 now, a new beta supporting Pydantic v2 with these same changes from this release will be available in the next hours/days. And the final version (0.100.0) with support for Pydantic v2 will be released in the next days (next week).
Now, back to this release (this one doesn't include the beta support for Pydantic v2).
This release has β¨ **OpenAPI 3.1.0** β¨ π
##### Features
- β¨ Add support for OpenAPI 3.1.0. PR [#9770](https://togithub.com/tiangolo/fastapi/pull/9770) by [@tiangolo](https://togithub.com/tiangolo).
- New support for documenting **webhooks**, read the new docs here: Advanced User Guide: OpenAPI Webhooks.
- Upgrade OpenAPI 3.1.0, this uses JSON Schema 2020-12.
- Upgrade Swagger UI to version 5.x.x, that supports OpenAPI 3.1.0.
- Updated `examples` field in `Query()`, `Cookie()`, `Body()`, etc. based on the latest JSON Schema and OpenAPI. Now it takes a list of examples and they are included directly in the JSON Schema, not outside. Read more about it (including the historical technical details) in the updated docs: Tutorial: Declare Request Example Data.
- β¨ Add support for `deque` objects and children in `jsonable_encoder`. PR [#9433](https://togithub.com/tiangolo/fastapi/pull/9433) by [@cranium](https://togithub.com/cranium).
##### Docs
- π Fix form for the FastAPI and friends newsletter. PR [#9749](https://togithub.com/tiangolo/fastapi/pull/9749) by [@tiangolo](https://togithub.com/tiangolo).
##### Translations
- π Add Persian translation for `docs/fa/docs/advanced/sub-applications.md`. PR [#9692](https://togithub.com/tiangolo/fastapi/pull/9692) by [@mojtabapaso](https://togithub.com/mojtabapaso).
- π Add Russian translation for `docs/ru/docs/tutorial/response-model.md`. PR [#9675](https://togithub.com/tiangolo/fastapi/pull/9675) by [@glsglsgls](https://togithub.com/glsglsgls).
##### Internal
- π¨ Enable linenums in MkDocs Material during local live development to simplify highlighting code. PR [#9769](https://togithub.com/tiangolo/fastapi/pull/9769) by [@tiangolo](https://togithub.com/tiangolo).
- β¬ Update httpx requirement from <0.24.0,>=0.23.0 to >=0.23.0,<0.25.0. PR [#9724](https://togithub.com/tiangolo/fastapi/pull/9724) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).
- β¬ Bump mkdocs-material from 9.1.16 to 9.1.17. PR [#9746](https://togithub.com/tiangolo/fastapi/pull/9746) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).
- π₯ Remove missing translation dummy pages, no longer necessary. PR [#9751](https://togithub.com/tiangolo/fastapi/pull/9751) by [@tiangolo](https://togithub.com/tiangolo).
- β¬ \[pre-commit.ci] pre-commit autoupdate. PR [#9259](https://togithub.com/tiangolo/fastapi/pull/9259) by [@pre-commit-ci\[bot\]](https://togithub.com/apps/pre-commit-ci).
- β¨ Add Material for MkDocs Insiders features and cards. PR [#9748](https://togithub.com/tiangolo/fastapi/pull/9748) by [@tiangolo](https://togithub.com/tiangolo).
- π₯ Remove languages without translations. PR [#9743](https://togithub.com/tiangolo/fastapi/pull/9743) by [@tiangolo](https://togithub.com/tiangolo).
- β¨ Refactor docs for building scripts, use MkDocs hooks, simplify (remove) configs for languages. PR [#9742](https://togithub.com/tiangolo/fastapi/pull/9742) by [@tiangolo](https://togithub.com/tiangolo).
- π¨ Add MkDocs hook that renames sections based on the first index file. PR [#9737](https://togithub.com/tiangolo/fastapi/pull/9737) by [@tiangolo](https://togithub.com/tiangolo).
- π· Make cron jobs run only on main repo, not on forks, to avoid error notifications from missing tokens. PR [#9735](https://togithub.com/tiangolo/fastapi/pull/9735) by [@tiangolo](https://togithub.com/tiangolo).
- π§ Update MkDocs for other languages. PR [#9734](https://togithub.com/tiangolo/fastapi/pull/9734) by [@tiangolo](https://togithub.com/tiangolo).
- π· Refactor Docs CI, run in multiple workers with a dynamic matrix to optimize speed. PR [#9732](https://togithub.com/tiangolo/fastapi/pull/9732) by [@tiangolo](https://togithub.com/tiangolo).
- π₯ Remove old internal GitHub Action watch-previews that is no longer needed. PR [#9730](https://togithub.com/tiangolo/fastapi/pull/9730) by [@tiangolo](https://togithub.com/tiangolo).
- β¬οΈ Upgrade MkDocs and MkDocs Material. PR [#9729](https://togithub.com/tiangolo/fastapi/pull/9729) by [@tiangolo](https://togithub.com/tiangolo).
- π· Build and deploy docs only on docs changes. PR [#9728](https://togithub.com/tiangolo/fastapi/pull/9728) by [@tiangolo](https://togithub.com/tiangolo).
### [`v0.98.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.98.0)
[Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.97.0...0.98.0)
**Note**: please also help me try out the beta with support for Pydantic v2: https://github.com/tiangolo/fastapi/releases/tag/0.100.0-beta1
Now, back to this release (this one doesn't include the beta support for Pydantic v2).
##### Features
- β¨ Allow disabling `redirect_slashes` at the FastAPI app level. PR [#3432](https://togithub.com/tiangolo/fastapi/pull/3432) by [@cyberlis](https://togithub.com/cyberlis).
##### Docs
- π Update docs on Pydantic using ujson internally. PR [#5804](https://togithub.com/tiangolo/fastapi/pull/5804) by [@mvasilkov](https://togithub.com/mvasilkov).
- β Rewording in `docs/en/docs/tutorial/debugging.md`. PR [#9581](https://togithub.com/tiangolo/fastapi/pull/9581) by [@ivan-abc](https://togithub.com/ivan-abc).
- π Add german blog post (Domain-driven Design mit Python und FastAPI). PR [#9261](https://togithub.com/tiangolo/fastapi/pull/9261) by [@msander](https://togithub.com/msander).
- βοΈ Tweak wording in `docs/en/docs/tutorial/security/index.md`. PR [#9561](https://togithub.com/tiangolo/fastapi/pull/9561) by [@jyothish-mohan](https://togithub.com/jyothish-mohan).
- π Update `Annotated` notes in `docs/en/docs/tutorial/schema-extra-example.md`. PR [#9620](https://togithub.com/tiangolo/fastapi/pull/9620) by [@Alexandrhub](https://togithub.com/Alexandrhub).
- βοΈ Fix typo `Annotation` -> `Annotated` in `docs/en/docs/tutorial/query-params-str-validations.md`. PR [#9625](https://togithub.com/tiangolo/fastapi/pull/9625) by [@mccricardo](https://togithub.com/mccricardo).
- π Use in memory database for testing SQL in docs. PR [#1223](https://togithub.com/tiangolo/fastapi/pull/1223) by [@HarshaLaxman](https://togithub.com/HarshaLaxman).
##### Translations
- π Add Russian translation for `docs/ru/docs/tutorial/metadata.md`. PR [#9681](https://togithub.com/tiangolo/fastapi/pull/9681) by [@TabarakoAkula](https://togithub.com/TabarakoAkula).
- π Fix typo in Spanish translation for `docs/es/docs/tutorial/first-steps.md`. PR [#9571](https://togithub.com/tiangolo/fastapi/pull/9571) by [@lilidl-nft](https://togithub.com/lilidl-nft).
- π Add Russian translation for `docs/tutorial/path-operation-configuration.md`. PR [#9696](https://togithub.com/tiangolo/fastapi/pull/9696) by [@TabarakoAkula](https://togithub.com/TabarakoAkula).
- π Add Chinese translation for `docs/zh/docs/advanced/security/index.md`. PR [#9666](https://togithub.com/tiangolo/fastapi/pull/9666) by [@lordqyxz](https://togithub.com/lordqyxz).
- π Add Chinese translations for `docs/zh/docs/advanced/settings.md`. PR [#9652](https://togithub.com/tiangolo/fastapi/pull/9652) by [@ChoyeonChern](https://togithub.com/ChoyeonChern).
- π Add Chinese translations for `docs/zh/docs/advanced/websockets.md`. PR [#9651](https://togithub.com/tiangolo/fastapi/pull/9651) by [@ChoyeonChern](https://togithub.com/ChoyeonChern).
- π Add Chinese translation for `docs/zh/docs/tutorial/testing.md`. PR [#9641](https://togithub.com/tiangolo/fastapi/pull/9641) by [@wdh99](https://togithub.com/wdh99).
- π Add Russian translation for `docs/tutorial/extra-models.md`. PR [#9619](https://togithub.com/tiangolo/fastapi/pull/9619) by [@ivan-abc](https://togithub.com/ivan-abc).
- π Add Russian translation for `docs/tutorial/cors.md`. PR [#9608](https://togithub.com/tiangolo/fastapi/pull/9608) by [@ivan-abc](https://togithub.com/ivan-abc).
- π Add Polish translation for `docs/pl/docs/features.md`. PR [#5348](https://togithub.com/tiangolo/fastapi/pull/5348) by [@mbroton](https://togithub.com/mbroton).
- π Add Russian translation for `docs/ru/docs/tutorial/body-nested-models.md`. PR [#9605](https://togithub.com/tiangolo/fastapi/pull/9605) by [@Alexandrhub](https://togithub.com/Alexandrhub).
##### Internal
- β¬ Bump ruff from 0.0.272 to 0.0.275. PR [#9721](https://togithub.com/tiangolo/fastapi/pull/9721) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).
- β¬ Update uvicorn\[standard] requirement from <0.21.0,>=0.12.0 to >=0.12.0,<0.23.0. PR [#9463](https://togithub.com/tiangolo/fastapi/pull/9463) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).
- β¬ Bump mypy from 1.3.0 to 1.4.0. PR [#9719](https://togithub.com/tiangolo/fastapi/pull/9719) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).
- β¬ Update pre-commit requirement from <3.0.0,>=2.17.0 to >=2.17.0,<4.0.0. PR [#9251](https://togithub.com/tiangolo/fastapi/pull/9251) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).
- β¬ Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6. PR [#9482](https://togithub.com/tiangolo/fastapi/pull/9482) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).
- βοΈ Fix tooltips for light/dark theme toggler in docs. PR [#9588](https://togithub.com/tiangolo/fastapi/pull/9588) by [@pankaj1707k](https://togithub.com/pankaj1707k).
- π§ Set minimal hatchling version needed to build the package. PR [#9240](https://togithub.com/tiangolo/fastapi/pull/9240) by [@mgorny](https://togithub.com/mgorny).
- π Add repo link to PyPI. PR [#9559](https://togithub.com/tiangolo/fastapi/pull/9559) by [@JacobCoffee](https://togithub.com/JacobCoffee).
- βοΈ Fix typos in data for tests. PR [#4958](https://togithub.com/tiangolo/fastapi/pull/4958) by [@ryanrussell](https://togithub.com/ryanrussell).
- π§ Update sponsors, add Flint. PR [#9699](https://togithub.com/tiangolo/fastapi/pull/9699) by [@tiangolo](https://togithub.com/tiangolo).
- π· Lint in CI only once, only with one version of Python, run tests with all of them. PR [#9686](https://togithub.com/tiangolo/fastapi/pull/9686) by [@tiangolo](https://togithub.com/tiangolo).
### [`v0.97.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.97.0)
[Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.96.1...0.97.0)
##### Features
- β¨ Add support for `dependencies` in WebSocket routes. PR [#4534](https://togithub.com/tiangolo/fastapi/pull/4534) by [@paulo-raca](https://togithub.com/paulo-raca).
- β¨ Add exception handler for `WebSocketRequestValidationError` (which also allows to override it). PR [#6030](https://togithub.com/tiangolo/fastapi/pull/6030) by [@kristjanvalur](https://togithub.com/kristjanvalur).
##### Refactors
- β¬οΈ Upgrade and fully migrate to Ruff, remove isort, includes a couple of tweaks suggested by the new version of Ruff. PR [#9660](https://togithub.com/tiangolo/fastapi/pull/9660) by [@tiangolo](https://togithub.com/tiangolo).
- β»οΈ Update internal type annotations and upgrade mypy. PR [#9658](https://togithub.com/tiangolo/fastapi/pull/9658) by [@tiangolo](https://togithub.com/tiangolo).
- β»οΈ Simplify `AsyncExitStackMiddleware` as without Python 3.6 `AsyncExitStack` is always available. PR [#9657](https://togithub.com/tiangolo/fastapi/pull/9657) by [@tiangolo](https://togithub.com/tiangolo).
##### Upgrades
- β¬οΈ Upgrade Black. PR [#9661](https://togithub.com/tiangolo/fastapi/pull/9661) by [@tiangolo](https://togithub.com/tiangolo).
##### Internal
- π Update CI cache to fix installs when dependencies change. PR [#9659](https://togithub.com/tiangolo/fastapi/pull/9659) by [@tiangolo](https://togithub.com/tiangolo).
- β¬οΈ Separate requirements for development into their own requirements.txt files, they shouldn't be extras. PR [#9655](https://togithub.com/tiangolo/fastapi/pull/9655) by [@tiangolo](https://togithub.com/tiangolo).
### [`v0.96.1`](https://togithub.com/tiangolo/fastapi/releases/tag/0.96.1)
[Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.96.0...0.96.1)
##### Fixes
- π Fix `HTTPException` header type annotations. PR [#9648](https://togithub.com/tiangolo/fastapi/pull/9648) by [@tiangolo](https://togithub.com/tiangolo).
- π Fix OpenAPI model fields int validations, `gte` to `ge`. PR [#9635](https://togithub.com/tiangolo/fastapi/pull/9635) by [@tiangolo](https://togithub.com/tiangolo).
##### Upgrades
- π Update minimum version of Pydantic to >=1.7.4. This fixes an issue when trying to use an old version of Pydantic. PR [#9567](https://togithub.com/tiangolo/fastapi/pull/9567) by [@Kludex](https://togithub.com/Kludex).
##### Refactors
- β» Remove `media_type` from `ORJSONResponse` as it's inherited from the parent class. PR [#5805](https://togithub.com/tiangolo/fastapi/pull/5805) by [@Kludex](https://togithub.com/Kludex).
- β» Instantiate `HTTPException` only when needed, optimization refactor. PR [#5356](https://togithub.com/tiangolo/fastapi/pull/5356) by [@pawamoy](https://togithub.com/pawamoy).
##### Docs
- π₯ Remove link to Pydantic's benchmark, as it was removed there. PR [#5811](https://togithub.com/tiangolo/fastapi/pull/5811) by [@Kludex](https://togithub.com/Kludex).
##### Translations
- π Fix spelling in Indonesian translation of `docs/id/docs/tutorial/index.md`. PR [#5635](https://togithub.com/tiangolo/fastapi/pull/5635) by [@purwowd](https://togithub.com/purwowd).
- π Add Russian translation for `docs/ru/docs/tutorial/index.md`. PR [#5896](https://togithub.com/tiangolo/fastapi/pull/5896) by [@Wilidon](https://togithub.com/Wilidon).
- π Add Chinese translations for `docs/zh/docs/advanced/response-change-status-code.md` and `docs/zh/docs/advanced/response-headers.md`. PR [#9544](https://togithub.com/tiangolo/fastapi/pull/9544) by [@ChoyeonChern](https://togithub.com/ChoyeonChern).
- π Add Russian translation for `docs/ru/docs/tutorial/schema-extra-example.md`. PR [#9621](https://togithub.com/tiangolo/fastapi/pull/9621) by [@Alexandrhub](https://togithub.com/Alexandrhub).
##### Internal
- π§ Add sponsor Platform.sh. PR [#9650](https://togithub.com/tiangolo/fastapi/pull/9650) by [@tiangolo](https://togithub.com/tiangolo).
- π· Add custom token to Smokeshow and Preview Docs for download-artifact, to prevent API rate limits. PR [#9646](https://togithub.com/tiangolo/fastapi/pull/9646) by [@tiangolo](https://togithub.com/tiangolo).
- π· Add custom tokens for GitHub Actions to avoid rate limits. PR [#9647](https://togithub.com/tiangolo/fastapi/pull/9647) by [@tiangolo](https://togithub.com/tiangolo).
### [`v0.96.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.96.0)
[Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.95.2...0.96.0)
##### Features
- β‘ Update `create_cloned_field` to use a global cache and improve startup performance. PR [#4645](https://togithub.com/tiangolo/fastapi/pull/4645) by [@madkinsz](https://togithub.com/madkinsz) and previous original PR by [@huonw](https://togithub.com/huonw).
##### Docs
- π Update Deta deployment tutorial for compatibility with Deta Space. PR [#6004](https://togithub.com/tiangolo/fastapi/pull/6004) by [@mikBighne98](https://togithub.com/mikBighne98).
- βοΈ Fix typo in Deta deployment tutorial. PR [#9501](https://togithub.com/tiangolo/fastapi/pull/9501) by [@lemonyte](https://togithub.com/lemonyte).
##### Translations
- π Add Russian translation for `docs/tutorial/body.md`. PR [#3885](https://togithub.com/tiangolo/fastapi/pull/3885) by [@solomein-sv](https://togithub.com/solomein-sv).
- π Add Russian translation for `docs/ru/docs/tutorial/static-files.md`. PR [#9580](https://togithub.com/tiangolo/fastapi/pull/9580) by [@Alexandrhub](https://togithub.com/Alexandrhub).
- π Add Russian translation for `docs/ru/docs/tutorial/query-params.md`. PR [#9584](https://togithub.com/tiangolo/fastapi/pull/9584) by [@Alexandrhub](https://togithub.com/Alexandrhub).
- π Add Russian translation for `docs/ru/docs/tutorial/first-steps.md`. PR [#9471](https://togithub.com/tiangolo/fastapi/pull/9471) by [@AGolicyn](https://togithub.com/AGolicyn).
- π Add Russian translation for `docs/ru/docs/tutorial/debugging.md`. PR [#9579](https://togithub.com/tiangolo/fastapi/pull/9579) by [@Alexandrhub](https://togithub.com/Alexandrhub).
- π Add Russian translation for `docs/ru/docs/tutorial/path-params.md`. PR [#9519](https://togithub.com/tiangolo/fastapi/pull/9519) by [@AGolicyn](https://togithub.com/AGolicyn).
- π Add Chinese translation for `docs/zh/docs/tutorial/static-files.md`. PR [#9436](https://togithub.com/tiangolo/fastapi/pull/9436) by [@wdh99](https://togithub.com/wdh99).
- π Update Spanish translation including new illustrations in `docs/es/docs/async.md`. PR [#9483](https://togithub.com/tiangolo/fastapi/pull/9483) by [@andresbermeoq](https://togithub.com/andresbermeoq).
- π Add Russian translation for `docs/ru/docs/tutorial/path-params-numeric-validations.md`. PR [#9563](https://togithub.com/tiangolo/fastapi/pull/9563) by [@ivan-abc](https://togithub.com/ivan-abc).
- π Add Russian translation for `docs/ru/docs/deployment/concepts.md`. PR [#9577](https://togithub.com/tiangolo/fastapi/pull/9577) by [@Xewus](https://togithub.com/Xewus).
- π Add Russian translation for `docs/ru/docs/tutorial/body-multiple-params.md`. PR [#9586](https://togithub.com/tiangolo/fastapi/pull/9586) by [@Alexandrhub](https://togithub.com/Alexandrhub).
##### Internal
- π₯ Update FastAPI People. PR [#9602](https://togithub.com/tiangolo/fastapi/pull/9602) by [@github-actions\[bot\]](https://togithub.com/apps/github-actions).
- π§ Update sponsors, remove InvestSuite. PR [#9612](https://togithub.com/tiangolo/fastapi/pull/9612) by [@tiangolo](https://togithub.com/tiangolo).
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==0.95.2
->==0.100.0
Release Notes
tiangolo/fastapi (fastapi)
### [`v0.100.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.100.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.99.1...0.100.0) β¨ Support for **Pydantic v2** β¨ Pydantic version 2 has the **core** re-written in **Rust** and includes a lot of improvements and features, for example: - Improved **correctness** in corner cases. - **Safer** types. - Better **performance** and **less energy** consumption. - Better **extensibility**. - etc. ...all this while keeping the **same Python API**. In most of the cases, for simple models, you can simply upgrade the Pydantic version and get all the benefits. π In some cases, for pure data validation and processing, you can get performance improvements of **20x** or more. This means 2,000% or more. π€― When you use **FastAPI**, there's a lot more going on, processing the request and response, handling dependencies, executing **your own code**, and particularly, **waiting for the network**. But you will probably still get some nice performance improvements just from the upgrade. The focus of this release is **compatibility** with Pydantic v1 and v2, to make sure your current apps keep working. Later there will be more focus on refactors, correctness, code improvements, and then **performance** improvements. Some third-party early beta testers that ran benchmarks on the beta releases of FastAPI reported improvements of **2x - 3x**. Which is not bad for just doing `pip install --upgrade fastapi pydantic`. This was not an official benchmark and I didn't check it myself, but it's a good sign. ##### Migration Check out the [Pydantic migration guide](https://docs.pydantic.dev/2.0/migration/). For the things that need changes in your Pydantic models, the Pydantic team built [`bump-pydantic`](https://togithub.com/pydantic/bump-pydantic). A command line tool that will **process your code** and update most of the things **automatically** for you. Make sure you have your code in git first, and review each of the changes to make sure everything is correct before committing the changes. ##### Pydantic v1 **This version of FastAPI still supports Pydantic v1**. And although Pydantic v1 will be deprecated at some point, ti will still be supported for a while. This means that you can install the new Pydantic v2, and if something fails, you can install Pydantic v1 while you fix any problems you might have, but having the latest FastAPI. There are **tests for both Pydantic v1 and v2**, and test **coverage** is kept at **100%**. ##### Changes - There are **new parameter** fields supported by Pydantic `Field()` for: - `Path()` - `Query()` - `Header()` - `Cookie()` - `Body()` - `Form()` - `File()` - The new parameter fields are: - `default_factory` - `alias_priority` - `validation_alias` - `serialization_alias` - `discriminator` - `strict` - `multiple_of` - `allow_inf_nan` - `max_digits` - `decimal_places` - `json_schema_extra` ...you can read about them in the Pydantic docs. - The parameter `regex` has been deprecated and replaced by `pattern`. - You can read more about it in the docs for [Query Parameters and String Validations: Add regular expressions](https://fastapi.tiangolo.com/tutorial/query-params-str-validations/#add-regular-expressions). - New Pydantic models use an improved and simplified attribute `model_config` that takes a simple dict instead of an internal class `Config` for their configuration. - You can read more about it in the docs for [Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/). - The attribute `schema_extra` for the internal class `Config` has been replaced by the key `json_schema_extra` in the new `model_config` dict. - You can read more about it in the docs for [Declare Request Example Data](https://fastapi.tiangolo.com/tutorial/schema-extra-example/). - When you install `"fastapi[all]"` it now also includes: -pydantic-settings
- for settings management. -pydantic-extra-types
- for extra types to be used with Pydantic. - Now Pydantic Settings is an additional optional package (included in `"fastapi[all]"`). To use settings you should now import `from pydantic_settings import BaseSettings` instead of importing from `pydantic` directly. - You can read more about it in the docs for [Settings and Environment Variables](https://fastapi.tiangolo.com/advanced/settings/). - PR [#9816](https://togithub.com/tiangolo/fastapi/pull/9816) by [@tiangolo](https://togithub.com/tiangolo), included all the work done (in multiple PRs) on the beta branch (`main-pv2`). ### [`v0.99.1`](https://togithub.com/tiangolo/fastapi/releases/tag/0.99.1) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.99.0...0.99.1) ##### Fixes - π Fix JSON Schema accepting bools as valid JSON Schemas, e.g. `additionalProperties: false`. PR [#9781](https://togithub.com/tiangolo/fastapi/pull/9781) by [@tiangolo](https://togithub.com/tiangolo). ##### Docs - π Update source examples to use new JSON Schema examples field. PR [#9776](https://togithub.com/tiangolo/fastapi/pull/9776) by [@tiangolo](https://togithub.com/tiangolo). ### [`v0.99.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.99.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.98.0...0.99.0) **Note**: this is the **last release before supporting Pydantic v2**. You can try out the beta with support for Pydantic v2 now, a new beta supporting Pydantic v2 with these same changes from this release will be available in the next hours/days. And the final version (0.100.0) with support for Pydantic v2 will be released in the next days (next week). Now, back to this release (this one doesn't include the beta support for Pydantic v2). This release has β¨ **OpenAPI 3.1.0** β¨ π ##### Features - β¨ Add support for OpenAPI 3.1.0. PR [#9770](https://togithub.com/tiangolo/fastapi/pull/9770) by [@tiangolo](https://togithub.com/tiangolo). - New support for documenting **webhooks**, read the new docs here: Advanced User Guide: OpenAPI Webhooks. - Upgrade OpenAPI 3.1.0, this uses JSON Schema 2020-12. - Upgrade Swagger UI to version 5.x.x, that supports OpenAPI 3.1.0. - Updated `examples` field in `Query()`, `Cookie()`, `Body()`, etc. based on the latest JSON Schema and OpenAPI. Now it takes a list of examples and they are included directly in the JSON Schema, not outside. Read more about it (including the historical technical details) in the updated docs: Tutorial: Declare Request Example Data. - β¨ Add support for `deque` objects and children in `jsonable_encoder`. PR [#9433](https://togithub.com/tiangolo/fastapi/pull/9433) by [@cranium](https://togithub.com/cranium). ##### Docs - π Fix form for the FastAPI and friends newsletter. PR [#9749](https://togithub.com/tiangolo/fastapi/pull/9749) by [@tiangolo](https://togithub.com/tiangolo). ##### Translations - π Add Persian translation for `docs/fa/docs/advanced/sub-applications.md`. PR [#9692](https://togithub.com/tiangolo/fastapi/pull/9692) by [@mojtabapaso](https://togithub.com/mojtabapaso). - π Add Russian translation for `docs/ru/docs/tutorial/response-model.md`. PR [#9675](https://togithub.com/tiangolo/fastapi/pull/9675) by [@glsglsgls](https://togithub.com/glsglsgls). ##### Internal - π¨ Enable linenums in MkDocs Material during local live development to simplify highlighting code. PR [#9769](https://togithub.com/tiangolo/fastapi/pull/9769) by [@tiangolo](https://togithub.com/tiangolo). - β¬ Update httpx requirement from <0.24.0,>=0.23.0 to >=0.23.0,<0.25.0. PR [#9724](https://togithub.com/tiangolo/fastapi/pull/9724) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Bump mkdocs-material from 9.1.16 to 9.1.17. PR [#9746](https://togithub.com/tiangolo/fastapi/pull/9746) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - π₯ Remove missing translation dummy pages, no longer necessary. PR [#9751](https://togithub.com/tiangolo/fastapi/pull/9751) by [@tiangolo](https://togithub.com/tiangolo). - β¬ \[pre-commit.ci] pre-commit autoupdate. PR [#9259](https://togithub.com/tiangolo/fastapi/pull/9259) by [@pre-commit-ci\[bot\]](https://togithub.com/apps/pre-commit-ci). - β¨ Add Material for MkDocs Insiders features and cards. PR [#9748](https://togithub.com/tiangolo/fastapi/pull/9748) by [@tiangolo](https://togithub.com/tiangolo). - π₯ Remove languages without translations. PR [#9743](https://togithub.com/tiangolo/fastapi/pull/9743) by [@tiangolo](https://togithub.com/tiangolo). - β¨ Refactor docs for building scripts, use MkDocs hooks, simplify (remove) configs for languages. PR [#9742](https://togithub.com/tiangolo/fastapi/pull/9742) by [@tiangolo](https://togithub.com/tiangolo). - π¨ Add MkDocs hook that renames sections based on the first index file. PR [#9737](https://togithub.com/tiangolo/fastapi/pull/9737) by [@tiangolo](https://togithub.com/tiangolo). - π· Make cron jobs run only on main repo, not on forks, to avoid error notifications from missing tokens. PR [#9735](https://togithub.com/tiangolo/fastapi/pull/9735) by [@tiangolo](https://togithub.com/tiangolo). - π§ Update MkDocs for other languages. PR [#9734](https://togithub.com/tiangolo/fastapi/pull/9734) by [@tiangolo](https://togithub.com/tiangolo). - π· Refactor Docs CI, run in multiple workers with a dynamic matrix to optimize speed. PR [#9732](https://togithub.com/tiangolo/fastapi/pull/9732) by [@tiangolo](https://togithub.com/tiangolo). - π₯ Remove old internal GitHub Action watch-previews that is no longer needed. PR [#9730](https://togithub.com/tiangolo/fastapi/pull/9730) by [@tiangolo](https://togithub.com/tiangolo). - β¬οΈ Upgrade MkDocs and MkDocs Material. PR [#9729](https://togithub.com/tiangolo/fastapi/pull/9729) by [@tiangolo](https://togithub.com/tiangolo). - π· Build and deploy docs only on docs changes. PR [#9728](https://togithub.com/tiangolo/fastapi/pull/9728) by [@tiangolo](https://togithub.com/tiangolo). ### [`v0.98.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.98.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.97.0...0.98.0) **Note**: please also help me try out the beta with support for Pydantic v2: https://github.com/tiangolo/fastapi/releases/tag/0.100.0-beta1 Now, back to this release (this one doesn't include the beta support for Pydantic v2). ##### Features - β¨ Allow disabling `redirect_slashes` at the FastAPI app level. PR [#3432](https://togithub.com/tiangolo/fastapi/pull/3432) by [@cyberlis](https://togithub.com/cyberlis). ##### Docs - π Update docs on Pydantic using ujson internally. PR [#5804](https://togithub.com/tiangolo/fastapi/pull/5804) by [@mvasilkov](https://togithub.com/mvasilkov). - β Rewording in `docs/en/docs/tutorial/debugging.md`. PR [#9581](https://togithub.com/tiangolo/fastapi/pull/9581) by [@ivan-abc](https://togithub.com/ivan-abc). - π Add german blog post (Domain-driven Design mit Python und FastAPI). PR [#9261](https://togithub.com/tiangolo/fastapi/pull/9261) by [@msander](https://togithub.com/msander). - βοΈ Tweak wording in `docs/en/docs/tutorial/security/index.md`. PR [#9561](https://togithub.com/tiangolo/fastapi/pull/9561) by [@jyothish-mohan](https://togithub.com/jyothish-mohan). - π Update `Annotated` notes in `docs/en/docs/tutorial/schema-extra-example.md`. PR [#9620](https://togithub.com/tiangolo/fastapi/pull/9620) by [@Alexandrhub](https://togithub.com/Alexandrhub). - βοΈ Fix typo `Annotation` -> `Annotated` in `docs/en/docs/tutorial/query-params-str-validations.md`. PR [#9625](https://togithub.com/tiangolo/fastapi/pull/9625) by [@mccricardo](https://togithub.com/mccricardo). - π Use in memory database for testing SQL in docs. PR [#1223](https://togithub.com/tiangolo/fastapi/pull/1223) by [@HarshaLaxman](https://togithub.com/HarshaLaxman). ##### Translations - π Add Russian translation for `docs/ru/docs/tutorial/metadata.md`. PR [#9681](https://togithub.com/tiangolo/fastapi/pull/9681) by [@TabarakoAkula](https://togithub.com/TabarakoAkula). - π Fix typo in Spanish translation for `docs/es/docs/tutorial/first-steps.md`. PR [#9571](https://togithub.com/tiangolo/fastapi/pull/9571) by [@lilidl-nft](https://togithub.com/lilidl-nft). - π Add Russian translation for `docs/tutorial/path-operation-configuration.md`. PR [#9696](https://togithub.com/tiangolo/fastapi/pull/9696) by [@TabarakoAkula](https://togithub.com/TabarakoAkula). - π Add Chinese translation for `docs/zh/docs/advanced/security/index.md`. PR [#9666](https://togithub.com/tiangolo/fastapi/pull/9666) by [@lordqyxz](https://togithub.com/lordqyxz). - π Add Chinese translations for `docs/zh/docs/advanced/settings.md`. PR [#9652](https://togithub.com/tiangolo/fastapi/pull/9652) by [@ChoyeonChern](https://togithub.com/ChoyeonChern). - π Add Chinese translations for `docs/zh/docs/advanced/websockets.md`. PR [#9651](https://togithub.com/tiangolo/fastapi/pull/9651) by [@ChoyeonChern](https://togithub.com/ChoyeonChern). - π Add Chinese translation for `docs/zh/docs/tutorial/testing.md`. PR [#9641](https://togithub.com/tiangolo/fastapi/pull/9641) by [@wdh99](https://togithub.com/wdh99). - π Add Russian translation for `docs/tutorial/extra-models.md`. PR [#9619](https://togithub.com/tiangolo/fastapi/pull/9619) by [@ivan-abc](https://togithub.com/ivan-abc). - π Add Russian translation for `docs/tutorial/cors.md`. PR [#9608](https://togithub.com/tiangolo/fastapi/pull/9608) by [@ivan-abc](https://togithub.com/ivan-abc). - π Add Polish translation for `docs/pl/docs/features.md`. PR [#5348](https://togithub.com/tiangolo/fastapi/pull/5348) by [@mbroton](https://togithub.com/mbroton). - π Add Russian translation for `docs/ru/docs/tutorial/body-nested-models.md`. PR [#9605](https://togithub.com/tiangolo/fastapi/pull/9605) by [@Alexandrhub](https://togithub.com/Alexandrhub). ##### Internal - β¬ Bump ruff from 0.0.272 to 0.0.275. PR [#9721](https://togithub.com/tiangolo/fastapi/pull/9721) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Update uvicorn\[standard] requirement from <0.21.0,>=0.12.0 to >=0.12.0,<0.23.0. PR [#9463](https://togithub.com/tiangolo/fastapi/pull/9463) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Bump mypy from 1.3.0 to 1.4.0. PR [#9719](https://togithub.com/tiangolo/fastapi/pull/9719) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Update pre-commit requirement from <3.0.0,>=2.17.0 to >=2.17.0,<4.0.0. PR [#9251](https://togithub.com/tiangolo/fastapi/pull/9251) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6. PR [#9482](https://togithub.com/tiangolo/fastapi/pull/9482) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - βοΈ Fix tooltips for light/dark theme toggler in docs. PR [#9588](https://togithub.com/tiangolo/fastapi/pull/9588) by [@pankaj1707k](https://togithub.com/pankaj1707k). - π§ Set minimal hatchling version needed to build the package. PR [#9240](https://togithub.com/tiangolo/fastapi/pull/9240) by [@mgorny](https://togithub.com/mgorny). - π Add repo link to PyPI. PR [#9559](https://togithub.com/tiangolo/fastapi/pull/9559) by [@JacobCoffee](https://togithub.com/JacobCoffee). - βοΈ Fix typos in data for tests. PR [#4958](https://togithub.com/tiangolo/fastapi/pull/4958) by [@ryanrussell](https://togithub.com/ryanrussell). - π§ Update sponsors, add Flint. PR [#9699](https://togithub.com/tiangolo/fastapi/pull/9699) by [@tiangolo](https://togithub.com/tiangolo). - π· Lint in CI only once, only with one version of Python, run tests with all of them. PR [#9686](https://togithub.com/tiangolo/fastapi/pull/9686) by [@tiangolo](https://togithub.com/tiangolo). ### [`v0.97.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.97.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.96.1...0.97.0) ##### Features - β¨ Add support for `dependencies` in WebSocket routes. PR [#4534](https://togithub.com/tiangolo/fastapi/pull/4534) by [@paulo-raca](https://togithub.com/paulo-raca). - β¨ Add exception handler for `WebSocketRequestValidationError` (which also allows to override it). PR [#6030](https://togithub.com/tiangolo/fastapi/pull/6030) by [@kristjanvalur](https://togithub.com/kristjanvalur). ##### Refactors - β¬οΈ Upgrade and fully migrate to Ruff, remove isort, includes a couple of tweaks suggested by the new version of Ruff. PR [#9660](https://togithub.com/tiangolo/fastapi/pull/9660) by [@tiangolo](https://togithub.com/tiangolo). - β»οΈ Update internal type annotations and upgrade mypy. PR [#9658](https://togithub.com/tiangolo/fastapi/pull/9658) by [@tiangolo](https://togithub.com/tiangolo). - β»οΈ Simplify `AsyncExitStackMiddleware` as without Python 3.6 `AsyncExitStack` is always available. PR [#9657](https://togithub.com/tiangolo/fastapi/pull/9657) by [@tiangolo](https://togithub.com/tiangolo). ##### Upgrades - β¬οΈ Upgrade Black. PR [#9661](https://togithub.com/tiangolo/fastapi/pull/9661) by [@tiangolo](https://togithub.com/tiangolo). ##### Internal - π Update CI cache to fix installs when dependencies change. PR [#9659](https://togithub.com/tiangolo/fastapi/pull/9659) by [@tiangolo](https://togithub.com/tiangolo). - β¬οΈ Separate requirements for development into their own requirements.txt files, they shouldn't be extras. PR [#9655](https://togithub.com/tiangolo/fastapi/pull/9655) by [@tiangolo](https://togithub.com/tiangolo). ### [`v0.96.1`](https://togithub.com/tiangolo/fastapi/releases/tag/0.96.1) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.96.0...0.96.1) ##### Fixes - π Fix `HTTPException` header type annotations. PR [#9648](https://togithub.com/tiangolo/fastapi/pull/9648) by [@tiangolo](https://togithub.com/tiangolo). - π Fix OpenAPI model fields int validations, `gte` to `ge`. PR [#9635](https://togithub.com/tiangolo/fastapi/pull/9635) by [@tiangolo](https://togithub.com/tiangolo). ##### Upgrades - π Update minimum version of Pydantic to >=1.7.4. This fixes an issue when trying to use an old version of Pydantic. PR [#9567](https://togithub.com/tiangolo/fastapi/pull/9567) by [@Kludex](https://togithub.com/Kludex). ##### Refactors - β» Remove `media_type` from `ORJSONResponse` as it's inherited from the parent class. PR [#5805](https://togithub.com/tiangolo/fastapi/pull/5805) by [@Kludex](https://togithub.com/Kludex). - β» Instantiate `HTTPException` only when needed, optimization refactor. PR [#5356](https://togithub.com/tiangolo/fastapi/pull/5356) by [@pawamoy](https://togithub.com/pawamoy). ##### Docs - π₯ Remove link to Pydantic's benchmark, as it was removed there. PR [#5811](https://togithub.com/tiangolo/fastapi/pull/5811) by [@Kludex](https://togithub.com/Kludex). ##### Translations - π Fix spelling in Indonesian translation of `docs/id/docs/tutorial/index.md`. PR [#5635](https://togithub.com/tiangolo/fastapi/pull/5635) by [@purwowd](https://togithub.com/purwowd). - π Add Russian translation for `docs/ru/docs/tutorial/index.md`. PR [#5896](https://togithub.com/tiangolo/fastapi/pull/5896) by [@Wilidon](https://togithub.com/Wilidon). - π Add Chinese translations for `docs/zh/docs/advanced/response-change-status-code.md` and `docs/zh/docs/advanced/response-headers.md`. PR [#9544](https://togithub.com/tiangolo/fastapi/pull/9544) by [@ChoyeonChern](https://togithub.com/ChoyeonChern). - π Add Russian translation for `docs/ru/docs/tutorial/schema-extra-example.md`. PR [#9621](https://togithub.com/tiangolo/fastapi/pull/9621) by [@Alexandrhub](https://togithub.com/Alexandrhub). ##### Internal - π§ Add sponsor Platform.sh. PR [#9650](https://togithub.com/tiangolo/fastapi/pull/9650) by [@tiangolo](https://togithub.com/tiangolo). - π· Add custom token to Smokeshow and Preview Docs for download-artifact, to prevent API rate limits. PR [#9646](https://togithub.com/tiangolo/fastapi/pull/9646) by [@tiangolo](https://togithub.com/tiangolo). - π· Add custom tokens for GitHub Actions to avoid rate limits. PR [#9647](https://togithub.com/tiangolo/fastapi/pull/9647) by [@tiangolo](https://togithub.com/tiangolo). ### [`v0.96.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.96.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.95.2...0.96.0) ##### Features - β‘ Update `create_cloned_field` to use a global cache and improve startup performance. PR [#4645](https://togithub.com/tiangolo/fastapi/pull/4645) by [@madkinsz](https://togithub.com/madkinsz) and previous original PR by [@huonw](https://togithub.com/huonw). ##### Docs - π Update Deta deployment tutorial for compatibility with Deta Space. PR [#6004](https://togithub.com/tiangolo/fastapi/pull/6004) by [@mikBighne98](https://togithub.com/mikBighne98). - βοΈ Fix typo in Deta deployment tutorial. PR [#9501](https://togithub.com/tiangolo/fastapi/pull/9501) by [@lemonyte](https://togithub.com/lemonyte). ##### Translations - π Add Russian translation for `docs/tutorial/body.md`. PR [#3885](https://togithub.com/tiangolo/fastapi/pull/3885) by [@solomein-sv](https://togithub.com/solomein-sv). - π Add Russian translation for `docs/ru/docs/tutorial/static-files.md`. PR [#9580](https://togithub.com/tiangolo/fastapi/pull/9580) by [@Alexandrhub](https://togithub.com/Alexandrhub). - π Add Russian translation for `docs/ru/docs/tutorial/query-params.md`. PR [#9584](https://togithub.com/tiangolo/fastapi/pull/9584) by [@Alexandrhub](https://togithub.com/Alexandrhub). - π Add Russian translation for `docs/ru/docs/tutorial/first-steps.md`. PR [#9471](https://togithub.com/tiangolo/fastapi/pull/9471) by [@AGolicyn](https://togithub.com/AGolicyn). - π Add Russian translation for `docs/ru/docs/tutorial/debugging.md`. PR [#9579](https://togithub.com/tiangolo/fastapi/pull/9579) by [@Alexandrhub](https://togithub.com/Alexandrhub). - π Add Russian translation for `docs/ru/docs/tutorial/path-params.md`. PR [#9519](https://togithub.com/tiangolo/fastapi/pull/9519) by [@AGolicyn](https://togithub.com/AGolicyn). - π Add Chinese translation for `docs/zh/docs/tutorial/static-files.md`. PR [#9436](https://togithub.com/tiangolo/fastapi/pull/9436) by [@wdh99](https://togithub.com/wdh99). - π Update Spanish translation including new illustrations in `docs/es/docs/async.md`. PR [#9483](https://togithub.com/tiangolo/fastapi/pull/9483) by [@andresbermeoq](https://togithub.com/andresbermeoq). - π Add Russian translation for `docs/ru/docs/tutorial/path-params-numeric-validations.md`. PR [#9563](https://togithub.com/tiangolo/fastapi/pull/9563) by [@ivan-abc](https://togithub.com/ivan-abc). - π Add Russian translation for `docs/ru/docs/deployment/concepts.md`. PR [#9577](https://togithub.com/tiangolo/fastapi/pull/9577) by [@Xewus](https://togithub.com/Xewus). - π Add Russian translation for `docs/ru/docs/tutorial/body-multiple-params.md`. PR [#9586](https://togithub.com/tiangolo/fastapi/pull/9586) by [@Alexandrhub](https://togithub.com/Alexandrhub). ##### Internal - π₯ Update FastAPI People. PR [#9602](https://togithub.com/tiangolo/fastapi/pull/9602) by [@github-actions\[bot\]](https://togithub.com/apps/github-actions). - π§ Update sponsors, remove InvestSuite. PR [#9612](https://togithub.com/tiangolo/fastapi/pull/9612) by [@tiangolo](https://togithub.com/tiangolo).Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.