You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tamir Duberstein
ee3c9eac6f
ValidationException.errors() are ErrorDetails
Change the signature of `ValidationException.errors` to return
`Sequence[pydantic_core.ErrorDetails]` in Pydantic V2.
Add type annotations in tests and locally run mypy to ensure it fails if
the annotations changes to e.g. `Sequence[str]`. Unfortunately running
mypy over tests isn't currently part of CI.
1 year ago
..
dependencies
ValidationException.errors() are ErrorDetails
2 weeks ago
middleware
✨ Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831)
2 years ago
openapi
⬆️ Update ReDoc to version 2.x (#9700)
3 months ago
security
✨ Add `refreshUrl` parameter in `OAuth2PasswordBearer` (#11460)
2 months ago
__init__.py
🔖 Release version 0.116.1
3 weeks ago
__main__.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
1 year ago
_compat.py
ValidationException.errors() are ErrorDetails
2 weeks ago
applications.py
📝 Add annotations to HTTP middleware example (#11530)
2 months ago
background.py
♻️ Update mypy (#11049)
1 year ago
cli.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
1 year ago
concurrency.py
🐛 Preserve traceback when exception is raised in sync dependency with `yield` (#5823)
8 months ago
datastructures.py
♻️ Update mypy (#11049)
1 year ago
encoders.py
🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic `UndefinedType` (#9929)
1 year ago
exception_handlers.py
✨ Add exception handler for `WebSocketRequestValidationError` (which also allows to override it) (#6030)
2 years ago
exceptions.py
ValidationException.errors() are ErrorDetails
2 weeks ago
logger.py
🔊 Refactor logging (#781)
6 years ago
param_functions.py
📝 Fix minor typos (#12516)
9 months ago
params.py
♻️ Update internal checks to support Pydantic 2.10 (#12914)
9 months ago
py.typed
✨ add py.typed to ship typing information (#209)
6 years ago
requests.py
⬆ Require Pydantic > 1.0 (#1862)
5 years ago
responses.py
✨ Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392)
2 years ago
routing.py
ValidationException.errors() are ErrorDetails
2 weeks ago
staticfiles.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
5 years ago
templating.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
5 years ago
testclient.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
5 years ago
types.py
🔥 Remove unused NoneType (#10774)
2 years ago
utils.py
♻️ Rename internal `create_response_field()` to `create_model_field()` as it's used for more than response models (#12103)
11 months ago
websockets.py
✨ Export `WebSocketState` in `fastapi.websockets` (#4376)
3 years ago