Closed renovate[bot] closed 1 year ago
Base: 86.95% // Head: 86.95% // No change to project coverage :thumbsup:
Coverage data is based on head (
d9fbf1e
) compared to base (9f32acc
). Patch has no changes to coverable lines.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
This PR contains the following updates:
==0.87.0
->==0.89.1
Release Notes
tiangolo/fastapi
### [`v0.89.1`](https://togithub.com/tiangolo/fastapi/releases/tag/0.89.1) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.89.0...0.89.1) ##### Fixes - π Ignore Response classes on return annotation. PR [#5855](https://togithub.com/tiangolo/fastapi/pull/5855) by [@Kludex](https://togithub.com/Kludex). See the new docs in the PR below. ##### Docs - π Update docs and examples for Response Model with Return Type Annotations, and update runtime error. PR [#5873](https://togithub.com/tiangolo/fastapi/pull/5873) by [@tiangolo](https://togithub.com/tiangolo). New docs at [Response Model - Return Type: Other Return Type Annotations](https://fastapi.tiangolo.com/tutorial/response-model/#other-return-type-annotations). - π Add External Link: FastAPI lambda container: serverless simplified. PR [#5784](https://togithub.com/tiangolo/fastapi/pull/5784) by [@rafrasenberg](https://togithub.com/rafrasenberg). ##### Translations - π Add Turkish translation for `docs/tr/docs/tutorial/first_steps.md`. PR [#5691](https://togithub.com/tiangolo/fastapi/pull/5691) by [@Kadermiyanyedi](https://togithub.com/Kadermiyanyedi). ### [`v0.89.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.89.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.88.0...0.89.0) ##### Features - β¨ Add support for function return type annotations to declare the `response_model`. Initial PR [#1436](https://togithub.com/tiangolo/fastapi/pull/1436) by [@uriyyo](https://togithub.com/uriyyo). Now you can declare the return type / `response_model` in the function return type annotation: ```python 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](https://fastapi.tiangolo.com/tutorial/response-model/). ##### Docs - π Add External Link: Authorization on FastAPI with Casbin. PR [#5712](https://togithub.com/tiangolo/fastapi/pull/5712) by [@Xhy-5000](https://togithub.com/Xhy-5000). - β Fix typo in `docs/en/docs/async.md`. PR [#5785](https://togithub.com/tiangolo/fastapi/pull/5785) by [@Kingdageek](https://togithub.com/Kingdageek). - β Fix typo in `docs/en/docs/deployment/concepts.md`. PR [#5824](https://togithub.com/tiangolo/fastapi/pull/5824) by [@kelbyfaessler](https://togithub.com/kelbyfaessler). ##### Translations - π Add Russian translation for `docs/ru/docs/fastapi-people.md`. PR [#5577](https://togithub.com/tiangolo/fastapi/pull/5577) by [@Xewus](https://togithub.com/Xewus). - π Fix typo in Chinese translation for `docs/zh/docs/benchmarks.md`. PR [#4269](https://togithub.com/tiangolo/fastapi/pull/4269) by [@15027668g](https://togithub.com/15027668g). - π Add Korean translation for `docs/tutorial/cors.md`. PR [#3764](https://togithub.com/tiangolo/fastapi/pull/3764) by [@NinaHwang](https://togithub.com/NinaHwang). ##### Internal - β¬ Update coverage\[toml] requirement from <7.0,>=6.5.0 to >=6.5.0,<8.0. PR [#5801](https://togithub.com/tiangolo/fastapi/pull/5801) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Update uvicorn\[standard] requirement from <0.19.0,>=0.12.0 to >=0.12.0,<0.21.0 for development. PR [#5795](https://togithub.com/tiangolo/fastapi/pull/5795) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Bump dawidd6/action-download-artifact from 2.24.2 to 2.24.3. PR [#5842](https://togithub.com/tiangolo/fastapi/pull/5842) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - π₯ Update FastAPI People. PR [#5825](https://togithub.com/tiangolo/fastapi/pull/5825) by [@github-actions\[bot\]](https://togithub.com/apps/github-actions). - β¬ Bump types-ujson from 5.5.0 to 5.6.0.0. PR [#5735](https://togithub.com/tiangolo/fastapi/pull/5735) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Bump pypa/gh-action-pypi-publish from 1.5.2 to 1.6.4. PR [#5750](https://togithub.com/tiangolo/fastapi/pull/5750) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - π· Add GitHub Action gate/check. PR [#5492](https://togithub.com/tiangolo/fastapi/pull/5492) by [@webknjaz](https://togithub.com/webknjaz). - π§ Update sponsors, add Svix. PR [#5848](https://togithub.com/tiangolo/fastapi/pull/5848) by [@tiangolo](https://togithub.com/tiangolo). - π§ Remove Doist sponsor. PR [#5847](https://togithub.com/tiangolo/fastapi/pull/5847) by [@tiangolo](https://togithub.com/tiangolo). - β¬ Update sqlalchemy requirement from <=1.4.41,>=1.3.18 to >=1.3.18,<1.4.43. PR [#5540](https://togithub.com/tiangolo/fastapi/pull/5540) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - β¬ Bump nwtgck/actions-netlify from 1.2.4 to 2.0.0. PR [#5757](https://togithub.com/tiangolo/fastapi/pull/5757) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - π· Refactor CI artifact upload/download for docs previews. PR [#5793](https://togithub.com/tiangolo/fastapi/pull/5793) by [@tiangolo](https://togithub.com/tiangolo). - β¬ Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.5.2. PR [#5714](https://togithub.com/tiangolo/fastapi/pull/5714) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). - π₯ Update FastAPI People. PR [#5722](https://togithub.com/tiangolo/fastapi/pull/5722) by [@github-actions\[bot\]](https://togithub.com/apps/github-actions). - π§ Update sponsors, disable course bundle. PR [#5713](https://togithub.com/tiangolo/fastapi/pull/5713) by [@tiangolo](https://togithub.com/tiangolo). - β¬ Update typer\[all] requirement from <0.7.0,>=0.6.1 to >=0.6.1,<0.8.0. PR [#5639](https://togithub.com/tiangolo/fastapi/pull/5639) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot). ### [`v0.88.0`](https://togithub.com/tiangolo/fastapi/releases/tag/0.88.0) [Compare Source](https://togithub.com/tiangolo/fastapi/compare/0.87.0...0.88.0) ##### Upgrades - β¬ Bump Starlette to version `0.22.0` to fix bad encoding for query parameters in new `TestClient`. PR [#5659](https://togithub.com/tiangolo/fastapi/pull/5659) by [@azogue](https://togithub.com/azogue). ##### Docs - βοΈ Fix typo in docs for `docs/en/docs/advanced/middleware.md`. PR [#5376](https://togithub.com/tiangolo/fastapi/pull/5376) by [@rifatrakib](https://togithub.com/rifatrakib). ##### Translations - π Add Portuguese translation for `docs/pt/docs/deployment/docker.md`. PR [#5663](https://togithub.com/tiangolo/fastapi/pull/5663) by [@ayr-ton](https://togithub.com/ayr-ton). ##### Internal - π· Tweak build-docs to improve CI performance. PR [#5699](https://togithub.com/tiangolo/fastapi/pull/5699) by [@tiangolo](https://togithub.com/tiangolo). - β¬ \[pre-commit.ci] pre-commit autoupdate. PR [#5566](https://togithub.com/tiangolo/fastapi/pull/5566) by [@pre-commit-ci\[bot\]](https://togithub.com/apps/pre-commit-ci). - β¬οΈ Upgrade Ruff. PR [#5698](https://togithub.com/tiangolo/fastapi/pull/5698) by [@tiangolo](https://togithub.com/tiangolo). - π· Remove pip cache for Smokeshow as it depends on a requirements.txt. PR [#5700](https://togithub.com/tiangolo/fastapi/pull/5700) by [@tiangolo](https://togithub.com/tiangolo). - π Fix pip cache for Smokeshow. PR [#5697](https://togithub.com/tiangolo/fastapi/pull/5697) by [@tiangolo](https://togithub.com/tiangolo). - π· Fix and tweak CI cache handling. PR [#5696](https://togithub.com/tiangolo/fastapi/pull/5696) by [@tiangolo](https://togithub.com/tiangolo). - π· Update `setup-python` action in tests to use new caching feature. PR [#5680](https://togithub.com/tiangolo/fastapi/pull/5680) by [@madkinsz](https://togithub.com/madkinsz). - β¬ Bump black from 22.8.0 to 22.10.0. PR [#5569](https://togithub.com/tiangolo/fastapi/pull/5569) by [@dependabot\[bot\]](https://togithub.com/apps/dependabot).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 PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.