chore(deps): update dependency fastapi to v0.139.0 #3
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/fastapi-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==0.115.7->==0.139.0==0.115.7->==0.139.0Release Notes
fastapi/fastapi (fastapi)
v0.139.0Compare Source
Features
app.frontend(), e.g. for automatic cookie authentication for the frontend. PR #15908 by @tiangolo.Translations
Internal
allow-unsafe-pr-checkout: true. PR #15876 by @YuriiMotov.v0.138.2Compare Source
Refactors
app.frontend()return 404 for methods other thanGETorHEADwith no static file matches. PR #15863 by @tiangolo.Internal
v0.138.1Compare Source
Refactors
Internal
v0.138.0Compare Source
Features
app.frontend("/", directory="dist")androuter.frontend("/", directory="dist"). PR #15800 by @tiangolo.Docs
app.frontend()instructions to Agent Library Skill. PR #15805 by @tiangolo.Translations
Internal
release-notes.mdfor typos. PR #15796 by @YuriiMotov.gpt-5.5model intranslate.py, specify-chatto avoid warnings. PR #15792 by @YuriiMotov.v0.137.2Compare Source
Features
iter_route_contexts()for advanced use cases that used to userouter.routes(e.g. Jupyverse). PR #15785 by @tiangolo.Translations
Internal
coverage.sh. PR #15772 by @tiangolo.v0.137.1Compare Source
Fixes
v0.137.0Compare Source
Breaking Changes
APIRouterandAPIRouteinstances. PR #15745 by @tiangolo.Unblocks ✨ SO MANY THINGS ✨
Before this,
router.include_router(other_router)would take each path operation fromother_routerand "clone" it, or recreate it from scratch.This would mean that in the end there was only one top level router, part of the app.
The way it is structured here is that there are a few additional classes to handle intermediate metadata for router and route inclusion. That way the information of "router X includes Y and Y includes Z" is stored somewhere, without affecting (recreating / clonning) the final route.
Non Objectives
Dependencies for 404: previously I intended to support dependencies that would be executed even for 404, but that would conflict with the fact that a router could not find a match, but the next router did find a match. Executing dependencies in the router that did not find a match would not make sense, they could consume the request, body, etc. This original idea was discarded.
Specific Breaking Changes
Now
router.routesis no longer a plain list ofAPIRouteobjects, it can contain these intermediate objects that can contain additional routers, forming a tree.Any logic that depended on iterating on the
router.routesdirectly would be affected, that logic cannot expect to be able to extract data from a plain list of routes, as it's no longer a plain list but a tree.Additionally, any logic that iterated on
router.routesto modify them would now also see these new objects, and would not see all the routes in the app.router.routesshould be considered an internal implementation detail, only passed around to the FastAPI functions that need it.Features
subrouterinmainroutercan be done before adding routes (path operations) tosubrouter, because now the the entire object is stored instead of copying the routes.Alpha Features
This is not documented yet, so it's not officially supported yet and could change in the future.
But, as
APIRouteandAPIRouterinstances are now preserved, they could be customized.APIRouterhas two new methods,.matches()and.handle(), counterpart to the existing ones inAPIRoute. With this a router could customize how it matches and handles requests. For example, it could match only requests that include some specific header, for example for handling versions in headers.Still, for now, consider this very experimental and potentially changing and breaking in the future.
Future Features Enabled
APIRoutesubclasses (undocumented, but alraedy works as desccribed above)APIRoutersubclasses (undocumented, but already works as described above)Docs
Annotatedin inline example indocs/en/docs/tutorial/body-multiple-params.md. PR #15591 by @TheArchons.docs/en/docs/tutorial/security/oauth2-jwt.md. PR #14781 by @zadevhub.Translations
Internal
changing_dirinstead ofCLIRunner.isolated_filesystemto set working dir. PR #15616 by @YuriiMotov.httpx2test dependency to avoid deprecation warning. PR #15603 by @YuriiMotov.v0.136.3Compare Source
Refactors
convert_underscores=True(the default). PR #15589 by @tiangolo.v0.136.1Compare Source
Upgrades
Internal
v0.136.0Compare Source
Upgrades
v0.135.4Compare Source
Refactors
@app.vibe()🤪. PR #15363 by @tiangolo.Internal
v0.135.3Compare Source
Features
@app.vibe(). PR #15280 by @tiangolo.Docs
client_secretin OAuth2 form docstrings. PR #14946 by @bysiber.Internal
lint.sh. PR #15136 by @svlandeg.v0.135.2Compare Source
Upgrades
pydantic >=2.9.0.and fix the test suite. PR #15139 by @svlandeg.Docs
pyproject.tomlwithentrypoint. PR #15075 by @tiangolo.target=_blankfor links in docs. PR #15063 by @tiangolo.max_digitsanddecimal_places. PR #14944 by @YuriiMotov.Translations
Internal
scripts/people.py. PR #15088 by @YuriiMotov.commit_in_placepassed via env variable intranslate.ymlworkflow. PR #15151 by @YuriiMotov.tyto precommit. PR #15091 by @svlandeg.v0.135.1Compare Source
Fixes
Docs
docs/en/docs/_llm-test.md. PR #15007 by @adityagiri3600.Internal
v0.135.0Compare Source
Features
v0.134.0Compare Source
Features
yield. PR #15022 by @tiangolo.>=0.40.0to>=0.46.0, as it's needed to properly unrwap and re-raise exceptions from exception groups.Docs
yield. PR #15023 by @tiangolo.awaitinStreamingResponsecode example to allow cancellation. PR #14681 by @casperdcl.docs_src/websocketstodocs_src/websockets_to avoid import errors. PR #14979 by @YuriiMotov.Internal
pytest-xdistandpytest-cov. PR #14992 by @YuriiMotov.v0.133.1Compare Source
Features
Internal
v0.133.0Compare Source
Upgrades
v0.132.1Compare Source
Refactors
Internal
benchmarkjob intestworkflow. PR #14974 by @YuriiMotov.v0.132.0Compare Source
Breaking Changes
strict_content_typechecking for JSON requests. PR #14978 by @tiangolo.Content-Typeheader with a valid JSON value, likeapplication/json, and rejects requests that don't.Content-Typeheader you can disable this withstrict_content_type=False.Internal
griffelibinstead ofgriffe. PR #14973 by @svlandeg.FastAPI Peopleworkflow. PR #14951 by @YuriiMotov.v0.131.0Compare Source
Breaking Changes
ORJSONResponseandUJSONResponse. PR #14964 by @tiangolo.v0.130.0Compare Source
Features
v0.129.2Compare Source
Internal
fastapi-slim. PR #14958 by @tiangolo.fastapi-slim, no more versions will be released, use only"fastapi[standard]"orfastapi. PR #14957 by @tiangolo.v0.129.1Compare Source
Fixes
"contentMediaType": "application/octet-stream"instead of"format": "binary". PR #14953 by @tiangolo.Docs
Translations
Internal
masterbranch and when run by scheduler. PR #14940 by @YuriiMotov.v0.129.0Compare Source
Breaking Changes
Refactors
Docs
Internal
v0.128.8Compare Source
Docs
docs/en/docs/tutorial/first-steps.md. PR #14708 by @SanjanaS10.Internal
fastapi-slim, deprecate it, and make it only depend onfastapi. PR #14894 by @tiangolo.v0.128.7Compare Source
Features
dictbyMappingonHTTPException.headers. PR #12997 by @rijenkii.Refactors
Docs
dfntag for definitions instead ofabbrin docs. PR #14744 by @YuriiMotov.Internal
abbranddfntags. PR #14747 by @YuriiMotov.testworkflow to run tests withinline-snapshot=review. PR #14876 by @YuriiMotov.v0.128.6Compare Source
Fixes
on_startupandon_shutdownparameters ofAPIRouter. PR #14873 by @YuriiMotov.Translations
Internal
v0.128.5Compare Source
Refactors
Internal
v0.128.4Compare Source
Refactors
create_model_field, better types forlenient_issubclass. PR #14860 by @tiangolo.Translations
Internal
v0.128.3Compare Source
Refactors
on_eventin FastAPI for compatibility with the next Starlette, while keeping backwards compatibility. PR #14851 by @tiangolo.Upgrades
starlette>=0.40.0,<1.0.0. PR #14853 by @tiangolo.Translations
Internal
fastapi[all]minimum dependencies:ujson >=5.8.0,orjson >=3.9.3. PR #14846 by @tiangolo.v0.128.2Compare Source
Features
TypeAliasType. PR #13920 by @cstruct.Responsetype hint as dependency annotation. PR #14794 by @jonathan-fulton.Fixes
Json[list[str]]type (issue #10997). PR #14616 by @mkanetsuna.Docs
advanced-dependencies.md. PR #14815 by @Rayyan-Oumlil.Translations
Internal
v0.128.1Compare Source
Features
viewportmeta tag to improve Swagger UI on mobile devices. PR #14777 by @Joab0.Fixes
ValidationErrorschema to includeinputandctx. PR #14791 by @jonathan-fulton.Authorizationheader credentials. PR #14786 by @WaveTheory1.anyOfrefs for app-level responses with specifiedcontentandmodelasUnion. PR #14463 by @DJMcoder.Refactors
IncExtype from Pydantic instead of duplicating it. PR #14641 by @mvanderlee.Docs
docs_src/app_testing/app_bcode example. PR #14573 by @timakaa.docs/en/docs/contributing.md. PR #14757 by @YuriiMotov.response_modelwhen possible. PR #14753 by @YuriiMotov.WSGIMiddlewarefroma2wsgiinstead of deprecatedfastapi.middleware.wsgi.WSGIMiddleware. PR #14756 by @YuriiMotov.Translations
ukdocumentation. PR #14795 by @roli2py.llm-prompt.mdfor Korean language. PR #14763 by @seuthootDev.Internal
uv.lockgets theinternallabel. PR #14759 by @svlandeg.v0.128.0Compare Source
Breaking Changes
pydantic.v1. PR #14609 by @tiangolo.Internal
v0.127.1Compare Source
Refactors
FastAPIDeprecationWarning. PR #14605 by @tiangolo.Docs
Translations
Internal
lintjob fromtestCI workflow. PR #14593 by @YuriiMotov.v0.127.0Compare Source
Breaking Changes
pydantic.v1. PR #14583 by @tiangolo.Translations
Internal
v0.126.0Compare Source
Upgrades
pydantic.v1. PR #14575 by @tiangolo.pydantic >=2.7.0.standarddependencies now includepydantic-settings >=2.0.0andpydantic-extra-types >=2.0.0.Docs
docs_src/python_types/tutorial005_py39.py. PR #14565 by @paras-verma7454.Translations
Internal
v0.125.0Compare Source
Breaking Changes
Refactors
Docs
Translations
Internal
markdown-include-variantsfrom 0.0.7 to 0.0.8. PR #14556 by @YuriiMotov.v0.124.4Compare Source
Fixes
v0.124.3Compare Source
Fixes
AnnotatedwithBody(). PR #14512 by @tiangolo.Refactors
Docs
Translations
Internal
v0.124.2Compare Source
Fixes
if TYPE_CHECKING, non-evaluated stringified annotations. PR #14485 by @tiangolo.v0.124.1Compare Source
Fixes
arbitrary_types_allowed=True. PR #14482 by @tiangolo.Docs
Internal
__annotations__. PR #14477 by @tiangolo.v0.124.0Compare Source
Features
Internal
scripts/mkdocs_hooks.py. PR #14457 by @yujiteshima.v0.123.10Compare Source
Fixes
__call__method. PR #14458 by @YuriiMotov.separate_input_output_schemas=Falsewithcomputed_field. PR #14453 by @YuriiMotov.v0.123.9Compare Source
Fixes
v0.123.8Compare Source
Fixes
v0.123.7Compare Source
Fixes
v0.123.6Compare Source
Fixes
v0.123.5Compare Source
Features
functools.partial(). PR #9753 by @lieryan.@functools.wraps()) used with forward references. PR #5077 by @lucaswiman.Fixes
Refactors
is_coroutinecheck to reuse internal supported variants (unwrap, check class). PR #14434 by @tiangolo.Translations
v0.123.4Compare Source
Fixes
separate_input_output_schemas=False. PR #13207 by @vgrafe.Docs
serversparameter. PR #14405 by @YuriiMotov.v0.123.3Compare Source
Fixes
serialize sequence valuewith Pydantic V2. PR #14297 by @YuriiMotov.v0.123.2Compare Source
Fixes
{type_}in FastAPIError. PR #14416 by @Just-Helpful.Formparameter list. PR #14303 by @YuriiMotov.Noneif that's the default), for compatibility with HTML forms. PR #13537 by @MarinPostma.Docs
pipin case ofNo module named piperror invirtual-environments.md. PR #14211 by @zadevhub.v0.123.1Compare Source
Fixes
TypeErrorwhen encoding a decimal with aNaNorInfinityvalue. PR #12935 by @kentwelcome.Internal
v0.123.0Compare Source
Fixes
v0.122.1Compare Source
Fixes
Docs
Internal
v0.122.0Compare Source
Fixes
401status code in security classes when credentials are missing. PR #13786 by @YuriiMotov.403status code, check the new docs about how to override the classes, to use the same old behavior: Use Old 403 Authentication Error Status Codes.Internal
lang-alllabel. PR #14213 by @YuriiMotov.latest-changesGitHub Action and pinactions/checkout@v5. PR #14403 by @svlandeg.add-permalinksandadd-permalinks-pagetoscripts/docs.py. PR #14033 by @YuriiMotov.v0.121.3Compare Source
0.121.3
Refactors
Depends()andSecurity()hashable, as a workaround for other tools interacting with these internal parts. PR #14372 by @tiangolo.Upgrades
0.51.0. PR #14282 by @musicinmybrain.Docs
v0.121.2Compare Source
Fixes
Docs
Translations
v0.121.1Compare Source
Fixes
Depends(func, scope='function')for top level (parameterless) dependencies. PR #14301 by @luzzodev.Docs
yield, noting the changes in 0.121.0, addingscope. PR #14287 by @tiangolo.Internal
v0.121.0Compare Source
Features
scope="request"for dependencies withyieldthat exit before the response is sent. PR #14262 by @tiangolo.yield- Early exit andscope.Internal
v0.120.4Compare Source
Fixes
v0.120.3Compare Source
Refactors
get_param_sub_dependant. PR #14255 by @tiangolo.Docs
v0.120.2Compare Source
Fixes
Internal
v0.120.1Compare Source
Upgrades
0.50.0. PR #14234 by @YuriiMotov.Internal
licenseandlicense-filestopyproject.toml, removeLicensefromclassifiers. PR #14230 by @YuriiMotov.v0.120.0Compare Source
There are no major nor breaking changes in this release. ☕️
The internal reference documentation now uses
annotated_doc.Docinstead oftyping_extensions.Doc, this adds a new (very small) dependency onannotated-doc, a package made just to provide thatDocdocumentation utility class.I would expect
typing_extensions.Docto be deprecated and then removed at some point fromtyping_extensions, for that reason there's the newannotated-docmicro-package. If you are curious about this, you can read more in the repo forannotated-doc.This new version
0.120.0only contains that transition to the new home package for that utility classDoc.Translations
Internal
typing_extensions.Doctoannotated_doc.Doc. PR #14222 by @tiangolo.v0.119.1Compare Source
Fixes
Docs
starlette.iobystarlette.devanduvicorn.orgbyuvicorn.dev. PR #14176 by @Kludex.Internal
waitinglabel inissue-manager. PR #14156 by @YuriiMotov.v0.119.0Compare Source
FastAPI now (temporarily) supports both Pydantic v2 models and
pydantic.v1models at the same time in the same app, to make it easier for any FastAPI apps still using Pydantic v1 to gradually but quickly migrate to Pydantic v2.Adding this feature was a big effort with the main objective of making it easier for the few applications still stuck in Pydantic v1 to migrate to Pydantic v2.
And with this, support for Pydantic v1 is now deprecated and will be removed from FastAPI in a future version soon.
Note: have in mind that the Pydantic team already stopped supporting Pydantic v1 for recent versions of Python, starting with Python 3.14.
You can read in the docs more about how to Migrate from Pydantic v1 to Pydantic v2.
Features
from pydantic.v1 import BaseModel, mixed Pydantic v1 and v2 models in the same app. PR #14168 by @tiangolo.v0.118.3Compare Source
Upgrades
v0.118.2Compare Source
Fixes
Internal
v0.118.1Compare Source
Upgrades
Docs
Translations
Internal
mkdocs_hooks.pyto addtitleto page's metadata (remove permalinks in social cards). PR #14125 by @YuriiMotov.v0.118.0Compare Source
0.118.0
Fixes
StreamingResponses with dependencies withyieldorUploadFiles, close after the response is done. PR #14099 by @tiangolo.Before FastAPI 0.118.0, if you used a dependency with
yield, it would run the exit code after the path operation function returned but right before sending the response.This change also meant that if you returned a
StreamingResponse, the exit code of the dependency withyieldwould have been already run.For example, if you had a database session in a dependency with
yield, theStreamingResponsewould not be able to use that session while streaming data because the session would have already been closed in the exit code afteryield.This behavior was reverted in 0.118.0, to make the exit code after
yieldbe executed after the response is sent.You can read more about it in the docs for Advanced Dependencies - Dependencies with
yield,HTTPException,exceptand Background Tasks. Including what you could do if you wanted to close a database session earlier, before returning the response to the client.Docs
tutorial/security/oauth2-jwt/to usepwdlibwith Argon2 instead ofpasslib. PR #13917 by @Neizvestnyj.Translations
Internal
v0.117.1Compare Source
Fixes
Fileis declared afterFormparameter. PR #11194 by @thomasleveil.v0.117.0Compare Source
Features
Noneas return type for bodiless responses. PR #9425 by @hofrob.typefield. PR #13639 by @sammasak.external_docsparameter toFastAPI. PR #13713 by @cmtoro.Fixes
default_factoryfor response model field with Pydantic V1. PR #9704 by @vvanglro.jsonable_encoderaltersjson_encodersof Pydantic v1 objects. PR #4972 by @aboubacs.allow_arbitrary_typeswhen only 1 argument is used on the API endpoint. PR #13694 by @rmawatson.inspect.getcoroutinefunction()can break testing withunittest.mock.patch(). PR #14022 by @secrett2633.Refactors
dependency-cachedict insolve_dependenciesonly ifNone(don't re-create if empty). PR #13689 by @bokshitsky.test_tutorial/test_header_params/test_tutorial003.py. PR #13864 by @Amogha-ark.httpxto>=0.23.0,<1.0.0. PR #14086 by @YuriiMotov.Docs
tutorial/cookie-params.md. PR #13510 by @Kludex.path-params-numeric-validations.mdfor languagesen,esanduk.. PR #14059 by @svlandeg.Translations
Internal
docs.py generate-readmecommand to remove permalinks from headers. PR #14055 by @YuriiMotov.v0.116.2Compare Source
Upgrades
Docs
--forwarded-allow-ips="*". PR #14028 by @tiangolo.dict()indocs/tutorial/body.md. PR #13906 by @jomkv.termynal.js. PR #13714 by @Ashish-Pandey62.urlfield in error responses in docs. PR #13655 by @Taoup.scopeclaim in line with the standard indocs_src/security/tutorial005.py. PR #11189 by @DurandA.docs/en/docs/advanced/generate-clients.md. PR #13793 by @mrlubos.Translations
docs/zh/docs/python-types.md. PR #13997 by @anfreshman.docs/pt/docs/async.md. PR #13863 by @EdmilsonRodrigues.docs/ja/docs/tutorial/body.md. PR #13927 by @KoyoMiyazaki.docs/fa/docs/environment-variables.md. PR #13923 by @Mohammad222PR.docs/fa/docs/python-types.md. PR #13524 by @Mohammad222PR.docs/pt/docs/project-generation.md. PR #13875 by @EdmilsonRodrigues.docs/fa/docs/async.md. PR #13541 by @Mohammad222PR.docs/bn/about/index.md. PR #13882 by @sajjadrahman56.Internal
mkdocs_hooksto handle headers with permalinks when building docs. PR #14025 by @tiangolo.mkdocs-macros-pluginfrom 1.3.7 to 1.3.9. PR #14003 by @YuriiMotov.v0.116.1Compare Source
Upgrades
>=0.40.0,<0.48.0. PR #13884 by @tiangolo.Docs
docs/en/docs/contributing.md. PR #13886 by @YuriiMotov.Internal
v0.116.0Compare Source
Features
fastapi deploy. PR #13870 by @tiangolo.Installing
fastapi[standard]now includesfastapi-cloud-cli.This will allow you to deploy to FastAPI Cloud with the
fastapi deploycommand.If you want to install
fastapiwith the standard dependencies but withoutfastapi-cloud-cli, you can install insteadfastapi[standard-no-fastapi-cloud-cli].Translations
docs/ru/docs/advanced/response-directly.md. PR #13801 by @NavesSapnis.docs/ru/docs/advanced/additional-status-codes.md. PR #13799 by @NavesSapnis.docs/uk/docs/tutorial/body-updates.md. PR #13804 by @valentinDruzhinin.Internal
v0.115.14Compare Source
Fixes
Form. PR #13827 by @patrick91.Docs
docs/en/docs/advanced/response-directly.md. PR #13800 by @NavesSapnis.Translations
docs/uk/docs/tutorial/response-model.md. PR #13792 by @valentinDruzhinin.docs/uk/docs/tutorial/security/index.md. PR #13805 by @valentinDruzhinin.docs/ja/docs/tutorial/encoder.md. PR #13815 by @ruzia.docs/ja/docs/tutorial/handling-errors.md. PR #13814 by @ruzia.docs/ja/docs/tutorial/body-fields.md. PR #13802 by @ruzia.docs/ru/docs/advanced/index.md. PR #13797 by @NavesSapnis.Internal
v0.115.13Compare Source
Fixes
\f) character for Pydantic V2. PR #13698 by @YuriiMotov.Refactors
refreshUrlparameter inOAuth2PasswordBearer. PR #11460 by @snosratiershad.passwordandclient_secretinOAuth2PasswordRequestForm, make docs show password fields for passwords. PR #11032 by @Thodoris1999.settings. PR #13505 by @valentinDruzhinin.validate_response_recursive. PR #13507 by @valentinDruzhinin.Upgrades
Docs
async defwithoutawait. PR #13642 by @swastikpradhan1999.docs/en/docs/tutorial/handling-errors.md. PR #13623 by @gsheni.Translations
docs/ru/docs/advanced/response-change-status-code.md. PR #13791 by @NavesSapnis.docs/fa/docs/learn/index.md. PR #13518 by @Mohammad222PR.docs/ko/docs/advanced/sub-applications.md. PR #4543 by @NinaHwang.docs/uk/docs/tutorial/schema-extra-example.md. PR #13769 by @valentinDruzhinin.docs/uk/docs/tutorial/query-param-models.md. PR #13748 by @valentinDruzhinin.docs/bn/docs/environment-variables.md. PR #13629 by @SakibSibly.docs/uk/docs/tutorial/query-params-str-validations.mdpage. PR #13546 by @valentinDruzhinin.docs/ru/docs/tutorial/cookie-param-models.md. PR #13616 by @EgorOnishchuk.docs/ko/docs/tutorial/extra-models.md. PR #13063 by @timothy-jeong.docs/uk/docs/tutorial/path-params-numeric-validations.mdpage. PR #13548 by @valentinDruzhinin.docs/uk/docs/tutorial/middleware.mdpage. PR #13520 by @valentinDruzhinin.docs/uk/docs/tutorial/background-tasks.mdpage. PR #13502 by @valentinDruzhinin.docs/uk/docs/tutorial/cors.mdpage. PR #13519 by @valentinDruzhinin.docs/ko/docs/advanced/events.md. PR #13487 by @bom1215.docs/uk/docs/tutorial/handling-errors.mdpage. PR #13420 by @valentinDruzhinin.docs/ru/docs/tutorial/request-form-models.md. PR #13552 by @EgorOnishchuk.docs/ko/docs/virtual-environments.md. PR #13630 by @sungchan1.docs/ru/docs/tutorial/header-param-models.md. PR #13526 by @minaton-ru.docs/zh/docs/tutorial/index.md. PR #13374 by @Zhongheng-Cheng.docs/zh/docs/deployment/manually.md. PR #13324 by @Zhongheng-Cheng.docs/zh/docs/deployment/server-workers.md. PR #13292 by @Zhongheng-Cheng.docs/zh/docs/tutorial/first-steps.md. PR #13348 by @Zhongheng-Cheng.Internal
inline-snapshotto support different Pydantic versions in the test suite. PR #12534 by @15r10nk.docs/en/mkdocs.ymlconfiguration file. PR #13542 by @svlandeg.v0.115.12Compare Source
Fixes
convert_underscores=Falsefor header Pydantic models. PR #13515 by @tiangolo.Docs
docs/en/docs/tutorial/middleware.md. PR #13444 by @Rishat-F.Translations
docs/uk/docs/tutorial/metadata.mdpage. PR #13459 by @valentinDruzhinin.docs/uk/docs/tutorial/response-status-code.mdpage. PR #13462 by @valentinDruzhinin.docs/uk/docs/tutorial/cookie-param-models.mdpage. PR #13460 by @valentinDruzhinin.docs/uk/docs/tutorial/header-param-models.mdpage. PR #13461 by @valentinDruzhinin.docs/ja/docs/virtual-environments.md. PR #13304 by @k94-ishi.docs/ko/docs/tutorial/security/oauth2-jwt.md. PR #13333 by @yes0ng.docs/vi/docs/deployment/cloud.md. PR #13407 by @ptt3199.Internal
v0.115.11Compare Source
Fixes
Annotatedcustom validations, likeAfterValidator, revert #13440. PR #13442 by @tiangolo.Translations
docs/ru/docs/tutorial/middleware.md. PR #13412 by @alv2017.Internal
v0.115.10Compare Source
Fixes
Upgrades
>=0.40.0,<0.47.0. PR #13426 by @musicinmybrain.Translations
docs/uk/docs/tutorial/debugging.md. PR #13370 by @valentinDruzhinin.docs/uk/docs/tutorial/query-params.md. PR #13362 by @valentinDruzhinin.docs/uk/docs/tutorial/path-params.md. PR #13354 by @valentinDruzhinin.docs/ja/docs/tutorial/cookie-param-models.md. PR #13330 by @k94-ishi.docs/uk/docs/tutorial/body-multiple-params.md. PR #13408 by @valentinDruzhinin.docs/ja/docs/tutorial/query-param-models.md. PR #13323 by @k94-ishi.docs/uk/docs/tutorial/body-nested-models.md. PR #13409 by @valentinDruzhinin.docs/vi/docs/deployment/versions.md. PR #13406 by @ptt3199.docs/vi/docs/deployment/index.md. PR #13405 by @ptt3199.docs/uk/docs/tutorial/request-forms.md. PR #13383 by @valentinDruzhinin.docs/uk/docs/tutorial/testing.md. PR #13371 by @valentinDruzhinin.v0.115.9Compare Source
Fixes
HTTPDigestonly raises an exception whenauto_error is True. PR #2939 by @arthurio.Refactors
query_params_str_validations. PR #13218 by @alv2017.app_testing. PR #13220 by @alv2017.dependency_testing. PR #13223 by @alv2017.Docs
...). PR #13377 by @tiangolo.body-multiple-params. PR #13345 by @DanielYang59.Translations
docs/uk/docs/tutorial/header-params.md. PR #13381 by @valentinDruzhinin.docs/uk/docs/tutorial/request-files.md. PR #13395 by @valentinDruzhinin.docs/uk/docs/tutorial/request-form-models.md. PR #13384 by @valentinDruzhinin.docs/uk/docs/tutorial/request-forms-and-files.md. PR #13386 by @valentinDruzhinin.docs/ko/docs/help-fastapi.md. PR #13262 by @Zerohertz.docs/ko/docs/advanced/custom-response.md. PR #13265 by @11kkw.docs/ko/docs/tutorial/security/simple-oauth2.md. PR #13335 by @yes0ng.docs/ru/docs/advanced/response-cookies.md. PR #13327 by @Stepakinoyan.docs/vi/docs/tutorial/static-files.md. PR #11291 by @ptt3199.docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md. PR #13257 by @11kkw.docs/vi/docs/virtual-environments.md. PR #13282 by @ptt3199.docs/uk/docs/tutorial/static-files.md. PR #13285 by @valentinDruzhinin.docs/vi/docs/environment-variables.md. PR #13287 by @ptt3199.docs/vi/docs/fastapi-cli.md. PR #13294 by @ptt3199.docs/uk/docs/features.md. PR #13308 by @valentinDruzhinin.docs/uk/docs/learn/index.md. PR #13306 by @valentinDruzhinin.docs/pt/docs/deployment/https.md. PR #13317 by @Joao-Pedro-P-Holanda.docs/pt/docs/index.md. PR #13328 by @ceb10n.docs/ru/docs/advanced/websockets.md. PR #13279 by @Rishat-F.Internal
tests/test_modules_same_name_body/test_main.py. PR #13411 by @alv2017.wrangler-actionv3. PR #13415 by @joakimnordling.v0.115.8Compare Source
Fixes
OAuth2PasswordRequestFormandOAuth2PasswordRequestFormStrictfixedgrant_type"password" RegEx. PR #9783 by @skarfie123.Refactors
APIKeyBasesuper class. PR #3142 by @ShahriyarR.Docs
docs/en/docs/tutorial/extra-models.md. PR #13061 by @timothy-jeong.tutorial002to deal withtax=0case. PR #13230 by @togogh.Translations
docs/ja/docs/environment-variables.md. PR #13226 by @k94-ishi.docs/ru/docs/advanced/async-tests.md. PR #13227 by @Rishat-F.docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md. PR #13252 by @Rishat-F.docs/ru/docs/tutorial/bigger-applications.md. PR #13154 by @alv2017.Internal
>=3.2.1,<5.0.0. PR #13273 by @tiangolo.notify_translations.pyempty env var handling for PR label events vs workflow_dispatch. PR #13272 by @tiangolo.scripts/notify_translations.py, no need for a custom GitHub Action. PR #13270 by @tiangolo.Configuration
📅 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 these updates again.
This PR has been generated by Renovate Bot.
d020b78390to2e8657428achore(deps): update dependency fastapi to v0.115.13to chore(deps): update dependency fastapi to v0.115.142e8657428ato75a09aa1bachore(deps): update dependency fastapi to v0.115.14to chore(deps): update dependency fastapi to v0.116.075a09aa1batobd21d66014bd21d66014to34782f4c25chore(deps): update dependency fastapi to v0.116.0to chore(deps): update dependency fastapi to v0.116.134782f4c25to72d894f36572d894f365to2d82dc4f8d2d82dc4f8dto7c3912c5257c3912c525to01c4c2d5b201c4c2d5b2to0bc8732b3f0bc8732b3ftoc1b2a4166achore(deps): update dependency fastapi to v0.116.1to chore(deps): update dependency fastapi to v0.119.1chore(deps): update dependency fastapi to v0.119.1to chore(deps): update dependency fastapi to v0.120.0c1b2a4166ato089fc9a84echore(deps): update dependency fastapi to v0.120.0to chore(deps): update dependency fastapi to v0.120.1089fc9a84etoa347e76641chore(deps): update dependency fastapi to v0.120.1to chore(deps): update dependency fastapi to v0.120.2a347e76641toe88f0fbf23e88f0fbf23to4c3098ed5achore(deps): update dependency fastapi to v0.120.2to chore(deps): update dependency fastapi to v0.120.3chore(deps): update dependency fastapi to v0.120.3to chore(deps): update dependency fastapi to v0.120.44c3098ed5ato5ef3935e3d5ef3935e3dto84dd074e8fchore(deps): update dependency fastapi to v0.120.4to chore(deps): update dependency fastapi to v0.121.084dd074e8fto00e08e858cchore(deps): update dependency fastapi to v0.121.0to chore(deps): update dependency fastapi to v0.121.100e08e858cto70126ff49dchore(deps): update dependency fastapi to v0.121.1to chore(deps): update dependency fastapi to v0.121.2chore(deps): update dependency fastapi to v0.121.2to chore(deps): update dependency fastapi to v0.121.370126ff49dto8a852d81e98a852d81e9to07050a2e0bchore(deps): update dependency fastapi to v0.121.3to chore(deps): update dependency fastapi to v0.122.007050a2e0btofcdf8b6640chore(deps): update dependency fastapi to v0.122.0to chore(deps): update dependency fastapi to v0.122.1chore(deps): update dependency fastapi to v0.122.1to chore(deps): update dependency fastapi to v0.123.0fcdf8b6640to72f49b00fa72f49b00fato3db075161echore(deps): update dependency fastapi to v0.123.0to chore(deps): update dependency fastapi to v0.123.13db075161e29fb5eebe1chore(deps): update dependency fastapi to v0.123.1to chore(deps): update dependency fastapi to v0.123.2chore(deps): update dependency fastapi to v0.123.2to chore(deps): update dependency fastapi to v0.123.329fb5eebe1to46e5fc6a3546e5fc6a35to97a4d7bb99chore(deps): update dependency fastapi to v0.123.3to chore(deps): update dependency fastapi to v0.123.497a4d7bb99to9ab0258319chore(deps): update dependency fastapi to v0.123.4to chore(deps): update dependency fastapi to v0.123.59ab0258319tod026332ef0chore(deps): update dependency fastapi to v0.123.5to chore(deps): update dependency fastapi to v0.123.6d026332ef0to795f69c571chore(deps): update dependency fastapi to v0.123.6to chore(deps): update dependency fastapi to v0.123.7795f69c571toe9b0f4e852chore(deps): update dependency fastapi to v0.123.7to chore(deps): update dependency fastapi to v0.123.8e9b0f4e852to9af779f032chore(deps): update dependency fastapi to v0.123.8to chore(deps): update dependency fastapi to v0.123.9chore(deps): update dependency fastapi to v0.123.9to chore(deps): update dependency fastapi to v0.123.109af779f032to9a267631e5chore(deps): update dependency fastapi to v0.123.10to chore(deps): update dependency fastapi to v0.124.09a267631e5tod861e37380d861e37380to71b5d616ebchore(deps): update dependency fastapi to v0.124.0to chore(deps): update dependency fastapi to v0.124.171b5d616ebtod89e6f61a3chore(deps): update dependency fastapi to v0.124.1to chore(deps): update dependency fastapi to v0.124.2d89e6f61a3tocfdd65b101chore(deps): update dependency fastapi to v0.124.2to chore(deps): update dependency fastapi to v0.124.3cfdd65b101to8aeb1674d4chore(deps): update dependency fastapi to v0.124.3to chore(deps): update dependency fastapi to v0.124.48aeb1674d4to055b3e9602chore(deps): update dependency fastapi to v0.124.4to chore(deps): update dependency fastapi to v0.125.0chore(deps): update dependency fastapi to v0.125.0to chore(deps): update dependency fastapi to v0.126.0055b3e9602to427758d598427758d598to0ef5ee1b05chore(deps): update dependency fastapi to v0.126.0to chore(deps): update dependency fastapi to v0.127.00ef5ee1b05to3673e2912fchore(deps): update dependency fastapi to v0.127.0to chore(deps): update dependency fastapi to v0.127.13673e2912ftodd1fc904c3chore(deps): update dependency fastapi to v0.127.1to chore(deps): update dependency fastapi to v0.128.0dd1fc904c3to4ced1c6259chore(deps): update dependency fastapi to v0.128.0to chore(deps): update dependency fastapi to v0.128.44ced1c6259to45d6fd75c8chore(deps): update dependency fastapi to v0.128.4to chore(deps): update dependency fastapi to v0.128.545d6fd75c8tobd3a987c52chore(deps): update dependency fastapi to v0.128.5to chore(deps): update dependency fastapi to v0.128.7bd3a987c52to08810894e2chore(deps): update dependency fastapi to v0.128.7to chore(deps): update dependency fastapi to v0.128.808810894e2to233dc5c3c0chore(deps): update dependency fastapi to v0.128.8to chore(deps): update dependency fastapi to v0.129.0233dc5c3c0todc612083e6chore(deps): update dependency fastapi to v0.129.0to chore(deps): update dependency fastapi to v0.129.1dc612083e6to7b4176eb83chore(deps): update dependency fastapi to v0.129.1to chore(deps): update dependency fastapi to v0.129.27b4176eb83toff273c6765chore(deps): update dependency fastapi to v0.129.2to chore(deps): update dependency fastapi to v0.130.0ff273c6765to4f12d090fachore(deps): update dependency fastapi to v0.130.0to chore(deps): update dependency fastapi to v0.131.04f12d090fatobdbd64aac3chore(deps): update dependency fastapi to v0.131.0to chore(deps): update dependency fastapi to v0.132.0bdbd64aac3to605d0cdce3chore(deps): update dependency fastapi to v0.132.0to chore(deps): update dependency fastapi to v0.132.1605d0cdce3todb90a7d854chore(deps): update dependency fastapi to v0.132.1to chore(deps): update dependency fastapi to v0.133.0db90a7d854to33fada880dchore(deps): update dependency fastapi to v0.133.0to chore(deps): update dependency fastapi to v0.133.133fada880dtodb9af04419chore(deps): update dependency fastapi to v0.133.1to chore(deps): update dependency fastapi to v0.134.0db9af04419to1aeedffd80chore(deps): update dependency fastapi to v0.134.0to chore(deps): update dependency fastapi to v0.135.01aeedffd80tocc355057f7chore(deps): update dependency fastapi to v0.135.0to chore(deps): update dependency fastapi to v0.135.1cc355057f7to3507f59943chore(deps): update dependency fastapi to v0.135.1to chore(deps): update dependency fastapi to v0.135.33507f59943to337945b9d6chore(deps): update dependency fastapi to v0.135.3to chore(deps): update dependency fastapi to v0.136.0337945b9d6to74f71a7fb8chore(deps): update dependency fastapi to v0.136.0to chore(deps): update dependency fastapi to v0.136.174f71a7fb8a02bd7aca3chore(deps): update dependency fastapi to v0.136.1to chore(deps): update dependency fastapi to v0.136.3a02bd7aca3to2c5768bbefchore(deps): update dependency fastapi to v0.136.3to chore(deps): update dependency fastapi to v0.137.02c5768bbefto7754979decchore(deps): update dependency fastapi to v0.137.0to chore(deps): update dependency fastapi to v0.137.17754979decto13edebc436chore(deps): update dependency fastapi to v0.137.1to chore(deps): update dependency fastapi to v0.137.213edebc436to6e908f603dchore(deps): update dependency fastapi to v0.137.2to chore(deps): update dependency fastapi to v0.138.06e908f603dtod7541ba8ddchore(deps): update dependency fastapi to v0.138.0to chore(deps): update dependency fastapi to v0.138.1d7541ba8ddto29d68e5becchore(deps): update dependency fastapi to v0.138.1to chore(deps): update dependency fastapi to v0.138.229d68e5bectof99486d7ffchore(deps): update dependency fastapi to v0.138.2to chore(deps): update dependency fastapi to v0.139.0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.