Pypdf

Latest version: v5.1.0

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

Scan your dependencies

Page 12 of 14

2.9.0

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

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

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

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


[Full Changelog](https://github.com/py-pdf/PyPDF2/compare/2.8.1...2.9.0)

2.8.1

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

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

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

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

Testing (TST)
- Add test from 325 (1169)

[Full Changelog](https://github.com/py-pdf/PyPDF2/compare/2.8.0...2.8.1)

2.8.0

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

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)
- Reuse code via get_outlines_property in tests (1130)

[Full Changelog](https://github.com/py-pdf/PyPDF2/compare/2.6.0...2.7.0)

2.6.0

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)

[Full Changelog](https://github.com/py-pdf/PyPDF2/compare/2.5.0...2.6.0)

2.5.0

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 12 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.