Skip to content

Build(deps): Bump fastapi from 0.111.1 to 0.112.0

Ronan Amicel requested to merge dependabot-pip-fastapi-0.112.0 into main

Bumps fastapi from 0.111.1 to 0.112.0.

Release notes

Sourced from fastapi's releases.

0.112.0

Breaking Changes

  • ️ Add support for pip install "fastapi[standard]" with standard dependencies and python -m fastapi. PR #11935 by @​tiangolo.

Summary

Install with:

pip install "fastapi[standard]"

Other Changes

  • This adds support for calling the CLI as:
python -m python
  • 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 and here: #11525

Docs

Translations

  • 🌐 Update Portuguese translation for docs/pt/docs/alternatives.md. PR #11931 by @​ceb10n.
  • 🌐 Add Russian translation for docs/ru/docs/tutorial/dependencies/sub-dependencies.md. PR #10515 by @​AlertRED.

... (truncated)

Commits
  • b2e2338 🔖 Release version 0.112.0
  • 003d454 📝 Update release notes
  • 450bff6 📝 Update release notes
  • a25c92c ️ Add support for pip install "fastapi[standard]" with standard dependenci...
  • 3990a0a 📝 Update release notes
  • 1f7dcc5 🌐 Update Portuguese translation for docs/pt/docs/alternatives.md (#11931)
  • 12a4476 📝 Update release notes
  • efb4a07 🔧 Update sponsors: add liblab (#11934)
  • 9d41d6e 📝 Update release notes
  • 643a87c 👷 Update GitHub Action label-approved permissions (#11933)
  • Additional commits viewable in compare view

Merge request reports