Skip to content

chore(deps): update dependency fastapi to ^0.111.0

renovate requested to merge renovate/fastapi-0.x into main

This MR contains the following updates:

Package Type Update Change
fastapi dependencies minor ^0.108.0 -> ^0.111.0

Release Notes

tiangolo/fastapi (fastapi)

v0.111.0

Compare Source

Features

Try it out with:

$ 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. MR #​11503 by @​tiangolo.

v0.110.3

Compare Source

Latest Changes

Docs
Translations
  • 🌐 Add Traditional Chinese translation for docs/zh-hant/benchmarks.md. MR #​11484 by @​KNChiu.
  • 🌐 Update Chinese translation for docs/zh/docs/fastapi-people.md. MR #​11476 by @​billzhong.
  • 🌐 Add Chinese translation for docs/zh/docs/how-to/index.md and docs/zh/docs/how-to/general.md. MR #​11443 by @​billzhong.
  • 🌐 Add Spanish translation for cookie-params docs/es/docs/tutorial/cookie-params.md. MR #​11410 by @​fabianfalon.
Internal

v0.110.2

Compare Source

Fixes
  • 🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic UndefinedType. MR #​9929 by @​arjwilliams.
Refactors
  • ️ Simplify Pydantic configs in OpenAPI models in fastapi/openapi/models.py. MR #​10886 by @​JoeTanto2.
  • Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response. MR #​11461 by @​tiangolo.
Docs
Translations
Internal

v0.110.1

Compare Source

Fixes
Refactors
Upgrades
  • ️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests. MR #​11266 by @​nothielf.
Docs
Translations
Internal

v0.110.0

Compare Source

Breaking Changes
  • 🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python. MR #​11191 by @​tiangolo.
    • This is a breaking change (and only slightly) if you used dependencies with yield, used except in those dependencies, and didn't raise again.
    • This was reported internally by @​rushilsrivastava as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released.
    • Read the new docs: Dependencies with yield and except.

In short, if you had dependencies that looked like:

def my_dep():
    try:
        yield
    except SomeException:
        pass

Now you need to make sure you raise again after except, just as you would in regular Python:

def my_dep():
    try:
        yield
    except SomeException:
        raise
Docs
Translations

v0.109.2

Compare Source

Upgrades
Translations
Internal

v0.109.1

Compare Source

Security fixes
  • ️ Upgrade minimum version of python-multipart to >=0.0.7 to fix a vulnerability when using form data with a ReDos attack. You can also simply upgrade python-multipart.

Read more in the advisory: Content-Type Header ReDoS.

Features
Refactors
  • Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite. MR #​10876 by @​emmettbutler.
  • ️ Simplify string format with f-strings in fastapi/utils.py. MR #​10576 by @​eukub.
  • 🔧 Fix Ruff configuration unintentionally enabling and re-disabling mccabe complexity check. MR #​10893 by @​jiridanek.
  • Re-enable test in tests/test_tutorial/test_header_params/test_tutorial003.py after fix in Starlette. MR #​10904 by @​ooknimm.
Docs
Translations
Internal

v0.109.0

Compare Source

Features
Upgrades
  • ️ Upgrade Starlette to >=0.29.0,<0.33.0, update docs and usage of templates with new Starlette arguments. Remove pin of AnyIO >=3.7.1,<4.0.0, add support for AnyIO 4.x.x. MR #​10846 by @​tiangolo.
Docs
Translations
Internal

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports