Skip to content

Releases: py-pdf/pypdf

Version 3.8.0, 2023-04-16

16 Apr 19:22
3.8.0
f8295a9
Compare
Choose a tag to compare

What's Changed

New Features (ENH)

Robustness (ROB)

Maintenance (MAINT)

  • Mark code handling old parameters as deprecated (#1798)

Full Changelog

New Contributors

Full Changelog: 3.7.1...3.8.0

3.7.1

09 Apr 20:28
3.7.1
a876a77
Compare
Choose a tag to compare

What's Changed

Security (SEC)

  • Warn about PDF encryption security (#1755)

Robustness (ROB)

Documentation (DOC)

  • Add .readthedocs.yaml and bump docs dependencies using tox -e deps (#1750, #1752) by @adehad

Developer Experience (DEV)

  • Make make_changelog.py idempotent

Maintenance (MAINT)

  • Move generation of file identifiers to a method (#1760)

Testing (TST)

New Contributors

Full Changelog: 3.7.0...3.7.1

Version 3.7.0, 2023-03-26

26 Mar 14:15
3.7.0
050bca6
Compare
Choose a tag to compare

What's Changed

Security (SEC)

  • Use Python's secrets module instead of random module (#1748)

New Features (ENH)

  • Add AnnotationBuilder.highlight text markup annotation (#1740)
  • Add AnnotationBuilder.popup (#1665) by @pubpub-zz
  • Add AnnotationBuilder.polyline annotation support (#1726)
  • Add clone_from parameter in PdfWriter constructor (#1703) by @pubpub-zz

Bug Fixes (BUG)

  • 'DictionaryObject' object has no attribute 'indirect_reference' (#1729) by @pubpub-zz

Robustness (ROB)

Documentation (DOC)

Maintenance (MAINT)

  • Add AnnotationFlag (#1746)
  • Add LazyDict.str (#1727)

Full Changelog

Version 3.6.0, 2023-03-18

18 Mar 16:00
3.6.0
e34088e
Compare
Choose a tag to compare

What's Changed

New Features (ENH)

  • Extend PdfWriter.append() to PageObjects (#1704) by @pubpub-zz
  • Support qualified names in update_page_form_field_values (#1695) by @xi

Robustness (ROB)

New Contributors

  • @xi made their first contribution in #1695

Full Changelog: 3.5.2...3.6.0

3.5.2

12 Mar 11:18
3.5.2
d6c4b20
Compare
Choose a tag to compare

What's Changed

Bug Fixes (BUG)

  • compress_content_stream not readable in Adobe Acrobat (#1698) by @pubpub-zz
  • Pass logging parameters correctly in set_need_appearances_writer (#1697) by @rolisz
  • Write /Root/AcroForm in set_need_appearances_writer (#1639) by @cryzed

Robustness (ROB)

New Contributors

Full Changelog: 3.5.1...3.5.2

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