Skip to content

Commit

Permalink
Update changelog, version numbers and release dates for release 1.24.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Apr 2, 2024
1 parent 6c08644 commit 055832f
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ body:
label: PyMuPDF version
options:
-
- 1.24.1
- 1.24.0
- 1.23.26
- 1.23.25
Expand Down
2 changes: 1 addition & 1 deletion READMErb.md
Original file line number Diff line number Diff line change
@@ -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/).
Expand Down
17 changes: 17 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ Change Log
==========


**Changes in version 1.24.1 (2024-04-02)**

* Fixed issues:

* **Fixed** `3278 <https://github.com/pymupdf/PyMuPDF/issues/3278>`_: apply_redactions moves some unredacted text
* **Fixed** `3301 <https://github.com/pymupdf/PyMuPDF/issues/3301>`_: Be more permissive when classifying links as kind LINK_URI
* **Fixed** `3306 <https://github.com/pymupdf/PyMuPDF/issues/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:
Expand Down
2 changes: 1 addition & 1 deletion docs/version.rst
Original file line number Diff line number Diff line change
@@ -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**.

6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == '':
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('.')])
Expand Down
8 changes: 4 additions & 4 deletions src_classic/version.i
Original file line number Diff line number Diff line change
@@ -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('.')])
%}

0 comments on commit 055832f

Please sign in to comment.