Skip to content

Releases: py-pdf/pypdf

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

Version 2.12.0, 2022-12-10

10 Dec 12:08
2.12.0
f64f36a
Compare
Choose a tag to compare

What's Changed

Version 2.12.0, 2022-12-10

New Features (ENH)

Bug Fixes (BUG)

Robustness (ROB)

  • Padding issue with AES encryption (#1469)
  • Accept empty object as null objects (#1477) by @pubpub-zz

Documentation (DOC)

  • Add module documentation the PaperSize class (#1447) by @MagnumBarrage

Maintenance (MAINT)

  • Use 'page_number' instead of 'pagenum' (#1365)
  • Add List of pages to PageRangeSpec (#1456) by @pubpub-zz

Testing (TST)

Full Changelog

New Contributors

Full Changelog: 2.11.2...2.12.0

Version 2.11.2, 2022-11-20

20 Nov 12:37
2.11.2
fb34775
Compare
Choose a tag to compare

What's Changed

New Features (ENH)

Bug Fixes (BUG)

Developer Experience (DEV)

  • Link 'Full Changelog' automatically
  • Modify read_string_from_stream to a benchmark (#1415)
  • Improve error reporting of read_object (#1412) by @pubpub-zz
  • Test Python 3.11 (#1404)
  • Extend Flake8 ignore list (#1410)
  • Use correct pytest markers (#1407)
  • Move project configuration to pyproject.toml (#1382) by @singingwolfboy

Documentation (DOC)

Full Changelog

New Contributors

Full Changelog: 2.11.1...2.11.2

Version 2.11.1, 2022-10-09

09 Oct 10:11
2.11.1
d14f1de
Compare
Choose a tag to compare

What's Changed

Bug Fixes (BUG)

Robustness (ROB)

Documentation (DOC)

  • Remove watermark PageObject declaration as it is already present inside for-loop (#1384) by @cs2sandeep

New Contributors

Full Changelog: 2.11.0...2.11.1