Sebastián Ramírez
bde12faea2
🔖 Release version 0.114.0
2024-09-06 19:41:13 +02:00
Sebastián Ramírez
4633b1bca9
✨ Add support for forbidding extra form fields with Pydantic models ( #12134 )
...
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com >
2024-09-06 19:31:18 +02:00
Sebastián Ramírez
d86f660302
🔖 Release version 0.113.0
2024-09-05 17:25:29 +02:00
Sebastián Ramírez
7bad7c0975
✨ Add support for Pydantic models in Form parameters ( #12129 )
...
Revert "⏪ ️ Temporarily revert "✨ Add support for Pydantic models in `Form` pa…"
This reverts commit 8e6cf9ee9c .
2024-09-05 17:16:50 +02:00
Sebastián Ramírez
999eeb6c76
🔖 Release version 0.112.4
2024-09-05 17:00:33 +02:00
Sebastián Ramírez
8e6cf9ee9c
⏪ ️ Temporarily revert " ✨ Add support for Pydantic models in Form parameters" to make a checkpoint release ( #12128 )
...
Revert "✨ Add support for Pydantic models in `Form` parameters (#12127 )"
This reverts commit 0f3e65b007 .
2024-09-05 16:55:44 +02:00
Sebastián Ramírez
0f3e65b007
✨ Add support for Pydantic models in Form parameters ( #12127 )
2024-09-05 16:40:48 +02:00
Sebastián Ramírez
aa21814a89
♻️ Refactor deciding if embed body fields, do not overwrite fields, compute once per router, refactor internals in preparation for Pydantic models in Form, Query and others ( #12117 )
2024-09-05 13:24:36 +02:00
Sebastián Ramírez
7213d421f5
🔖 Release version 0.112.3
2024-09-05 11:13:32 +02:00
Sebastián Ramírez
23bda0ffeb
♻️ Refactor internal check_file_field(), rename to ensure_multipart_is_installed() to clarify its purpose ( #12106 )
2024-09-01 21:39:25 +02:00
Sebastián Ramírez
d08b95ea57
♻️ Rename internal create_response_field() to create_model_field() as it's used for more than response models ( #12103 )
2024-09-01 01:46:03 +02:00
Sebastián Ramírez
5b7fa3900e
♻️ Refactor and simplify internal data from solve_dependencies() using dataclasses ( #12100 )
2024-08-31 22:52:06 +02:00
Sebastián Ramírez
08547e1d57
♻️ Refactor and simplify internal analyze_param() to structure data with dataclasses instead of tuple ( #12099 )
2024-08-31 22:27:44 +02:00
Sebastián Ramírez
581aacc4a9
♻️ Refactor and simplify dependencies data structures with dataclasses ( #12098 )
2024-08-31 22:19:30 +02:00
Sebastián Ramírez
d00af00d3f
🔖 Release version 0.112.2
2024-08-24 14:34:50 -05:00
Giunio
51b625e127
🐛 Fix allow_inf_nan option for Param and Body classes ( #11867 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: svlandeg <svlandeg@github.com >
2024-08-24 14:27:37 -05:00
Pastukhov Nikita
3a4ac24675
🐛 Ensure that app.include_router merges nested lifespans ( #9630 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com >
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-08-24 14:09:52 -05:00
0shah0
85cded53c8
✏️ Fix import typo in reference example for Security ( #11168 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-08-17 06:53:52 +00:00
Jamie Phan
659350e9cd
🎨 Fix typing annotation for semi-internal FastAPI.add_api_route() ( #10240 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-08-17 04:52:31 +00:00
Sebastián Ramírez
3a3ad5d66d
⬆️ Upgrade version of Ruff and reformat ( #12032 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-16 23:13:50 -05:00
Sebastián Ramírez
4f937c0c4a
🔖 Release version 0.112.1
2024-08-15 16:00:47 -05:00
Sebastián Ramírez
b2e233867c
🔖 Release version 0.112.0
2024-08-02 01:09:03 -05:00
Sebastián Ramírez
a25c92ceb9
♻️ Add support for pip install "fastapi[standard]" with standard dependencies and python -m fastapi ( #11935 )
...
* ♻️ Add support for `pip install "fastapi[standard]"` and make `fastapi` not include the optional standard dependencies
* 📝 Update docs to include new fastapi[standard]
* ✨ Add new stub fastapi command that tells people to install fastapi[standard]
* ✅ Add tests for new stub CLI
* 🔧 Add new command fastapi in main fastapi project, for when fastapi-cli is not installed
* ✏️ Fix types
* 📝 Add note about quotes when installing fastapi[standard]
* 📝 Update docs about standard extra dependencies
* ⬆️ Upgrade fastapi-cli
2024-08-02 01:03:05 -05:00
Sebastián Ramírez
b199364246
🔖 Release version 0.111.1
2024-07-14 12:54:20 -05:00
Nir Schulman
a69f38340f
📝 Restored Swagger-UI links to use the latest version possible. ( #11459 )
2024-05-23 17:59:02 -05:00
Petar Marić
817cc1d754
✏️ Fix typo in fastapi/applications.py ( #11593 )
2024-05-17 19:48:03 -05:00
Sebastián Ramírez
67da3bb52e
🔖 Release version 0.111.0
2024-05-02 15:50:18 -07:00
Sebastián Ramírez
ea1f2190d3
🔧 Add configs and setup for fastapi-slim including optional extras fastapi-slim[standard], and fastapi including by default the same standard extras ( #11503 )
2024-04-29 23:38:13 -07:00
Sebastián Ramírez
32be95dd86
🔖 Release version 0.110.3
2024-04-29 17:34:06 -07:00
Sebastián Ramírez
41fcbc7d00
🔧 Migrate from Hatch to PDM for the internal build ( #11498 )
2024-04-29 16:48:42 -07:00
ch33zer
550092a3bd
✏️ Fix typo in fastapi/security/api_key.py ( #11481 )
2024-04-23 17:29:18 -05:00
Omar Mokhtar
ce1fb1a23b
✏️ Fix typo in security/http.py ( #11455 )
2024-04-19 10:29:38 -05:00
Sebastián Ramírez
be1e3faa63
🔖 Release version 0.110.2
2024-04-18 19:31:47 -05:00
Paul
74cc33d16b
♻️ Simplify Pydantic configs in OpenAPI models in fastapi/openapi/models.py ( #10886 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-04-18 17:49:33 -05:00
arjwilliams
09e4859cab
🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic UndefinedType ( #9929 )
...
Co-authored-by: Andrew Williams <Andrew.Williams@contemi.com >
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-04-18 16:56:59 -05:00
Sebastián Ramírez
27da0d02a7
✨ Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response ( #11461 )
2024-04-18 14:40:57 -05:00
Sebastián Ramírez
50a880b39f
🔖 Release version 0.110.1
2024-04-01 22:17:13 -05:00
Nadav Zingerman
eec612ca8d
🐛 Fix parameterless Depends() with generics ( #9479 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-04-01 21:52:56 -05:00
Aleksei Kotenko
9c80842cea
♻️ Update mypy ( #11049 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com >
2024-04-01 21:48:51 -05:00
igeni
ee6403212b
♻️ Simplify string format with f-strings in fastapi/applications.py ( #11335 )
2024-03-31 11:37:21 -05:00
Sun Bin
009b148463
✏️ Fix typo in fastapi/security/oauth2.py ( #11368 )
2024-03-29 18:06:20 -05:00
Charlie Marsh
5ccc869fee
⬆️ Upgrade configuration for Ruff v0.2.0 ( #11075 )
2024-03-26 11:56:53 -05:00
David Huser
3c70b55042
✏️ Fix typos in docstrings ( #11295 )
2024-03-14 17:38:24 +01:00
Sebastián Ramírez
e40747f10a
🔖 Release version 0.110.0
2024-02-25 00:19:38 +01:00
Sebastián Ramírez
bf771bd781
🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python ( #11191 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-25 00:06:37 +01:00
Jacob Hayes
0880a5c6a0
✏️ Fix minor typo in fastapi/applications.py ( #11099 )
2024-02-06 12:21:29 -05:00
Sebastián Ramírez
57b0983948
🔖 Release FastAPI version 0.109.2
2024-02-04 22:21:53 +01:00
Sebastián Ramírez
7633d1571c
🔖 Release version 0.109.1
2024-02-03 13:42:30 +01:00
Rafal Skolasinski
8450dc204d
✏️ Fix typo in fastapi/security/oauth2.py ( #10972 )
2024-01-15 21:41:47 +01:00
Sebastián Ramírez
dcc952d699
✨ Include HTTP 205 in status codes with no body ( #10969 )
2024-01-15 11:32:16 +01:00