Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A aurweb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 86
    • Issues 86
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • aurweb
  • Merge requests
  • !588

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed renovate requested to merge renovate/fastapi-0.x into master Nov 27, 2022
  • Overview 0
  • Commits 1
  • Pipelines 16
  • Changes 2

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
  • 📝 Update docs and examples for Response Model with Return Type Annotations, and update runtime error. MR #​5873 by @​tiangolo. New docs at Response Model - Return Type: Other Return Type Annotations.
  • 📝 Add External Link: FastAPI lambda container: serverless simplified. MR #​5784 by @​rafrasenberg.
Translations
  • 🌐 Add Turkish translation for docs/tr/docs/tutorial/first_steps.md. MR #​5691 by @​Kadermiyanyedi.

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
  • 📝 Add External Link: Authorization on FastAPI with Casbin. MR #​5712 by @​Xhy-5000.
  • ✏ Fix typo in docs/en/docs/async.md. MR #​5785 by @​Kingdageek.
  • ✏ Fix typo in docs/en/docs/deployment/concepts.md. MR #​5824 by @​kelbyfaessler.
Translations
  • 🌐 Add Russian translation for docs/ru/docs/fastapi-people.md. MR #​5577 by @​Xewus.
  • 🌐 Fix typo in Chinese translation for docs/zh/docs/benchmarks.md. MR #​4269 by @​15027668g.
  • 🌐 Add Korean translation for docs/tutorial/cors.md. MR #​3764 by @​NinaHwang.
Internal
  • ⬆ Update coverage[toml] requirement from <7.0,>=6.5.0 to >=6.5.0,<8.0. MR #​5801 by @​dependabot[bot].
  • ⬆ Update uvicorn[standard] requirement from <0.19.0,>=0.12.0 to >=0.12.0,<0.21.0 for development. MR #​5795 by @​dependabot[bot].
  • ⬆ Bump dawidd6/action-download-artifact from 2.24.2 to 2.24.3. MR #​5842 by @​dependabot[bot].
  • 👥 Update FastAPI People. MR #​5825 by @​github-actions[bot].
  • ⬆ Bump types-ujson from 5.5.0 to 5.6.0.0. MR #​5735 by @​dependabot[bot].
  • ⬆ Bump pypa/gh-action-pypi-publish from 1.5.2 to 1.6.4. MR #​5750 by @​dependabot[bot].
  • 👷 Add GitHub Action gate/check. MR #​5492 by @​webknjaz.
  • 🔧 Update sponsors, add Svix. MR #​5848 by @​tiangolo.
  • 🔧 Remove Doist sponsor. MR #​5847 by @​tiangolo.
  • ⬆ Update sqlalchemy requirement from <=1.4.41,>=1.3.18 to >=1.3.18,<1.4.43. MR #​5540 by @​dependabot[bot].
  • ⬆ Bump nwtgck/actions-netlify from 1.2.4 to 2.0.0. MR #​5757 by @​dependabot[bot].
  • 👷 Refactor CI artifact upload/download for docs previews. MR #​5793 by @​tiangolo.
  • ⬆ Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.5.2. MR #​5714 by @​dependabot[bot].
  • 👥 Update FastAPI People. MR #​5722 by @​github-actions[bot].
  • 🔧 Update sponsors, disable course bundle. MR #​5713 by @​tiangolo.
  • ⬆ Update typer[all] requirement from <0.7.0,>=0.6.1 to >=0.6.1,<0.8.0. MR #​5639 by @​dependabot[bot].

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
  • ✏️ Fix typo in docs for docs/en/docs/advanced/middleware.md. MR #​5376 by @​rifatrakib.
Translations
  • 🌐 Add Portuguese translation for docs/pt/docs/deployment/docker.md. MR #​5663 by @​ayr-ton.
Internal
  • 👷 Tweak build-docs to improve CI performance. MR #​5699 by @​tiangolo.
  • ⬆ [pre-commit.ci] pre-commit autoupdate. MR #​5566 by @​pre-commit-ci[bot].
  • ⬆️ Upgrade Ruff. MR #​5698 by @​tiangolo.
  • 👷 Remove pip cache for Smokeshow as it depends on a requirements.txt. MR #​5700 by @​tiangolo.
  • 💚 Fix pip cache for Smokeshow. MR #​5697 by @​tiangolo.
  • 👷 Fix and tweak CI cache handling. MR #​5696 by @​tiangolo.
  • 👷 Update setup-python action in tests to use new caching feature. MR #​5680 by @​madkinsz.
  • ⬆ Bump black from 22.8.0 to 22.10.0. MR #​5569 by @​dependabot[bot].

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 Jan 10, 2023 by renovate
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: renovate/fastapi-0.x