Sebastián Ramírez
f057f4a067
🔖 Release version 0.115.5
9 months ago
Sebastián Ramírez
91a929319c
♻️ Update internal checks to support Pydantic 2.10 ( #12914 )
9 months ago
Nir Schulman
8a5c3fe56b
Fixed more linting
9 months ago
pre-commit-ci[bot]
f9ca77e1ec
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
9 months ago
Nir Schulman
01e9da1ca2
Added coverage
9 months ago
Nir Schulman
d512b03bd3
Applied ruff linting
9 months ago
Nir Schulman
c4860bfb7c
Added tests for dependency overrides and websockets. Fixed bugs related to the deprecated startup and shutdown events. Fixed bugs related to dependency duplcatation within the same router scope. Made more specific dependency related exceptions. Fixed some linting and mypy related issues.
9 months ago
Sebastián Ramírez
31887b1cc6
🔖 Release version 0.115.4
9 months ago
Sebastián Ramírez
b31cbbf5f5
♻️ Update logic to import and check `python-multipart` for compatibility with newer version ( #12627 )
9 months ago
pre-commit-ci[bot]
54ecfb87d8
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
9 months ago
Nir Schulman
25407d039a
Added support for lifespan-scoped dependencies using a new dependency_scope argument.
9 months ago
Kevin Kirsche
8081d2302e
📝 Fix minor typos ( #12516 )
10 months ago
Sebastián Ramírez
c519614b45
🔖 Release version 0.115.3
10 months ago
Sebastián Ramírez
07684aea79
🔖 Release version 0.115.2
10 months ago
Sebastián Ramírez
113da5b0a7
🔖 Release version 0.115.1
10 months ago
Felix Fanghaenel
e049fc4ea1
🐛 Fix openapi generation with responses kwarg ( #10895 )
Co-authored-by: flxdot <felix.fanghaenel@nitrex.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Sławek Ehlert <slawomir.ehlert@gmail.com>
10 months ago
José Pacheco
8ae4603d68
🐛 Remove `Required` shadowing from fastapi using Pydantic v2 ( #12197 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
10 months ago
Sebastián Ramírez
40490abaa3
♻️ Update type annotations for improved `python-multipart` ( #12407 )
10 months ago
Albert Villanova del Moral
6cc24416e2
✏️ Fix docstring typos in http security ( #12223 )
Fix docstring typos in http security
11 months ago
Sebastián Ramírez
40e33e492d
🔖 Release version 0.115.0
11 months ago
Sebastián Ramírez
55035f440b
✨ Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header` ( #12199 )
11 months ago
Sebastián Ramírez
2ada1615a3
🔖 Release version 0.114.2
11 months ago
Nico Tonnhofer
88d4f2cb18
🐛 Fix form field regression ( #12194 )
11 months ago
Sebastián Ramírez
212fd5e247
🔖 Release version 0.114.1
11 months ago
Sebastián Ramírez
b0eedbb580
⚡ ️ Improve performance in request body parsing with a cache for internal model fields ( #12184 )
11 months ago
Vaibhav
b60d36e753
✏️ Fix typo in `fastapi/params.py` ( #12143 )
11 months ago
Sebastián Ramírez
bde12faea2
🔖 Release version 0.114.0
11 months ago
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>
11 months ago
Sebastián Ramírez
d86f660302
🔖 Release version 0.113.0
11 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
.
11 months ago
Sebastián Ramírez
999eeb6c76
🔖 Release version 0.112.4
11 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
.
11 months ago
Sebastián Ramírez
0f3e65b007
✨ Add support for Pydantic models in `Form` parameters ( #12127 )
11 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 )
11 months ago
Sebastián Ramírez
7213d421f5
🔖 Release version 0.112.3
11 months ago
Sebastián Ramírez
23bda0ffeb
♻️ Refactor internal `check_file_field()`, rename to `ensure_multipart_is_installed()` to clarify its purpose ( #12106 )
11 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 )
11 months ago
Sebastián Ramírez
5b7fa3900e
♻️ Refactor and simplify internal data from `solve_dependencies()` using dataclasses ( #12100 )
11 months ago
Sebastián Ramírez
08547e1d57
♻️ Refactor and simplify internal `analyze_param()` to structure data with dataclasses instead of tuple ( #12099 )
11 months ago
Sebastián Ramírez
581aacc4a9
♻️ Refactor and simplify dependencies data structures with dataclasses ( #12098 )
11 months ago
Sebastián Ramírez
d00af00d3f
🔖 Release version 0.112.2
12 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 <svlandeg@github.com>
12 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 <marcelotryle@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
12 months ago
0shah0
85cded53c8
✏️ Fix import typo in reference example for `Security` ( #11168 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
12 months ago
Jamie Phan
659350e9cd
🎨 Fix typing annotation for semi-internal `FastAPI.add_api_route()` ( #10240 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
12 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>
12 months ago
Sebastián Ramírez
4f937c0c4a
🔖 Release version 0.112.1
12 months ago
Sebastián Ramírez
b2e233867c
🔖 Release version 0.112.0
1 year 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
1 year ago
Sebastián Ramírez
b199364246
🔖 Release version 0.111.1
1 year ago