Skip to content

Commit 637bc44

Browse files
authored
REL: 5.0.0 (#2851)
## Version 5.0.0, 2024-09-15 This version drops support for Python 3.7 (not maintained since July 2023), PdfMerger (use PdfWriter instead) and AnnotationBuilder (use annotations instead). ### Deprecations (DEP) - Remove the deprecated PfdMerger and AnnotationBuilder classes and other deprecations cleanup (#2813) - Drop Python 3.7 support (#2793) ### New Features (ENH) - Add capability to remove /Info from PDF (#2820) - Add incremental capability to PdfWriter (#2811) - Add UniGB-UTF16 encodings (#2819) - Accept utf strings for metadata (#2802) - Report PdfReadError instead of RecursionError (#2800) - Compress PDF files merging identical objects (#2795) ### Bug Fixes (BUG) - Fix sheared image (#2801) ### Robustness (ROB) - Robustify .set_data() (#2821) - Raise PdfReadError when missing /Root in trailer (#2808) - Fix extract_text() issues on damaged PDFs (#2760) - Handle images with empty data when processing an image from bytes (#2786) ### Developer Experience (DEV) - Fix coverage uploads (#2832) - Test against Python 3.13 (#2776) [Full Changelog](4.3.1...5.0.0)
1 parent 8eefba8 commit 637bc44

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# CHANGELOG
22

3+
## Version 5.0.0, 2024-09-15
4+
5+
This version drops support for Python 3.7 (not maintained since July 2023), PdfMerger (use PdfWriter instead) and AnnotationBuilder (use annotations instead).
6+
7+
8+
### Deprecations (DEP)
9+
- Remove the deprecated PfdMerger and AnnotationBuilder classes and other deprecations cleanup (#2813)
10+
- Drop Python 3.7 support (#2793)
11+
12+
### New Features (ENH)
13+
- Add capability to remove /Info from PDF (#2820)
14+
- Add incremental capability to PdfWriter (#2811)
15+
- Add UniGB-UTF16 encodings (#2819)
16+
- Accept utf strings for metadata (#2802)
17+
- Report PdfReadError instead of RecursionError (#2800)
18+
- Compress PDF files merging identical objects (#2795)
19+
20+
### Bug Fixes (BUG)
21+
- Fix sheared image (#2801)
22+
23+
### Robustness (ROB)
24+
- Robustify .set_data() (#2821)
25+
- Raise PdfReadError when missing /Root in trailer (#2808)
26+
- Fix extract_text() issues on damaged PDFs (#2760)
27+
- Handle images with empty data when processing an image from bytes (#2786)
28+
29+
### Developer Experience (DEV)
30+
- Fix coverage uploads (#2832)
31+
- Test against Python 3.13 (#2776)
32+
33+
34+
[Full Changelog](https://github.com/py-pdf/pypdf/compare/4.3.1...5.0.0)
35+
336
## Version 4.3.1, 2024-07-21
437

538
### Bug Fixes (BUG)

pypdf/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.3.1"
1+
__version__ = "5.0.0"

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ classifiers = [
1717
"License :: OSI Approved :: BSD License",
1818
"Programming Language :: Python :: 3",
1919
"Programming Language :: Python :: 3 :: Only",
20-
"Programming Language :: Python :: 3.7",
2120
"Programming Language :: Python :: 3.8",
2221
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
2423
"Programming Language :: Python :: 3.11",
2524
"Programming Language :: Python :: 3.12",
25+
"Programming Language :: Python :: 3.13",
2626
"Operating System :: OS Independent",
2727
"Topic :: Software Development :: Libraries :: Python Modules",
2828
"Typing :: Typed",

0 commit comments

Comments
 (0)