-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix(deps): update dependency fastapi to v0.109.2 - autoclosed #28
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
July 14, 2022 21:59
670ab4d
to
49a41c9
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.78.0,<0.79.0
fix(deps): update dependency fastapi to >=0.79.0,<0.80.0
Jul 14, 2022
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
August 18, 2022 21:55
49a41c9
to
6eae3a9
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.79.0,<0.80.0
fix(deps): update dependency fastapi to >=0.79.1,<0.80.0
Aug 18, 2022
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
August 23, 2022 15:59
6eae3a9
to
1976987
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.79.1,<0.80.0
fix(deps): update dependency fastapi to >=0.80.0,<0.81.0
Aug 23, 2022
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
August 26, 2022 15:40
1976987
to
07b7e5d
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.80.0,<0.81.0
fix(deps): update dependency fastapi to >=0.81.0,<0.82.0
Aug 26, 2022
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 4, 2022 22:12
07b7e5d
to
07e13de
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.81.0,<0.82.0
fix(deps): update dependency fastapi to >=0.82.0,<0.83.0
Sep 4, 2022
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 25, 2022 17:59
07e13de
to
106f3cd
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.82.0,<0.83.0
fix(deps): update dependency fastapi to >=0.85.0,<0.86.0
Sep 25, 2022
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
January 19, 2023 18:50
106f3cd
to
c960bff
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.85.0,<0.86.0
fix(deps): update dependency fastapi to >=0.89.1,<0.90.0
Jan 19, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 8, 2023 12:17
c960bff
to
fb70a62
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.89.1,<0.90.0
fix(deps): update dependency fastapi to >=0.90.0,<0.91.0
Feb 8, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 9, 2023 21:47
fb70a62
to
b72847e
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.90.0,<0.91.0
fix(deps): update dependency fastapi to >=0.90.1,<0.91.0
Feb 9, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 10, 2023 17:07
b72847e
to
ba61fe7
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.90.1,<0.91.0
fix(deps): update dependency fastapi to >=0.91.0,<0.92.0
Feb 10, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 14, 2023 10:43
ba61fe7
to
b34a819
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.91.0,<0.92.0
fix(deps): update dependency fastapi to >=0.92.0,<0.93.0
Feb 14, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
March 7, 2023 17:00
b34a819
to
1d92578
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.92.0,<0.93.0
fix(deps): update dependency fastapi to >=0.93.0,<0.94.0
Mar 7, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
March 10, 2023 20:44
1d92578
to
bb73bfb
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.93.0,<0.94.0
fix(deps): update dependency fastapi to >=0.94.0,<0.95.0
Mar 10, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
March 14, 2023 02:40
bb73bfb
to
6cbfe39
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.94.0,<0.95.0
fix(deps): update dependency fastapi to >=0.94.1,<0.95.0
Mar 14, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
March 18, 2023 20:32
6cbfe39
to
ccf723c
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to >=0.94.1,<0.95.0
fix(deps): update dependency fastapi to >=0.95.0,<0.96.0
Mar 18, 2023
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.101.0
fix(deps): update dependency fastapi to v0.101.1
Aug 15, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
August 15, 2023 02:49
6339024
to
26b4816
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.101.1
fix(deps): update dependency fastapi to v0.102.0
Aug 25, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
2 times, most recently
from
August 27, 2023 02:52
6aec4e2
to
8c660ed
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.102.0
fix(deps): update dependency fastapi to v0.103.0
Aug 27, 2023
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.103.0
fix(deps): update dependency fastapi to v0.103.1
Sep 3, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 3, 2023 02:55
8c660ed
to
e41110b
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.103.1
fix(deps): update dependency fastapi to v0.103.2
Sep 29, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
September 29, 2023 20:18
e41110b
to
46a4ac7
Compare
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 19, 2023 05:57
46a4ac7
to
4d1b06d
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.103.2
fix(deps): update dependency fastapi to v0.104.0
Oct 19, 2023
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.104.0
fix(deps): update dependency fastapi to v0.104.1
Oct 31, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
October 31, 2023 09:02
4d1b06d
to
c78d2fd
Compare
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
December 12, 2023 02:38
c78d2fd
to
3bf7a68
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.104.1
fix(deps): update dependency fastapi to v0.105.0
Dec 12, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
December 26, 2023 11:19
3bf7a68
to
9c68a94
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.105.0
fix(deps): update dependency fastapi to v0.106.0
Dec 26, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
December 27, 2023 08:43
9c68a94
to
62f1f20
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.106.0
fix(deps): update dependency fastapi to v0.108.0
Dec 27, 2023
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
January 12, 2024 08:46
62f1f20
to
961d7b0
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.108.0
fix(deps): update dependency fastapi to v0.109.0
Jan 12, 2024
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 4, 2024 14:42
961d7b0
to
4ff21f8
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.109.0
fix(deps): update dependency fastapi to v0.109.1
Feb 4, 2024
renovate
bot
force-pushed
the
renovate/fastapi-0.x
branch
from
February 5, 2024 02:15
4ff21f8
to
f80b11d
Compare
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.109.1
fix(deps): update dependency fastapi to v0.109.2
Feb 5, 2024
renovate
bot
changed the title
fix(deps): update dependency fastapi to v0.109.2
fix(deps): update dependency fastapi to v0.109.2 - autoclosed
Feb 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.95.2
->0.109.2
Release Notes
tiangolo/fastapi (fastapi)
v0.109.2
Compare Source
Upgrades
>= 0.36.3
. PR #11086 by @tiangolo.Translations
docs/tr/docs/fastapi-people.md
. PR #10547 by @alperiox.Internal
v0.109.1
Compare Source
Security fixes
python-multipart
to>=0.0.7
to fix a vulnerability when using form data with a ReDos attack. You can also simply upgradepython-multipart
.Read more in the advisory: Content-Type Header ReDoS.
Features
Refactors
fastapi/utils.py
. PR #10576 by @eukub.tests/test_tutorial/test_header_params/test_tutorial003.py
after fix in Starlette. PR #10904 by @ooknimm.Docs
help-fastapi.md
. PR #11040 by @tiangolo.fastapi/security/oauth2.py
. PR #10972 by @RafalSkolasinski.HTTPException
details indocs/en/docs/tutorial/handling-errors.md
. PR #5418 by @papb.docs/de/docs/tutorial/first-steps.md
. PR #10959 by @nilslindemann.docs/en/docs/advanced/async-tests.md
. PR #10960 by @nilslindemann.docs/tutorial/sql-databases.md
in several languages. PR #10716 by @theoohoho.external_links.yml
. PR #10943 by @Torabek.url_for
. PR #5937 by @EzzEddin.docs/en/docs/tutorial/bigger-applications.md
. PR #5490 by @papb.docs/en/docs/tutorial/static-files.md
. PR #10243 by @hungtsetse.en/docs/contributing.md
. PR #10480 by @nilslindemann.tutorial/bigger-applications.md
. PR #10552 by @nilslindemann.docs/en/docs/advanced/path-operation-advanced-configuration.md
. PR #10826 by @ahmedabdou14.Translations
docs/es/docs/external-links.md
. PR #10933 by @pablocm83.docs/ko/docs/tutorial/first-steps.md
,docs/ko/docs/tutorial/index.md
,docs/ko/docs/tutorial/path-params.md
, anddocs/ko/docs/tutorial/query-params.md
. PR #4218 by @SnowSuno.docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #10870 by @zhiquanchi.docs/zh/docs/deployment/concepts.md
. PR #10282 by @xzmeng.docs/az/docs/index.md
. PR #11047 by @aykhans.docs/ko/docs/tutorial/middleware.md
. PR #2829 by @JeongHyeongKim.docs/de/docs/tutorial/body-nested-models.md
. PR #10313 by @nilslindemann.docs/fa/docs/tutorial/middleware.md
. PR #9695 by @mojtabapaso.docs/fa/docs/index.md
. PR #10216 by @theonlykingpin.docs/de/docs/tutorial/body-fields.md
. PR #10310 by @nilslindemann.docs/de/docs/tutorial/body.md
. PR #10295 by @nilslindemann.docs/de/docs/tutorial/body-multiple-params.md
. PR #10308 by @nilslindemann.docs/ja/docs/tutorial/security/get-current-user.md
. PR #2681 by @sh0nk.docs/zh/docs/advanced/advanced-dependencies.md
. PR #3798 by @jaystone776.docs/zh/docs/advanced/events.md
. PR #3815 by @jaystone776.docs/zh/docs/advanced/behind-a-proxy.md
. PR #3820 by @jaystone776.docs/zh/docs/advanced/testing-events.md
. PR #3818 by @jaystone776.docs/zh/docs/advanced/testing-websockets.md
. PR #3817 by @jaystone776.docs/zh/docs/advanced/testing-database.md
. PR #3821 by @jaystone776.docs/zh/docs/deployment/deta.md
. PR #3837 by @jaystone776.docs/zh/docs/history-design-future.md
. PR #3832 by @jaystone776.docs/zh/docs/project-generation.md
. PR #3831 by @jaystone776.docs/zh/docs/deployment/docker.md
. PR #10296 by @xzmeng.docs/es/docs/features.md
. PR #10884 by @pablocm83.docs/es/docs/newsletter.md
. PR #10922 by @pablocm83.docs/ko/docs/tutorial/background-tasks.md
. PR #5910 by @junah201.docs/tr/docs/alternatives.md
. PR #10502 by @alperiox.docs/ko/docs/tutorial/dependencies/index.md
. PR #10989 by @KaniKim./docs/ko/docs/tutorial/body.md
. PR #11000 by @KaniKim.docs/pt/docs/tutorial/schema-extra-example.md
. PR #4065 by @luccasmmg.docs/tr/docs/history-design-future.md
. PR #11012 by @hasansezertasan.docs/tr/docs/resources/index.md
. PR #11020 by @hasansezertasan.docs/tr/docs/how-to/index.md
. PR #11021 by @hasansezertasan.docs/de/docs/tutorial/query-params.md
. PR #10293 by @nilslindemann.docs/de/docs/benchmarks.md
. PR #10866 by @nilslindemann.docs/tr/docs/learn/index.md
. PR #11014 by @hasansezertasan.docs/fa/docs/tutorial/security/index.md
. PR #9945 by @mojtabapaso.docs/tr/docs/help/index.md
. PR #11013 by @hasansezertasan.docs/tr/docs/about/index.md
. PR #11006 by @hasansezertasan.docs/tr/docs/benchmarks.md
. PR #11005 by @hasansezertasan.docs/it/docs/index.md
. PR #5233 by @matteospanio.docs/ko/docs/help/index.md
. PR #10983 by @KaniKim.docs/ko/docs/features.md
. PR #10976 by @KaniKim.docs/ko/docs/tutorial/security/get-current-user.md
. PR #5737 by @KdHyeon0661.docs/ru/docs/tutorial/security/first-steps.md
. PR #10541 by @AlertRED.docs/ru/docs/tutorial/handling-errors.md
. PR #10375 by @AlertRED.docs/ru/docs/tutorial/encoder.md
. PR #10374 by @AlertRED.docs/ru/docs/tutorial/body-updates.md
. PR #10373 by @AlertRED.fastapi-people.md
.. PR #10255 by @NiKuma0.docs/ja/docs/tutorial/security/index.md
. PR #5798 by @3w36zj6.docs/de/docs/advanced/generate-clients.md
. PR #10725 by @nilslindemann.docs/de/docs/advanced/openapi-webhooks.md
. PR #10712 by @nilslindemann.docs/de/docs/advanced/custom-response.md
. PR #10624 by @nilslindemann.docs/de/docs/advanced/additional-status-codes.md
. PR #10617 by @nilslindemann.docs/de/docs/tutorial/middleware.md
. PR #10391 by @JohannesJungbluth.docs/ja/docs/tutorial/encoder.md
. PR #1955 by @SwftAlpc.docs/ja/docs/tutorial/extra-data-types.md
. PR #1932 by @SwftAlpc.docs/tr/docs/async.md
. PR #5191 by @BilalAlpaslan.docs/tr/docs/project-generation.md
. PR #5192 by @BilalAlpaslan.docs/ko/docs/deployment/docker.md
. PR #5657 by @nearnear.docs/ko/docs/deployment/server-workers.md
. PR #4935 by @jujumilk3.docs/ko/docs/deployment/index.md
. PR #4561 by @jujumilk3.docs/ko/docs/tutorial/path-operation-configuration.md
. PR #3639 by @jungsu-kwon.zh
- Traditional Chinese. PR #10889 by @cherinyy.docs/ko/docs/tutorial/static-files.md
. PR #2957 by @jeesang7.docs/ko/docs/tutorial/response-model.md
. PR #2766 by @hard-coders.docs/ko/docs/tutorial/body-multiple-params.md
. PR #2461 by @PandaHun.docs/ko/docs/tutorial/query-params-str-validations.md
. PR #2415 by @hard-coders.docs/ko/docs/python-types.md
. PR #2267 by @jrim.docs/ko/docs/tutorial/body-nested-models.md
. PR #2506 by @hard-coders.docs/ko/docs/learn/index.md
. PR #10977 by @KaniKim.docs/de/docs/tutorial/index.md
. PR #10962 by @nilslindemann.docs/ko/docs/tutorial/path-params.md
. PR #10758 by @2chanhaeng.docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #1961 by @SwftAlpc.docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. PR #1960 by @SwftAlpc.docs/ja/docs/tutorial/dependencies/sub-dependencies.md
. PR #1959 by @SwftAlpc.docs/ja/docs/tutorial/background-tasks.md
. PR #2668 by @tokusumi.docs/ja/docs/tutorial/dependencies/index.md
anddocs/ja/docs/tutorial/dependencies/classes-as-dependencies.md
. PR #1958 by @SwftAlpc.docs/ja/docs/tutorial/response-model.md
. PR #1938 by @SwftAlpc.docs/ja/docs/tutorial/body-multiple-params.md
. PR #1903 by @SwftAlpc.docs/ja/docs/tutorial/path-params-numeric-validations.md
. PR #1902 by @SwftAlpc.docs/ja/docs/python-types.md
. PR #1899 by @SwftAlpc.docs/ja/docs/tutorial/handling-errors.md
. PR #1953 by @SwftAlpc.docs/ja/docs/tutorial/response-status-code.md
. PR #1942 by @SwftAlpc.docs/ja/docs/tutorial/extra-models.md
. PR #1941 by @SwftAlpc.docs/ja/docs/tutorial/schema-extra-example.md
. PR #1931 by @SwftAlpc.docs/ja/docs/tutorial/body-nested-models.md
. PR #1930 by @SwftAlpc.docs/ja/docs/tutorial/body-fields.md
. PR #1923 by @SwftAlpc.docs/de/docs/tutorial/index.md
. PR #9502 by @fhabers21.docs/de/docs/tutorial/background-tasks.md
. PR #10566 by @nilslindemann.docs/ru/docs/index.md
. PR #10672 by @Delitel-WEB.docs/zh/docs/tutorial/extra-data-types.md
. PR #10727 by @HiemalBeryl.docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
. PR #10410 by @AlertRED.Internal
mkdocs.yml
. PR #11016 by @alejsdev.mkdocs.yml
languages in CI, updatedocs.py
. PR #11009 by @tiangolo.label-approved.yml
to accept translations with 1 reviewer. PR #11007 by @alejsdev.zh-hant
. PR #10950 by @tiangolo.v0.109.0
Compare Source
Features
Upgrades
Docs
docs/en/docs/alternatives.md
. PR #10931 by @s111d.email
withusername
indocs_src/security/tutorial007
code examples. PR #10649 by @nilslindemann..model_dump()
. PR #10929 by @tiangolo.docs/en/docs/tutorial/sql-databases.md
. PR #10765 by @HurSungYun.docs/en/docs/alternatives.md
anddocs/en/docs/tutorial/dependencies/index.md
. PR #10906 by @s111d.docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #10834 by @Molkree.AsyncClient
. PR #4167 by @andrew-chang-dewitt./docs/reference/exceptions.md
and/en/docs/reference/status.md
. PR #10809 by @clarencepenz.openapi-callbacks.md
. PR #10673 by @kayjan.fastapi/routing.py
. PR #10520 by @sepsh.create_item
withupdate_item
when appropriate. PR #5913 by @OttoAndrey.Translations
docs/bn/docs/index.md
. PR #9177 by @Fahad-Md-Kamal.index.md
in several languages. PR #10711 by @tamago3keran.docs/ru/docs/tutorial/request-forms-and-files.md
. PR #10347 by @AlertRED.docs/uk/docs/index.md
. PR #10362 by @rostik1410.docs/ko/docs/index.md
. PR #10680 by @Eeap.docs/fa/docs/features.md
. PR #5887 by @amirilf.docs/zh/docs/advanced/additional-responses.md
. PR #10325 by @ShuibeiC.docs/ru/docs/tutorial/background-tasks.md
,docs/ru/docs/tutorial/body-nested-models.md
,docs/ru/docs/tutorial/debugging.md
,docs/ru/docs/tutorial/testing.md
. PR #10311 by @AlertRED.docs/ru/docs/tutorial/request-files.md
. PR #10332 by @AlertRED.docs/zh/docs/deployment/server-workers.md
. PR #10292 by @xzmeng.docs/zh/docs/deployment/cloud.md
. PR #10291 by @xzmeng.docs/zh/docs/deployment/manually.md
. PR #10279 by @xzmeng.docs/zh/docs/deployment/https.md
. PR #10277 by @xzmeng.docs/zh/docs/deployment/index.md
. PR #10275 by @xzmeng.docs/de/docs/tutorial/first-steps.md
. PR #9530 by @fhabers21.docs/tr/docs/index.md
. PR #10444 by @hasansezertasan.docs/zh/docs/learn/index.md
. PR #10479 by @KAZAMA-DREAM.docs/ru/docs/learn/index.md
. PR #10539 by @AlertRED.docs/zh/docs/tutorial/sql-databases.md
. PR #9712 by @Royc30ne.docs/tr/docs/external-links.md
. PR #10549 by @hasansezertasan.docs/es/docs/learn/index.md
. PR #10885 by @pablocm83.docs/uk/docs/tutorial/body-fields.md
. PR #10670 by @ArtemKhymenko./docs/hu/docs/index.md
. PR #10812 by @takacs.docs/tr/docs/newsletter.md
. PR #10550 by @hasansezertasan.docs/es/docs/help/index.md
. PR #10907 by @pablocm83.docs/es/docs/about/index.md
. PR #10908 by @pablocm83.docs/es/docs/resources/index.md
. PR #10909 by @pablocm83.Internal
v0.108.0
Compare Source
Upgrades
>=0.29.0,<0.33.0
, update docs and usage of templates with new Starlette arguments. PR #10846 by @tiangolo.v0.107.0
Compare Source
Upgrades
Docs
v0.106.0
Compare Source
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 TasksDependencies with
yield
now can raiseHTTPException
and other exceptions afteryield
. 🎉Read the new docs here: Dependencies with
yield
andHTTPException
.Before FastAPI 0.106.0, raising exceptions after
yield
was not possible, the exit code in dependencies withyield
was executed after the response was sent, so Exception Handlers would have already run.This was designed this way mainly to allow using the same objects "yielded" by dependencies inside of background tasks, because the exit code would be executed after the background tasks were finished.
Nevertheless, as this would mean waiting for the response to travel through the network while unnecessarily holding a resource in a dependency with yield (for example a database connection), this was changed in FastAPI 0.106.0.
Additionally, a background task is normally an independent set of logic that should be handled separately, with its own resources (e.g. its own database connection).
If you used to rely on this behavior, now you should create the resources for background tasks inside the background task itself, and use internally only data that doesn't depend on the resources of dependencies with
yield
.For example, instead of using the same database session, you would create a new database session inside of the background task, and you would obtain the objects from the database using this new session. And then instead of passing the object from the database as a parameter to the background task function, you would pass the ID of that object and then obtain the object again inside the background task function.
The sequence of execution before FastAPI 0.106.0 was like the diagram in the Release Notes for FastAPI 0.106.0.
The new execution flow can be found in the docs: Execution of dependencies with
yield
.v0.105.0
Compare Source
Features
Annotated[str, Field(), Query()]
. PR #10773 by @tiangolo.Refactors
Docs
Internal
v0.104.1
Compare Source
Fixes
Docs
docs/en/docs/tutorial/metadata.md
. PR #10433 by @worldworm.docs/en/docs/tutorial/path-params.md
. PR #10043 by @giuliowaitforitdavide.docs/en/docs/reference/dependencies.md
. PR #10465 by @suravshresth.docs/en/docs/tutorial/body-nested-models.md
. PR #10468 by @yogabonito.pydantic.Required
indocs/en/docs/tutorial/query-params-str-validations.md
. PR #10469 by @yogabonito.docs/en/docs/reference/index.md
. PR #10467 by @tarsil.Internal
docs/en/docs/async.md
anddocs/zh/docs/async.md
to make them relative. PR #10498 by @hasnatsajid.docs/em/docs/async.md
. PR #10507 by @hasnatsajid.docs/em/docs/index.md
, Python 3.8. PR #10521 by @kerriop.CITATION.cff
file for academic citations. PR #10496 by @tiangolo.v0.104.0
Compare Source
Features
BackgroundTasks
, refactor docs structure. PR #10392 by @tiangolo. New docs at FastAPI Reference - Code API.Upgrades
Internal
v0.103.2
Compare Source
Refactors
Translations
docs/uk/docs/tutorial/extra-data-types.md
. PR #10132 by @ArtemKhymenko.docs/fr/docs/advanced/path-operation-advanced-configuration.md
,docs/fr/docs/alternatives.md
,docs/fr/docs/async.md
,docs/fr/docs/features.md
,docs/fr/docs/help-fastapi.md
,docs/fr/docs/index.md
,docs/fr/docs/python-types.md
,docs/fr/docs/tutorial/body.md
,docs/fr/docs/tutorial/first-steps.md
,docs/fr/docs/tutorial/query-params.md
. PR #10154 by @s-rigaud.docs/zh/docs/async.md
. PR #5591 by @mkdir700.docs/tutorial/security/simple-oauth2.md
. PR #3844 by @jaystone776.docs/ko/docs/deployment/cloud.md
. PR #10191 by @Sion99.docs/ja/docs/deployment/https.md
. PR #10298 by @tamtam-fitness.docs/ru/docs/tutorial/body-fields.md
. PR #10224 by @AlertRED.docs/pl/docs/help-fastapi.md
. PR #10121 by @romabozhanovgithub.docs/ru/docs/tutorial/header-params.md
. PR #10226 by @AlertRED.docs/zh/docs/deployment/versions.md
. PR #10276 by @xzmeng.Internal
v0.103.1
Compare Source
Fixes
Docs
regex
topattern
. PR #10085 by @pablodorrio.docs/en/docs/deployment/server-workers.md
. PR #10066 by @tamtam-fitness.docs/en/docs/tutorial/extra-data-types.md
. PR #10155 by [@hasnatsajid](httConfiguration
📅 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.