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-08-12
stories 9

ยฉ 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire ยท showcase

PYDANTIC PATCHES GARBAGE COLLECTION LEAKS IN CORE STRUCTS

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

Pydantic shipped fixes for missing GC traversal on pydantic-core struct fields that could cause memory leaks in long-running applications.

The core issue surfaces in two places: missing GC traversal on some pydantic-core struct fields [1] and a separate traversal gap in GeneralFieldsSerializer [2]. Both fixes are shipping in the same window, so upgrade together. On the FastAPI side, Yurii Motov corrected a workflow configuration error where the zizmor.yml file referenced the wrong default branch [4], a small fix but the kind that breaks CI silently if missed. Pydantic also landed a JSON schema fix for bool discriminators [3] that normalizes mapping keys to proper JSON representation (lowercase true/false instead of Python-style True/False), ensuring OpenAPI compatibility. The Pydantic fixes address both memory safety and spec compliance in a single push.

Action items

References

  1. [1] Fix missing GC traversal on some `pydantic-core` struct fields โ†— pydantic/pydantic
  2. [2] Fix missing GC traversal in `pydantic-core` for `GeneralFieldsSerializer` (#13629) โ†— pydantic/pydantic
  3. [3] Fix JSON schema discriminator mapping keys for `bool` discriminators โ†— pydantic/pydantic
  4. [4] ๐Ÿ‘ท Fix branch name in `zizmor.yml` workflow (`main` -> `master`) (#16178) โ†— fastapi/fastapi

Quick answers

What shipped in FastAPI & Pydantic on August 12, 2026?
Pydantic shipped fixes for missing GC traversal on pydantic-core struct fields that could cause memory leaks in long-running applications. In total, 5 commits and 4 pull requests landed.
Who contributed to FastAPI & Pydantic on August 12, 2026?
4 developers shipped this update, including Yurii Motov, latest-changes[bot], Viicos, and remi-fongaufier.
What were the notable FastAPI & Pydantic updates?
Fix missing GC traversal on some `pydantic-core` struct fields, Fix missing GC traversal in `pydantic-core` for `GeneralFieldsSerializer` (#13629), and Fix JSON schema discriminator mapping keys for `bool` discriminators.