Synrom
319fea3781
📝 Add more documentation on `ignore_trailing_slash`
10 months ago
Synrom
0acc056d1b
Use helper method for routes to avoid code duplication
10 months ago
Synrom
031c69fa9e
Use helper method to avoid code duplication
10 months ago
Synrom
4fb5d22a73
Support and test app.websocket_route
10 months ago
Vaibhav
b60d36e753
✏️ Fix typo in `fastapi/params.py` ( #12143 )
10 months ago
Sebastián Ramírez
bde12faea2
🔖 Release version 0.114.0
10 months ago
Sebastián Ramírez
4633b1bca9
✨ Add support for forbidding extra form fields with Pydantic models ( #12134 )
Co-authored-by: Sofie Van Landeghem <[email protected] >
10 months ago
Synrom
baccda3b29
Fix linting and formatting
10 months ago
Synrom
25accde3c6
Formatting
10 months ago
Synrom
6823cb4a20
Add docs, more tests and condition in middleware
10 months ago
Sebastián Ramírez
d86f660302
🔖 Release version 0.113.0
10 months ago
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
.
10 months ago
Sebastián Ramírez
999eeb6c76
🔖 Release version 0.112.4
10 months ago
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
.
10 months ago
Sebastián Ramírez
0f3e65b007
✨ Add support for Pydantic models in `Form` parameters ( #12127 )
10 months ago
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 )
10 months ago
Sebastián Ramírez
7213d421f5
🔖 Release version 0.112.3
10 months ago
Synrom
b00fbd3427
Fix middleware and add tests
10 months ago
Synrom
d4eaafb804
Add ignore_trailing_slashes flag to applications
10 months ago
Sebastián Ramírez
23bda0ffeb
♻️ Refactor internal `check_file_field()`, rename to `ensure_multipart_is_installed()` to clarify its purpose ( #12106 )
10 months ago
Sebastián Ramírez
d08b95ea57
♻️ Rename internal `create_response_field()` to `create_model_field()` as it's used for more than response models ( #12103 )
10 months ago
Sebastián Ramírez
5b7fa3900e
♻️ Refactor and simplify internal data from `solve_dependencies()` using dataclasses ( #12100 )
10 months ago
Sebastián Ramírez
08547e1d57
♻️ Refactor and simplify internal `analyze_param()` to structure data with dataclasses instead of tuple ( #12099 )
10 months ago
Sebastián Ramírez
581aacc4a9
♻️ Refactor and simplify dependencies data structures with dataclasses ( #12098 )
10 months ago
Sebastián Ramírez
d00af00d3f
🔖 Release version 0.112.2
11 months ago
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 <[email protected] >
11 months ago
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 <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
11 months ago
0shah0
85cded53c8
✏️ Fix import typo in reference example for `Security` ( #11168 )
Co-authored-by: Sebastián Ramírez <[email protected] >
11 months ago
Jamie Phan
659350e9cd
🎨 Fix typing annotation for semi-internal `FastAPI.add_api_route()` ( #10240 )
Co-authored-by: Sebastián Ramírez <[email protected] >
11 months ago
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>
11 months ago
Sebastián Ramírez
4f937c0c4a
🔖 Release version 0.112.1
11 months ago
Sebastián Ramírez
b2e233867c
🔖 Release version 0.112.0
11 months ago
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
11 months ago
Sebastián Ramírez
b199364246
🔖 Release version 0.111.1
12 months ago
Nir Schulman
a69f38340f
📝 Restored Swagger-UI links to use the latest version possible. ( #11459 )
1 year ago
Petar Marić
817cc1d754
✏️ Fix typo in `fastapi/applications.py` ( #11593 )
1 year ago
Sebastián Ramírez
67da3bb52e
🔖 Release version 0.111.0
1 year ago
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 )
1 year ago
Sebastián Ramírez
32be95dd86
🔖 Release version 0.110.3
1 year ago
Sebastián Ramírez
41fcbc7d00
🔧 Migrate from Hatch to PDM for the internal build ( #11498 )
1 year ago
ch33zer
550092a3bd
✏️ Fix typo in `fastapi/security/api_key.py` ( #11481 )
1 year ago
Omar Mokhtar
ce1fb1a23b
✏️ Fix typo in `security/http.py` ( #11455 )
1 year ago
Sebastián Ramírez
be1e3faa63
🔖 Release version 0.110.2
1 year ago
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 <[email protected] >
1 year ago
arjwilliams
09e4859cab
🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic `UndefinedType` ( #9929 )
Co-authored-by: Andrew Williams <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
1 year ago
Sebastián Ramírez
27da0d02a7
✨ Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response ( #11461 )
1 year ago
Sebastián Ramírez
50a880b39f
🔖 Release version 0.110.1
1 year ago
Nadav Zingerman
eec612ca8d
🐛 Fix parameterless `Depends()` with generics ( #9479 )
Co-authored-by: Sebastián Ramírez <[email protected] >
1 year ago
Aleksei Kotenko
9c80842cea
♻️ Update mypy ( #11049 )
Co-authored-by: Sebastián Ramírez <[email protected] >
1 year ago
igeni
ee6403212b
♻️ Simplify string format with f-strings in `fastapi/applications.py` ( #11335 )
1 year ago