diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 13f2627ba..900366377 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.1 - 1.24.0 - 1.23.26 - 1.23.25 diff --git a/READMErb.md b/READMErb.md index 0f77d302b..179391448 100644 --- a/READMErb.md +++ b/READMErb.md @@ -1,4 +1,4 @@ -# PyMuPDF 1.24.0 +# PyMuPDF 1.24.1 This wheel contains [MuPDF](https://mupdf.readthedocs.io/) shared libraries for use by [PyMuPDF](https://pymupdf.readthedocs.io/). diff --git a/changes.txt b/changes.txt index 662c3b660..e2b790c2a 100644 --- a/changes.txt +++ b/changes.txt @@ -2,6 +2,23 @@ Change Log ========== +**Changes in version 1.24.1 (2024-04-02)** + +* Fixed issues: + + * **Fixed** `3278 `_: apply_redactions moves some unredacted text + * **Fixed** `3301 `_: Be more permissive when classifying links as kind LINK_URI + * **Fixed** `3306 `_: Text containing capital 'ET' not appearing as annotation + +* Other: + + * Use MuPDF-1.24.1. + * Support ObjStm Compression. + Methods `Document.save()`, `Document.ez_save()` and `Document.write()` + now support new parameters `use_objstm`, compression_effort` and + `preserve_metadata`. + + **Changes in version 1.24.0 (2024-03-21)** * Fixed issues: diff --git a/docs/version.rst b/docs/version.rst index 11ca26aa3..5816dc7c8 100644 --- a/docs/version.rst +++ b/docs/version.rst @@ -1,6 +1,6 @@ ---- -This documentation covers **PyMuPDF v1.24.0** features as of **2024-03-21 00:00:01**. +This documentation covers **PyMuPDF v1.24.1** features as of **2024-04-02 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 5dacd8954..d8651d835 100755 --- a/setup.py +++ b/setup.py @@ -381,7 +381,7 @@ def get_mupdf_internal(out, location=None, sha=None, local_tgz=None): log(f'get_mupdf_internal(): {out=} {location=} {sha=}') assert out in ('dir', 'tgz') if location is None: - location = 'https://mupdf.com/downloads/archive/mupdf-1.24.0-source.tar.gz' + location = 'https://mupdf.com/downloads/archive/mupdf-1.24.1-source.tar.gz' #location = 'git:--branch master https://github.com/ArtifexSoftware/mupdf.git' if location == '': @@ -1098,8 +1098,8 @@ def sdist(): # We generate different wheels depending on g_flavour. # -version = '1.24.0' -version_b = '1.24.0' +version = '1.24.1' +version_b = '1.24.1' tag_python = None requires_dist = None, diff --git a/src/__init__.py b/src/__init__.py index c11ee0af3..e1e9622e3 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -21795,9 +21795,9 @@ def int_rc(text): text = text[:rc] return int(text) -VersionFitz = "1.24.0" # MuPDF version. -VersionBind = "1.24.0" # PyMuPDF version. -VersionDate = "2024-03-21 00:00:01" +VersionFitz = "1.24.1" # MuPDF version. +VersionBind = "1.24.1" # PyMuPDF version. +VersionDate = "2024-04-02 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 df1fc997f..c27cb5e5a 100644 --- a/src_classic/version.i +++ b/src_classic/version.i @@ -1,7 +1,7 @@ %pythoncode %{ -VersionFitz = "1.24.0" # MuPDF version. -VersionBind = "1.24.0" # PyMuPDF version. -VersionDate = "2024-03-21 00:00:01" -version = (VersionBind, VersionFitz, "20240321000001") +VersionFitz = "1.24.1" # MuPDF version. +VersionBind = "1.24.1" # PyMuPDF version. +VersionDate = "2024-04-02 00:00:01" +version = (VersionBind, VersionFitz, "20240402000001") pymupdf_version_tuple = tuple( [int(i) for i in VersionFitz.split('.')]) %}