Features
- ✨ Add support for streaming JSON Lines and binary data with
yield. PR #15022 by @tiangolo.- This also upgrades Starlette from
>=0.40.0to>=0.46.0, as it's needed to properly unrwap and re-raise exceptions from exception groups. - New docs: Stream JSON Lines.
- And new docs: Stream Data.
- This also upgrades Starlette from
Docs
- 📝 Update Library Agent Skill with streaming responses. PR #15024 by @tiangolo.
- 📝 Update docs for responses and new stream with
yield. PR #15023 by @tiangolo. - 📝 Add
awaitinStreamingResponsecode example to allow cancellation. PR #14681 by @casperdcl. - 📝 Rename
docs_src/websocketstodocs_src/websockets_to avoid import errors. PR #14979 by @YuriiMotov.
Internal
- 🔨 Run tests with
pytest-xdistandpytest-cov. PR #14992 by @YuriiMotov.