Pypdf2

Latest version: v3.0.1

Safety actively analyzes 638819 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

2.9.0

Not secure
What's Changed

New Features (ENH)
- Add ability to add hex encoded colors to outline items (1186) by mtd91429
- Add support for pathlib.Path in PdfMerger.merge (1190) by MartinThoma
- Add link annotation (1189) by MartinThoma
- Add capability to filter text extraction by orientation (1175) by pubpub-zz

Bug Fixes (BUG)
- Named Dest in PDF1.1 (1174) by pubpub-zz
- Incomplete Graphic State save/restore (1172) by pubpub-zz

Documentation (DOC)
- Update changelog url in package metadata (1180) by mkniewallner
- Mention camelot for table extraction (1179) by MartinThoma
- Mention pyHanko for signing PDF documents (1178) by MartinThoma
- We have CMAP support since a while (1177) by MartinThoma

Maintenance (MAINT)
- Consistent usage of warnings / log messages (1164) by MartinThoma
- Consistent terminology for outline items (1156) by mtd91429

New Contributors
* mkniewallner made their first contribution in https://github.com/py-pdf/PyPDF2/pull/1180 :tada:

**Full Changelog**: https://github.com/py-pdf/PyPDF2/compare/2.8.1...2.9.0

2.8.1

Not secure
What's Changed

Bug Fixes (BUG)
- u_hash in AlgV4.compute_key (1170) by exiledkingcc

Robustness (ROB)
- Fix loading of file from 134 (1167)
- Cope with empty DecodeParams (1165) by pubpub-zz

Documentation (DOC)
- Typo in merger deprecation warning message (1166) by pubpub-zz

Maintenance (MAINT)
- Package updates; solve mypy strict remarks (1163)

Testing (TST)
- Add test from 325 (1169) by pubpub-zz

**Full Changelog**: https://github.com/py-pdf/PyPDF2/compare/2.8.0...2.8.1

2.8.0

Not secure
What's Changed

Thank you pubpub-zz and exiledkingcc for your contributions :heart:

New Features (ENH)
- Add writer.add_annotation, page.annotations, and generic.AnnotationBuilder (1120)

Bug Fixes (BUG)
- Set /AS for /Btn form fields in writer (1161)
- Ignore if /Perms verify failed (1157)

Robustness (ROB)
- Cope with utf16 character for space calculation (1155)
- Cope with null params for FitH / FitV destination (1152)
- Handle outlines without valid destination (1076)

Developer Experience (DEV)
- Introduce _utils.logger_warning (1148)

Maintenance (MAINT)
- Break up parse_to_unicode (1162)
- Add diagnostic output to exception in read_from_stream (1159)
- Reduce PdfReader.read complexity (1151)

Testing (TST)
- Add workflow tests found by arc testing (1154)
- Decrypt file which is not encrypted (1149)
- Test CryptRC4 encryption class; test image extraction filters (1147)


Full Changelog: https://github.com/py-pdf/PyPDF2/compare/2.7.0...2.8.0

2.7.0

Not secure
What's Changed
New Features (ENH)
- Add `outline_count` property (1129)

Bug Fixes (BUG)
- Make reader.get_fields also return dropdowns with options (1114)
- Add deprecated EncodedStreamObject functions back until PyPDF2==3.0.0 (1139)

Robustness (ROB)
- Cope with missing /W entry (1136)
- Cope with invalid parent xref (1133)

Documentation (DOC)
- Contributors file (1132)
- Fix type in signature of PdfWriter.add_uri (1131)

Developer Experience (DEV)
- Add .git-blame-ignore-revs (1141)

Code Style (STY)
- Fixing typos (1137)
- Re-use code via get_outlines_property in tests (1130)

New Contributors
* KourFrost made their first contribution in https://github.com/py-pdf/PyPDF2/pull/1114

**Full Changelog**: https://github.com/py-pdf/PyPDF2/compare/2.6.0...2.7.0

2.6.0

Not secure
What's Changed

New Features (ENH)
- Add color and font_format to PdfReader.outlines[i] (1104)
- Extract Text Enhancement (whitespaces) (1084)

Bug Fixes (BUG)
- Use `build_destination` for named destination outlines (1128)
- Avoid a crash when a ToUnicode CMap has an empty dstString in beginbfchar (1118)
- Prevent deduplication of PageObject (1105)
- None-check in DictionaryObject.read_from_stream (1113)
- Avoid IndexError in _cmap.parse_to_unicode (1110)

Documentation (DOC)
- Explanation for git submodule
- Watermark and stamp (1095)

Maintenance (MAINT)
- Text extraction improvements (1126)
- Destination.color returns ArrayObject instead of tuple as fallback (1119)
- Use add_bookmark_destination in add_bookmark (1100)
- Use add_bookmark_destination in add_bookmark_dict (1099)

Testing (TST)
- Add test for arab text (1127)
- Add xfail for decryption fail (1125)
- Add xfail test for IndexError when extracting text (1124)
- Add MCVE showing outline title issue (1123)

Code Style (STY)
- Use IntFlag for permissions_flag / update_page_form_field_values (1094)
- Simplify code (1101)

New Contributors
* mtd91429 made their first contribution in https://github.com/py-pdf/PyPDF2/pull/1104
* dkg made their first contribution in https://github.com/py-pdf/PyPDF2/pull/1110
* jlshin made their first contribution in https://github.com/py-pdf/PyPDF2/pull/1113

**Full Changelog**: https://github.com/py-pdf/PyPDF2/compare/2.5.0...2.6.0

2.5.0

Not secure
What's Changed
New Features (ENH)
- Add support for indexed color spaces / BitsPerComponent for decoding PNGs (1067)
- Add PageObject._get_fonts (1083)

Performance Improvements (PI)
- Use iterative DFS in PdfWriter._sweep_indirect_references (1072)

Bug Fixes (BUG)
- Let Page.scale also scale the crop-/trim-/bleed-/artbox (1066)
- Column default for CCITTFaxDecode (1079)

Robustness (ROB)
- Guard against None-value in _get_outlines (1060)

Documentation (DOC)
- Stamps and watermarks (1082)
- OCR vs PDF text extraction (1081)
- Python Version support
- Formatting of CHANGELOG

Developer Experience (DEV)
- Cache downloaded files (1070)
- Speed-up for CI (1069)

Maintenance (MAINT)
- Set page.rotate(angle: int) (1092)
- Issue 416 was fixed by 1015 (1078)

Testing (TST)
- Image extraction (1080)
- Image extraction (1077)

Code Style (STY)
- Apply black
- Typo in Changelog

**Full Changelog**: https://github.com/py-pdf/PyPDF2/compare/2.4.2...2.5.0

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.