Skip to content

Commit 2d9a81b

Browse files
Update versions for next release and removed release date information.
Including release dates in git files complicates the release process and is not particularly useful.
1 parent c7e0800 commit 2d9a81b

File tree

5 files changed

+14
-19
lines changed

5 files changed

+14
-19
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,9 @@ body:
4646
attributes:
4747
label: PyMuPDF version
4848
options:
49+
- 1.26.1
4950
- 1.26.0
50-
- 1.25.5
51-
- 1.25.4
52-
- 1.25.3
53-
- 1.25.2
54-
- 1.25.1
55-
- 1.25.0
56-
- 1.24.x or earlier
51+
- 1.25.x or earlier
5752
- Built from source
5853
description: |
5954
* For example from `pymupdf.VersionBind`.

changes.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Change Log
22
==========
33

44

5-
**Changes in version 1.26.1 ()**
5+
**Changes in version 1.26.1**
66

77
* Use MuPDF-1.26.2.
88

@@ -18,6 +18,9 @@ Change Log
1818
* New method `Document.rewrite_images()`, useful for reducing file size, changing image formats, or converting color spaces.
1919
* `Page.get_text()`: restrict positional args to match docs.
2020
* Removed bogus definition of class `Shape`.
21+
* Removed release date from module, docs and changelog.
22+
* `pymupdf.pymupdf_date` and `pymupdf.VersionDate` are now both None.
23+
* They will be removed in a future release.
2124

2225

2326
**Changes in version 1.26.0 (2025-05-22)**

docs/vars.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,8 @@ Constants
7777

7878
.. py:data:: pymupdf_date
7979
80-
ISO timestamp *YYYY-MM-DD HH:MM:SS* when these bindings were built.
81-
82-
:type: string
83-
80+
Disabled (set to None) in 1.26.1.
81+
8482
.. py:data:: version
8583
8684
(pymupdf_version, mupdf_version, timestamp) -- combined version information where `timestamp` is the generation point in time formatted as "YYYYMMDDhhmmss".
@@ -97,7 +95,7 @@ Constants
9795

9896
.. py:data:: VersionDate
9997
100-
Legacy equivalent to `mupdf_version`.
98+
Disabled (set to None) in 1.26.1.
10199

102100

103101
.. _PermissionCodes:

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.26.0** features as of **2025-05-22 00:00:01**.
3+
This documentation covers **PyMuPDF v1.26.1**.
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

src/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,9 @@ def _int_rc(text):
375375

376376
# Basic version information.
377377
#
378-
pymupdf_version = "1.26.0"
378+
pymupdf_version = "1.26.1"
379379
mupdf_version = mupdf.FZ_VERSION
380-
pymupdf_date = "2025-05-22 00:00:01"
380+
pymupdf_date = None
381381

382382
# Versions as tuples; useful when comparing versions.
383383
#
@@ -389,11 +389,10 @@ def _int_rc(text):
389389

390390
# Legacy version information.
391391
#
392-
pymupdf_date2 = pymupdf_date.replace('-', '').replace(' ', '').replace(':', '')
393-
version = (pymupdf_version, mupdf_version, pymupdf_date2)
392+
version = (pymupdf_version, mupdf_version, None)
394393
VersionFitz = mupdf_version
395394
VersionBind = pymupdf_version
396-
VersionDate = pymupdf_date
395+
VersionDate = None
397396

398397

399398
# String formatting.

0 commit comments

Comments
 (0)