RepoJournal
FastAPI & Pydantic FastAPI & Pydantic
93 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-09-12
stories 2

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

Pydantic calls enum constructors in both validation modes

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

1 person shipped this

Pydantic now invokes the enum class constructor during validation in both the Python and JSON validation paths, closing a gap left by an earlier pydantic-core change.

Pydantic merged a fix for enum validation that restores constructor invocation in both validation modes [1]. When the change in pydantic-core never called the enum class at all, the `_missing_()` method had to be passed in manually as part of the core schema; a later pydantic-core PR altered that behavior, and this patch aligns pydantic with it [1]. The same commit lands as "Call enum constructors in both validation modes" [2].

For code that relies on custom enum `_missing_` handling, the consequence is that the enum class is now exercised during validation rather than only through a manually supplied core schema hook. This is a behavioral change in how enum values resolve in both Python and JSON validation modes [1].

Review any custom `Enum` subclasses that define `_missing_()` and verify that their resolution logic still returns what you expect under validation in both modes [1][2].

Quick answers

What shipped in FastAPI & Pydantic on September 12, 2026?
Pydantic now invokes the enum class constructor during validation in both the Python and JSON validation paths, closing a gap left by an earlier pydantic-core change. In total, 1 commits and 1 pull requests landed.
Who contributed to FastAPI & Pydantic on September 12, 2026?
1 developer shipped this update, including Viicos.
What were the notable FastAPI & Pydantic updates?
Call enum constructors in both validation modes and Call enum constructors in both validation modes (#13792).