All Versions
73
Latest Version
Avg Release Cycle
7 days
Latest Release
612 days ago

Changelog History
Page 2

  • v2.10.2 Changes

    August 15, 2022

    ๐Ÿ› BUG: Add PyPDF2.generic to PyPI distribution

  • v2.10.1 Changes

    August 15, 2022

    ๐Ÿ› Bug Fixes (BUG)

    • ๐Ÿšš TreeObject.remove_child had a non-PdfObject assignment for Count (#1233, #1234)
    • Fix stream truncated prematurely (#1223)

    ๐Ÿ“š Documentation (DOC)

    • ๐Ÿ“„ Fix docstring formatting (#1228)

    ๐Ÿšง Maintenance (MAINT)

    • Split generic.py (#1229)

    โœ… Testing (TST)

    • Decrypt AlgV4 with owner password (#1239)
    • AlgV5.generate_values (#1238)
    • TreeObject.remove_child / empty_tree (#1235, #1236)
    • create_string_object (#1232)
    • ๐Ÿ†“ Free-Text annotations (#1231)
    • generic._base (#1230)
    • Strict get fonts (#1226)
    • Increase PdfReader coverage (#1219, #1225)
    • Increase PdfWriter coverage (#1237)
    • 100% coverage for utils.py (#1217)
    • ๐Ÿ‘ป PdfWriter exception non-binary stream (#1218)
    • ๐Ÿ—„ Don't check coverage for deprecated code (#1216)

    Full Changelog

  • v2.10.0 Changes

    August 07, 2022

    ๐Ÿ†• 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

  • v2.9.0 Changes

    July 31, 2022

    ๐Ÿ†• 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)
    • Mantion camelot for table extraction (#1179)
    • Mention pyHanko for signing PDF documents (#1178)
    • ๐Ÿ‘ Weow have CMAP support since a while (#1177)

    ๐Ÿšง Maintenance (MAINT)

    • โš  Consistant usage of warnings / log messages (#1164)
    • Consistent terminology for outline items (#1156)

    Full Changelog

  • v2.8.1 Changes

    July 25, 2022

    ๐Ÿ› 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

  • v2.8.0 Changes

    July 24, 2022

    ๐Ÿ†• 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

  • v2.7.0 Changes

    July 21, 2022

    ๐Ÿ†• 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)

    Full Changelog

  • v2.6.0 Changes

    July 17, 2022

    ๐Ÿ†• New Features (ENH)

    • Add color and font_format to PdfReader.outlinesi
    • 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

  • v2.5.0 Changes

    July 10, 2022

    ๐Ÿ†• 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)
    • 0๏ธโƒฃ 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

  • v2.4.2 Changes

    July 05, 2022

    ๐Ÿ†• New Features (ENH)

    • Add PdfReader.xfa attribute (#1026)

    ๐Ÿ› Bug Fixes (BUG)

    • ๐Ÿ”€ Wrong page inserted when PdfMerger.merge is done (#1063)
    • ๐Ÿ†“ Resolve IndirectObject when it refers to a free entry (#1054)

    Developer Experience (DEV)

    • Added {posargs} to tox.ini (#1055)

    ๐Ÿšง Maintenance (MAINT)

    • Remove PyPDF2._utils.bytes_type (#1053)

    โœ… Testing (TST)

    • Scale page (indirect rect object) (#1057)
    • โœ… Simplify pathlib PdfReader test (#1056)
    • IndexError of VirtualList (#1052)
    • Invalid XML in xmp information (#1051)
    • No pycryptodome (#1050)
    • โœ… Increase test coverage (#1045)

    ๐Ÿ’… Code Style (STY)

    • DOC of compress_content_streams (#1061)
    • Minimize diff for #879 (#1049)

    Full Changelog