Skip to content

Tags: zodman/pypdf

Tags

3.4.1

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 3.4.1, 2023-02-12

Bug Fixes (BUG):
-  Switch from trimbox to cropbox when merging pages (py-pdf#1622)
-  Text extraction not working with one glyph to char sequence (py-pdf#1620)

Robustness (ROB):
-  Fix 2 cases of "object has no attribute \'indirect_reference\'" (py-pdf#1616)

Testing (TST):
-  Add multiple retry on get_url for external PDF downloads (py-pdf#1626)

[Full Changelog](py-pdf/pypdf@3.4.0...3.4.1)

3.4.0

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
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. It affects
  numbers, e.g. when graphics are drawn on the PDF or very exact positions are
  used. Typically, 5 decimals should be enough.

New Features (ENH)
-  Enable merging forms with overlapping names (py-pdf#1553)
-  Add 'over' parameter to merge_transformend_page & co (py-pdf#1567)

Bug Fixes (BUG)
-  Fix getter of the PageObject.rotation property with an indirect object (py-pdf#1602)
-  Restore merge_transformed_page & co (py-pdf#1567)
-  Replace decimal by float (py-pdf#1563)

Robustness (ROB)
-  PdfWriter.remove_images: /Contents might not be in page_ref (py-pdf#1598)

Developer Experience (DEV)
-  Introduce ruff (py-pdf#1586, py-pdf#1609)

Maintenance (MAINT)
-  Remove decimal (py-pdf#1608)

[Full Changelog](py-pdf/pypdf@3.3.0...3.4.0)

3.3.0

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 3.3.0, 2023-01-22

New Features (ENH):
-  Add page label support to PdfWriter (py-pdf#1558)
-  Accept inline images with space before EI (py-pdf#1552)
-  Add circle annotation support (py-pdf#1556)
-  Add polygon annotation support (py-pdf#1557)
-  Make merging pages produce a deterministic PDF (py-pdf#1542, py-pdf#1543)

Bug Fixes (BUG):
-  Fix error in cmap extraction (py-pdf#1544)
-  Remove erroneous assertion check (py-pdf#1564)
-  Fix dictionary access of optional page label keys (py-pdf#1562)

Robustness (ROB):
-  Set ignore_eof=True for read_until_regex (py-pdf#1521)

Documentation (DOC):
-  Paper size (py-pdf#1550)

Developer Experience (DEV):
-  Fix broken combination of dependencies of docs.txt
-  Annotate tests appropriately (py-pdf#1551)

[Full Changelog](py-pdf/pypdf@3.2.1...3.3.0)

3.2.1

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 3.2.1, 2023-01-08

New Features (ENH):
-  Accept hierarchical fields (py-pdf#1529)

Documentation (DOC):
-  Use google style docstrings (py-pdf#1534)
-  Fix linked markdown documents (py-pdf#1537)

Developer Experience (DEV):
-  Update docs config (py-pdf#1535)

[Full Changelog](py-pdf/pypdf@3.2.0...3.2.1)

3.2.0

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 3.2.0, 2022-12-31

Performance Improvement (PI)
-  Help the specializing adpative interpreter (py-pdf#1522)

New Features (ENH):
-  Add support for page labels (py-pdf#1519)

Bug Fixes (BUG):
-  upgrade clone_document_root (py-pdf#1520)

3.1.0

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 3.1.0, 2022-12-23

Move PyPDF2 to pypdf (py-pdf#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.

[Full Changelog](py-pdf/pypdf@3.0.0...3.1.0)

3.0.0

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 3.0.0, 2022-12-22

BREAKING CHANGES:
-  Deprecate features with PyPDF2==3.0.0 (py-pdf#1489)
-  Refactor Fit / Zoom parameters (py-pdf#1437)

New Features (ENH):
-  Add Cloning  (py-pdf#1371)
-  Allow int for indirect_reference in PdfWriter.get_object (py-pdf#1490)

Documentation (DOC):
-  How to read PDFs from S3 (py-pdf#1509)
-  Make MyST parse all links as simple hyperlinks (py-pdf#1506)
-  Changed 'latest' for 'stable' generated docs (py-pdf#1495)
-  Adjust deprecation procedure (py-pdf#1487)

Maintenance (MAINT):
-  Use typing.IO for file streams (py-pdf#1498)

[Full Changelog](py-pdf/pypdf@2.12.1...3.0.0)

2.12.1

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 2.12.1, 2022-12-10

Documentation (DOC)
-  Deduplicate extract_text docstring (py-pdf#1485)
-  How to cite PyPDF2 (py-pdf#1476)

Maintenance (MAINT)
  Consistency changes:
  -  indirect_ref/ido ➔ indirect_reference, dest➔ page_destination (py-pdf#1467)
  -  owner_pwd/user_pwd ➔ owner_password/user_password (py-pdf#1483)
  -  position ➜ page_number in Merger.merge (py-pdf#1482)
  -  indirect_ref ➜ indirect_reference (py-pdf#1484)

2.12.0

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 2.12.0, 2022-12-10

New Features (ENH):
-  Add support to extract gray scale images (py-pdf#1460)
-  Add 'threads' property to PdfWriter (py-pdf#1458)
-  Add 'open_destination' property to PdfWriter (py-pdf#1431)
-  Make PdfReader.get_object accept integer arguments (py-pdf#1459)

Bug Fixes (BUG):
-  Scale PDF annotations (py-pdf#1479)

Robustness (ROB):
-  Padding issue with AES encryption (py-pdf#1469)
-  Accept empty object as null objects (py-pdf#1477)

Documentation (DOC):
-  Add module documentation the PaperSize class (py-pdf#1447)

Maintenance (MAINT):
-  Use 'page_number' instead of 'pagenum' (py-pdf#1365)
-  Add List of pages to PageRangeSpec (py-pdf#1456)

Testing (TST):
-  Cleanup temporary files (py-pdf#1454)
-  Mark test_tounicode_is_identity as external (py-pdf#1449)
-  Use Ubuntu 20.04 for running CI test suite (py-pdf#1452)

[Full Changelog](py-pdf/pypdf@2.11.2...2.12.0)

2.11.2

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 2.11.2, 2022-11-20

New Features (ENH):
-  Add remove_from_tree (py-pdf#1432)
-  Add AnnotationBuilder.rectangle (py-pdf#1388)

Bug Fixes (BUG):
-  JavaScript executed twice (py-pdf#1439)
-  ToUnicode stores /Identity-H instead of stream (py-pdf#1433)
-  Declare Pillow as optional dependency (py-pdf#1392)

Developer Experience (DEV):
-  Link 'Full Changelog' automatically
-  Modify read_string_from_stream to a benchmark (py-pdf#1415)
-  Improve error reporting of read_object (py-pdf#1412)
-  Test Python 3.11 (py-pdf#1404)
-  Extend Flake8 ignore list (py-pdf#1410)
-  Use correct pytest markers (py-pdf#1407)
-  Move project configuration to pyproject.toml (py-pdf#1382)

[Full Changelog](py-pdf/pypdf@2.11.1...2.11.2)