Skip to content

Bump fastapi from 0.105.0 to 0.108.0 #632

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

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 27, 2023

Bumps fastapi from 0.105.0 to 0.108.0.

Release notes

Sourced from fastapi's releases.

0.108.0

Upgrades

  • ⬆️ Upgrade Starlette to >=0.29.0,<0.33.0, update docs and usage of templates with new Starlette arguments. PR #10846 by @​tiangolo.

0.107.0

Upgrades

Docs

  • 📝 Add docs: Node.js script alternative to update OpenAPI for generated clients. PR #10845 by @​alejsdev.
  • 📝 Restructure Docs section in Contributing page. PR #10844 by @​alejsdev.

0.106.0

Breaking Changes

Using resources from dependencies with yield in background tasks is no longer supported.

This change is what supports the new features, read below. 🤓

Dependencies with yield, HTTPException and Background Tasks

Dependencies with yield now can raise HTTPException and other exceptions after yield. 🎉

Read the new docs here: Dependencies with yield and HTTPException.

from fastapi import Depends, FastAPI, HTTPException
from typing_extensions import Annotated
app = FastAPI()
data = {
"plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
"portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
}
class OwnerError(Exception):
pass
def get_username():
try:
yield "Rick"
except OwnerError as e:
raise HTTPException(status_code=400, detail=f"Onwer error: {e}")
</tr></table>

... (truncated)

Commits
  • fe0249a 🔖 Release version 0.108.0
  • 43e2223 📝 Update release notes
  • c55f90d ⬆️ Upgrade Starlette to >=0.29.0,<0.33.0, update docs and usage of template...
  • f933fd6 🔖 Release version 0.107.0
  • 9090bf4 📝 Update release notes
  • d633953 ⬆️ Upgrade Starlette to 0.28.0 (#9636)
  • a751032 📝 Update release notes
  • 505ae06 📝 Add docs: Node.js script alternative to update OpenAPI for generated client...
  • 4de60e1 📝 Update release notes
  • 8b5843e 📝 Restructure Docs section in Contributing page (#10844)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.105.0 to 0.108.0.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](fastapi/fastapi@0.105.0...0.108.0)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 27, 2023
Copy link

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 10.9642 1803.62 2.60639 700
Measurement #1 11.0001 1803.62 2.60639 694

📈 Energy graph:

 
 7.78 ┤                                                                           ╭╮                     ╭╮
 7.18 ┤                                                                           ││                     ││
 6.58 ┤                                                                           ││                     ││
 5.97 ┤                                                                          ╭╯│                ╭─╮  ││╭╮
 5.37 ┤                                                             ╭╮           │ │               ╭╯ ╰╮ │╰╯│
 4.77 ┤                        ╭╮                                   ││           │ ╰─╮╭─╮╭╮        │   │╭╯  │
 4.17 ┤     ╭─╮  ╭─╮╭─╮  ╭─╮   │╰╮    ╭╮╭╮  ╭╮                     ╭╯│           │   ╰╯ ╰╯│       ╭╯   ╰╯   ╰╮        ╭╮╭─╮                              ╭╮      ╭╮           ╭╮           ╭╮                                            ╭─────╮                                                                          ╭╮           ╭─╮                         ╭╮                        ╭─╮                        ╭╮                          ╭╮                          ╭╮                           ╭╮                                                                                         ╭╮                                                                                  ╭─╮
 3.57 ┤    ╭╯ ╰──╯ ╰╯ ╰──╯ ╰───╯ ╰────╯╰╯╰╮╭╯╰─────────────────────╯ ╰───────────╯        ╰╮      │          │       ╭╯╰╯ ╰─╮        ╭─╮         ╭╮ ╭────╯╰──────╯╰─╮         │╰─╮         │╰─╮         ╭──╮         ╭──╮         ╭──────╯     ╰─────────────╮         ╭──╮         ╭─╮         ╭──╮         ╭──╮         │╰─╮         │ ╰─╮         ╭╮        ╭╮ ╭╯╰─╮         ╭╮       ╭╮ ╭╯ ╰╮                   ╭╮ ╭╯╰─╮        ╭──╮        ╭╮ ╭╯╰─╮        ╭─╮         ╭╮ ╭╯╰─╮        ╭─╮╭╮       ╭╮ ╭─╯╰╮         ╭──╮        ╭╮ ╭──╮          ╭─╮         ╭──╮         ╭─╮          ╭─╮         │╰─╮         ╭──╮╭╮          ╭──╮         ╭╮           ╭──╮         ╭╮            ╭─╯ ╰─╮        ╭─╮         ╭╮ ╭─
 2.97 ┤    │                              ╰╯                                               │      │          │       │      │        │ │         │╰╮│               │         │  │         │  │         │  │         │  │         │                          │        ╭╯  │         │ ╰╮        │  │         │  │         │  │         │   │         ││        ││ │   │         ││       ││ │   │         ╭╮        ││╭╯   │        │  │        ││ │   │        │ │         ││ │   │        │ │││       │╰╮│   ╰╮        │  │        ││ │  │         ╭╯ │        ╭╯  │         │ │         ╭╯ │        ╭╯  │         │  │││          │  │         ││╭╮         │  ╰╮        │╰╮           │     │        │ │╭╮       │╰╮│
 2.37 ┤    │                                                                               ╰╮     │          │       │      │        │ ╰─╮       │ ││               │         │  │         │  ╰╮        │  │         │  │         │                          │        │   │         │  │        │  │         │  │         │  │         │   │         ││       ╭╯│╭╯   │         ││       │╰╮│   ╰╮        ││       ╭╯││    │       ╭╯  │        ││ │   │        │ │╭╮       │╰╮│   │        │ │││       │ ││    │       ╭╯  │        ││ │  │         │  │        │   │         │ │         │  │        │   │        ╭╯  │││       ╭╮ │  │        ╭╯╰╯│         │   │       ╭╯ ╰╮          │     │        │ │││       │ ││
 1.77 ┼────╯                                                                                ╰─────╯          ╰───────╯      ╰────────╯   ╰───────╯ ╰╯               ╰─────────╯  ╰─────────╯   ╰────────╯  ╰─────────╯  ╰─────────╯                          ╰────────╯   ╰─────────╯  ╰────────╯  ╰─────────╯  ╰─────────╯  ╰─────────╯   ╰─────────╯╰───────╯ ╰╯    ╰─────────╯╰───────╯ ╰╯    ╰────────╯╰───────╯ ╰╯    ╰───────╯   ╰────────╯╰─╯   ╰────────╯ ╰╯╰───────╯ ╰╯   ╰────────╯ ╰╯╰───────╯ ╰╯    ╰───────╯   ╰────────╯╰─╯  ╰─────────╯  ╰────────╯   ╰─────────╯ ╰─────────╯  ╰────────╯   ╰────────╯   ╰╯╰───────╯╰─╯  ╰────────╯   ╰─────────╯   ╰───────╯   ╰──────────╯     ╰────────╯ ╰╯╰───────╯ ╰╯
                                                                                                                                                                                                                                                                                                                                                         Watts over time

@ArneTR ArneTR merged commit 1156738 into main Dec 27, 2023
@ArneTR ArneTR deleted the dependabot/pip/main/fastapi-0.108.0 branch December 27, 2023 08:53
ArneTR added a commit that referenced this pull request Jan 1, 2024
* main:
  Command fix. Must be list append
  Refactorings
  Moved tinyproxy out of if clause
  Refactoring for error messages and security fix for path echoing (#636)
  GMT color via own commit hash (#634)
  Hotfix for branch not main
  Non-Blocking starlette body read (#633)
  Bump fastapi from 0.105.0 to 0.108.0 (#632)
  Updated XGBoost submodule
  Bump pydantic from 2.5.2 to 2.5.3 (#628)
  Added stddev to timeline (#627)
ArneTR added a commit that referenced this pull request Jan 1, 2024
* main:
  Stderr is now by default UTF-8 (#624)
  Refactored kill/killpg mechanism to be unified and actually fail on n… (#625)
  Command fix. Must be list append
  Refactorings
  Moved tinyproxy out of if clause
  Refactoring for error messages and security fix for path echoing (#636)
  GMT color via own commit hash (#634)
  Hotfix for branch not main
  Non-Blocking starlette body read (#633)
  Bump fastapi from 0.105.0 to 0.108.0 (#632)
  Updated XGBoost submodule
  Bump pydantic from 2.5.2 to 2.5.3 (#628)
  Added stddev to timeline (#627)
  Disable tinyproxy systemd service (#623)
ArneTR added a commit that referenced this pull request Jan 1, 2024
* main: (23 commits)
  System check providers running (#619)
  Stderr is now by default UTF-8 (#624)
  Refactored kill/killpg mechanism to be unified and actually fail on n… (#625)
  Command fix. Must be list append
  Refactorings
  Moved tinyproxy out of if clause
  Refactoring for error messages and security fix for path echoing (#636)
  GMT color via own commit hash (#634)
  Hotfix for branch not main
  Non-Blocking starlette body read (#633)
  Bump fastapi from 0.105.0 to 0.108.0 (#632)
  Updated XGBoost submodule
  Bump pydantic from 2.5.2 to 2.5.3 (#628)
  Added stddev to timeline (#627)
  Disable tinyproxy systemd service (#623)
  Text change
  Value formatting on status page
  Normalized URL for machines endpoint
  Less confusing error messages
  Status has now a waiting time (#599)
  ...
ArneTR added a commit that referenced this pull request Jan 2, 2024
* main:
  Dev mode (#637)
  Hotfix: resolutions -> resolution
  Adds skip_checks to providers (#566)
  Bump pytest from 7.4.3 to 7.4.4 (#639)
  Disabled second PSU provider for VM tests
  System check providers running (#619)
  Stderr is now by default UTF-8 (#624)
  Refactored kill/killpg mechanism to be unified and actually fail on n… (#625)
  Command fix. Must be list append
  Refactorings
  Moved tinyproxy out of if clause
  Refactoring for error messages and security fix for path echoing (#636)
  GMT color via own commit hash (#634)
  Hotfix for branch not main
  Non-Blocking starlette body read (#633)
  Bump fastapi from 0.105.0 to 0.108.0 (#632)
  Updated XGBoost submodule
  Bump pydantic from 2.5.2 to 2.5.3 (#628)
  Added stddev to timeline (#627)
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.

1 participant