./textproc/py-pdf, Pure-python PDF library

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 6.9.2, Package name: py313-pdf-6.9.2, Maintainer: pkgsrc-users

pypdf is a free and open-source pure-python PDF library capable of
splitting, merging, cropping, and transforming the pages of PDF
files. It can also add custom data, viewing options, and passwords
to PDF files. pypdf can retrieve text and metadata from PDFs as
well.


Master sites:

Filesize: 5187.341 KB

Version history: (Expand)


CVS history: (Expand)


   2026-03-29 20:21:42 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-pdf: update to 6.9.2.

## Version 6.9.2, 2026-03-23

### Security (SEC)
- Avoid infinite loop in read_from_stream for broken files (#3693)

### Robustness (ROB)
- Resolve UnboundLocalError for xobjs in _get_image (#3684)
   2026-03-22 08:10:40 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-pdf: update to 6.9.1.

Security fix.

## Version 6.9.1, 2026-03-17

### Security (SEC)
- Improve performance and limit length of array-based content streams (#3686)

[Full Changelog](https://github.com/py-pdf/pypdf/compare/6.9.0...6.9.1)

## Version 6.9.0, 2026-03-15

### New Features (ENH)
- Expose /Perms verification result on Encryption object (#3672)

### Performance Improvements (PI)
- Fix O(n²) performance in NameObject read/write (#3679)
- Batch-parse all objects in ObjStm on first access (#3677)

### Bug Fixes (BUG)
- Avoid sharing array-based content streams between pages (#3681)
- Avoid accessing invalid page when inserting blank page under some conditions \ 
(#3529)

[Full Changelog](https://github.com/py-pdf/pypdf/compare/6.8.0...6.9.0)
   2026-03-11 11:38:32 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pdf: updated to 6.8.0

6.8.0, 2026-03-09

Security (SEC)
- Limit allowed `/Length` value of stream

New Features (ENH)
- Add /IRT (in-reply-to) support for markup annotations

Documentation (DOC)
- Avoid using `PageObject.replace_contents` on PdfReader
- Document how to disable jbig2dec calls
   2026-03-02 12:42:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pdf: updated to 6.7.5

6.7.5
Security (SEC)
- Improve the performance of the ASCIIHexDecode filter
   2026-03-01 09:49:43 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-pdf: update to 6.7.4.

## Version 6.7.4, 2026-02-27

### Security (SEC)
- Allow limiting output length for RunLengthDecode filter (#3664)

### Robustness (ROB)
- Deal with invalid annotations in extract_links (#3659)
   2026-02-24 20:42:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pdf: updated to 6.7.3

6.7.3

Security (SEC)
- Use zlib decompression limit when retrieving XFA data

6.7.2

Security (SEC)
- Prevent infinite loop from circular xref /Prev references

Bug Fixes (BUG)
- Fix wrong LUT size error
- Fix handling of page boxes defined on `/Pages`
   2026-02-18 10:27:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pdf: updated to 6.7.1

6.7.1, 2026-02-17

Security (SEC)
- Detect cyclic references when accessing TreeObject.children
- Limit size of `/ToUnicode` entries
- Limit FlateDecode recovery attempts

Bug Fixes (BUG)
- Avoid own object replacement logic in `PageObject.replace_contents`
- Fix UnboundLocalError when update_page_form_field_values with /Sig

Robustness (ROB)
- Avoid divison by zero when decoding FlateDecode PNG prediction
   2026-02-13 13:13:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pdf: updated to 6.7.0

Version 6.7.0, 2026-02-08

Deprecations (DEP)
- Deprecate support for abbreviations in decode_stream_data

New Features (ENH)
- Add ability to add font resources for 14 Adobe Core fonts in text widget \ 
annotations

Bug Fixes (BUG)
- Avoid invalid load for ICCBased FlateDecode images in mode 1

Robustness (ROB)
- Fix AESV2 decryption when /Length missing in encrypt dict
- Fix merging when annotations point to NullObject
- Check for `self._info` being None in `compress_identical_objects`