Update dependency fastapi to v0.110.0 #50

Merged
profitroll merged 1 commits from renovate/fastapi-0.x into dev 2024-02-25 22:31:47 +02:00
Collaborator

This PR contains the following updates:

Package Update Change
fastapi minor ==0.109.2 -> ==0.110.0

Release Notes

tiangolo/fastapi (fastapi)

v0.110.0

Compare Source

Breaking Changes
  • 🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python. PR #​11191 by @​tiangolo.
    • This is a breaking change (and only slightly) if you used dependencies with yield, used except in those dependencies, and didn't raise again.
    • This was reported internally by @​rushilsrivastava as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released.
    • Read the new docs: Dependencies with yield and except.

In short, if you had dependencies that looked like:

def my_dep():
    try:
        yield
    except SomeException:
        pass

Now you need to make sure you raise again after except, just as you would in regular Python:

def my_dep():
    try:
        yield
    except SomeException:
        raise
Docs
Translations

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [fastapi](https://github.com/tiangolo/fastapi) | minor | `==0.109.2` -> `==0.110.0` | --- ### Release Notes <details> <summary>tiangolo/fastapi (fastapi)</summary> ### [`v0.110.0`](https://github.com/tiangolo/fastapi/releases/tag/0.110.0) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.109.2...0.110.0) ##### Breaking Changes - 🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with `yield` and `except` to require raising again as in regular Python. PR [#&#8203;11191](https://github.com/tiangolo/fastapi/pull/11191) by [@&#8203;tiangolo](https://github.com/tiangolo). - This is a breaking change (and only slightly) if you used dependencies with `yield`, used `except` in those dependencies, and didn't raise again. - This was reported internally by [@&#8203;rushilsrivastava](https://github.com/rushilsrivastava) as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released. - Read the new docs: [Dependencies with `yield` and `except`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-except). In short, if you had dependencies that looked like: ```Python def my_dep(): try: yield except SomeException: pass ``` Now you need to make sure you raise again after `except`, just as you would in regular Python: ```Python def my_dep(): try: yield except SomeException: raise ``` ##### Docs - ✏️ Fix minor typos in `docs/ko/docs/`. PR [#&#8203;11126](https://github.com/tiangolo/fastapi/pull/11126) by [@&#8203;KaniKim](https://github.com/KaniKim). - ✏️ Fix minor typo in `fastapi/applications.py`. PR [#&#8203;11099](https://github.com/tiangolo/fastapi/pull/11099) by [@&#8203;JacobHayes](https://github.com/JacobHayes). ##### Translations - 🌐 Add German translation for `docs/de/docs/reference/background.md`. PR [#&#8203;10820](https://github.com/tiangolo/fastapi/pull/10820) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/templating.md`. PR [#&#8203;10842](https://github.com/tiangolo/fastapi/pull/10842) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/external-links.md`. PR [#&#8203;10852](https://github.com/tiangolo/fastapi/pull/10852) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update Turkish translation for `docs/tr/docs/tutorial/query-params.md`. PR [#&#8203;11162](https://github.com/tiangolo/fastapi/pull/11162) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add German translation for `docs/de/docs/reference/encoders.md`. PR [#&#8203;10840](https://github.com/tiangolo/fastapi/pull/10840) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/responses.md`. PR [#&#8203;10825](https://github.com/tiangolo/fastapi/pull/10825) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/request.md`. PR [#&#8203;10821](https://github.com/tiangolo/fastapi/pull/10821) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add Turkish translation for `docs/tr/docs/tutorial/query-params.md`. PR [#&#8203;11078](https://github.com/tiangolo/fastapi/pull/11078) by [@&#8203;emrhnsyts](https://github.com/emrhnsyts). - 🌐 Add German translation for `docs/de/docs/reference/fastapi.md`. PR [#&#8203;10813](https://github.com/tiangolo/fastapi/pull/10813) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/newsletter.md`. PR [#&#8203;10853](https://github.com/tiangolo/fastapi/pull/10853) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/learn/index.md`. PR [#&#8203;11142](https://github.com/tiangolo/fastapi/pull/11142) by [@&#8203;hsuanchi](https://github.com/hsuanchi). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/dependencies/global-dependencies.md`. PR [#&#8203;11123](https://github.com/tiangolo/fastapi/pull/11123) by [@&#8203;riroan](https://github.com/riroan). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#&#8203;11124](https://github.com/tiangolo/fastapi/pull/11124) by [@&#8203;riroan](https://github.com/riroan). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/schema-extra-example.md`. PR [#&#8203;11121](https://github.com/tiangolo/fastapi/pull/11121) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/body-fields.md`. PR [#&#8203;11112](https://github.com/tiangolo/fastapi/pull/11112) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/cookie-params.md`. PR [#&#8203;11118](https://github.com/tiangolo/fastapi/pull/11118) by [@&#8203;riroan](https://github.com/riroan). - 🌐 Update Korean translation for `/docs/ko/docs/dependencies/index.md`. PR [#&#8203;11114](https://github.com/tiangolo/fastapi/pull/11114) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Update Korean translation for `/docs/ko/docs/deployment/docker.md`. PR [#&#8203;11113](https://github.com/tiangolo/fastapi/pull/11113) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Update Turkish translation for `docs/tr/docs/tutorial/first-steps.md`. PR [#&#8203;11094](https://github.com/tiangolo/fastapi/pull/11094) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Spanish translation for `docs/es/docs/advanced/security/index.md`. PR [#&#8203;2278](https://github.com/tiangolo/fastapi/pull/2278) by [@&#8203;Xaraxx](https://github.com/Xaraxx). - 🌐 Add Spanish translation for `docs/es/docs/advanced/response-headers.md`. PR [#&#8203;2276](https://github.com/tiangolo/fastapi/pull/2276) by [@&#8203;Xaraxx](https://github.com/Xaraxx). - 🌐 Add Spanish translation for `docs/es/docs/deployment/index.md` and `~/deployment/versions.md`. PR [#&#8203;9669](https://github.com/tiangolo/fastapi/pull/9669) by [@&#8203;pabloperezmoya](https://github.com/pabloperezmoya). - 🌐 Add Spanish translation for `docs/es/docs/benchmarks.md`. PR [#&#8203;10928](https://github.com/tiangolo/fastapi/pull/10928) by [@&#8203;pablocm83](https://github.com/pablocm83). - 🌐 Add Spanish translation for `docs/es/docs/advanced/response-change-status-code.md`. PR [#&#8203;11100](https://github.com/tiangolo/fastapi/pull/11100) by [@&#8203;alejsdev](https://github.com/alejsdev). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Renovate added 1 commit 2024-02-25 02:14:26 +02:00
profitroll merged commit e6f3b7c4b1 into dev 2024-02-25 22:31:47 +02:00
profitroll deleted branch renovate/fastapi-0.x 2024-02-25 22:31:47 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: profitroll/PhotosAPI#50
No description provided.