Skip to content

fix(deps): update dependency fastapi to ^0.110.0 - autoclosed

renovate requested to merge renovate/fastapi into master

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
fastapi ^0.109.0 -> ^0.110.0 age adoption passing confidence

Release Notes

tiangolo/fastapi (fastapi)

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

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

Edited by renovate

Merge request reports

Loading