Skip to content

Releases: py-pdf/pypdf

Version 3.5.1, 2023-03-05

05 Mar 15:09
3.5.1
081751c
Compare
Choose a tag to compare

What's Changed

Robustness (ROB)

Testing (TST)

  • Replace pytest.mark.external by enable_socket (#1657)

Documentation (DOC)

New Contributors

Full Changelog: 3.5.0...3.5.1

Version 3.5.0, 2023-02-26

26 Feb 18:18
3.5.0
5e792c2
Compare
Choose a tag to compare

What's Changed

New Features (ENH)

  • Add reader.attachments public interface (#1611, #1661) by @pubpub-zz
  • Add PdfWriter.remove_objects_from_page(page: PageObject, to_delete: ObjectDeletionFlag) (#1648) by @pubpub-zz
  • Allow free-text annotation to have transparent border/background (#1664)

Bug Fixes (BUG)

Robustness (ROB)

Documentation (DOC)

Tests (TST)

New Contributors

Full Changelog: 3.4.1...3.5.0

3.4.1

12 Feb 21:07
3.4.1
4e276b2
Compare
Choose a tag to compare

What's Changed

Bug Fixes (BUG)

  • Switch from trimbox to cropbox when merging pages (#1622)
  • Text extraction not working with one glyph to char sequence (#1620) by @pubpub-zz

Robustness (ROB)

  • Fix 2 cases of "object has no attribute 'indirect_reference'" (#1616) by @pubpub-zz

Testing (TST)

  • Add multiple retry on get_url for external PDF downloads (#1626) by @pubpub-zz

Documentation (DOC)

New Contributors

Full Changelog: 3.4.0...3.4.1

3.4.0

05 Feb 20:56
3.4.0
1b54821
Compare
Choose a tag to compare

What's Changed

Version 3.4.0, 2023-02-05

NOTICE: pypdf changed the way it represents numbers parsed from PDF files.
pypdf<3.4.0 represented numbers as Decimal, pypdf>=3.4.0 represents them as
floats. Several other PDF libraries to this, as well as many PDF viewers.
We hope to fix issues with too high precision like this and get a speed boost.
In case your PDF documents rely on more than 18 decimals of precision you
should check if it still works as expected.

To clarify: This does not affect the text shown in PDF documents, even if the text are numbers.
It affects numbers used by the PDF document, e.g. when graphics are drawn on the PDF
or very exact positions are used. Typically, 5 decimals should be enough.

New Features (ENH)

Bug Fixes (BUG)

Robustness (ROB)

  • PdfWriter.remove_images: /Contents might not be in page_ref (#1598)

Developer Experience (DEV)

Tests (TST)

  • Mark reader test as external (#1575) by @dkg
  • Unlink test output once successfully written (#1579) by @dkg

Full Changelog

New Contributors

Full Changelog: 3.3.0...3.4.0

Version 3.3.0, 2023-01-22

22 Jan 16:18
3.3.0
98c5a9f
Compare
Choose a tag to compare

What's Changed

New Features (ENH)

Bug Fixes (BUG)

Robustness (ROB)

  • Set ignore_eof=True for read_until_regex (#1521) by @rraval

Documentation (DOC)

Developer Experience (DEV)

  • Fix broken combination of dependencies of docs.txt
  • Annotate tests appropriately (#1551) by @dkg

New Contributors

Full Changelog: 3.2.1...3.3.0

Version 3.2.1, 2023-01-08

08 Jan 17:49
3.2.1
e7e4ffc
Compare
Choose a tag to compare

What's Changed

Bug Fixes (BUG)

Documentation (DOC)

Developer Experience (DEV)

  • Update docs config (#1535)

Full Changelog

Version 3.2.0, 2022-12-31

31 Dec 10:32
3.2.0
c2c4be6
Compare
Choose a tag to compare

What's Changed

Performance Improvement (PI)

  • Help the specializing adpative interpreter (#1522)

New Features (ENH)

  • Add support for page labels (#1519)

Bug Fixes (BUG)

Miscellaneous

New Contributors

Full Changelog: 3.1.0...3.2.0

Version 3.1.0, 2022-12-23

23 Dec 17:29
3.1.0
7d07401
Compare
Choose a tag to compare

What's Changed

Move PyPDF2 to pypdf (#1513). This now it's all lowercase, no number in the
name. For installation and for import. PyPDF2 will no longer receive updates.
The community should move back to its roots (pydf).

Full Changelog: 3.0.0...3.1.0

Version 3.0.0, 2022-12-22

22 Dec 22:45
3.0.0
3214dde
Compare
Choose a tag to compare

What's Changed

BREAKING CHANGES

  • Deprecate features with PyPDF2==3.0.0 (#1489)
  • Refactor Fit / Zoom parameters (#1437)

New Features (ENH)

  • Add Cloning (#1371) by @pubpub-zz
  • Allow int for indirect_reference in PdfWriter.get_object (#1490)

Documentation (DOC)

Maintenance (MAINT)

New Contributors

Full Changelog: 2.12.1...3.0.0

Version 2.12.1, 2022-12-10

10 Dec 18:32
2.12.1
ce0e190
Compare
Choose a tag to compare

What's Changed

Documentation (DOC)

  • Deduplicate extract_text docstring (#1485)
  • How to cite PyPDF2 (#1476)

Maintenance (MAINT)

Consistency changes:

  • indirect_ref/ido ➔ indirect_reference, dest➔ page_destination (#1467) by @kygoben
  • owner_pwd/user_pwd ➔ owner_password/user_password (#1483)
  • position ➜ page_number in Merger.merge (#1482) by @Infus3d
  • indirect_ref ➜ indirect_reference (#1484)

New Contributors

Full Changelog: 2.12.0...2.12.1