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-10-15
stories 25

© 2026 RepoJournal Home Showcase How it works Privacy

$ the-wire · showcase

pydantic-core GC traversal and unpickling fixes land

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

Pydantic's top three stories today all fix correctness bugs in pydantic-core's object graph handling and generic model serialization, while FastAPI corrects route metadata for included routes.

Fix various issues about GC tracking in `pydantic-core` pydantic/pydantic

by Viicos

Viicos stopped traversing InternalValidator.validator from the GC hooks of ValidatorCallable, AssignmentValidatorCallable and ValidatorIterator, since it is an Arc clone of a subtree the SchemaValidator already owns and traverses, so objects inside were visited twice per reference; the same fix applies to SerializationCallable.serializer and SerializationIterator.item_serializer. That double-vi...

Fix unpickling of generic classes defined in separate module pydantic/pydantic

by Viicos

Unpickling a generic model class defined in a different module, a pattern common in a models.py split from your app package, previously failed; the fix resolves the class, but a generic whose forward reference depends on a module-level import performed later, as the PR shows with a circular import, no longer resolves.

Support explicit `by_alias` overriding `validate_by_alias` in validation JSON schemas pydantic/pydantic

by Viicos

An explicit by_alias passed to validation now overrides validate_by_alias when generating validation JSON schemas, so schema output matches the alias behavior you actually request rather than the model config default.

Honor `ser_json_inf_nan` in Python serialization with `mode=json`   pydantic/pydantic

by Viicos

Python-side serialization with mode=json now honors ser_json_inf_nan, so inf and nan handling in JSON-mode dumps is governed by your model config instead of diverging from the schema path.

🐛 Fix included route metadata in `iter_route_contexts()` fastapi/fastapi

by tiangolo

tiangolo fixed the route metadata reported by iter_route_contexts() for included routers, so anything reading that context gets the correct route information.

Harden CI pydantic/pydantic

by Viicos

Alongside the fixes, Viicos tightened CI, and the SQLModel side stayed quiet with release notes and a change to stop the cron test workflow from running on forks.

Quick answers

What shipped in FastAPI & Pydantic on October 15, 2026?
Pydantic's top three stories today all fix correctness bugs in pydantic-core's object graph handling and generic model serialization, while FastAPI corrects route metadata for included routes. In total, 13 commits, 11 pull requests, and 1 releases landed.
Who contributed to FastAPI & Pydantic on October 15, 2026?
4 developers shipped this update, including tiangolo, latest-changes[bot], Yurii Motov, and Viicos.
What were the notable FastAPI & Pydantic updates?
Fix various issues about GC tracking in `pydantic-core`, Fix unpickling of generic classes defined in separate module, and Support explicit `by_alias` overriding `validate_by_alias` in validation JSON schemas.