This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
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.0
->^0.111.0
Release Notes
tiangolo/fastapi (fastapi)
v0.111.0
Compare Source
Features
fastapi
command. PR #11522 by @tiangolo.Try it out with:
Refactors
fastapi-slim
including optional extrasfastapi-slim[standard]
, andfastapi
including by default the samestandard
extras. PR #11503 by @tiangolo.v0.110.3
Compare Source
Latest Changes
Docs
fastapi/security/api_key.py
. PR #11481 by @ch33zer.security/http.py
. PR #11455 by @omarmoo5.Translations
docs/zh-hant/benchmarks.md
. PR #11484 by @KNChiu.docs/zh/docs/fastapi-people.md
. PR #11476 by @billzhong.docs/zh/docs/how-to/index.md
anddocs/zh/docs/how-to/general.md
. PR #11443 by @billzhong.docs/es/docs/tutorial/cookie-params.md
. PR #11410 by @fabianfalon.Internal
v0.110.2
Compare Source
Fixes
UndefinedType
. PR #9929 by @arjwilliams.Refactors
fastapi/openapi/models.py
. PR #10886 by @JoeTanto2.Docs
docs_src/extra_data_types
. PR #10535 by @nilslindemann.docs/es/docs/async.md
. PR #11400 by @fabianfalon.@hey-api/openapi-ts
. PR #11339 by @jordanshatford.Translations
docs/zh/docs/index.html
. PR #11430 by @waketzheng.docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. PR #11411 by @anton2yakovlev.learn/index.md
resources/index.md
help/index.md
about/index.md
. PR #10807 by @nazarepiedady.docs/bn/docs/python-types.md
. PR #11376 by @imtiaz101325.docs/ko/docs/tutorial/security/simple-oauth2.md
. PR #5744 by @KdHyeon0661.docs/ko/docs/help-fastapi.md
. PR #4139 by @kty4119.docs/ko/docs/advanced/events.md
. PR #5087 by @pers0n4.docs/ja/docs/tutorial/path-operation-configuration.md
. PR #1954 by @SwftAlpc.docs/ja/docs/tutorial/request-forms-and-files.md
. PR #1946 by @SwftAlpc.docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #10532 by @AlertRED.docs/ko/docs/tutorial/debugging.md
. PR #5695 by @JungWooGeon.Internal
v0.110.1
Compare Source
Fixes
Depends()
with generics. PR #9479 by @nzig.Refactors
fastapi/applications.py
. PR #11335 by @igeni.Upgrades
Docs
fastapi/security/oauth2.py
. PR #11368 by @shandongbinzhou.docs/en/docs/tutorial/extra-models.md
. PR #11329 by @alejsdev.project-generation.md
. PR #11326 by @alejsdev.python-multipart
GitHub link in all docs fromhttps://andrew-d.github.io/python-multipart/
tohttps://github.com/Kludex/python-multipart
. PR #11239 by @joshjhans.Translations
docs/de/docs/tutorial/response-status-code.md
. PR #10357 by @nilslindemann.docs/zh/docs/tutorial/query-params.md
. PR #3480 by @jaystone776.docs/zh/docs/tutorial/body.md
. PR #3481 by @jaystone776.docs/zh/docs/tutorial/path-params.md
. PR #3479 by @jaystone776.docs/tutorial/body-fields.md
. PR #3496 by @jaystone776.docs/tutorial/extra-models.md
. PR #3497 by @jaystone776.docs/ja/docs/tutorial/metadata.md
. PR #2667 by @tokusumi.docs/de/docs/contributing.md
. PR #10487 by @nilslindemann.docs/ja/docs/tutorial/query-params.md
. PR #10808 by @urushio.docs/zh/docs/tutorial/security/get-current-user.md
. PR #3842 by @jaystone776.docs/zh/docs/advanced/openapi-callbacks.md
. PR #3825 by @jaystone776.docs/zh/docs/advanced/extending-openapi.md
. PR #3823 by @jaystone776.docs/zh/docs/advanced/testing-dependencies.md
. PR #3819 by @jaystone776.docs/zh/docs/advanced/custom-request-and-route.md
. PR #3816 by @jaystone776.docs/zh/docs/external-links.md
. PR #3833 by @jaystone776.docs/zh/docs/advanced/templates.md
. PR #3812 by @jaystone776.docs/zh/docs/advanced/sub-applications.md
. PR #3811 by @jaystone776.docs/zh/docs/advanced/async-sql-databases.md
. PR #3805 by @jaystone776.docs/zh/docs/advanced/middleware.md
. PR #3804 by @jaystone776.docs/zh/docs/advanced/dataclasses.md
. PR #3803 by @jaystone776.docs/zh/docs/advanced/using-request-directly.md
. PR #3802 by @jaystone776.docs/zh/docs/advanced/security/http-basic-auth.md
. PR #3801 by @jaystone776.docs/zh/docs/advanced/security/oauth2-scopes.md
. PR #3800 by @jaystone776.docs/zh/docs/tutorial/cookie-params.md
. PR #3486 by @jaystone776.docs/zh/docs/tutorial/header-params.md
. PR #3487 by @jaystone776.docs/tutorial/response-status-code.md
. PR #3498 by @jaystone776.docs/de/docs/tutorial/security/first-steps.md
. PR #10432 by @nilslindemann.docs/de/docs/advanced/events.md
. PR #10693 by @nilslindemann.docs/de/docs/deployment/cloud.md
. PR #10746 by @nilslindemann.docs/de/docs/advanced/behind-a-proxy.md
. PR #10675 by @nilslindemann.docs/de/docs/help-fastapi.md
. PR #10455 by @nilslindemann.docs/de/docs/python-types.md
. PR #10287 by @nilslindemann.docs/de/docs/tutorial/path-params.md
. PR #10290 by @nilslindemann.docs/de/docs/tutorial/handling-errors.md
. PR #10379 by @nilslindemann.docs/de/docs/index.md
. PR #10283 by @nilslindemann.docs/de/docs/advanced/security/http-basic-auth.md
. PR #10651 by @nilslindemann.docs/de/docs/tutorial/bigger-applications.md
. PR #10554 by @nilslindemann.docs/de/docs/advanced/path-operation-advanced-configuration.md
. PR #10612 by @nilslindemann.docs/de/docs/tutorial/static-files.md
. PR #10584 by @nilslindemann.docs/de/docs/tutorial/security/oauth2-jwt.md
. PR #10522 by @nilslindemann.docs/de/docs/tutorial/response-model.md
. PR #10345 by @nilslindemann.docs/de/docs/tutorial/extra-models.md
. PR #10351 by @nilslindemann.docs/de/docs/tutorial/body-updates.md
. PR #10396 by @nilslindemann.docs/de/docs/alternatives.md
. PR #10855 by @nilslindemann.docs/de/docs/advanced/templates.md
. PR #10678 by @nilslindemann.docs/de/docs/advanced/security/oauth2-scopes.md
. PR #10643 by @nilslindemann.docs/de/docs/advanced/async-tests.md
. PR #10708 by @nilslindemann.docs/de/docs/tutorial/metadata.md
. PR #10581 by @nilslindemann.docs/de/docs/tutorial/testing.md
. PR #10586 by @nilslindemann.docs/de/docs/tutorial/schema-extra-example.md
. PR #10597 by @nilslindemann.docs/de/docs/advanced/index.md
. PR #10611 by @nilslindemann.docs/de/docs/advanced/response-directly.md
. PR #10618 by @nilslindemann.docs/de/docs/advanced/additional-responses.md
. PR #10626 by @nilslindemann.docs/de/docs/advanced/response-cookies.md
. PR #10627 by @nilslindemann.docs/de/docs/advanced/response-headers.md
. PR #10628 by @nilslindemann.docs/de/docs/advanced/response-change-status-code.md
. PR #10632 by @nilslindemann.docs/de/docs/advanced/advanced-dependencies.md
. PR #10633 by @nilslindemann.docs/de/docs/advanced/security/index.md
. PR #10635 by @nilslindemann.docs/de/docs/advanced/using-request-directly.md
. PR #10653 by @nilslindemann.docs/de/docs/advanced/dataclasses.md
. PR #10667 by @nilslindemann.docs/de/docs/advanced/middleware.md
. PR #10668 by @nilslindemann.docs/de/docs/advanced/sub-applications.md
. PR #10671 by @nilslindemann.docs/de/docs/advanced/websockets.md
. PR #10687 by @nilslindemann.docs/de/docs/advanced/testing-websockets.md
. PR #10703 by @nilslindemann.docs/de/docs/advanced/testing-events.md
. PR #10704 by @nilslindemann.docs/de/docs/advanced/testing-dependencies.md
. PR #10706 by @nilslindemann.docs/de/docs/advanced/openapi-callbacks.md
. PR #10710 by @nilslindemann.docs/de/docs/advanced/settings.md
. PR #10709 by @nilslindemann.docs/de/docs/advanced/wsgi.md
. PR #10713 by @nilslindemann.docs/de/docs/deployment/index.md
. PR #10733 by @nilslindemann.docs/de/docs/deployment/https.md
. PR #10737 by @nilslindemann.docs/de/docs/deployment/manually.md
. PR #10738 by @nilslindemann.docs/de/docs/deployment/concepts.md
. PR #10744 by @nilslindemann.docs/de/docs/features.md
. PR #10284 by @nilslindemann.docs/de/docs/deployment/server-workers.md
. PR #10747 by @nilslindemann.docs/de/docs/deployment/docker.md
. PR #10759 by @nilslindemann.docs/de/docs/how-to/index.md
. PR #10769 by @nilslindemann.docs/de/docs/how-to/general.md
. PR #10770 by @nilslindemann.docs/de/docs/how-to/graphql.md
. PR #10788 by @nilslindemann.docs/de/docs/how-to/custom-request-and-route.md
. PR #10789 by @nilslindemann.docs/de/docs/how-to/conditional-openapi.md
. PR #10790 by @nilslindemann.docs/de/docs/how-to/separate-openapi-schemas.md
. PR #10796 by @nilslindemann.docs/de/docs/how-to/configure-swagger-ui.md
. PR #10804 by @nilslindemann.docs/de/docs/how-to/custom-docs-ui-assets.md
. PR #10803 by @nilslindemann.docs/de/docs/reference/parameters.md
. PR #10814 by @nilslindemann.docs/de/docs/reference/status.md
. PR #10815 by @nilslindemann.docs/de/docs/reference/uploadfile.md
. PR #10816 by @nilslindemann.docs/de/docs/reference/exceptions.md
. PR #10817 by @nilslindemann.docs/de/docs/reference/dependencies.md
. PR #10818 by @nilslindemann.docs/de/docs/reference/apirouter.md
. PR #10819 by @nilslindemann.docs/de/docs/reference/websockets.md
. PR #10822 by @nilslindemann.docs/de/docs/reference/httpconnection.md
. PR #10823 by @nilslindemann.docs/de/docs/reference/response.md
. PR #10824 by @nilslindemann.docs/de/docs/reference/middleware.md
. PR #10837 by @nilslindemann.docs/de/docs/reference/openapi/*.md
. PR #10838 by @nilslindemann.docs/de/docs/reference/security/index.md
. PR #10839 by @nilslindemann.docs/de/docs/reference/staticfiles.md
. PR #10841 by @nilslindemann.docs/de/docs/reference/testclient.md
. PR #10843 by @nilslindemann.docs/de/docs/project-generation.md
. PR #10851 by @nilslindemann.docs/de/docs/history-design-future.md
. PR #10865 by @nilslindemann.docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #10422 by @nilslindemann.docs/de/docs/tutorial/dependencies/global-dependencies.md
. PR #10420 by @nilslindemann.docs/de/docs/fastapi-people.md
. PR #10285 by @nilslindemann.docs/de/docs/tutorial/dependencies/sub-dependencies.md
. PR #10409 by @nilslindemann.docs/de/docs/tutorial/security/index.md
. PR #10429 by @nilslindemann.docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. PR #10411 by @nilslindemann.docs/de/docs/tutorial/extra-data-types.md
. PR #10534 by @nilslindemann.docs/de/docs/tutorial/security/simple-oauth2.md
. PR #10504 by @nilslindemann.docs/de/docs/tutorial/security/get-current-user.md
. PR #10439 by @nilslindemann.docs/de/docs/tutorial/request-forms-and-files.md
. PR #10368 by @nilslindemann.docs/de/docs/tutorial/encoder.md
. PR #10385 by @nilslindemann.docs/de/docs/tutorial/request-forms.md
. PR #10361 by @nilslindemann.docs/de/docs/deployment/versions.md
. PR #10491 by @nilslindemann.docs/de/docs/async.md
. PR #10449 by @nilslindemann.docs/de/docs/tutorial/cookie-params.md
. PR #10323 by @nilslindemann.docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
. PR #10407 by @nilslindemann.docs/de/docs/tutorial/dependencies/index.md
. PR #10399 by @nilslindemann.docs/de/docs/tutorial/header-params.md
. PR #10326 by @nilslindemann.docs/de/docs/tutorial/path-params-numeric-validations.md
. PR #10307 by @nilslindemann.docs/de/docs/tutorial/query-params-str-validations.md
. PR #10304 by @nilslindemann.docs/de/docs/tutorial/request-files.md
. PR #10364 by @nilslindemann.docs/pt/docs/advanced/templates.md
. PR #11338 by @SamuelBFavarin.docs/bn/docs/learn/index.md
. PR #11337 by @imtiaz101325.docs/ko/docs/index.md
. PR #11296 by @choi-haram.docs/ko/docs/about/index.md
. PR #11299 by @choi-haram.docs/ko/docs/advanced/index.md
. PR #9613 by @ElliottLarsen.docs/de/docs/how-to/extending-openapi.md
. PR #10794 by @nilslindemann.docs/zh/docs/tutorial/metadata.md
. PR #11286 by @jackleeio.docs/zh/docs/contributing.md
. PR #10887 by @Aruelius.docs/az/docs/fastapi-people.md
. PR #11195 by @vusallyv.docs/ru/docs/tutorial/dependencies/index.md
. PR #11223 by @kohiry.docs/zh/docs/tutorial/query-params.md
. PR #11242 by @jackleeio.docs/az/learn/index.md
. PR #11192 by @vusallyv.Internal
v0.110.0
Compare Source
Breaking Changes
yield
andexcept
to require raising again as in regular Python. PR #11191 by @tiangolo.yield
, usedexcept
in those dependencies, and didn't raise again.yield
andexcept
.In short, if you had dependencies that looked like:
Now you need to make sure you raise again after
except
, just as you would in regular Python:Docs
docs/ko/docs/
. PR #11126 by @KaniKim.fastapi/applications.py
. PR #11099 by @JacobHayes.Translations
docs/de/docs/reference/background.md
. PR #10820 by @nilslindemann.docs/de/docs/reference/templating.md
. PR #10842 by @nilslindemann.docs/de/docs/external-links.md
. PR #10852 by @nilslindemann.docs/tr/docs/tutorial/query-params.md
. PR #11162 by @hasansezertasan.docs/de/docs/reference/encoders.md
. PR #10840 by @nilslindemann.docs/de/docs/reference/responses.md
. PR #10825 by @nilslindemann.docs/de/docs/reference/request.md
. PR #10821 by @nilslindemann.docs/tr/docs/tutorial/query-params.md
. PR #11078 by @emrhnsyts.docs/de/docs/reference/fastapi.md
. PR #10813 by @nilslindemann.docs/de/docs/newsletter.md
. PR #10853 by @nilslindemann.docs/zh-hant/docs/learn/index.md
. PR #11142 by @hsuanchi./docs/ko/docs/tutorial/dependencies/global-dependencies.md
. PR #11123 by @riroan./docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. PR #11124 by @riroan./docs/ko/docs/tutorial/schema-extra-example.md
. PR #11121 by @KaniKim./docs/ko/docs/tutorial/body-fields.md
. PR #11112 by @KaniKim./docs/ko/docs/tutorial/cookie-params.md
. PR #11118 by @riroan./docs/ko/docs/dependencies/index.md
. PR #11114 by @KaniKim./docs/ko/docs/deployment/docker.md
. PR #11113 by @KaniKim.docs/tr/docs/tutorial/first-steps.md
. PR #11094 by @hasansezertasan.docs/es/docs/advanced/security/index.md
. PR #2278 by @Xaraxx.docs/es/docs/advanced/response-headers.md
. PR #2276 by @Xaraxx.docs/es/docs/deployment/index.md
and~/deployment/versions.md
. PR #9669 by @pabloperezmoya.docs/es/docs/benchmarks.md
. PR #10928 by @pablocm83.docs/es/docs/advanced/response-change-status-code.md
. PR #11100 by @alejsdev.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](https://togithub.com/SnoConfiguration
📅 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.