Pypdf

Latest version: v5.1.0

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

Scan your dependencies

Page 11 of 14

2.10.5

New Features (ENH)
- Process XRefStm (1297)
- Auto-detect RTL for text extraction (1309)

Bug Fixes (BUG)
- Avoid scaling cropbox twice (1314)

Robustness (ROB)
- Fix offset correction in revised PDF (1318)
- Crop data of /U and /O in encryption dictionary to 48 bytes (1317)
- MultiLine bfrange in cmap (1299)
- Cope with 2 digit codes in bfchar (1310)
- Accept '/annn' charset as ASCII code (1316)
- Log errors during Float / NumberObject initialization (1315)
- Cope with corrupted entries in xref table (1300)

Documentation (DOC)
- Migration guide (PyPDF2 1.x ➔ 2.x) (1324)
- Creating a coverage report (1319)
- Fix AnnotationBuilder.free_text example (1311)
- Fix usage of page.scale by replacing it with page.scale_by (1313)

Maintenance (MAINT)
- PdfReaderProtocol (1303)
- Throw PdfReadError if Trailer can't be read (1298)
- Remove catching OverflowException (1302)

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

2.10.4

Robustness (ROB)
- Fix errors/warnings on no /Resources within extract_text (1276)
- Add required line separators in ContentStream ArrayObjects (1281)

Maintenance (MAINT)
- Use NameObject idempotency (1290)

Testing (TST)
- Rectangle deletion (1289)
- Add workflow tests (1287)
- Remove files after tests ran (1286)

Packaging (PKG)
- Add minimum version for typing_extensions requirement (1277)

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

2.10.3

Robustness (ROB)
- Decrypt returns empty bytestring (1258)

Developer Experience (DEV)
- Modify CI to better verify built package contents (1244)

Maintenance (MAINT)
- Remove 'mine' as PdfMerger always creates the stream (1261)
- Let PdfMerger._create_stream raise NotImplemented (1251)
- password param of _security._alg32(...) is only a string, not bytes (1259)
- Remove unreachable code in read_block_backwards (1250)
and sign function in _extract_text (1262)

Testing (TST)
- Delete annotations (1263)
- Close PdfMerger in tests (1260)
- PdfReader.xmp_metadata workflow (1257)
- Various PdfWriter (Layout, Bookmark deprecation) (1249)

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

2.10.2

BUG: Add PyPDF2.generic to PyPI distribution

2.10.1

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](https://github.com/py-pdf/PyPDF2/compare/2.10.0...2.10.1)

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)

Page 11 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.