diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 82273a37..cf0699ce 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -13,6 +13,22 @@ Note that it is licensed under GPLv3, so scripts that ``import ocrmypdf`` and ar find: [^`]\#([0-9]{1,3})[^0-9] replace: `#$1 `_ +v7.4.0 +------ + +- ``--force-ocr`` may now be used with the new ``--threshold`` and ``--mask-barcodes`` features + +- pikepdf >= 0.9.1 is now required. + +- Changed metadata handling to pikepdf 0.9.1. As a result, metadata handling of non-ASCII characters in Ghostscript 9.25 or later is fixed. + +- chardet >= 3.0.4 is temporarily listed as required. pdfminer.six depends on it, but the most recent release does not specify this requirement. (`#326 `_) + +- python-xmp-toolkit and libexempi are no longer required. + +- A new Docker image is now being provided for users who wish to access OCRmyPDF over a simple HTTP interface, instead of the command line. + +- Increase tolerance of PDFs that overflow or underflow the PDF graphics stack. (`#325 `_) v7.3.1 ------ diff --git a/setup.py b/setup.py index 14473794..d8bd3ddc 100644 --- a/setup.py +++ b/setup.py @@ -248,6 +248,7 @@ setup( 'src/ocrmypdf/lib/compile_leptonica.py:ffibuilder' ], install_requires=[ + 'chardet >= 3.0.4, < 4', # unlisted requirement of pdfminer.six 20181108 'cffi >= 1.9.1', # must be a setup and install requirement 'img2pdf >= 0.3.0, < 0.4', # pure Python, so track HEAD closely 'pdfminer.six == 20181108',