From c391b2b7d01bd5ea5be8312a9f1b7c66b0b2bf14 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Wed, 27 May 2026 13:35:45 -0700 Subject: [PATCH] Draft release notes for v17.5.0 --- docs/releasenotes/version17.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/releasenotes/version17.md b/docs/releasenotes/version17.md index 836c313e..e020fe68 100644 --- a/docs/releasenotes/version17.md +++ b/docs/releasenotes/version17.md @@ -3,6 +3,28 @@ # v17 +## v17.5.0 + +- Added support for the ``end`` alias in ``--pages``, denoting the last page + of the document. For example, ``--pages 3-end`` OCRs from page 3 through + the final page. {issue}`1615` +- Added ``--ghostscript-jpeg-quality`` and ``--ghostscript-jpeg-maxdpi`` + advanced options for tuning Ghostscript's PDF/A output. The optimizer's + ``--jpeg-quality`` remains the recommended file-size control. +- Fixed pypdfium2 rasterizer clipping content when the CropBox was smaller + than the MediaBox (e.g. JSTOR or cropped PDFs). {issue}`1685` +- Fixed Form XObject cycle detection in the optimizer's image xref scan. + Self-referential or DAG-shaped Form graphs (notably from PowerPoint + exports) previously produced floods of recursion warnings and could hang + for minutes. {issue}`1321` +- Tesseract config errors are now surfaced as ``TesseractConfigError`` with + actionable guidance, instead of crashing later with a confusing + ``FileNotFoundError`` on the missing hOCR output. {issue}`1687` +- Refreshed the Chinese README translation. Thanks @cislunarspace. +- Internal refactoring of the ``_exec`` and ``subprocess`` modules to + separate probing from execution. +- CI dependency updates. + ## v17.4.2 - Fixed Python API unconditionally overriding ``PIL.Image.MAX_IMAGE_PIXELS``