From 858d0231021f25636a773a39a974d82213df1c04 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Tue, 18 Apr 2023 13:40:03 +0100 Subject: [PATCH] Update version numbers and dates for release. --- README.md | 4 ++-- changes.txt | 12 ++++++++++++ docs/version.rst | 2 +- fitz/version.i | 6 +++--- setup.py | 2 +- 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 87c65db5e..46eff8c7b 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# PyMuPDF 1.22.0 +# PyMuPDF 1.22.1 ![logo](https://artifex.com/images/logos/py-mupdf-github-icon.png) -Release date: April 14, 2023 +Release date: April 18, 2023 On **[PyPI](https://pypi.org/project/PyMuPDF)** since August 2016: [![Downloads](https://static.pepy.tech/personalized-badge/pymupdf?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/pymupdf) diff --git a/changes.txt b/changes.txt index da05a950d..21b0522f3 100644 --- a/changes.txt +++ b/changes.txt @@ -2,6 +2,18 @@ Change Log ========== +**Changes in version 1.22.1 (2023-04-18)** + +* This release uses ``MuPDF-1.22.0``. + +* Bug fixes: + + * **Fixed** `#2345 `_: Turn off print statements in utils.py + * **Fixed** `#2348 `_: extract_image returns an extension "flate" instead of "png" + * **Fixed** `#2350 `_: Can not make widget (checkbox) to read-only by adding flags PDF_FIELD_IS_READ_ONLY + * **Fixed** `#2355 `_: 1.22.0 error when using get_toc (AttributeError: 'SwigPyObject' object has no attribute) + + **Changes in version 1.22.0 (2023-04-14)** * This release uses ``MuPDF-1.22.0``. diff --git a/docs/version.rst b/docs/version.rst index faf523f7f..d035fb6d5 100644 --- a/docs/version.rst +++ b/docs/version.rst @@ -1,6 +1,6 @@ ---- -This documentation covers **PyMuPDF v1.22.0** features as of **2023-04-14 00:00:01**. +This documentation covers **PyMuPDF v1.22.1** features as of **2023-04-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/fitz/version.i b/fitz/version.i index e4846fe7b..4884dcf0d 100644 --- a/fitz/version.i +++ b/fitz/version.i @@ -1,6 +1,6 @@ %pythoncode %{ VersionFitz = "1.22.0" # MuPDF version. -VersionBind = "1.22.0" # PyMuPDF version. -VersionDate = "2023-04-14 00:00:01" -version = (VersionBind, VersionFitz, "20230414000001") +VersionBind = "1.22.1" # PyMuPDF version. +VersionDate = "2023-04-18 00:00:01" +version = (VersionBind, VersionFitz, "20230418000001") %} diff --git a/setup.py b/setup.py index dab531a88..de232433b 100644 --- a/setup.py +++ b/setup.py @@ -876,7 +876,7 @@ def write_git(name, directory): setup( name="PyMuPDF", - version="1.22.0", + version="1.22.1", description="Python bindings for the PDF toolkit and renderer MuPDF", long_description=readme, long_description_content_type="text/markdown",