unstale

pypi / docling-core

docling-core

What changed in docling-core 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

2 breaking1 new APIs and options3 behavior and defaults11 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.5 on npm

docling-core 217 changes

Breaking changes 2

  • DAG-shaped documents and oversized tables are rejected to prevent DoS.

    2.103.1release notes

  • Local filesystem paths and file:// URIs are no longer read by default. Trusted documents can enable them with DOCLINGCORE_ALLOW_IMAGE_FILE_URI=true, allow_local_images=True, or doc.load_local_images().

    2.103.0release notes

New APIs and options 1

  • Adds partial DocLang 0.8 support, including multiple captions.

    2.104.0release notes

Behavior and default changes 3

Fixes and other changes 11

  • Restores the non-MathML block formula fallback.

    2.104.0release notes

  • Escapes code text in HTML output.

    2.104.0release notes

  • Escapes hyperlink destinations and skips unsupported schemes during serialization.

    2.104.0release notes

  • Fixes integer PNG exports.

    2.104.0release notes

  • Adds support for Pillow 13.

    2.104.0release notes

  • Code fences are now longer than any backtick run inside the code, preventing backticks in code from breaking the fence.

    2.103.1release notes

  • Section header depth is capped at six heading levels.

    2.103.1release notes

  • Tags that are not cue spans are ignored instead of causing the cue to be dropped.

    2.103.1release notes

  • The chunker now respects token limits for contextualized tables.

    2.103.0release notes

  • Formatting and hyperlinks are placed inside the <p> and <hN> tags.

    2.103.0release notes

  • Deduplicates row indices when removing rows.

    2.103.0release notes