FastAPI 0.140.13: Fixes SSE/JSONL status code, improves docs
sdkmediapython-web
patch
FastAPI version 0.140.13 addresses a bug where the `status_code` parameter was not respected for Server-Sent Events (SSE) and JSONL streaming endpoints. This patch also includes documentation improvements, specifically correcting the rendering of terminators in `format_sse_event` docstrings and adding an API reference page for `fastapi.sse`. The release focuses on bug fixes and documentation enhancements for developers using SSE or JSONL streaming.
- →🐛 Fix status_code being ignored for SSE and JSONL streaming endpoints. PR #15937 by @SAURABHSALVE
- →📝 Fix format_sse_event docstring rendering of \n\n terminator. PR #15613 by @AshNicolus
- →📝 Add API reference page for fastapi.sse. PR #15930 by @SAURABHSALVE
Fixes (1) ›
- 🐛 Fix status_code being ignored for SSE and JSONL streaming endpoints. PR #15937 by @SAURABHSALVE
Maintenance (2) ›
- 📝 Fix format_sse_event docstring rendering of \n\n terminator. PR #15613 by @AshNicolus
- 📝 Add API reference page for fastapi.sse. PR #15930 by @SAURABHSALVE
Read the original announcement →
https://github.com/fastapi/fastapi/releases/tag/0.140.13
Related releases
- FastAPI 0.140.12 Fixes SSE Event Formatting FastAPI Releases ·
- FastAPI 0.110.11 Patch Release FastAPI Releases ·
- FastAPI 0.140.10: Fixes nested Annotated type handling and improves testing FastAPI Releases ·
- FastAPI 0.140.9 Fixes jsonable_encoder and dependency updates FastAPI Releases ·
- FastAPI 0.140.8 fixes stream item type loss FastAPI Releases ·
- FastAPI 0.140.6: Dependency Refactor for OpenAPI FastAPI Releases ·