Build(deps): Bump fastapi from 0.109.2 to 0.110.0
Bumps fastapi from 0.109.2 to 0.110.0.
Release notes
Sourced from fastapi's releases.
0.110.0
Breaking Changes
🐛 Fix unhandled growing memory for internal server errors, refactor dependencies withyield
andexcept
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
, usedexcept
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
andexcept
.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
✏ ️ Fix minor typos indocs/ko/docs/
. PR #11126 by@KaniKim
.✏ ️ Fix minor typo infastapi/applications.py
. PR #11099 by@JacobHayes
.Translations
🌐 Add German translation fordocs/de/docs/reference/background.md
. PR #10820 by@nilslindemann
.🌐 Add German translation fordocs/de/docs/reference/templating.md
. PR #10842 by@nilslindemann
.🌐 Add German translation fordocs/de/docs/external-links.md
. PR #10852 by@nilslindemann
.🌐 Update Turkish translation fordocs/tr/docs/tutorial/query-params.md
. PR #11162 by@hasansezertasan
.🌐 Add German translation fordocs/de/docs/reference/encoders.md
. PR #10840 by@nilslindemann
.🌐 Add German translation fordocs/de/docs/reference/responses.md
. PR #10825 by@nilslindemann
.🌐 Add German translation fordocs/de/docs/reference/request.md
. PR #10821 by@nilslindemann
.🌐 Add Turkish translation fordocs/tr/docs/tutorial/query-params.md
. PR #11078 by@emrhnsyts
.🌐 Add German translation fordocs/de/docs/reference/fastapi.md
. PR #10813 by@nilslindemann
.🌐 Add German translation fordocs/de/docs/newsletter.md
. PR #10853 by@nilslindemann
.🌐 Add Traditional Chinese translation fordocs/zh-hant/docs/learn/index.md
. PR #11142 by@hsuanchi
.🌐 Add Korean translation for/docs/ko/docs/tutorial/dependencies/global-dependencies.md
. PR #11123 by@riroan
.🌐 Add Korean translation for/docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. PR #11124 by@riroan
.🌐 Add Korean translation for/docs/ko/docs/tutorial/schema-extra-example.md
. PR #11121 by@KaniKim
.🌐 Add Korean translation for/docs/ko/docs/tutorial/body-fields.md
. PR #11112 by@KaniKim
.
... (truncated)
Commits
-
e40747f
🔖 Release version 0.110.0 -
32b56a8
📝 Update release notes -
b6b0f2a
📝 Update release notes -
bf771bd
🐛 Fix unhandled growing memory for internal server errors, refactor dependenc... -
6336604
📝 Update release notes -
cb93874
📝 Update release notes -
9210e6a
🌐 Add German translation fordocs/de/docs/reference/background.md
(#10820) -
dec45c5
🌐 Add German translation fordocs/de/docs/reference/templating.md
(#10842) -
5da35ff
📝 Update release notes -
626b066
🌐 Add German translation fordocs/de/docs/external-links.md
(#10852) - Additional commits viewable in compare view