RepoJournal
FastAPI & Pydantic

FastAPI & Pydantic

FastAPI and the Pydantic + SQLModel async-Python stack

Keep up with FastAPI & Pydantic in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Python Full archive →

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.

One email a day. Unsubscribe in one click.

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

Quick answers

What shipped 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. In total, 4 commits and 9 pull requests landed.
Who contributed to FastAPI & Pydantic on July 7, 2026?
2 developers shipped this update, including Kropiunig and dependabot[bot].
What were the notable FastAPI & Pydantic updates?
Fix `json_schema_extra` dict being dropped when a callable follows it in `Annotated` (#13374), Remove duplicated `schema_generator` and `mode` entries in `TypeAdapter.json_schema` docstring, and Bump actions/checkout from 6.0.2 to 7.0.0.

More from FastAPI & Pydantic

Daily updates, in your inbox

Follow FastAPI & Pydantic

Keep up with FastAPI & Pydantic in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.