RepoJournal
FastAPI & Pydantic

FastAPI & Pydantic

FastAPI and the Pydantic + SQLModel async-Python stack

Pick a date

The Wire · Showcase

PYDANTIC PATCHES JSON SCHEMA BUG AS FASTAPI SPONSORS EXPAND

By RepoJournal · Filed · About FastAPI & Pydantic

Pydantic fixed a critical issue where json_schema_extra dicts were silently dropped when followed by callables in Annotated types, a bug that could break schema generation in production.

The fix [1] restores proper handling of json_schema_extra configuration when mixed with callable validators, ensuring your schemas generate correctly. This was paired with a docstring cleanup [2] that removed duplicate parameter descriptions from TypeAdapter.json_schema, clearing up confusion for developers building custom serialization logic. On the infrastructure side, Pydantic's CI pipeline bumped actions/checkout to 7.0.0 [3], which now blocks potentially unsafe fork PR checkouts in pull_request_target workflows, a security hardening that matters if you run untrusted code in CI. The team also updated setup-uv to 8.2.0 [4], adding quiet mode and mirror configuration options for faster, leaner test runs. Over in FastAPI, the project onboarded TutorCruncher as a sponsor [5], signaling continued momentum for the framework's ecosystem.

Action items

References

  1. [1] Fix `json_schema_extra` dict being dropped when a callable follows it in `Annotated` (#13374) pydantic/pydantic
  2. [2] Remove duplicated `schema_generator` and `mode` entries in `TypeAdapter.json_schema` docstring ↗ pydantic/pydantic
  3. [3] Bump actions/checkout from 6.0.2 to 7.0.0 ↗ pydantic/pydantic
  4. [4] Bump astral-sh/setup-uv from 8.1.0 to 8.2.0 ↗ pydantic/pydantic
  5. [5] 🔧 Update sponsors: add TutorCruncher (#15947) fastapi/fastapi

FAQ

What changed in FastAPI & Pydantic on July 7, 2026?
Pydantic fixed a critical issue where json_schema_extra dicts were silently dropped when followed by callables in Annotated types, a bug that could break schema generation in production.
What should FastAPI & Pydantic teams do about it?
Update to latest Pydantic if you use json_schema_extra with Annotated validators • Review CI workflows for pull_request_target usage and upgrade actions/checkout
Which FastAPI & Pydantic repositories shipped on July 7, 2026?
pydantic/pydantic, fastapi/fastapi

Related across the cluster

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.