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.
Rauan
dbb01d23aa
feat: Add support for HTTP QUERY method
- Add `QUERY` to `METHODS_WITH_BODY` in `fastapi/openapi/constants.py` to correctly generate OpenAPI schemas for bodies in QUERY requests.
- Add `query()` decorator method to `APIRouter` in `fastapi/routing.py`.
- Add `query()` decorator method to `FastAPI` class in `fastapi/applications.py`.
This allows users to define routes using the HTTP QUERY method (e.g., `@app.query("/search")`), enabling safe, idempotent requests that utilize a request body for complex query parameters, following the IETF HTTP QUERY method draft.
8 months ago
..
_compat
🐛 Fix handling of JSON Schema attributes named "$ref" (#14349)
8 months ago
dependencies
♻️ Make the result of `Depends()` and `Security()` hashable, as a workaround for other tools interacting with these internal parts (#14372)
8 months ago
middleware
🐛 Fix support for `StreamingResponse`s with dependencies with `yield` or `UploadFile`s, close after the response is done (#14099)
10 months ago
openapi
feat: Add support for HTTP QUERY method
8 months ago
security
🐛 Use `401` status code in security classes when credentials are missing (#13786)
8 months ago
__init__.py
🔖 Release version 0.122.0
8 months ago
__main__.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
2 years ago
applications.py
feat: Add support for HTTP QUERY method
8 months ago
background.py
➕ Migrate internal reference documentation from `typing_extensions.Doc` to `annotated_doc.Doc` (#14222)
9 months ago
cli.py
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935)
2 years ago
concurrency.py
🐛 Preserve traceback when exception is raised in sync dependency with `yield` (#5823)
2 years ago
datastructures.py
➕ Migrate internal reference documentation from `typing_extensions.Doc` to `annotated_doc.Doc` (#14222)
9 months ago
encoders.py
➕ Migrate internal reference documentation from `typing_extensions.Doc` to `annotated_doc.Doc` (#14222)
9 months ago
exception_handlers.py
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077)
10 months ago
exceptions.py
✨ Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262)
9 months ago
logger.py
🔊 Refactor logging (#781)
7 years ago
param_functions.py
✨ Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262)
9 months ago
params.py
♻️ Make the result of `Depends()` and `Security()` hashable, as a workaround for other tools interacting with these internal parts (#14372)
8 months ago
py.typed
✨ add py.typed to ship typing information (#209)
7 years ago
requests.py
⬆ Require Pydantic > 1.0 (#1862)
6 years ago
responses.py
✨ Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392)
3 years ago
routing.py
feat: Add support for HTTP QUERY method
8 months ago
staticfiles.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
temp_pydantic_v1_params.py
🐛 Fix internal Pydantic v1 compatibility (warnings) for Python 3.14 and Pydantic 2.12.1 (#14186)
9 months ago
templating.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
testclient.py
✨ Improve type annotations, add support for mypy --strict, internally and for external packages (#2547)
6 years ago
types.py
✨ Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262)
9 months ago
utils.py
🐛 Fix internal Pydantic v1 compatibility (warnings) for Python 3.14 and Pydantic 2.12.1 (#14186)
9 months ago
websockets.py
✨ Export `WebSocketState` in `fastapi.websockets` (#4376)
4 years ago