-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency fastapi to v0.118.0 #9
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/fastapi-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1
−1
Conversation
This file contains hidden or 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
90f433a
to
7253361
Compare
7253361
to
d0093e6
Compare
d0093e6
to
fcaabbf
Compare
0e1e070
to
9e48071
Compare
9e48071
to
011f301
Compare
011f301
to
0ef031b
Compare
0ef031b
to
3e44d43
Compare
3e44d43
to
593556f
Compare
593556f
to
f25fb91
Compare
f25fb91
to
9f604ae
Compare
9f604ae
to
6a593c7
Compare
6a593c7
to
29b9c85
Compare
29b9c85
to
2a69817
Compare
2a69817
to
f739a2b
Compare
f739a2b
to
10e9bcc
Compare
10e9bcc
to
353983a
Compare
353983a
to
760af03
Compare
760af03
to
039cbad
Compare
039cbad
to
45b1ae7
Compare
45b1ae7
to
1a68203
Compare
1a68203
to
e646394
Compare
e646394
to
babf3ed
Compare
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.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
==0.112.1
->==0.118.0
Release Notes
fastapi/fastapi (fastapi)
v0.118.0
0.118.0
Fixes
StreamingResponse
s with dependencies withyield
orUploadFile
s, 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 withyield
would have been already run.For example, if you had a database session in a dependency with
yield
, theStreamingResponse
would 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
yield
be executed after the response is sent.You can read more about it in the docs for Advanced Dependencies - Dependencies with
yield
,HTTPException
,except
and 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 usepwdlib
with Argon2 instead ofpasslib
. PR #13917 by @Neizvestnyj.Translations
Internal
v0.117.1
Compare Source
Fixes
File
is declared afterForm
parameter. PR #11194 by @thomasleveil.v0.117.0
Compare Source
Features
None
as return type for bodiless responses. PR #9425 by @hofrob.type
field. PR #13639 by @sammasak.external_docs
parameter toFastAPI
. PR #13713 by @cmtoro.Fixes
default_factory
for response model field with Pydantic V1. PR #9704 by @vvanglro.jsonable_encoder
altersjson_encoders
of Pydantic v1 objects. PR #4972 by @aboubacs.allow_arbitrary_types
when 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-cache
dict insolve_dependencies
only ifNone
(don't re-create if empty). PR #13689 by @bokshitsky.test_tutorial/test_header_params/test_tutorial003.py
. PR #13864 by @Amogha-ark.httpx
to>=0.23.0,<1.0.0
. PR #14086 by @YuriiMotov.Docs
tutorial/cookie-params.md
. PR #13510 by @Kludex.path-params-numeric-validations.md
for languagesen
,es
anduk
.. PR #14059 by @svlandeg.Translations
Internal
docs.py generate-readme
command to remove permalinks from headers. PR #14055 by @YuriiMotov.v0.116.2
Compare 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.url
field in error responses in docs. PR #13655 by @Taoup.scope
claim 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_hooks
to handle headers with permalinks when building docs. PR #14025 by @tiangolo.mkdocs-macros-plugin
from 1.3.7 to 1.3.9. PR #14003 by @YuriiMotov.v0.116.1
Compare 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.0
Compare 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 deploy
command.If you want to install
fastapi
with 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.14
Compare 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.13
Compare Source
Fixes
\f
) character for Pydantic V2. PR #13698 by @YuriiMotov.Refactors
refreshUrl
parameter inOAuth2PasswordBearer
. PR #11460 by @snosratiershad.password
andclient_secret
inOAuth2PasswordRequestForm
, 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 def
withoutawait
. 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.md
page. 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.md
page. PR #13548 by @valentinDruzhinin.docs/uk/docs/tutorial/middleware.md
page. PR #13520 by @valentinDruzhinin.docs/uk/docs/tutorial/background-tasks.md
page. PR #13502 by @valentinDruzhinin.docs/uk/docs/tutorial/cors.md
page. PR #13519 by @valentinDruzhinin.docs/ko/docs/advanced/events.md
. PR #13487 by @bom1215.docs/uk/docs/tutorial/handling-errors.md
page. 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-snapshot
to support different Pydantic versions in the test suite. PR #12534 by @15r10nk.docs/en/mkdocs.yml
configuration file. PR #13542 by @svlandeg.v0.115.12
Compare Source
Fixes
convert_underscores=False
for 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.md
page. PR #13459 by @valentinDruzhinin.docs/uk/docs/tutorial/response-status-code.md
page. PR #13462 by @valentinDruzhinin.docs/uk/docs/tutorial/cookie-param-models.md
page. PR #13460 by @valentinDruzhinin.docs/uk/docs/tutorial/header-param-models.md
page. 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.11
Compare Source
Fixes
Annotated
custom validations, likeAfterValidator
, revert #13440. PR #13442 by @tiangolo.Translations
docs/ru/docs/tutorial/middleware.md
. PR #13412 by @alv2017.Internal
v0.115.10
Compare 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.9
Compare Source
Fixes
HTTPDigest
only 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](https://redirect.github.cConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.