2023-11-05 10:26:47 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-pdf: update to 3.17.0.
## Version 3.17.0, 2023-10-29
### Security (SEC)
- Infinite recursion when using PdfWriter(clone_from=reader) (#2264)
### New Features (ENH)
- Add parameter to select images to be removed (#2214)
### Bug Fixes (BUG)
- Correctly handle image mode 1 with FlateDecode (#2249)
- Error when filling a value with parentheses #2268 (#2269)
- Handle empty root outline (#2239)
## Version 3.16.4, 2023-10-10
### Bug Fixes (BUG)
- Avoid exceeding recursion depth when retrieving image mode (#2251)
## Version 3.16.3, 2023-10-08
### Bug Fixes (BUG)
- Invalid cm/tm in visitor functions (#2206)
- Encrypt / decrypt Stream object dictionaries (#2228)
- Support nested color spaces for the /DeviceN color space (#2241)
- Images property fails if NullObject in list (#2215)
### Developer Experience (DEV)
- Unify mypy options and warn redundant workarounds (#2223)
## Version 3.16.2, 2023-09-24
### Bug Fixes (BUG)
- PDF size increases because of too high float writing precision (#2213)
- Fix test_watermarking_reportlab_rendering() (#2203)
## Version 3.16.1, 2023-09-17
⚠️ The 'rename PdfWriter.create_viewer_preference to
PdfWriter.create_viewer_preferences (#2190)' could be a breaking change for you,
if you use it. As it was only introduced last week I'm confident enough that
nobody will be affected though. Hence only the patch update.
### Bug Fixes (BUG)
- Missing new line in extract_text with cm operations (#2142)
- _get_fonts not processing properly CIDFonts and annotations (#2194)
### Maintenance (MAINT)
- Rename PdfWriter.create_viewer_preference to \
PdfWriter.create_viewer_preferences (#2190)
## Version 3.16.0, 2023-09-10
### Security (SEC)
- Infinite recursion caused by IndirectObject clone (#2156)
### New Features (ENH)
- Ease access to ViewerPreferences (#2144)
### Bug Fixes (BUG)
- Catch the case where w[0] is an IndirectObject instead of an int (#2154)
- Cope with indirect objects in filters and remove deprecated code (#2177)
- Accept tabs in cmaps (#2174) / cope with extra space (#2151)
- Merge pages without resources (#2150)
- getcontents() shall return None if contents is NullObject (#2161)
- Fix conversion from 1 to LA (#2175)
### Robustness (ROB)
- Accept XYZ with no arguments (#2178)
|
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).
However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
|
2023-09-07 14:09:13 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pdf: updated to 3.15.5
Version 3.15.5, 2023-09-03
Bug Fixes (BUG)
- Cope with missing /I in articles
- Fix image look-up table in EncodedStreamObject
- remove_images not operating in sub level forms
Robustness (ROB)
- Cope with damaged PDF
Version 3.15.4, 2023-08-27
Performance Improvements (PI)
- Making pypdf as fast as pdfrw
Maintenance (MAINT)
- Relax typing_extensions version
|
2023-08-27 04:57:50 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pdf: updated to 3.15.3
Version 3.15.3, 2023-08-26
Bug Fixes (BUG)
- Check version of crypt provider
- TypeError: can't concat str to bytes
- Require flit_core >= 3.9
Version 3.15.2, 2023-08-20
Security (SEC)
- Avoid endless recursion of reading damaged PDF file
Performance Improvements (PI)
- Re-use content stream
Maintenance (MAINT)
- Make ParseError inherit from PyPdfError
|
2023-08-24 22:05:25 by Thomas Klausner | Files touched by this commit (2) | |
Log message:
py-pdf: update to 3.15.1.
## Version 3.15.1, 2023-08-13
### Performance Improvements (PI)
- optimize _decode_png_prediction (#2068)
### Bug Fixes (BUG)
- Fix incorrect tm_matrix in call to visitor_text (#2060)
- Writing German characters into form fields (#2047)
- Prevent stall when accessing image in corrupted pdf (#2081)
- append() fails when articles do not have /T (#2080)
### Robustness (ROB)
- Cope with xref not followed by separator (#2083)
## Version 3.15.0, 2023-08-06
### New Features (ENH)
- Add `level` parameter to compress_content_streams (#2044)
- Process /uniHHHH for text_extract (#2043)
### Bug Fixes (BUG)
- Fix AnnotationBuilder.link (#2066)
- JPX image without ColorSpace (#2062)
- Added check for field /Info when cloning reader document (#2055)
- Fix indexed/CMYK images (#2039)
### Maintenance (MAINT)
- Cryptography as primary dependency (#2053)
|
2023-08-16 02:38:05 by David H. Gutteridge | Files touched by this commit (1) |
Log message:
py-pdf: this now actually requires flit_core>=3.9
It will fail with anything older. Reported upstream as:
https://github.com/py-pdf/pypdf/pull/2091
|
2023-08-05 09:29:15 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-pdf: updated to 3.14.0
Version 3.14.0, 2023-07-29
New Features (ENH)
- Accelerate image list keys generation
- Use `cryptography` for encryption/decryption as a fallback for PyCryptodome
- Extract LaTeX characters
- ASCIIHexDecode.decode now returns bytes instead of str
Bug Fixes (BUG)
- Add RunLengthDecode filter
- Process /Separation ColorSpace
- Handle single element ColorSpace list
- Process lookup decoded as TextStringObjects
Robustness (ROB)
- Cope with garbage collector during cloning
Maintenance (MAINT)
- Cleanup of annotations
Version 3.13.0, 2023-07-23
New Features (ENH)
- Add is_open in outlines in PdfReader and PdfWriter
Bug Fixes (BUG)
- Search /DA in hierarchy fields
- Cope with different ISO date length
- Decode Black only/CMYK deviceN images
- Process CMYK in deflate images
Developer Experience (DEV)
- Add mypy to pre-commit
- Release automation
|
2023-07-19 14:53:20 by Thomas Klausner | Files touched by this commit (2) | |
Log message:
py-pdf: update to 3.12.2.
## Version 3.12.2, 2023-07-16
### Bug Fixes (BUG)
- Accept calRGB and calGray color_spaces (#1968)
- Process 2bits and 4bits images (#1967)
- Check for AcroForm and ensure it is not None (#1965)
### Developer Experience (DEV)
- Automate the release process (#1970)
|
2023-07-19 13:23:12 by Thomas Klausner | Files touched by this commit (2) | |
Log message:
py-pdf: update to 3.12.1.
## Version 3.12.1, 2023-07-09
### Bug Fixes (BUG)
- Prevent updating page contents after merging page (stamping/watermarking) (#1952)
- % to be hex encoded in names (#1958)
- Inverse color in CMYK images (#1947)
- Dates conversion not working with Z00\'00\' (#1946)
- Support UTF-16-LE Strings (#1884)
|
2023-07-06 00:02:21 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-pdf: update to 3.12.0.
3.12.0
What's Changed
We finally fully support modern cryptography for encrypting and decrypting PDF files.
A big thank you to @exiledkingcc who did this work a while a go 🙏
New Features (ENH)
Add AES support for encrypting PDF files (#1918, #1935, #1936, #1938) by \
@exiledkingcc
Add page deletion feature to PdfWriter (#1843) by @pubpub-zz
Bug Fixes (BUG)
PdfReader.get_fields() attempts to delete non-existing index \
"/Off" (#1933) by @dmjohnsson23
Remove unused objects when cloning_from (#1926) by @pubpub-zz
Add the TK.SIZE into the trailer (#1911) by @talcher
add_named_destination() maintains named destination list sort order (#1930) \
by @robertkearns
3.11.1
Bug Fixes (BUG)
Cascaded filters in image objects (#1913) by @pubpub-zz
Append pdf with named destination using numbers for pages (#1858) by @pubpub-zz
Ignore "/B" fields only on pages in PdfWriter.append() (#1875) by \
@pubpub-zz
|