229 Commits (79406a4b04078155ccc03e2d48ca0799836cfb4b)

Author SHA1 Message Date
Jonathan Fulton 75c47187f3
🐛 Update `ValidationError` schema to include `input` and `ctx` (#14791) 4 months ago
Mickaël Guérin 09f5941f0e
🐛 Fix TYPE_CHECKING annotations for Python 3.14 (PEP 649) (#14789) 4 months ago
johnson-earls 3ee652dd0c
📝 Fix example of license identifier in documentation (#14492) 4 months ago
Sebastián Ramírez 44c849c4fc
🔥 Remove Pydantic v1 specific test variants (#14611) 5 months ago
Sebastián Ramírez e300630551
Drop support for `pydantic.v1` (#14609) 5 months ago
Sebastián Ramírez 535b5daa31
🔊 Add a custom `FastAPIDeprecationWarning` (#14605) 5 months ago
Motov Yurii 3063ada72f
Add missing tests for code examples (#14569) 5 months ago
Sebastián Ramírez 6e42bcd8ce
🔊 Add deprecation warnings when using `pydantic.v1` (#14583) 6 months ago
Sebastián Ramírez e2cd8a4201
Drop support for Pydantic v1, keeping short temporary support for Pydantic v2's `pydantic.v1` (#14575) 6 months ago
Sebastián Ramírez 1c4fc96c91
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564) 6 months ago
Sebastián Ramírez ed97d9dc0c
⚰️ Remove Python 3.8 from CI and remove Python 3.8 examples from source docs (#14559) 6 months ago
Sebastián Ramírez cd9d093f60
📝 Update docs about re-raising validation errors, do not include string as is to not leak information (#14487) 6 months ago
Motov Yurii 9475024640
📝 Add variants for code examples in "Advanced User Guide" (#14413) 6 months ago
Motov Yurii de5bec637c
🐛 Fix parsing extra non-body parameter list (#14356) 6 months ago
Motov Yurii 51ad909ffe
🐛 Use `401` status code in security classes when credentials are missing (#13786) 6 months ago
Edge-Seven df83eb7278
📝 Fix typos in code comments (#14364) 7 months ago
Sebastián Ramírez ac438b9934
Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262) 7 months ago
Sebastián Ramírez d34918abf0
Add support for `from pydantic.v1 import BaseModel`, mixed Pydantic v1 and v2 models in the same app (#14168) 8 months ago
Sofie Van Landeghem 3611c3fc5b
⬆️ Add support for Python 3.14 (#14165) 8 months ago
Sebastián Ramírez e329d78f86
🐛 Fix support for `StreamingResponse`s with dependencies with `yield` or `UploadFile`s, close after the response is done (#14099) 8 months ago
Amogha Rao 5fef4d199b
Enable test case for duplicated headers in `test_tutorial/test_header_params/test_tutorial003.py` (#13864) 9 months ago
山崎ヒカル 11d424c3dc
Simplify tests for response_model (#14062) 9 months ago
Sebastián Ramírez f5b77ff0fc
📝 Add documentation for Behind a Proxy - Proxy Forwarded Headers, using `--forwarded-allow-ips="*"` (#14028) 9 months ago
z0z0r4 d4ddcc5878
📝 Update testing events documentation (#13259) 9 months ago
Chih-Hsuan Yen 54c7c34b25
⬆ Update httpx requirement to >=0.23.0,<0.29.0 (#13114) 10 months ago
oogee 30b9dfb11c
🚸 Set format to password for fields `password` and `client_secret` in `OAuth2PasswordRequestForm`, make docs show password fields for passwords (#11032) 12 months ago
Valentyn 85a2eed888
Simplify tests for `settings` (#13505) 12 months ago
Joakim Nordling 8fa56b46a1
⬆️ Update ReDoc to version 2.x (#9700) 1 year ago
Frank Hoffmann ea42ebda80
Use `inline-snapshot` to support different Pydantic versions in the test suite (#12534) 1 year ago
Sebastián Ramírez 2537d9d1c2
🐛 Fix `convert_underscores=False` for header Pydantic models (#13515) 1 year ago
dependabot[bot] 8c94e97c89
⬆ Bump ruff to 0.9.4 (#13299) 1 year ago
Sebastián Ramírez 74fe89bf35
🐛 Add docs examples and tests (support) for `Annotated` custom validations, like `AfterValidator`, revert #13440 (#13442) 1 year ago
Hyogeun Oh (오효근) e157cf4b96
🐛 Fix issue with Swagger theme change example in the official tutorial (#13289) 1 year ago
alv2017 5451d05bc8
Simplify tests for `query_params_str_validations` (#13218) 1 year ago
alv2017 f6872dd298
Simplify tests for `app_testing` (#13220) 1 year ago
alv2017 1e6d95ce6d
Simplify tests for `dependency_testing` (#13223) 1 year ago
Rahul Pai d5ecbaceae
🐛 Fix `OAuth2PasswordRequestForm` and `OAuth2PasswordRequestFormStrict` fixed `grant_type` "password" RegEx (#9783) 1 year ago
Alejandra c5b5af7c53
Simplify tests for request_files (#13182) 1 year ago
Alejandra 280fe73c03
Simplify tests for websockets (#13202) 1 year ago
Alejandra 182c28e57a
Simplify tests for request_form_models (#13183) 1 year ago
Alejandra 39698df806
Simplify tests for separate_openapi_schemas (#13201) 1 year ago
Alejandra 2007993433
Simplify tests for security (#13200) 1 year ago
Alejandra 3e12918325
Simplify tests for schema_extra_example (#13197) 1 year ago
Alejandra 081901cc99
Simplify tests for request_model (#13195) 1 year ago
Alejandra d309c9e140
Simplify tests for request_forms_and_files (#13185) 1 year ago
Alejandra c7d888a15f
Simplify tests for request_forms (#13184) 1 year ago
Alejandra 09ccfce228
Simplify tests for path_query_params (#13181) 1 year ago
Alejandra 2e8db846b4
Simplify tests for path_operation_configurations (#13180) 1 year ago
Alejandra aa60185781
Simplify tests for header_params (#13179) 1 year ago
Alejandra 3d017824ba
Simplify tests for extra_models (#13178) 1 year ago