$ the-wire ยท showcase
FastAPI isolates telemetry for excluded requests, Pydantic prepares 2.14.0
By RepoJournal ยท Filed ยท About FastAPI & Pydantic ยท Composed from the cited sources ยท methodology
FastAPI reworked how OpenTelemetry spans are scoped when requests are excluded from instrumentation, while Pydantic's 2.14.0 release train picked up a revert, two validation fixes, and a URL-parsing optimization.
๐ Isolate FastAPI telemetry for excluded requests fastapi/fastapi
Excluded requests no longer share telemetry context with the requests FastAPI does instrument, so spans from endpoints you have opted out of instrumentation stay out of the rest of the trace. The change is open for review, not merged.
๐ Cache OpenTelemetry tracers to preserve warning deduplication fastapi/fastapi
Tracers are now cached instead of re-created, which preserves OpenTelemetry's warning deduplication: the same warning fires once rather than on every request. Also in review.
Revert "Respect config in `TypeAdapter.json_schemas()` (#13890)" pydantic/pydantic
Viicos reverted the change that made TypeAdapter.json_schemas() respect model config, saying "I'm not too satisfied with the initial solution from this PR." If you built on that behavior since it landed, it is gone again.
Prepare release v2.14.0 pydantic/pydantic
The v2.14.0 release preparation PR is open, gathering the revert and the validation fixes below into one cut.
Avoid validating URL prefix multiple times in multi host URLs pydantic/pydantic
Multi-host URLs no longer re-validate the same prefix once per host, cutting repeated work during URL validation.
Reject large exponents in `Fraction` validation pydantic/pydantic
Fraction validation now rejects large exponents rather than accepting them, closing off oversized values at the validation boundary.