$ the-wire Β· showcase
FastAPI 0.143.3 fixes non-finite floats in JSONL and SSE streams
By RepoJournal Β· Filed Β· About FastAPI & Pydantic Β· Composed from the cited sources Β· methodology
FastAPI 0.143.3 ships a serialization fix for NaN and infinite floats in JSONL and SSE streaming responses, closing the gap between streamed and non-streamed output.
π Release version 0.143.3 (#16510) fastapi/fastapi
by pr-submit[bot]
Version 0.143.3 is a single-fix release: it carries only the non-finite float serialization change, so upgrading is a low-risk bump if your routes stream JSONL or SSE and any response model can produce NaN or infinity.
π Fix non-finite float serialization in JSONL and SSE streams fastapi/fastapi
The pull request corrects how non-finite floats are serialized in JSONL and SSE streams. It was AI-assisted, per the PR note: made with Codex using gpt-6-astra and "manually reviewed."
π Fix non-finite float serialization in JSONL and SSE streams (#16509) fastapi/fastapi
The change landed as a single squashed commit on master, the only code change in the release. If your streaming tests compare float output against the non-streaming path, expect previously divergent values to match.
Action items
- β Upgrade fastapi to 0.143.3 if any of your routes stream JSONL or SSE and can emit NaN or infinite floats fastapi/fastapi [plan]