From eeaa3f17c1e32df1c9560b74dcd05fbf49649ddd Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Wed, 2 Oct 2024 22:57:14 +0100 Subject: [PATCH] Update version numbers and dates for release of 1.24.11. --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 + changes.txt | 28 +++++++++++++++++++++++++++ docs/version.rst | 2 +- setup.py | 2 +- src/__init__.py | 4 ++-- 5 files changed, 33 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index f6400a385..8341cfa6c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -47,6 +47,7 @@ body: label: PyMuPDF version options: - + - 1.24.11 - 1.24.10 - 1.24.9 - 1.24.8 diff --git a/changes.txt b/changes.txt index 6667b4e4a..dbb06b57d 100644 --- a/changes.txt +++ b/changes.txt @@ -2,6 +2,32 @@ Change Log ========== +**Changes in version 1.24.11 (2024-10-03)** + +* Use MuPDF-1.24.10. + +* Fixed issues: + + * **Fixed** `3624 `_: Pdf file transform to image have a black block + * **Fixed** `3859 `_: doc.need_appearances() fails with "AttributeError: module 'pymupdf.mupdf' has no attribute 'PDF_TRUE' " + * **Fixed** `3863 `_: apply_redactions() does not work as expected + * **Fixed** `3905 `_: open stream can raise a FzErrorFormat error instead of FileDataError + +* Wheels now use the Python Stable ABI: + + * There is one PyMuPDF wheel for each platform. + * Each wheel works with all supported Python versions. + * Each wheel is built using the oldest supported Python version (currently 3.8). + * There is no PyMuPDFb wheel. + +* Other: + + * Improvements to get_text_words() with sort=True. + * Tests now always get the latest versions of required Python packages. + * Removed dependency on setuptools. + * Added item to PyMuPDF-1.24.10 changes below - fix of #3630. + + **Changes in version 1.24.10 (2024-09-02)** * Use MuPDF-1.24.9. @@ -23,6 +49,8 @@ Change Log * **Fixed** `3789 `_: ValueError: not enough values to unpack (expected 3, got 2) is thrown when call insert_pdf * **Fixed** `3820 `_: class improves namedDest handling + * **Fixed** `3630 `_: page.apply_redactions gives unwanted black rectangle + * Other: * Object streams and linearization cannot be used together; attempting to do diff --git a/docs/version.rst b/docs/version.rst index 662f88307..379ad704b 100644 --- a/docs/version.rst +++ b/docs/version.rst @@ -1,6 +1,6 @@ ---- -This documentation covers **PyMuPDF v1.24.10** features as of **2024-09-02 00:00:01**. +This documentation covers **PyMuPDF v1.24.11** features as of **2024-10-03 00:00:01**. The major and minor versions of **PyMuPDF** and **MuPDF** will always be the same. Only the third qualifier (patch level) may deviate from that of **MuPDF**. diff --git a/setup.py b/setup.py index 4e59adf5c..deccb23cc 100755 --- a/setup.py +++ b/setup.py @@ -1130,7 +1130,7 @@ def sdist(): # We generate different wheels depending on PYMUPDF_SETUP_FLAVOUR. # -version_p = '1.24.10' +version_p = '1.24.11' version_b = '1.24.10' if os.path.exists(f'{g_root}/{g_pymupdfb_sdist_marker}'): diff --git a/src/__init__.py b/src/__init__.py index 39350d1c8..84d86ee34 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -209,9 +209,9 @@ def _int_rc(text): # Basic version information. # -pymupdf_version = "1.24.10" +pymupdf_version = "1.24.11" mupdf_version = mupdf.FZ_VERSION -pymupdf_date = "2024-09-02 00:00:01" +pymupdf_date = "2024-10-03 00:00:01" # Versions as tuples; useful when comparing versions. #