Skip to content

Releases: py-pdf/pypdf

Version 2.11.0, 2022-09-25

25 Sep 16:53
2.11.0
67a5ccf
Compare
Choose a tag to compare

What's Changed

New Features (ENH):

Bug Fixes (BUG):

  • Lookup index in _xobj_to_image can be ByteStringObject (#1366)
  • 'IndexError: index out of range' when using extract_text (#1361)
  • Errors in transfer_rotation_to_content() (#1356) by @pubpub-zz

Robustness (ROB):

  • Ensure update_page_form_field_values does not fail if no fields (#1346) by @pubpub-zz

Testing (TST):

New Contributors

Full Changelog: 2.10.9...2.11.0

2.10.9

18 Sep 10:02
2.10.9
620d2fa
Compare
Choose a tag to compare

What's Changed

New Features (ENH)

  • Add rotation property and transfer_rotate_to_content (#1348) by @pubpub-zz

Performance Improvements (PI)

  • Avoid string concatenation with large embedded base64-encoded images (#1350) by @mergezalot

Bug Fixes (BUG)

Robustness (ROB)

New Contributors

Full Changelog: 2.10.8...2.10.9

Version 2.10.8, 2022-09-14

14 Sep 04:21
2.10.8
168113b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.10.7...2.10.8

Version 2.10.7, 2022-09-11

11 Sep 20:21
2.10.7
e23b985
Compare
Choose a tag to compare

What's Changed

Bug Fixes (BUG)

Testing (TST)

  • Use pytest.warns() for warnings, and .raises() for exceptions (#1325) by @mgorny

New Contributors

Full Changelog: 2.10.6...2.10.7

2.10.6

09 Sep 14:08
2.10.6
0ceaa60
Compare
Choose a tag to compare

What's Changed

Two robustness issues were fixed by @pubpub-zz - thank you 🙏
The infinite loop issue might also be a security concern, depending on how you use PyPDF2.

Robustness (ROB):

  • Fix infinite loop due to Invalid object (#1331)
  • Fix image extraction issue with superfluous whitespaces (#1327)

Full Changelog: 2.10.5...2.10.6

Version 1.28.6, 2022-09-08

08 Sep 11:20
1.28.6
9b5452f
Compare
Choose a tag to compare

This is a bugfix for the old 1.x branch of PyPDF2 that still supports Python 2. Please try to update to the latest PyPDF2 > 2.0.0 version to get way better text extraction, support for modern encryption, and much more.

What's Changed

  • BUG: Adjust 'super' calls for Python 2 by @omit66 in #1335

New Contributors

Full Changelog: 1.28.5...1.28.6

Version 2.10.5, 2022-09-04

04 Sep 15:35
2.10.5
4073b2a
Compare
Choose a tag to compare

What's Changed

New Features (ENH)

Bug Fixes (BUG)

Robustness (ROB)

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) by @yegorLitvinov

Developer Experience (DEV)

  • Only run coverage for PyPDF2

Maintenance (MAINT)

Testing (TST)

  • Catch Exception for sample-files repo (#1307)

New Contributors

Full Changelog: 2.10.4...2.10.5

Version 2.10.4, 2022-08-28

28 Aug 12:44
2.10.4
3b74312
Compare
Choose a tag to compare

What's Changed

Robustness (ROB)

  • Fix errors/warnings on no /Resources within extract_text (#1276) by @pubpub-zz
  • Add required line separators in ContentStream ArrayObjects (#1281) by @pubpub-zz

Maintenance (MAINT)

  • Use NameObject idempotency (#1290)

Testing (TST)

  • Rectangle deletion (#1289)
  • Add workflow tests (#1287)
  • Remove files after tests ran (#1286)

Packaging (PKG)

New Contributors

Full Changelog: 2.10.3...2.10.4

Version 2.10.3, 2022-08-21

21 Aug 19:24
2.10.3
2ddc48a
Compare
Choose a tag to compare

What's Changed

Robustness (ROB)

Developer Experience (DEV)

Maintenance (MAINT)

  • Let PdfMerger._create_stream raise NotImplemented (#1251) and
    remove 'mine' as PdfMerger always creates the stream (#1261)
  • password param of _security._alg32(...) is only a string, not bytes (#1259)
  • Remove unreachable code in read_block_backwards (#1250) and _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: 2.10.2...2.10.3

Version 2.10.2, 2022-08-15

15 Aug 14:29
2.10.2
b50c3a8
Compare
Choose a tag to compare