* Update internal checks to support Pydantic 2.10.
* Fix error in `docs/en/docs/tutorial/middleware.md`.
- update to 0.115.4:
* Update logic to import and check `python-multipart` for
compatibility with newer version.
- update to 0.115.3:
* Upgrade Starlette to `>=0.40.0,<0.42.0`.
* Fix broken link in docs.
- drop allow-new-starlette.patch (obsolete)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=82
- Update to 0.114.2:
* Fix form field regression with alias.
* Improve performance in request body parsing with a cache for internal
model fields.
* Add support for Pydantic models in Form parameters.
* Fix allow_inf_nan option for Param and Body classes.
* Ensure that app.include_router merges nested lifespans.
* Allow Starlette 0.38.x, update the pin to >=0.37.2,<0.39.0
- Drop patch allow-starlette-0.38.patch, included upstream.
OBS-URL: https://build.opensuse.org/request/show/1202122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=34
* Fix form field regression with alias.
* Improve performance in request body parsing with a cache for internal
model fields.
* Add support for Pydantic models in Form parameters.
* Fix allow_inf_nan option for Param and Body classes.
* Ensure that app.include_router merges nested lifespans.
* Allow Starlette 0.38.x, update the pin to >=0.37.2,<0.39.0
- Drop patch allow-starlette-0.38.patch, included upstream.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=75
- update to 0.112.0:
* Add support for pip install "fastapi[standard]" with standard
dependencies and python -m fastapi
- version 0.111.1:
* Remove orjson and ujson from default dependencies. These
dependencies are still installed when you install with pip install
"fastapi[all]"
* Restored Swagger-UI links to use the latest version possible
- version 0.111.0:
* Add FastAPI CLI, the new fastapi command
* Add configs and setup for fastapi-slim including optional extras
fastapi-slim[standard], and fastapi including by default the same
standard extras
OBS-URL: https://build.opensuse.org/request/show/1192578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=32
* Add support for pip install "fastapi[standard]" with standard
dependencies and python -m fastapi
- version 0.111.1:
* Remove orjson and ujson from default dependencies. These
dependencies are still installed when you install with pip install
"fastapi[all]"
* Restored Swagger-UI links to use the latest version possible
- version 0.111.0:
* Add FastAPI CLI, the new fastapi command
* Add configs and setup for fastapi-slim including optional extras
fastapi-slim[standard], and fastapi including by default the same
standard extras
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=70
- update to 0.110.2:
* Fix support for query parameters with list types, handle
JSON encoding Pydantic `UndefinedType`
* Simplify Pydantic configs in OpenAPI models in
`fastapi/openapi/models.py`.
* Add support for Pydantic's 2.7 new deprecated Field
parameter, remove URL from validation errors response.
- update to 0.110.1:
* Fix parameterless `Depends()` with generics.
* Update mypy.
* Simplify string format with f-strings in
`fastapi/applications.py`.
* Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette
filterwarning for internal tests. PR #11266 by @nothielf.
OBS-URL: https://build.opensuse.org/request/show/1169416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=31
* Fix support for query parameters with list types, handle
JSON encoding Pydantic `UndefinedType`
* Simplify Pydantic configs in OpenAPI models in
`fastapi/openapi/models.py`.
* Add support for Pydantic's 2.7 new deprecated Field
parameter, remove URL from validation errors response.
- update to 0.110.1:
* Fix parameterless `Depends()` with generics.
* Update mypy.
* Simplify string format with f-strings in
`fastapi/applications.py`.
* Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette
filterwarning for internal tests. PR #11266 by @nothielf.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=68
* Upgrade minimum version of `python-multipart` to `>=0.0.7`
to fix a vulnerability when using form data with a ReDos
attack. You can also simply upgrade `python-multipart`.
* Read more in the advisory: Content-Type Header ReDoS.
* Include HTTP 205 in status codes with no body.
* Fix broken link in `docs/tutorial/sql-databases.md` in
several languages.
* Remove broken links from `external_links.yml`.
* Update template docs with more info about `url_for`. PR
#5937 by @EzzEddin.
* Update usage of Token model in security docs.
* Update highlighted line in `docs/en/docs/tutorial/bigger-
applications.md`.
* Add External Link: Explore How to Effectively Use JWT With
FastAPI.
* Add hyperlink to `docs/en/docs/tutorial/static-files.md`.
* Add External Link: Instrument a FastAPI service adding
tracing with OpenTelemetry and send/show traces in Grafana
Tempo.
* Review and rewording of `en/docs/contributing.md`.
* Add External Link: ML serving and monitoring with FastAPI
and Evidently.
* Reword in docs, from "have in mind" to "keep in mind".
* Add External Link: Talk by Jeny Sadadia.
* Add location info to `tutorial/bigger-applications.md`.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=64
- update to 0.104.1:
* Pin Swagger UI version to 5.9.0 temporarily to handle a bug
crashing it in 5.9.1.
* Update data structure and render for external-links.
* Fix link to SPDX license identifier in
`docs/en/docs/tutorial/metadata.md`.
* Update example validation error from Pydantic v1 to match
Pydantic v2 in `docs/en/docs/tutorial/path-params.md`.
* Fix typos in emoji docs and in some source examples.
* Fix typo in `docs/en/docs/reference/dependencies.md`.
* Fix typos and rewordings in `docs/en/docs/tutorial/body-
nested-models.md`.
* Update docs, remove references to removed
`pydantic.Required` in `docs/en/docs/tutorial/query-params-
str-validations.md`.
* Fix typo in `docs/en/docs/reference/index.md`.
* Update Pydantic links to dotenv support.
* Update links in `docs/en/docs/async.md` and
`docs/zh/docs/async.md` to make them relative.
* Fix links in `docs/em/docs/async.md`.
* Fix typo in `docs/em/docs/index.md`
with custom docstrings for BackgroundTasks, refactor docs structure.
* dd support for openapi_examples in all FastAPI parameters.
- update to 0.97.0:
- Add exception handler for WebSocketRequestValidationError
- Upgrade and fully migrate to Ruff, remove isort, includes a
- Update internal type annotations and upgrade mypy.
- Simplify AsyncExitStackMiddleware as without Python 3.6
- Update to version 0.96.0:
OBS-URL: https://build.opensuse.org/request/show/1124010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=25
* Pin Swagger UI version to 5.9.0 temporarily to handle a bug
crashing it in 5.9.1.
* Update data structure and render for external-links.
* Fix link to SPDX license identifier in
`docs/en/docs/tutorial/metadata.md`.
* Update example validation error from Pydantic v1 to match
Pydantic v2 in `docs/en/docs/tutorial/path-params.md`.
* Fix typos in emoji docs and in some source examples.
* Fix typo in `docs/en/docs/reference/dependencies.md`.
* Fix typos and rewordings in `docs/en/docs/tutorial/body-
nested-models.md`.
* Update docs, remove references to removed
`pydantic.Required` in `docs/en/docs/tutorial/query-params-
str-validations.md`.
* Fix typo in `docs/en/docs/reference/index.md`.
* Update Pydantic links to dotenv support.
* Update links in `docs/en/docs/async.md` and
`docs/zh/docs/async.md` to make them relative.
* Fix links in `docs/em/docs/async.md`.
* Fix typo in `docs/em/docs/index.md`
with custom docstrings for BackgroundTasks, refactor docs structure.
* dd support for openapi_examples in all FastAPI parameters.
- update to 0.97.0:
- Add exception handler for WebSocketRequestValidationError
- Upgrade and fully migrate to Ruff, remove isort, includes a
- Update internal type annotations and upgrade mypy.
- Simplify AsyncExitStackMiddleware as without Python 3.6
- Update to version 0.96.0:
- Update Deta deployment tutorial for compatibility with Deta
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=56
* Allow disabling `redirect_slashes` at the FastAPI app
level.
* Update `Annotated` notes in `docs/en/docs/tutorial/schema-
extra-example.md`. PR #9620 by @Alexandrhub.
* Fix typo `Annotation` -> `Annotated` in
`docs/en/docs/tutorial/query-params-str-validations.md`.
* Use in memory database for testing SQL in docs.
* Add Russian translation for
`docs/ru/docs/tutorial/metadata.md`.
* Fix typo in Spanish translation for
`docs/es/docs/tutorial/first-steps.md`.
* Add Russian translation for `docs/tutorial/path-operation-
configuration.md`.
* Add Chinese translation for
`docs/zh/docs/advanced/security/index.md`.
* Add Chinese translations for
`docs/zh/docs/advanced/settings.md`.
* Add Chinese translations for
`docs/zh/docs/advanced/websockets.md`.
* Add Chinese translation for
`docs/zh/docs/tutorial/testing.md`.
* Add Russian translation for `docs/tutorial/extra-
models.md`.
* Add Russian translation for `docs/tutorial/cors.md`.
* Add Polish translation for `docs/pl/docs/features.md`.
* Add Russian translation for `docs/ru/docs/tutorial/body-
nested-models.md`.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=48
- update to 0.97.0:
* Features
- Add support for dependencies in WebSocket routes.
- Add exception handler for WebSocketRequestValidationError
(which also allows to override it).
* Refactors
- Upgrade and fully migrate to Ruff, remove isort, includes a
couple of tweaks suggested by the new version of Ruff.
- Update internal type annotations and upgrade mypy.
- Simplify AsyncExitStackMiddleware as without Python 3.6
AsyncExitStack is always available.
* Upgrades
- Upgrade Black.
OBS-URL: https://build.opensuse.org/request/show/1093963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastapi?expand=0&rev=21
- update to 0.97.0:
* Features
- Add support for dependencies in WebSocket routes.
- Add exception handler for WebSocketRequestValidationError
(which also allows to override it).
* Refactors
- Upgrade and fully migrate to Ruff, remove isort, includes a
couple of tweaks suggested by the new version of Ruff.
- Update internal type annotations and upgrade mypy.
- Simplify AsyncExitStackMiddleware as without Python 3.6
AsyncExitStack is always available.
* Upgrades
- Upgrade Black.
OBS-URL: https://build.opensuse.org/request/show/1093954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=45
- Update to version 0.96.0:
* Features
- Update create_cloned_field to use a global cache and improve
startup performance.
* Docs
- Update Deta deployment tutorial for compatibility with Deta
Space.
- Fix typo in Deta deployment tutorial.
* Translations
- Add Russian translation for docs/tutorial/body.md.
- Add Russian translation for docs/ru/docs/tutorial/static-files.md.
- Add Russian translation for docs/ru/docs/tutorial/query-params.md.
- Add Russian translation for docs/ru/docs/tutorial/first-steps.md.
- Add Russian translation for docs/ru/docs/tutorial/debugging.md.
- Add Russian translation for docs/ru/docs/tutorial/path-params.md.
- Add Chinese translation for docs/zh/docs/tutorial/static-files.md.
- Update Spanish translation including new illustrations in docs/es/docs/async.md.
- Add Russian translation for docs/ru/docs/tutorial/path-params-numeric-validations.md.
- Add Russian translation for docs/ru/docs/deployment/concepts.md.
- Add Russian translation for docs/ru/docs/tutorial/body-multiple-params.md.
OBS-URL: https://build.opensuse.org/request/show/1091044
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=41
- Update to version 0.95.2:
* Upgrade Starlette version to >=0.27.0 for a security release.
- Translations
* Add Portuguese translation for docs/pt/docs/advanced/events.md
* Add Russian translation for docs/ru/docs/deployment/manually.md
* Add setup for translations to Lao
* Add Russian translation for docs/ru/docs/tutorial/testing.md
* Add Russian translation for docs/ru/docs/deployment/https.md
* Fix command to install requirements in Windows.
* Add French translation for docs/fr/docs/advanced/response-directly.m*.
* Initiate Czech translation setup.
* Fix typo in Portuguese docs for docs/pt/docs/index.md
* Add Russian translation for docs/ru/docs/tutorial/response-status-co*.md
OBS-URL: https://build.opensuse.org/request/show/1087524
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastapi?expand=0&rev=39