diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 303c404ad..120daa6e1 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.23.23 - 1.23.21 - 1.23.22 - 1.23.20 diff --git a/changes.txt b/changes.txt index 41c4f21f3..c19f671ce 100644 --- a/changes.txt +++ b/changes.txt @@ -2,16 +2,30 @@ Change Log ========== -**Changes in version 1.23.23 (2024-02-14)** +**Changes in version 1.23.23 (2024-02-18)** * Fixed issues: + * **Fixed** `3126 `_: Initialising Archive with a pathlib.Path fails. + * **Fixed** `3131 `_: Calling the next attribute of an Annot raises a "No attribute .parent" warning + * **Fixed** `3134 `_: Using an IRect as clip parameter in Page.get_pixmap no longer works since 1.23.9 + * **Fixed** `3140 `_: PDF document stays in use after closing * **Fixed** `3150 `_: doc.select() hangs on this doc. - + * **Fixed** `3163 `_: AssertionError on using fitz.IRect + * **Fixed** `3177 `_: fitz.Pixmap(None, pix) Unrecognised args for constructing Pixmap * Other: - * Replaced major code portions previously supporting `Document.select()` MuPDF function `pdf_rearrange_pages()` which is faster and more thoroughly performing that task. + * + Improved `Document.select() by using new MuPDF function + `pdf_rearrange_pages()`. This is a more complete (and faster) + implementation of what needs to be done here in that not only pages will + be rearranged, but also consequential changes will be made to the table + of contents, links to removed pages and affected entries in the Optional + Content definitions. + * `TextWriter.appendv()`: added `small_caps` arg. + * Fixed some valgrind errors with MuPDF master. + * Fixed `Document.insert_image()` when build with MuPDF master. **Changes in version 1.23.22 (2024-02-12)** diff --git a/docs/version.rst b/docs/version.rst index 166dc7cd5..6fa4ab67d 100644 --- a/docs/version.rst +++ b/docs/version.rst @@ -1,6 +1,6 @@ ---- -This documentation covers **PyMuPDF v1.23.22** features as of **2024-02-12 00:00:01**. +This documentation covers **PyMuPDF v1.23.23** features as of **2024-02-18 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 23a5c783a..32dafe4fa 100755 --- a/setup.py +++ b/setup.py @@ -1072,7 +1072,7 @@ def sdist(): # We generate different wheels depending on g_flavour. # -version = '1.23.22' +version = '1.23.23' version_b = '1.23.22' tag_python = None diff --git a/src/__init__.py b/src/__init__.py index a0355b6da..564b98fce 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -21729,8 +21729,8 @@ def int_rc(text): return int(text) VersionFitz = "1.23.10" # MuPDF version. -VersionBind = "1.23.22" # PyMuPDF version. -VersionDate = "2024-02-12 00:00:01" +VersionBind = "1.23.23" # PyMuPDF version. +VersionDate = "2024-02-18 00:00:01" VersionDate2 = VersionDate.replace('-', '').replace(' ', '').replace(':', '') version = (VersionBind, VersionFitz, VersionDate2) pymupdf_version_tuple = tuple( [int_rc(i) for i in VersionBind.split('.')]) diff --git a/src_classic/version.i b/src_classic/version.i index 55636ef47..d2a74815e 100644 --- a/src_classic/version.i +++ b/src_classic/version.i @@ -1,7 +1,7 @@ %pythoncode %{ VersionFitz = "1.23.10" # MuPDF version. -VersionBind = "1.23.22" # PyMuPDF version. -VersionDate = "2024-02-12 00:00:01" -version = (VersionBind, VersionFitz, "20240212000001") +VersionBind = "1.23.23" # PyMuPDF version. +VersionDate = "2024-02-18 00:00:01" +version = (VersionBind, VersionFitz, "20240218000001") pymupdf_version_tuple = tuple( [int(i) for i in VersionFitz.split('.')]) %}