Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REL: 5.0.0 #2851

Merged
merged 8 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# CHANGELOG

## Version 5.0.0, 2024-09-15
pubpub-zz marked this conversation as resolved.
Show resolved Hide resolved

### Deprecations (DEP)
- Deprecate PdfMerger, AnnotationBuilder and other deprecations cleanup (#2813)
pubpub-zz marked this conversation as resolved.
Show resolved Hide resolved
- 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](https://github.com/py-pdf/pypdf/compare/4.3.1...5.0.0)

## Version 4.3.1, 2024-07-21

### Bug Fixes (BUG)
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
maint:
pubpub-zz marked this conversation as resolved.
Show resolved Hide resolved
pyenv local 3.7.15
pyenv local 3.10.5
pre-commit autoupdate
pip-compile -U requirements/ci.in
pip-compile -U requirements/dev.in
pip-compile -U requirements/docs.in
pip-compile -U requirements/dev.in

release:
python make_release.py
Expand Down
2 changes: 1 addition & 1 deletion pypdf/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.3.1"
__version__ = "5.0.0"
15 changes: 7 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]

dependencies = [
"typing_extensions >= 4.0; python_version < '3.11'",
"dataclasses; python_version < '3.7'",
"dataclasses",
pubpub-zz marked this conversation as resolved.
Show resolved Hide resolved
]

[project.urls]
Expand All @@ -41,15 +41,14 @@ Changelog = "https://pypdf.readthedocs.io/en/latest/meta/CHANGELOG.html"

[project.optional-dependencies]
full = [
"cryptography; python_version >= '3.7'",
pubpub-zz marked this conversation as resolved.
Show resolved Hide resolved
"PyCryptodome; python_version == '3.6'",
"Pillow>=8.0.0",
"cryptography; python_version >= '3.8'",
"Pillow>=10.3.0",
]
crypto = [
"cryptography; python_version >= '3.7'",
"PyCryptodome; python_version == '3.6'",
"cryptography; python_version >= '3.8'",
stefan6419846 marked this conversation as resolved.
Show resolved Hide resolved
"PyCryptodome; python_version >= '3.6'",
pubpub-zz marked this conversation as resolved.
Show resolved Hide resolved
]
image = ["Pillow>=8.0.0"]
image = ["Pillow>=10.3.0"]
pubpub-zz marked this conversation as resolved.
Show resolved Hide resolved
dev = ["black", "pip-tools", "pre-commit<2.18.0", "pytest-cov", "pytest-socket", "pytest-timeout", "flit", "wheel", "pytest-xdist"]
docs = ["sphinx", "sphinx_rtd_theme", "myst_parser"]

Expand Down
Loading