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-11-04
stories 8

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

Pydantic targets schema-build fast paths, adds large-string JSON benchmarks

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

Alexmojaki's two stacked PRs bypass general schema generation for empty annotation lists and flat builtin scalar unions, while Viicos landed benchmarks for serializing large strings to JSON.

Construct builtin scalar union schemas directly pydantic/pydantic

by alexmojaki

Unions composed entirely of exact types accepted by _is_simple_schema_type now build the known union/nullable dictionaries directly instead of passing every member through general schema generation. It stacks on the merged scalar entry-point fast paths and serves as the alternative to the union cache in #14131.

Skip annotation handler setup when annotations are empty pydantic/pydantic

by alexmojaki

The draft PoC returns early from _apply_annotations() when the annotations list is empty, calling the inner generation function with its transform, converting ref schemas to definition references, and still applying configured JSON encoders. It preserves the existing processing order, so custom transforms and encoders keep working on the short path.

Add benchmarks for serializing large strings to JSON pydantic/pydantic

by Viicos

Benchmarks for serializing large strings to JSON, from Viicos. It establishes a measurement for a path the schema work does not touch.

Add benchmarks for serializing large strings to JSON (#14207) pydantic/pydantic

by Victorien

The changeset for the same benchmark addition.

Quick answers

What shipped in FastAPI & Pydantic on November 4, 2026?
Alexmojaki's two stacked PRs bypass general schema generation for empty annotation lists and flat builtin scalar unions, while Viicos landed benchmarks for serializing large strings to JSON. In total, 4 commits and 4 pull requests landed.
Who contributed to FastAPI & Pydantic on November 4, 2026?
2 developers shipped this update, including alexmojaki and Victorien.
What were the notable FastAPI & Pydantic updates?
Construct builtin scalar union schemas directly, Skip annotation handler setup when annotations are empty, and Add benchmarks for serializing large strings to JSON.