fix(deps): update dependency fastapi to >=0.110.0,<0.130.0#75
Conversation
e36d118 to
3fc4c7c
Compare
3fc4c7c to
3920532
Compare
3920532 to
cc8cd5e
Compare
1e37a6d to
0f34a07
Compare
0f34a07 to
6f1c7df
Compare
96b087a to
797b2f5
Compare
797b2f5 to
65df10b
Compare
65df10b to
219e02f
Compare
219e02f to
6d5fe95
Compare
6d5fe95 to
5469ca0
Compare
5469ca0 to
4228557
Compare
4228557 to
7dd01f2
Compare
6eada1e to
e1ab0fc
Compare
e1ab0fc to
01a1561
Compare
01a1561 to
36e72f0
Compare
36e72f0 to
54e0d09
Compare
54e0d09 to
630fd55
Compare
b37a8f4 to
b820c86
Compare
b820c86 to
46d94e0
Compare
46d94e0 to
298e86a
Compare
298e86a to
57685b9
Compare
57685b9 to
4bb24d7
Compare
4bb24d7 to
b07bb7b
Compare
b07bb7b to
6fbdd13
Compare
6fbdd13 to
b4b67d8
Compare
b4b67d8 to
b4ffacc
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| @@ -9,7 +9,7 @@ requires-python = ">=3.11,<3.14" | |||
| dependencies = [ | |||
| "google-cloud-tasks>=2.16.3,<2.20.0", | |||
| "google-cloud-scheduler>=2.13.3,<2.20.0", | |||
| "fastapi>=0.110.0,<0.120.0", | |||
| "fastapi>=0.129.0,<0.130.0", | |||
There was a problem hiding this comment.
FastAPI upgrade breaks existing pydantic.v1 dependency usage
High Severity
Upgrading fastapi to >=0.129.0 is incompatible with the codebase's reliance on pydantic.v1. Core library files fastapi_gcp_tasks/exception.py and fastapi_gcp_tasks/requester.py import from pydantic.v1.errors and pydantic.v1.error_wrappers, and example files import pydantic.v1.BaseModel. FastAPI 0.128.0 explicitly dropped pydantic.v1 support, meaning these components will fail at runtime. The library code needs to be migrated to Pydantic v2 before this dependency bump can land.


This PR contains the following updates:
>=0.110.0,<0.120.0→>=0.110.0,<0.130.0Release Notes
fastapi/fastapi (fastapi)
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
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.2[Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.121.1...0.
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.
Note
Medium Risk
Dependency upgrade of the web framework may introduce runtime/API behavior changes; risk is moderate because no application code changes are included.
Overview
Expands the supported
fastapidependency range from<0.120.0to<0.130.0inpyproject.toml.Regenerates
uv.lockto resolve tofastapi==0.129.0, updating metadata and pulling in new transitive requirements (notablyannotated-docandtyping-inspection).Written by Cursor Bugbot for commit 2d36560. This will update automatically on new commits. Configure here.