Skip to content

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

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

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
fastapi ^0.87.0 -> ^0.89.0 age adoption passing confidence

Release Notes

tiangolo/fastapi

v0.89.1

Compare Source

Fixes
  • 🐛 Ignore Response classes on return annotation. MR #​5855 by @​Kludex. See the new docs in the MR below.
Docs
Translations

v0.89.0

Compare Source

Features
  • Add support for function return type annotations to declare the response_model. Initial MR #​1436 by @​uriyyo.

Now you can declare the return type / response_model in the function return type annotation:

from fastapi import FastAPI
from pydantic import BaseModel

app = FastAPI()

class Item(BaseModel):
    name: str
    price: float

@​app.get("/items/")
async def read_items() -> list[Item]:
    return [
        Item(name="Portal Gun", price=42.0),
        Item(name="Plumbus", price=32.0),
    ]

FastAPI will use the return type annotation to perform:

  • Data validation
  • Automatic documentation
    • It could power automatic client generators
  • Data filtering

Before this version it was only supported via the response_model parameter.

Read more about it in the new docs: Response Model - Return Type.

Docs
Translations
Internal

v0.88.0

Compare Source

Upgrades
  • Bump Starlette to version 0.22.0 to fix bad encoding for query parameters in new TestClient. MR #​5659 by @​azogue.
Docs
Translations
  • 🌐 Add Portuguese translation for docs/pt/docs/deployment/docker.md. MR #​5663 by @​ayr-ton.
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, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports

Loading