Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆ Update fastapi requirement from <0.87.0,>=0.65.2 to >=0.65.2,<0.90.0 #336

Merged
merged 10 commits into from
Jan 11, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 9, 2023

Updates the requirements on fastapi to permit the latest version.

Release notes

Sourced from fastapi's releases.

0.89.0

Features

  • ✨ Add support for function return type annotations to declare the response_model. Initial PR #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

  • 🌐 Add Russian translation for docs/ru/docs/fastapi-people.md. PR #5577 by @​Xewus.
  • 🌐 Fix typo in Chinese translation for docs/zh/docs/benchmarks.md. PR #4269 by @​15027668g.
  • 🌐 Add Korean translation for docs/tutorial/cors.md. PR #3764 by @​NinaHwang.

... (truncated)

Commits
  • 69bd7d8 🔖 Release version 0.89.0
  • a6af7c2 📝 Update release notes
  • aa6a8e5 📝 Update release notes
  • c482dd3 ⬆ Update coverage[toml] requirement from <7.0,>=6.5.0 to >=6.5.0,<8.0 (#5801)
  • 681e5c0 📝 Update release notes
  • eb39b0f 📝 Update release notes
  • 27ce2e2 📝 Add External Link: Authorization on FastAPI with Casbin (#5712)
  • f56b0d5 ⬆ Update uvicorn[standard] requirement from <0.19.0,>=0.12.0 to >=0.12.0,<0.2...
  • 5c6d7b2 📝 Update release notes
  • 78813a5 ✏ Fix typo in docs/en/docs/async.md (#5785)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [fastapi](https://github.com/tiangolo/fastapi) to permit the latest version.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](tiangolo/fastapi@0.65.2...0.89.0)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from yezz123 as a code owner January 9, 2023 04:14
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 9, 2023
@codecov
Copy link

codecov bot commented Jan 9, 2023

Codecov Report

Base: 91.91% // Head: 90.82% // Decreases project coverage by -1.08% ⚠️

Coverage data is based on head (7147008) compared to base (ba6a4df).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head 7147008 differs from pull request most recent head 23464f6. Consider uploading reports for the commit 23464f6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #336      +/-   ##
==========================================
- Coverage   91.91%   90.82%   -1.09%     
==========================================
  Files          58       58              
  Lines        2015     2017       +2     
==========================================
- Hits         1852     1832      -20     
- Misses        163      185      +22     
Impacted Files Coverage Δ
tests/core/test_core_deps_session.py 69.04% <100.00%> (-30.96%) ⬇️
authx/core/session.py 73.52% <0.00%> (-26.48%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 11, 2023

A newer version of fastapi exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@yezz123 yezz123 merged commit 32022ff into main Jan 11, 2023
@yezz123 yezz123 deleted the dependabot/pip/fastapi-gte-0.65.2-and-lt-0.90.0 branch January 11, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant