Pypdf

Latest version: v4.2.0

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

Scan your dependencies

Page 11 of 13

2.10.0

New Features (ENH)
- "with" support for PdfMerger and PdfWriter (1193)
- Add AnnotationBuilder.text(...) to build text annotations (1202)

Bug Fixes (BUG)
- Allow IndirectObjects as stream filters (1211)

Documentation (DOC)
- Font scrambling
- Page vs Content scaling (1208)
- Example for orientation parameter of extract_text (1206)
- Fix AnnotationBuilder parameter formatting (1204)

Developer Experience (DEV)
- Add flake8-print (1203)

Maintenance (MAINT)
- Introduce WrongPasswordError / FileNotDecryptedError / EmptyFileError (1201)

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

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)

Page 11 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.