2.1

2025-02-17

Features

  • OpenTelemetry Integration: Added full support for OpenTelemetry to enable automatic tracing of requests, metrics collection, and distributed context propagation. This enhancement allows teams to instrument the sanitization pipeline end-to-end, visualize performance bottlenecks, and correlate logs, metrics, and traces in a centralized observability platform.

Fixed

  • Hyperlink Allowlist Compilation: Changed the hyperlink allowlist pattern to be compiled once during Pydantic’s __post_init__ instead of on every validation. This eliminates redundant regex recompilations, improving performance and preventing potential pattern‐validation inconsistencies at runtime.

  • Sanitized File Info Logic: Corrected a logical error where sanitized file metadata was not being appended to the result payload. Now, whenever a file is sanitized, its updated information (e.g., new filename, size, MIME type) is guaranteed to appear in the response structure.

Last updated

Was this helpful?