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's JSON schema lies to you

By RepoJournal · Filed · About FastAPI & Pydantic

Pydantic is merging three PRs that fix silent mismatches between validation and generated JSON schemas, so clients stop approving data the model rejects.

Three Pydantic PRs [1][2][3] fix cases where the JSON schema does not reflect what the validator actually accepts. When you set `str_min_length` or `str_max_length` in config, the schema leaves out `minLength` and `maxLength`, so consumers accept input that later fails validation [1]. Likewise, serialization temporal formats like `ser_json_temporal='seconds'` leak into validation schemas, declaring a `number` where ISO date strings are expected [2]. And a docs update turns the Logfire integration page into a practical reference for capturing failed validations and connecting them to traces [4]. FastAPI gets an unglamorous but necessary fix: Typer's minimum is bumped to 0.26.1 to unstick failing CI tests under `lowest-direct` resolution [5]. With just 5 commits and 4 PRs across both repos, the stack is quiet, but these schema fixes are worth pulling into your next upgrade, especially if you expose JSON schema to clients. The Logfire docs now "turn the Logfire integration page into a practical setup reference," per the PR summary [4].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Reflect `str_min_length` and `str_max_length` config in the JSON schema ↗ pydantic/pydantic
  2. [2] Don't apply serialization temporal formats to validation JSON schemas ↗ pydantic/pydantic
  3. [3] Reflect `str_min_length` and `str_max_length` config in the JSON schema (#13714) pydantic/pydantic
  4. [4] Improve Logfire guidance for validation errors ↗ pydantic/pydantic
  5. [5] ⬆️ Bump Typer min version to 0.26.1 ↗ fastapi/fastapi

Quick answers

What shipped in FastAPI & Pydantic on August 27, 2026?
Pydantic is merging three PRs that fix silent mismatches between validation and generated JSON schemas, so clients stop approving data the model rejects. In total, 5 commits and 4 pull requests landed.
Who contributed to FastAPI & Pydantic on August 27, 2026?
4 developers shipped this update, including YuriiMotov, latest-changes[bot], strawgate, and MLuc24.
What were the notable FastAPI & Pydantic updates?
Reflect `str_min_length` and `str_max_length` config in the JSON schema, Don't apply serialization temporal formats to validation JSON schemas, and Reflect `str_min_length` and `str_max_length` config in the JSON schema (#13714).

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?