Tags: omit66/PyPDF2
Tags
Version 2.10.5, 2022-09-04 New Features (ENH): - Process XRefStm (py-pdf#1297) - Auto-detect RTL for text extraction (py-pdf#1309) Bug Fixes (BUG): - Avoid scaling cropbox twice (py-pdf#1314) Robustness (ROB): - Fix offset correction in revised PDF (py-pdf#1318) - Crop data of /U and /O in encryption dictionary to 48 bytes (py-pdf#1317) - MultiLine bfrange in cmap (py-pdf#1299) - Cope with 2 digit codes in bfchar (py-pdf#1310) - Accept '/annn' charset as ASCII code (py-pdf#1316) - Log errors during Float / NumberObject initialization (py-pdf#1315) - Cope with corrupted entries in xref table (py-pdf#1300) Documentation (DOC): - Migration guide (PyPDF2 1.x \xe2\x9e\x94 2.x) (py-pdf#1324) - Creating a coverage report (py-pdf#1319) - Fix AnnotationBuilder.free_text example (py-pdf#1311) - Fix usage of page.scale by replacing it with page.scale_by (py-pdf#1313) Developer Experience (DEV): - Only run coverage for PyPDF2 Maintenance (MAINT): - PdfReaderProtocol (py-pdf#1303) - Throw PdfReadError if Trailer can't be read (py-pdf#1298) - Remove catching OverflowException (py-pdf#1302) Testing (TST): - Catch Exception for sample-files repo (py-pdf#1307) Full Changelog: py-pdf/pypdf@2.10.4...2.10.5
Version 2.10.4, 2022-08-28 Robustness (ROB): - Fix errors/warnings on no /Resources within extract_text (py-pdf#1276) - Add required line separators in ContentStream ArrayObjects (py-pdf#1281) Maintenance (MAINT): - Use NameObject idempotency (py-pdf#1290) Testing (TST): - Rectangle deletion (py-pdf#1289) - Add workflow tests (py-pdf#1287) - Remove files after tests ran (py-pdf#1286) Packaging (PKG): - Add minimum version for typing_extensions requirement (py-pdf#1277) Full Changelog: py-pdf/pypdf@2.10.3...2.10.4
Version 2.10.3, 2022-08-21 Robustness (ROB): - Decrypt returns empty bytestring (py-pdf#1258) Documentation (DOC): - Adding WevertonGomes as a Contributor Developer Experience (DEV): - Modify CI to better verify built package contents (py-pdf#1244) Maintenance (MAINT): - Remove unused sign function in _extract_text (py-pdf#1262) - Remove \'mine\' as PdfMerger always creates the stream (py-pdf#1261) - Let PdfMerger._create_stream raise NotImplemented (py-pdf#1251) - password param of _security._alg32(...) is only a string, not bytes (py-pdf#1259) - Remove unreachable code in read_block_backwards (py-pdf#1250) Testing (TST): - Delete annotations (py-pdf#1263) - Close PdfMerger in tests (py-pdf#1260) - PdfReader.xmp_metadata workflow (py-pdf#1257) - Various PdfWriter (Layout, Bookmark deprecation) (py-pdf#1249) Full Changelog: py-pdf/pypdf@2.10.2...2.10.3
Version 2.10.1, 2022-08-15 Bug Fixes (BUG): - TreeObject.remove_child had a non-PdfObject assignment for Count (py-pdf#1233, py-pdf#1234) - Fix stream truncated prematurely (py-pdf#1223) Documentation (DOC): - Fix docstring formatting (py-pdf#1228) Maintenance (MAINT): - Split generic.py (py-pdf#1229) Testing (TST): - Decrypt AlgV4 with owner password (py-pdf#1239) - AlgV5.generate_values (py-pdf#1238) - TreeObject.remove_child / empty_tree (py-pdf#1235, py-pdf#1236) - create_string_object (py-pdf#1232) - Free-Text annotations (py-pdf#1231) - generic._base (py-pdf#1230) - Strict get fonts (py-pdf#1226) - Increase PdfReader coverage (py-pdf#1219, py-pdf#1225) - Increase PdfWriter coverage (py-pdf#1237) - 100% coverage for utils.py (py-pdf#1217) - Writer exception non-binary stream (py-pdf#1218) - Don't check coverage for deprecated code (py-pdf#1216) Full Changelog: py-pdf/pypdf@2.10.0...2.10.1
Version 2.10.0, 2022-08-07 New Features (ENH): - "with" support for PdfMerger and PdfWriter (py-pdf#1193) - Add AnnotationBuilder.text(...) to build text annotations (py-pdf#1202) Bug Fixes (BUG): - Allow IndirectObjects as stream filters (py-pdf#1211) Documentation (DOC): - Font scrambling - Page vs Content scaling (py-pdf#1208) - Example for orientation parameter of extract_text (py-pdf#1206) - Fix AnnotationBuilder parameter formatting (py-pdf#1204) Developer Experience (DEV): - Add flake8-print (py-pdf#1203) Maintenance (MAINT): - Introduce WrongPasswordError / FileNotDecryptedError / EmptyFileError (py-pdf#1201) Full Changelog: py-pdf/pypdf@2.9.0...2.10.0
Version 2.9.0, 2022-07-31 New Features (ENH): - Add ability to add hex encoded colors to outline items (py-pdf#1186) - Add support for pathlib.Path in PdfMerger.merge (py-pdf#1190) - Add link annotation (py-pdf#1189) - Add capability to filter text extraction by orientation (py-pdf#1175) Bug Fixes (BUG): - Named Dest in PDF1.1 (py-pdf#1174) - Incomplete Graphic State save/restore (py-pdf#1172) Documentation (DOC): - Update changelog url in package metadata (py-pdf#1180) - Table extraction (py-pdf#1179) - Mention pyHanko for signing PDF documents (py-pdf#1178) - We now have CMAP support (py-pdf#1177) Maintenance (MAINT): - Consistant usage of warnings / log messages (py-pdf#1164) - Consistent terminology for outline items (py-pdf#1156) Code Style (STY): - Apply pre-commit (py-pdf#1188) Full Changelog: py-pdf/pypdf@2.8.1...2.9.0
Version 2.8.1, 2022-07-25 Bug Fixes (BUG): - u_hash in AlgV4.compute_key (py-pdf#1170) Robustness (ROB): - Fix loading of file from py-pdf#134 (py-pdf#1167) - Cope with empty DecodeParams (py-pdf#1165) Documentation (DOC): - Typo in warning message (py-pdf#1166) Maintenance (MAINT): - Package updates; solve mypy strict remarks (py-pdf#1163) Testing (TST): - Add test from py-pdf#325 (py-pdf#1169) Full Changelog: py-pdf/pypdf@2.8.0...2.8.1
Version 2.8.0, 2022-07-24 New Features (ENH): - Add writer.add_annotation, page.annotations, and generic.AnnotationBuilder (py-pdf#1120) Bug Fixes (BUG): - Set /AS for /Btn form fields in writer (py-pdf#1161) - Ignore if /Perms verify failed (py-pdf#1157) Robustness (ROB): - Cope with utf16 character for space calculation (py-pdf#1155) - Cope with null params for FitH / FitV destination (py-pdf#1152) - Handle outlines without valid destination (py-pdf#1076) Developer Experience (DEV): - Introduce _utils.logger_warning (py-pdf#1148) Maintenance (MAINT): - Break up parse_to_unicode (py-pdf#1162) - Add diagnostic output to exception in read_from_stream (py-pdf#1159) - Reduce PdfReader.read complexity (py-pdf#1151) Testing (TST): - Add workflow tests found by arc testing (py-pdf#1154) - Decrypt file which is not encrypted (py-pdf#1149) - Test CryptRC4 encryption class; test image extraction filters (py-pdf#1147) Full Changelog: py-pdf/pypdf@2.7.0...2.8.0
Version 2.7.0, 2022-07-21 New Features (ENH): - Add `outline_count` property (py-pdf#1129) Bug Fixes (BUG): - Make reader.get_fields also return dropdowns with options (py-pdf#1114) - Add deprecated EncodedStreamObject functions back until PyPDF2==3.0.0 (py-pdf#1139) Robustness (ROB): - Cope with missing /W entry (py-pdf#1136) - Cope with invalid parent xref (py-pdf#1133) Documentation (DOC): - Contributors file (py-pdf#1132) - Fix type in signature of PdfWriter.add_uri (py-pdf#1131) Developer Experience (DEV): - Add .git-blame-ignore-revs (py-pdf#1141) Code Style (STY): - Fixing typos (py-pdf#1137) - Re-use code via get_outlines_property in tests (py-pdf#1130) Full Changelog: py-pdf/pypdf@2.6.0...2.7.0
PreviousNext