Skip to content

Commit 1118f02

Browse files
Update changelog, version numbers and release dates for release 1.24.0.
1 parent c724fb4 commit 1118f02

File tree

8 files changed

+58
-14
lines changed

8 files changed

+58
-14
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ body:
4747
label: PyMuPDF version
4848
options:
4949
-
50+
- 1.24.0
5051
- 1.23.26
5152
- 1.23.25
5253
- 1.23.24

READMErb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PyMuPDF 1.23.22
1+
# PyMuPDF 1.24.0
22

33
This wheel contains [MuPDF](https://mupdf.readthedocs.io/) shared libraries for
44
use by [PyMuPDF](https://pymupdf.readthedocs.io/).

changes.txt

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,49 @@ Change Log
22
==========
33

44

5+
**Changes in version 1.24.0 (2024-03-21)**
6+
7+
* Fixed issues:
8+
9+
* **Fixed** `3281 <https://github.com/pymupdf/PyMuPDF/issues/3281>`_: Preparing metadata (pyproject.toml) did not run successfully
10+
* **Fixed** `3279 <https://github.com/pymupdf/PyMuPDF/issues/3279>`_: PyMuPDF no longer builds in Alpine Linux
11+
* **Fixed** `3257 <https://github.com/pymupdf/PyMuPDF/issues/3257>`_: apply_redactions() deleting text outside of annoted box
12+
* **Fixed** `3216 <https://github.com/pymupdf/PyMuPDF/issues/3216>`_: AttributeError: 'Annot' object has no attribute '__del__'
13+
* **Fixed** `3207 <https://github.com/pymupdf/PyMuPDF/issues/3207>`_: get_drawings's items is missing line from h path operator
14+
* **Fixed** `3201 <https://github.com/pymupdf/PyMuPDF/issues/3201>`_: Memory leaks when merging PDFs
15+
* **Fixed** `3197 <https://github.com/pymupdf/PyMuPDF/issues/3197>`_: page.get_text() returns hexadecimal text for some characters
16+
* **Fixed** `3196 <https://github.com/pymupdf/PyMuPDF/issues/3196>`_: Remove text not working in 1.23.25 version vs 1.20.2
17+
* **Fixed** `3172 <https://github.com/pymupdf/PyMuPDF/issues/3172>`_: PDF's 45º lines dissapearing in png conversion
18+
* **Fixed** `3135 <https://github.com/pymupdf/PyMuPDF/issues/3135>`_: Do not log warnings to stdout
19+
* **Fixed** `3125 <https://github.com/pymupdf/PyMuPDF/issues/3125>`_: get_pixmap method stuck on one page and runs forever
20+
* **Fixed** `2964 <https://github.com/pymupdf/PyMuPDF/issues/2964>`_: There is an issue with the image generated by the page.get_pixmap() function
21+
22+
* Other:
23+
24+
* Use MuPDF-1.24.0.
25+
* Add support for redacting vector graphics.
26+
* Several fixes for table module
27+
28+
* Add new method for outputting the table as a markdown string.
29+
30+
* Address errors in computing the table header object:
31+
32+
We now allow None as the cell value, because this will be resolved where
33+
needed (e.g. in the pandas DataFrame).
34+
35+
We previously tried to enforce rect-like tuples in all header cell
36+
bboxes, however this fails for tables with all-None columns. This fix
37+
enables this and constructs an empty string in the corresponding cell
38+
string.
39+
40+
We now correctly include start / stop points of lines in the bbox of the
41+
clustered graphic. We previously joined the line's rectangle - which had
42+
no effect because this is always empty.
43+
44+
* Improved exception text if we fail to open document.
45+
* Fixed build with new libclang 18.
46+
47+
548
**Changes in version 1.23.26 (2024-02-29)**
649

750
* Fixed issues:

docs/version.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
----
22

3-
This documentation covers **PyMuPDF v1.23.26** features as of **2024-02-29 00:00:01**.
3+
This documentation covers **PyMuPDF v1.24.0** features as of **2024-03-21 00:00:01**.
44

55
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**.
66

scripts/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
./PyMuPDF/scripts/test.py --mupdf 'git:https://git.ghostscript.com/mupdf.git' buildtest
1414
Build and test with internal checkout of mupdf master.
1515
16-
./PyMuPDF/scripts/test.py --mupdf 'git:--branch 1.23.x https://github.com/ArtifexSoftware/mupdf.git' buildtest
17-
Build and test using internal checkout of mupdf 1.23.x branch from Github.
16+
./PyMuPDF/scripts/test.py --mupdf 'git:--branch 1.24.x https://github.com/ArtifexSoftware/mupdf.git' buildtest
17+
Build and test using internal checkout of mupdf 1.24.x branch from Github.
1818
1919
Usage:
2020
scripts/test.py <options> <commands>

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def get_mupdf_internal(out, location=None, sha=None, local_tgz=None):
381381
log(f'get_mupdf_internal(): {out=} {location=} {sha=}')
382382
assert out in ('dir', 'tgz')
383383
if location is None:
384-
location = 'https://mupdf.com/downloads/archive/mupdf-1.23.10-source.tar.gz'
384+
location = 'https://mupdf.com/downloads/archive/mupdf-1.24.0-source.tar.gz'
385385
#location = 'git:--branch master https://github.com/ArtifexSoftware/mupdf.git'
386386

387387
if location == '':
@@ -1098,8 +1098,8 @@ def sdist():
10981098
# We generate different wheels depending on g_flavour.
10991099
#
11001100

1101-
version = '1.23.26'
1102-
version_b = '1.23.22'
1101+
version = '1.24.0'
1102+
version_b = '1.24.0'
11031103

11041104
tag_python = None
11051105
requires_dist = None,

src/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21766,9 +21766,9 @@ def int_rc(text):
2176621766
text = text[:rc]
2176721767
return int(text)
2176821768

21769-
VersionFitz = "1.23.10" # MuPDF version.
21770-
VersionBind = "1.23.26" # PyMuPDF version.
21771-
VersionDate = "2024-02-29 00:00:01"
21769+
VersionFitz = "1.24.0" # MuPDF version.
21770+
VersionBind = "1.24.0" # PyMuPDF version.
21771+
VersionDate = "2024-03-21 00:00:01"
2177221772
VersionDate2 = VersionDate.replace('-', '').replace(' ', '').replace(':', '')
2177321773
version = (VersionBind, VersionFitz, VersionDate2)
2177421774
pymupdf_version_tuple = tuple( [int_rc(i) for i in VersionBind.split('.')])

src_classic/version.i

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%pythoncode %{
2-
VersionFitz = "1.23.10" # MuPDF version.
3-
VersionBind = "1.23.26" # PyMuPDF version.
4-
VersionDate = "2024-02-29 00:00:01"
5-
version = (VersionBind, VersionFitz, "20240229000001")
2+
VersionFitz = "1.24.0" # MuPDF version.
3+
VersionBind = "1.24.0" # PyMuPDF version.
4+
VersionDate = "2024-03-21 00:00:01"
5+
version = (VersionBind, VersionFitz, "20240321000001")
66
pymupdf_version_tuple = tuple( [int(i) for i in VersionFitz.split('.')])
77
%}

0 commit comments

Comments
 (0)