FastAPI
Frontend & MobileFastAPI framework, high performance, easy to learn, fast to code, ready for production
Release History
0.128.0BreakingThis release officially drops support for Pydantic v1, requiring all users to migrate to Pydantic v2. Internal performance tests have also been updated to reflect this change.
0.127.11 featureThis release introduces a custom deprecation warning class and adds a documentary to the documentation website, alongside internal CI improvements and translation updates.
0.127.0Breaking2 featuresThis release introduces deprecation warnings for pydantic.v1 and adds new LLM prompt files for Korean and Japanese translations.
0.126.0Breaking1 fix2 featuresThis release drops support for Pydantic v1, establishing Pydantic v2.7.0 as the new minimum requirement while adding performance testing via CodSpeed.
0.125.0Breaking2 fixes3 featuresThis release drops support for Python 3.8 and upgrades the internal codebase to Python 3.9+ syntax. It also includes significant updates to documentation translations and the CI pipeline for LLM-assisted localization.
0.124.41 fixThis release includes a bug fix for parameter aliases.
0.124.31 fixThis release fixes a bug regarding tagged unions in request bodies and updates documentation security practices for re-raising validation errors.
0.124.21 fixThis release fixes an issue with type hint evaluation, specifically improving support for 'if TYPE_CHECKING' blocks and stringified annotations.
0.124.11 fixThis release fixes a bug related to arbitrary type handling and updates documentation for the Advanced User Guide and project generation.
0.124.01 featureThis release improves developer experience by adding endpoint metadata to tracebacks and includes internal script maintenance.
0.123.102 fixesThis release provides bug fixes for dependency injection using classes with __call__ methods and resolves schema generation issues involving computed_field.
0.123.91 fixThis release fixes an issue with OAuth2 scope generation in OpenAPI documentation when dealing with nested dependencies and specific security scheme configurations.
0.123.82 fixesThis release fixes a bug in OpenAPI generation where OAuth2 security schemes were not correctly deduplicated when using different scopes.
0.123.71 fixThis release provides a bug fix for evaluating stringified type annotations specifically for users on Python 3.10.
0.123.61 fixThis release fixes a bug involving the combined use of functools.wraps and functools.partial in FastAPI path operations and dependencies.
0.123.51 fix3 featuresThis release improves dependency injection support for wrapped functions and functools.partial, while fixing a bug related to Python 3.10 union syntax in sequences.
0.123.41 fixThis release fixes an issue with OpenAPI schema generation for computed fields and updates the docstring for the servers parameter.
0.123.32 fixesThis release focuses on bug fixes for parameter model aliases and sequence serialization issues when using Pydantic V2.
0.123.24 fixesThis release focuses on bug fixes for parameter parsing and error formatting, alongside documentation improvements for virtual environments and SQL tutorials.
0.123.13 fixesThis release focuses on bug fixes for Pydantic v2 compatibility remapping and decimal encoding for NaN/Infinity values, alongside internal CI improvements for Windows.
0.123.01 fixThis release includes a bug fix to improve dependency caching for dependencies that do not utilize scopes or have sub-dependencies with scopes.
0.122.11 fixThis release fixes a bug in hierarchical security scope propagation and includes minor internal dependency updates and documentation CSS improvements.
0.122.0Breaking1 fixThis release updates security classes to return a more accurate 401 Unauthorized status code instead of 403 Forbidden when credentials are missing, and includes several internal CI/documentation improvements.
0.121.31 fix1 featureThis release improves internal tool compatibility by making dependency injection results hashable and updates the Starlette dependency constraint.
0.121.21 fixThis release focuses on a bug fix for JSON Schema '$ref' attributes and includes several documentation updates and translation synchronizations for Portuguese, Russian, and German.
0.121.11 fixThis release fixes a bug with top-level parameterless dependencies using function scope and updates documentation for advanced dependencies with yield.
0.121.01 featureThis release introduces scoped dependencies, allowing yield-based dependencies to exit before the response is sent by using scope="request".
0.120.41 fixThis release fixes a bug where security schemes added at the top-level FastAPI application were not correctly reflected in the generated OpenAPI schema.
0.120.3This release focuses on internal refactoring of the dependency injection system to reduce recursion and simplify code using dataclasses. It also includes minor documentation updates for untranslated pages.
0.120.21 fixThis release provides a bug fix for OpenAPI schema generation involving nested models, resolving an issue introduced in the previous version.
0.120.1This release updates the Starlette dependency constraint to <0.50.0 and performs internal maintenance on the pyproject.toml license metadata.
0.120.01 featureFastAPI 0.120.0 migrates its internal reference documentation utility from typing_extensions.Doc to the new annotated-doc package and includes German documentation updates.
0.119.11 fixThis release focuses on internal compatibility fixes for Pydantic v1 when running on Python 3.14 and updates documentation links for Starlette and Uvicorn.
0.119.02 featuresThis release introduces temporary dual-support for Pydantic v1 and v2 models to facilitate migration, while officially deprecating Pydantic v1 support.
0.118.31 featureThis release introduces support for Python 3.14.
0.118.21 fixThis release provides a bug fix for tagged discriminated unions in request bodies and updates internal CI dependencies.
0.118.11 fix2 featuresThis release focuses on ensuring compatibility with Pydantic 2.12.0, expanding Russian translations, and updating internal dependencies and documentation.
0.118.0Breaking2 fixesFastAPI 0.118.0 fixes a critical issue where dependencies with 'yield' (like database sessions) were closed before StreamingResponse could finish, and updates security tutorials to use pwdlib.
0.117.11 fixThis release includes a bug fix for parameter validation when using both File and Form parameters in a specific declaration order.
0.117.05 fixes3 featuresThis release introduces support for bodiless responses and array-based OpenAPI types, while providing several bug fixes for Pydantic V1 integration and dependency resolution.
0.116.23 fixes3 featuresThis release upgrades the supported Starlette version range and focuses heavily on documentation improvements, including proxy header configurations and Pydantic method deprecations.
0.116.1This release primarily updates the supported Starlette version range and includes minor documentation and internal maintenance updates.
0.116.05 featuresThis release introduces integrated support for FastAPI Cloud deployment via the 'fastapi deploy' command and updates the 'standard' installation extra to include 'fastapi-cloud-cli'.
0.115.141 fixThis release fixes a bug regarding Union type support in Form parameters and includes several documentation updates and translations.
0.115.131 fix3 featuresThis release updates ReDoc to 2.x, adds refreshUrl support to OAuth2PasswordBearer, and fixes a Pydantic V2 description truncation bug. It also improves the documentation UI for password fields in OAuth2 forms.
0.115.121 fixThis release focuses on a bug fix for Pydantic header models with underscores and includes extensive documentation updates and translations across multiple languages.
0.115.111 fix1 featureThis release restores and officially supports custom validations using Pydantic's Annotated and AfterValidator, including new documentation and tests. It also includes internal updates to GitHub topics and contributor lists.
0.115.101 fix3 featuresThis release focuses on internal compatibility updates for Pydantic 2.11, expands Starlette dependency ranges, and adds extensive documentation translations for Ukrainian, Japanese, and Vietnamese.
0.115.93 fixes2 featuresThis release focuses on a fix for HTTPDigest error handling, significant documentation improvements, and a large number of international translations. It also includes internal test refactors and dependency updates.
0.115.81 fix1 featureThis release adds support for Python 3.13, fixes a RegEx validation issue in OAuth2 password forms, and includes various internal refactors and documentation translations.
0.115.74 fixes3 featuresThis release focuses on dependency upgrades for security and compatibility, alongside a significant overhaul of documentation translations and test suite simplifications.