509 Commits (244d66308d6c525f394d0c2ce32dabceb2ed262b)

Author SHA1 Message Date
dependabot[bot] 84fc3860b7
⬆ Bump the python-packages group with 12 updates (#16121) 2 weeks ago
Sebastián Ramírez d62354434b
🐛 Fix support for background tasks and headers from dependencies in `app.frontend()` (#16105) 3 weeks ago
Sebastián Ramírez 5429fed84e
Add `app.frontend(check_dir="auto")`, to make local development more convenient with `fastapi dev` (#16102) 3 weeks ago
Saurabh Vijay Salve e92a0dc3ce
🐛 Fix `status_code` being ignored for SSE and JSONL streaming endpoints (#15937) 3 weeks ago
Zawwar Sami 0f3e7bd682
🐛 Fix line splitting in `format_sse_event` to comply with SSE spec (#15515) 3 weeks ago
Yurii Motov d6537f774b
🐛 Fix `response_model_*` params ignored for non-generator endpoints with `Iterable[..]` return type (#15093) 3 weeks ago
Yurii Motov 65e42bd5ec
🐛 Fix handling sequences with nested Annotated types (#14874) 3 weeks ago
Muhammad Bin Gulzar aadfcce763
🐛 Fix `exclude_defaults` not propagated to dict keys and values in `jsonable_encoder` (#16043) 3 weeks ago
Alexander Rauhut ad03e117c0
🐛 Fix stream item type lost when using `include_router()` (#15077) 3 weeks ago
Sebastián Ramírez 7bcb78d10d
️ Avoid flattening dependencies for OpenAPI (#16076) 3 weeks ago
Sebastián Ramírez 3d3c6913e8
👷 Add OpenAPI dependency benchmarks (#16075) 3 weeks ago
Sebastián Ramírez 2f34b90742
👷 Add new memory benchmark (#16064) 3 weeks ago
Sebastián Ramírez 65ef53ae6a
♻️ Update the lru_cache limit for dependencies to account for large apps (#16062) 3 weeks ago
Sebastián Ramírez 0270829500
️ Reduce memory usage in dependencies (#16049) 4 weeks ago
Sebastián Ramírez 513c396322
👷 Add CI memory benchmark (#16046) 4 weeks ago
Sebastián Ramírez 7fe315c21a
🐛 Refactor router route building to make it thread-safe, mainly relevant for tests running in parallel threads (uncommon) (#16013) 1 month ago
Sebastián Ramírez eb75fd078e
🐛 Fix frontend fallback support for doted paths like `/users/john.doe` (#16011) 1 month ago
Sebastián Ramírez 319be508ce
Support dependencies in `app.frontend()`, e.g. for automatic cookie authentication for the frontend (#15908) 2 months ago
Sebastián Ramírez b790e14cb6
♻️ Make `app.frontend()` return 404 for methods other than `GET` or `HEAD` with no static file matches (#15863) 2 months ago
Sebastián Ramírez 4d3dc78b26
Add support for `app.frontend("/", directory="dist")` and `router.frontend("/", directory="dist")` (#15800) 2 months ago
Sebastián Ramírez 6ac122071d
Add `iter_route_contexts()` for advanced use cases that used to use `router.routes` (e.g. Jupyverse) (#15785) 2 months ago
Sebastián Ramírez b7de2b7feb
🔧 Add ty configs to check docs sources (#15770) 2 months ago
Sebastián Ramírez d8aad201eb
🐛 Fix bug, allow empty path in path operation in prefixless router (#15763) 2 months ago
Sebastián Ramírez 8e1d774cef
♻️ Refactor internals to preserve `APIRouter` and `APIRoute` instances (#15745) 2 months ago
Sebastián Ramírez b4d58fddee
👷 Automate release preparation (#15661) 3 months ago
Yurii Motov 59d4a80fcf
Add `httpx2` test dependency to avoid deprecation warning (#15603) 3 months ago
Sebastián Ramírez 063b5bf582
♻️ Do not accept underscore headers when using `convert_underscores=True` (the default) (#15589) 3 months ago
Sebastián Ramírez c7fb7851b3
♻️ Validate Server Sent Event fields to avoid applications from sending broken data (#15588) 3 months ago
Sebastián Ramírez 00f805cec9
Update tests, don't double dispose the engine (#15587) 3 months ago
Roman Postnov 8b647e3405
️ Speed up test suite via caching and fixture scopes to make it ~24% faster (#13583) 3 months ago
Sebastián Ramírez fb7429378d
👷 Add pre-commit to check typos (#15482) 4 months ago
Sofie Van Landeghem 7815a32f2e
⬆️ Update Pydantic v2 code to address deprecations (#15101) 4 months ago
Sofie Van Landeghem 4b264878d7
⬆️ Support free-threaded Python 3.14t (#15149) 4 months ago
Sebastián Ramírez ae4e45c5cc
🔥 Remove April Fool's `@app.vibe()` 🤪 (#15363) 4 months ago
Sebastián Ramírez 70580da818
Add support for `@app.vibe()` (#15280) 5 months ago
Sofie Van Landeghem aeb9f4bb85
⬆️ Increase lower bound to `pydantic >=2.9.0.` and fix the test suite (#15139) 5 months ago
Ahsan Sheraz 31bbb38074
📝 Fix duplicated words in docstrings (#15116) 5 months ago
Sebastián Ramírez 2238155844
Add support for Server Sent Events (#15030) 6 months ago
Sebastián Ramírez 1377052c6c
📝 Update docs for responses and new stream with `yield` (#15023) 6 months ago
Sebastián Ramírez 749cefdeb1
Add support for streaming JSON Lines and binary data with `yield` (#15022) 6 months ago
Motov Yurii 0901b4092c
📝 Rename `docs_src/websockets` to `docs_src/websockets_` to avoid import errors (#14979) 6 months ago
Motov Yurii 5aacc7b6a0
🔨 Run tests with `pytest-xdist` and `pytest-cov` (#14992) 6 months ago
Sebastián Ramírez 2686c7fbbf
♻️ Refactor logic to handle OpenAPI and Swagger UI escaping data (#14986) 6 months ago
Sebastián Ramírez 22354a2530
🔒️ Add `strict_content_type` checking for JSON requests (#14978) 6 months ago
Sebastián Ramírez 48e9835732
🗑️ Deprecate `ORJSONResponse` and `UJSONResponse` (#14964) 6 months ago
Sebastián Ramírez 590a5e5355
Serialize JSON response with Pydantic (in Rust), when there's a Pydantic return type or response model (#14962) 6 months ago
Sebastián Ramírez e8b98d2187
🐛 Fix JSON Schema for files, use `contentMediaType` instead of `format: binary` (#14953) 6 months ago
Sebastián Ramírez faee822574
🎨 Upgrade typing syntax for Python 3.10 (#14932) 6 months ago
Sebastián Ramírez bbb96d4a0a
🔥 Remove Python 3.9 specific files, no longer needed after updating translations (#14931) 6 months ago
Sebastián Ramírez c9e2277d8b
📝 Update source examples and docs from Python 3.9 to 3.10 (#14900) 6 months ago