# Changelog of Document Text Extractor (`automation-lab/layout-aware-text-extractor`) Actor

- **URL**: https://apify.com/automation-lab/layout-aware-text-extractor/changelog.md
- **Full Actor documentation**: https://apify.com/automation-lab/layout-aware-text-extractor.md

## Changelog

### 0.2.0 — 2026-09-22

#### Features

- Added bounded English OCR fallback for scanned pages inside PDFs while preserving native text-layer extraction on pages that have it.
- Added ordered PDF `pages` provenance with per-page text, extraction method, counts, and OCR confidence.
- Added `maxPdfOcrPages` (default 25, range 1–100) and clear no-partial-output failure when a PDF exceeds the cap.

#### Fixes

- Fixed `includeMetadata=false` so PDF results now return `metadata: null`, matching HTML behavior.

### 0.1.0

- Added mixed-source extraction for public PDFs, English text images, and server-rendered web pages.
- Preserved readable headings, lists, tables, PDF line spacing, and page boundaries in plain-text output.
- Added source metadata, text counts, OCR confidence, quality warnings, bounded retries, and per-source error records.
- Added public-URL safety checks and explicit limits for downloads, redirects, and source sizes.
