⚠️ Behaviour change
Local image paths (plain filesystem paths and file:// URIs) are no longer read by default. To read them for trusted documents, either set DOCLINGCORE_ALLOW_IMAGE_FILE_URI=true, or load with DoclingDocument.load_from_json(..., allow_local_images=True) / call doc.load_local_images(). This affects, for example, a JSON saved with ImageRefMode.REFERENCED and loaded again.
Feature
Fix
- Gate all local image reads behind allow_image_file_uri (#900) (
f952fc5) - origin: Accept application/zip MIME type (#891) (
4845666) - Accept the .cv MIME type in DocumentOrigin (#898) (
cb95ecb) - chunker: Respect contextualized table token limits (#690) (
2e7f5d5) - html: Put formatting and hyperlinks inside the
<p>and<hN>tags (#879) (3543306) - types_doc: Deduplicate row indices in TableData.remove_rows (#834) (
fdc66b3)