RepoJournal
FastAPI & Pydantic FastAPI & Pydantic
140 wires and counting

$ follow FastAPI & Pydantic

Keep up with FastAPI & Pydantic in about 3 minutes: what actually shipped โ€” the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest โ€” weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-07-29
stories 43

ยฉ 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire ยท showcase

FASTAPI FIXES STREAMING SCHEMA CHAOS ACROSS 4 CRITICAL BUGS

By RepoJournal ยท Filed ยท About FastAPI & Pydantic ยท Composed from the cited sources ยท methodology

FastAPI shipped fixes for four streaming and schema generation bugs that were silently breaking OpenAPI contracts and response validation across SSE, JSONL, and typed iterables.

The most urgent: SSE and JSONL streaming endpoints were ignoring declared `status_code` parameters and `Response` modifications, always returning 200 while OpenAPI documented whatever you declared [1]. That's a contract violation that will break client code expecting a different status. Equally critical, when those same streaming routes went through `include_router()`, the schema lost all stream item type information, turning `itemSchema` into an empty object [2]. Runtime behavior stayed correct, but any client relying on the OpenAPI spec to understand what they were receiving got nothing. Beyond streaming, two more bugs hit non-streaming routes: nested `Annotated` types in sequences were crashing at startup [3], and non-generator endpoints annotated with `Iterable[T]` were dropping all `response_model_*` serialization options like `exclude_unset` and `exclude_defaults` [4]. This period saw 17 commits and 6 releases across the repo, but these four fixes are what matter.

Action items

References

  1. [1] ๐Ÿ› Fix `status_code` being ignored for SSE and JSONL streaming endpoints โ†— fastapi/fastapi
  2. [2] ๐Ÿ› Fix stream item type lost when using `include_router()` โ†— fastapi/fastapi
  3. [3] ๐Ÿ› Fix handling sequences with nested Annotated types โ†— fastapi/fastapi
  4. [4] ๐Ÿ› Fix `response_model_*` params ignored for non-generator endpoints with `Iterable[..]` return type โ†— fastapi/fastapi

Quick answers

What shipped in FastAPI & Pydantic on July 29, 2026?
FastAPI shipped fixes for four streaming and schema generation bugs that were silently breaking OpenAPI contracts and response validation across SSE, JSONL, and typed iterables. In total, 17 commits, 20 pull requests, and 6 releases landed.
Who contributed to FastAPI & Pydantic on July 29, 2026?
3 developers shipped this update, including SAURABHSALVE, alex-raw, and YuriiMotov.
What were the notable FastAPI & Pydantic updates?
๐Ÿ› Fix `status_code` being ignored for SSE and JSONL streaming endpoints, ๐Ÿ› Fix stream item type lost when using `include_router()`, and ๐Ÿ› Fix handling sequences with nested Annotated types.