d71950ed45Accepting request 1288758 from devel:languages:pythonAna Guerrero2025-06-27 21:00:21 +00:00
6e8484ebff- Remove ringdisabled, switch to standard multibuild with a test flavor.Steve Kowalik2025-06-27 00:44:33 +00:00
40a281c5fc- Update to 0.115.13: * Fix truncating the model's description with form feed (\f) character for Pydantic V2. - Ignore more test files with ringdisabled as inline_snapshot expands inside the testsuite.Steve Kowalik2025-06-24 01:54:42 +00:00
f3f8a9b03a- Update to 0.115.12: * Fix convert_underscores=False for header Pydantic models. * Add docs examples and tests (support) for Annotated custom validations, like AfterValidator. * Update internal annotation usage for compatibility with Pydantic 2.11. * Ensure that HTTPDigest only raises an exception when auto_error is True. - Drop remove-classifiers.patch, no longer required.Steve Kowalik2025-05-01 05:54:46 +00:00
a5fc613b34- Update to 0.115.8 * Fix OAuth2PasswordRequestForm and OAuth2PasswordRequestFormStrict fixed grant_type "password" RegEx. * Simplify tests for body_multiple_params. * Move duplicated code portion to a static method in the APIKeyBase super class. * Simplify tests for request_files. * Change the word "unwrap" to "unpack" in docs/en/docs/tutorial/extra-models.md. * Update Request Body's tutorial002 to deal with tax=0 case. * Update FastAPI People - Experts. * Add Japanese translation for docs/ja/docs/environment-variables.md. * Add Russian translation for docs/ru/docs/advanced/async-tests.md. * Update Russian translation for docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md. * Add Russian translation for docs/ru/docs/tutorial/bigger-applications.md. * Add support for Python 3.13. * Upgrade AnyIO max version for tests, new range: >=3.2.1,<5.0.0. * Update Sponsors badges. * Fix notify_translations.py empty env var handling for PR label events vs workflow_dispatch. * Refactor and move scripts/notify_translations.py, no need for a custom GitHub Action. * Update FastAPI People Experts script, refactor and optimize data fetching to handle rate limits. * Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4. - from version 0.115.7 * Upgrade python-multipart to >=0.0.18. * Bump Starlette to allow up to 0.45.0: >=0.40.0,<0.46.0. * Upgrade jinja2 to >=3.1.5. * Simplify tests for websockets. * Simplify tests for request_form_models. * Simplify tests for separate_openapi_schemas. * Simplify tests for security. * Simplify tests for schema_extra_example. * Simplify tests for request_model. * Simplify tests for request_forms_and_files.Markéta Machová2025-02-07 13:03:04 +00:00
edc2e24260Accepting request 1230775 from devel:languages:pythonAna Guerrero2024-12-13 21:33:10 +00:00
51a5f8baccAccepting request 1230610 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2024-12-13 10:42:59 +00:00
227a1c96f2Accepting request 1228546 from devel:languages:pythonAna Guerrero2024-12-06 13:25:18 +00:00
973ec18fc1- update to 0.115.6: * Preserve traceback when an exception is raised in sync dependency with yield. PR #5823 by @sombek. * Update tests and internals for compatibility with Pydantic >=2.10. PR #12971 by @tamird.Dirk Mueller2024-12-05 14:50:18 +00:00
0ec657bb58Accepting request 1225489 from devel:languages:pythonAna Guerrero2024-11-21 14:13:35 +00:00
eb3a87b14a- update to 0.115.5: * 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)Dirk Mueller2024-11-21 08:54:16 +00:00
61e3dc8711Accepting request 1222081 from devel:languages:pythonAna Guerrero2024-11-08 10:56:16 +00:00
f598bf77f9Accepting request 1208759 from devel:languages:pythonAna Guerrero2024-10-20 08:13:06 +00:00
8ae89947fe- Update to 0.115.2: * Upgrade Starlette to >=0.37.2,<0.41.0. * Fix openapi generation with responses kwarg. * Remove Required shadowing from fastapi using Pydantic v2. * Add support for Pydantic models for parameters using Query, Cookie, Header - Add patch allow-new-starlette.patch.Steve Kowalik2024-10-18 03:24:19 +00:00
8d93db22d9Accepting request 1202122 from devel:languages:pythonAna Guerrero2024-09-22 09:05:39 +00:00
be13249886- 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.Steve Kowalik2024-09-17 05:46:48 +00:00
701762b647- 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 extrasDaniel Garcia2024-08-08 09:35:24 +00:00
0037fa1259Accepting request 1169416 from devel:languages:pythonAna Guerrero2024-04-30 15:25:37 +00:00
91a6062046- 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.Dirk Mueller2024-04-20 20:54:41 +00:00
08e52fecc4Accepting request 1156813 from devel:languages:pythonAna Guerrero2024-03-14 16:42:13 +00:00
648ab7e202- Update to 0.110.0: * Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python. - Switch to pydantic version 2 by pulling in pydantic-settings.Steve Kowalik2024-03-11 03:30:34 +00:00
969ba972f9Accepting request 1146442 from devel:languages:pythonAna Guerrero2024-02-14 22:18:54 +00:00
5f0f633282- update to 0.109.1 [bsc#1219610] CVE-2024-24762: * 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.Dirk Mueller2024-02-06 14:27:23 +00:00
e3bfa57df8Accepting request 1138589 from devel:languages:pythonAna Guerrero2024-01-21 22:07:36 +00:00
e8cf72301dAccepting request 1138505 from home:bnavigator:branches:devel:languages:pythonDirk Mueller2024-01-14 15:17:29 +00:00
827d1599f9Accepting request 1135254 from devel:languages:pythonAna Guerrero2023-12-28 21:54:33 +00:00
cb01d48d36- update to 0.108.0: * Upgrade Starlette to >=0.29.0,<0.33.0, update docs and usage of templates with new Starlette arguments.Dirk Mueller2023-12-27 09:45:15 +00:00
f7a4508d9fAccepting request 1133051 from devel:languages:pythonAna Guerrero2023-12-15 20:46:47 +00:00
34a815a779- update to 0.105.0: * Add support for multiple Annotated annotations, e.g. Annotated[str, Field(), Query()]. * Remove unused NoneType. * Tweak default suggested configs for generating clients.Dirk Mueller2023-12-14 10:15:07 +00:00
ff901d9ccaAccepting request 1124010 from devel:languages:pythonAna Guerrero2023-11-08 21:16:49 +00:00
40113d6cb6- 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: - Update Deta deployment tutorial for compatibility with DetaDirk Mueller2023-11-07 14:35:08 +00:00
55f035113fAccepting request 1119161 from devel:languages:pythonAna Guerrero2023-10-20 21:16:26 +00:00
744bdad826- update to 0.98.0: * 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.Dirk Mueller2023-06-25 17:58:49 +00:00
6427129d95- update to 0.96.1: * Fix HTTPException header type annotations. * Fix OpenAPI model fields int validations, gte to ge. * Update minimum version of Pydantic to >=1.7.4.Dirk Mueller2023-06-11 11:54:19 +00:00