# Changelog of PDF to Text: PDF Text Extractor with OCR Fallback (`luxe_tasks/pdf-text-extractor`) Actor

- **URL**: https://apify.com/luxe_tasks/pdf-text-extractor/changelog.md
- **Full Actor documentation**: https://apify.com/luxe_tasks/pdf-text-extractor.md

## Changelog

### 0.1.6 (local, Nov 8, 2026)

- Prefill `includeSampleDocument` is on again so Apify Store's daily test, which uses the input schema prefill, runs the bundled sample with no file upload. The field's default stays off; an empty API input {} still runs the sample; switching the sample off with no files still fails. Sample rows add no page events; the start fee of $0.005 per GB of memory, $0.01 at the default 2 GB, still applies.

### 0.1.3 (local build, Nov 6, 2026)

- Dataset `link` field: a public store URL that carries a query string (Apify `getPublicUrl` adds `signature=`) is written as the same path with `?[redacted]`, matching how other record URLs hide query tokens. Extracted text, including a document that uses the word "signature", is unchanged. The kit is unchanged (KIT.sha256 matches). User-Agent version follows package.json (0.1.3).

### 0.1.2 (local build, Nov 4, 2026)

- Log wording (Judge D34): the pricing self-check now reads "Pay-per-event pricing: a start fee of $0.005 per GB of memory, $0.01 at the default 2 GB, plus the text-page and ocr-page events."; every other kit price sentence that can reach the log, status message or a dataset row names the start fee too.
- Status message: a run of the bundled sample now ends "Done: 1/1 succeeded (1 bundled sample)" (was "Done: 0/1 succeeded"), and the sample row has `ok: true`; the sample is still not a billed event, but the start fee of $0.005 per GB of memory, $0.01 at the default 2 GB, still applies.
- User-Agent version follows package.json (0.1.2, the Apify build number this version is expected to get).
- README and Actor description: each price sentence names the start fee of $0.005 per GB of memory, $0.01 at the default 2 GB.
- Dataset rows (Judge OP4): only the Actor's own `error` and `note` strings are reworded; the extracted `text`, page text, URLs, file names, store keys and document metadata are written exactly as read.
- Log, status and error lines (Judge G1): file names, URLs and keys from the input are written into these lines exactly as given; only the Actor's own sentences are reworded.
- Log, status and error lines (Judge H1/H2, Gadgetry F182): input field names are kept exactly as given too, and the per-item log line, also when it is cut at 160 characters, names the start fee of $0.005 per GB of memory, $0.01 at the default 2 GB wherever it mentions a page charge.

### 0.1.0 (local build, Nov 4, 2026)

- First version. Reads each PDF page's embedded text layer first (PDF.js); pages without a usable text layer are rendered and read with
  local Tesseract OCR (switch: `ocrFallback`). PDF input only: uploads, or file URLs with the rights attestation.
- Pay per event: `text-page` $0.001, `ocr-page` $0.006, plus the start fee of $0.005 per GB of memory, $0.01 at the default 2 GB.
- Caps: 20 MB and 1,000 pages per file, 50 OCR pages per file; per run 2,000 text / 100 OCR pages by default (max 20,000 / 500), 1 GB of files.
- Bundled 2-page sample (`samples/demo-v1.pdf`: one text page, one scanned page) for the prefill and for empty input; sample rows are not billed events, but the start fee of $0.005 per GB of memory, $0.01 at the default 2 GB, still applies.
- Encrypted PDFs (any `/Encrypt`, owner-password-only included) are refused.
- URL mode: ports 80/443 only, Apify platform hosts refused, opt-out list, robots.txt honoured, every redirect re-checked, no cookies or credentials.
