Skip to content

Commit 43a3230

Browse files
Bump version to 1.20.0rc1
1 parent 285d18a commit 43a3230

File tree

5 files changed

+43
-11
lines changed

5 files changed

+43
-11
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# PyMuPDF 1.19.6
1+
# PyMuPDF 1.20.0
22

33
![logo](https://github.com/pymupdf/PyMuPDF/blob/master/demo/pymupdf.jpg)
44

5-
Release date: March 3, 2022
5+
Release date: June 6, 2022
66

77
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)
88

99
# Author
10-
[Jorj X. McKie](mailto:[email protected]), based on original code by [Ruikai Liu](mailto:[email protected]).
10+
[Artifex], based on code by [Jorj X. McKie](mailto:[email protected]), based on original code by [Ruikai Liu](mailto:[email protected]).
1111

1212
# Introduction
1313

14-
PyMuPDF (current version 1.19.6) is a Python binding with support for [MuPDF](https://mupdf.com/) (current version 1.19.*), a lightweight PDF, XPS, and E-book viewer, renderer, and toolkit, which is maintained and developed by Artifex Software, Inc.
14+
PyMuPDF (current version 1.20.0) is a Python binding with support for [MuPDF](https://mupdf.com/) (current version 1.20.*), a lightweight PDF, XPS, and E-book viewer, renderer, and toolkit, which is maintained and developed by Artifex Software, Inc.
1515

1616
MuPDF can access files in PDF, XPS, OpenXPS, CBZ, EPUB and FB2 (e-books) formats, and it is known for its top performance and high rendering quality.
1717

@@ -109,4 +109,4 @@ Artifex is the exclusive commercial licensing agent for MuPDF.
109109
Artifex, the Artifex logo, MuPDF, and the MuPDF logo are registered trademarks of Artifex Software Inc. © 2021 Artifex Software, Inc. All rights reserved.
110110

111111
# Contact
112-
Please use the [Discussions](https://github.com/pymupdf/PyMuPDF/discussions) menu for questions, comments, or asking for help, and submit issues [here](https://github.com/pymupdf/PyMuPDF/issues). If you wish, you can also contact me directly via [email protected].
112+
Please use the [Discussions](https://github.com/pymupdf/PyMuPDF/discussions) menu for questions, comments, or asking for help, and submit issues [here](https://github.com/pymupdf/PyMuPDF/issues).

changes.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ Change Log
33

44
------
55

6+
**Changes in Version 1.20.0**
7+
8+
This release has minimal functional changes, to work with MuPDF-1.20.
9+
10+
* Cope with new MuPDF link uri format, changed from `#<int>,<int>,<int>` to `#page=<int>&zoom=<float>,<float>,<float>`.
11+
12+
* In `tests/test_insertpdf.py`, use new reference output `joined-1.20.pdf`. We also do check that new output values are approximately the same as the old ones.
13+
14+
Changes to build/release process:
15+
16+
* Various changes to setup.py to always use the required version of MuPDF. See comment at start of setup.py for details.
17+
18+
* Added `.github/workflows/build_wheels.yml` to control building of wheels on Github.
19+
20+
------
21+
622
**Changes in Version 1.19.6**
723

824
* **Fixed** `#1620 <https://github.com/pymupdf/PyMuPDF/issues/1620>`_. The :ref:`TextPage` created by :meth:`Page.get_textpage` will now be freed correctly (removed memory leak).

docs/changes.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ Change Log
33

44
------
55

6+
**Changes in Version 1.20.0**
7+
8+
This release has minimal functional changes, to work with MuPDF-1.20.
9+
10+
* Cope with new MuPDF link uri format, changed from `#<int>,<int>,<int>` to `#page=<int>&zoom=<float>,<float>,<float>`.
11+
12+
* In `tests/test_insertpdf.py`, use new reference output `joined-1.20.pdf`. We also do check that new output values are approximately the same as the old ones.
13+
14+
Changes to build/release process:
15+
16+
* Various changes to setup.py to always use the required version of MuPDF. See comment at start of setup.py for details.
17+
18+
* Added `.github/workflows/build_wheels.yml` to control building of wheels on Github.
19+
20+
------
21+
622
**Changes in Version 1.19.6**
723

824
* **Fixed** `#1620 <https://github.com/pymupdf/PyMuPDF/issues/1620>`_. The :ref:`TextPage` created by :meth:`Page.get_textpage` will now be freed correctly (removed memory leak).

docs/document.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ For details on **embedded files** refer to Appendix 3.
15641564

15651565
*(Changed in v1.14.13:)* *io.BytesIO* objects are now also supported.
15661566

1567-
:arg bool new: *deprecated* and ignored. Will be removed in v1.20.0.
1567+
:arg bool new: *deprecated* and ignored. Will be removed some time after v1.20.0.
15681568
:arg bool compress: whether to compress the inserted stream. If ``True`` (default), the stream will be inserted using ``/FlateDecode`` compression (if beneficial), otherwise the stream will inserted as is.
15691569

15701570
:raises ValueError: if *xref* does not represent a PDF :data:`dict`. An empty dictionary ``<<>>`` is accepted. So if you just created the xref and want to give it a stream, first execute ``doc.update_object(xref, "<<>>")``, and then insert the stream data with this method.

fitz/version.i

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%pythoncode %{
2-
VersionFitz = "1.19.0"
3-
VersionBind = "1.19.6"
4-
VersionDate = "2022-03-03 00:00:01"
5-
version = (VersionBind, VersionFitz, "20220303000001")
6-
%}
2+
VersionFitz = "1.20.0"
3+
VersionBind = "1.20.0"
4+
VersionDate = "2022-05-12 00:00:01"
5+
version = (VersionBind, VersionFitz, "20220512000001")
6+
%}

0 commit comments

Comments
 (0)