# What changed in docling-core

> 17 changes in docling-core 2 from its official release notes, upgrade guides and advisories: 2 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-24. HTML: https://unstale.sh/pypi/docling-core/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## docling-core 2

### Breaking changes

- DAG-shaped documents and oversized tables are rejected to prevent DoS. (2.103.1) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.1)
- 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.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.0)

### New APIs and options

- Adds partial DocLang 0.8 support, including multiple captions. (2.104.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.104.0)

### Behavior and default changes

- Accepts calendar MIME types. (2.103.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.0)
- Accepts the application/zip MIME type. (2.103.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.0)
- Accepts the .cv MIME type. (2.103.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.0)

### Fixes and other changes

- Restores the non-MathML block formula fallback. (2.104.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.104.0)
- Escapes code text in HTML output. (2.104.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.104.0)
- Escapes hyperlink destinations and skips unsupported schemes during serialization. (2.104.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.104.0)
- Fixes integer PNG exports. (2.104.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.104.0)
- Adds support for Pillow 13. (2.104.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.104.0)
- Code fences are now longer than any backtick run inside the code, preventing backticks in code from breaking the fence. (2.103.1) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.1)
- Section header depth is capped at six heading levels. (2.103.1) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.1)
- Tags that are not cue spans are ignored instead of causing the cue to be dropped. (2.103.1) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.1)
- The chunker now respects token limits for contextualized tables. (2.103.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.0)
- Formatting and hyperlinks are placed inside the <p> and <hN> tags. (2.103.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.0)
- Deduplicates row indices when removing rows. (2.103.0) — [release notes](https://github.com/docling-project/docling-core/releases/tag/v2.103.0)
