Tags: commit-0/pypdf
Tags
Version 3.17.2, 2023-12-10 ## What's new ### Bug Fixes (BUG) - Cope with deflated images with CMYK Black Only (py-pdf#2322) by @pubpub-zz - Handle indirect objects as parameters for CCITTFaxDecode (py-pdf#2307) by @stefan6419846 - check words length in _cmap type1_alternative function (py-pdf#2310) by @Takher ### Robustness (ROB) - Relax flate decoding for too many lookup values (py-pdf#2331) by @stefan6419846 - Let _build_destination skip in case of missing /D key (py-pdf#2018) by @nickryand ### Documentation (DOC) - Note in reading form data (py-pdf#2338) by @MartinThoma - Pull Request prefixes and size by @MartinThoma - Add https://github.com/zuypt for py-pdf#2325 as a contributor by @MartinThoma - Fix docstring for RunLengthDecode.decode (py-pdf#2302) by @stefan6419846 ### Maintenance (MAINT) - Enable `disallow_any_generics` and add missing generics (py-pdf#2278) by @nilehmann ### Testing (TST) - Centralize file downloads (py-pdf#2324) by @MartinThoma ### Code Style (STY) - Fix typo "steam" \xe2\x86\x92 "stream" (py-pdf#2327) by @stefan6419846 - Run black by @MartinThoma - Make Traceback in bug report template uppercase (py-pdf#2304) by @stefan6419846 [Full Changelog](py-pdf/pypdf@3.17.1...3.17.2)
Version 3.17.1, 2023-11-14 ## What's new ### Bug Fixes (BUG) - Mediabox expansion size when applying non-right angle rotation (py-pdf#2282) by @MrinalJain17 ### Robustness (ROB) - MissingWidth is IndirectObject (py-pdf#2288) by @MartinThoma - Initialize states array with an empty value (py-pdf#2280) by @alexey-v-paramonov ### Documentation (DOC) - Typo in example in extract-attachments.md (py-pdf#2285) by @ageitgey - Add Alexey Paramonov as a contributor for py-pdf#2280 by @MartinThoma ### Maintenance (MAINT) - Update sample-files by @MartinThoma [Full Changelog](py-pdf/pypdf@3.17.0...3.17.1)
Version 3.17.0, 2023-10-29 ## What's new ### Security (SEC) - Infinite recursion when using PdfWriter(clone_from=reader) (py-pdf#2264) by @Alexhuszagh ### New Features (ENH) - Add parameter to select images to be removed (py-pdf#2214) by @pubpub-zz ### Bug Fixes (BUG) - Correctly handle image mode 1 with FlateDecode (py-pdf#2249) by @stefan6419846 - Error when filling a value with parentheses py-pdf#2268 (py-pdf#2269) by @KanorUbu - Handle empty root outline (py-pdf#2239) by @pubpub-zz ### Documentation (DOC) - Improve merging docs (py-pdf#2247) by @stefan6419846 ### Developer Experience (DEV) - Test Python 3.7 with cryptopgraphy provider as well (py-pdf#2276) by @stefan6419846 - Run CI with windows-latest (py-pdf#2258) by @MartinThoma - Use pytest-xdist (py-pdf#2254) by @MartinThoma - Attribute correct authors in the release notes (py-pdf#2246) by @stefan6419846 ### Maintenance (MAINT) - Apply pre-commit hooks (py-pdf#2277) by @MartinThoma - Update requirements + mypy fixes (py-pdf#2275) by @MartinThoma - Explicitly provide Any for IO generic argument (py-pdf#2272) by @nilehmann ### Testing (TST) - Fix test_image_without_pillow in windows environment (py-pdf#2257) by @pubpub-zz ### Code Style (STY) - Remove unused import by @MartinThoma [Full Changelog](py-pdf/pypdf@3.16.4...3.17.0)
Version 3.16.4, 2023-10-10 ## What's new ### Bug Fixes (BUG) - Avoid exceeding recursion depth when retrieving image mode (py-pdf#2251) by @stefan6419846 ### Maintenance (MAINT) - Bump sample-files by @MartinThoma [Full Changelog](py-pdf/pypdf@3.16.3...3.16.4)
Version 3.16.3, 2023-10-08 ## What's new ### Bug Fixes (BUG) - invalid cm/tm in visitor functions (py-pdf#2206) by @pubpub-zz - Encrypt / decrypt Stream object dictionaries (py-pdf#2228) by @pilotandy - Support nested color spaces for the /DeviceN color space (py-pdf#2241) by @Stefan - images property fails if NullObject in list (py-pdf#2215) by @pubpub-zz ### Robustness (ROB) - XYZ destination to cope with missing left and top param (py-pdf#2237) by @pubpub-zz ### Documentation (DOC) - Add pilotandy for py-pdf#2228 as a contributor by @MartinThoma - Link to CONTRIBUTING.md in README.md (py-pdf#2232) by @markpfeifle - Changelog by @MartinThoma ### Developer Experience (DEV) - Exclude tests from mypy checks by @MartinThoma - Unify mypy options and warn redundant workarounds (py-pdf#2223) by @exiledkingcc - Stabilize Pillow test with Pillow missing (py-pdf#2229) by @Stefan ### Maintenance (MAINT) - Update pinned packages (py-pdf#2243) by @MartinThoma ### Testing (TST) - Regression test against non-deterministic accidental object reuse (py-pdf#2244) by @MartinThoma [Full Changelog](py-pdf/pypdf@3.16.2...3.16.3)
Version 3.16.2, 2023-09-24 ## What's new ### Bug Fixes (BUG) - PDF size increases because of too high float writing precision (py-pdf#2213) by @pubpub-zz - Fix test_watermarking_reportlab_rendering() (py-pdf#2203) by @LucasCimon ### Documentation (DOC) - Fix typos and add a paragraph to ViewerPreferences docs (py-pdf#2199) by @marcstober - How to install pypi from any branch (py-pdf#2209) by @pubpub-zz - Update copyright footer in docs (py-pdf#2207) by @marcstober ### Developer Experience (DEV) - Let dependabot update Github Actions by @MartinThoma ### Maintenance (MAINT) - Update .pre-commit-config.yaml by @MartinThoma [Full Changelog](py-pdf/pypdf@3.16.1...3.16.2)
Version 3.16.1, 2023-09-17 ## What's new ### Bug Fixes (BUG) - Missing new line in extract_text with cm operations (py-pdf#2142) by @pubpub-zz - _get_fonts not processing properly CIDFonts and annotations (py-pdf#2194) by @pubpub-zz ### Documentation (DOC) - Sort list of contributors by @MartinThoma ### Developer Experience (DEV) - Give attribution in release notes (py-pdf#2196) by @MartinThoma ### Maintenance (MAINT) - Update packages (py-pdf#2195) by @MartinThoma - Rename PdfWriter.create_viewer_preferences to PdfWriter.create_viewer_preferences (py-pdf#2190) by @marcstober - Mark `cryptography` as default (py-pdf#2186) by @exiledkingcc ### Testing (TST) - Issue with merging pdfkit (py-pdf#2191) by @MartinThoma ### Code Style (STY) - clean-up overriden variable (py-pdf#2189) by @pubpub-zz [Full Changelog](py-pdf/pypdf@3.16.0...3.16.1)
Version 3.16.0, 2023-09-10 ## What's new ### Security (SEC) - Infinite recursion caused by IndirectObject clone (py-pdf#2156) ### New Features (ENH) - Ease access to ViewerPreferences (py-pdf#2144) ### Bug Fixes (BUG) - catch the case where w[0] is an IndirectObject instead of an int (py-pdf#2154) - Cope with indirect objects in filters and remove deprecated code (py-pdf#2177) - Cope with extra space (py-pdf#2151) - Merge pages without resources (py-pdf#2150) - getcontents() shall return None if contents is NullObject (py-pdf#2161) - Fix conversion from 1 to LA (py-pdf#2175) - Accept tabs in cmaps (py-pdf#2174) ### Robustness (ROB) - Accept XYZ with no arguments (py-pdf#2178) ### Documentation (DOC) - Mention pdfly on frontpage of docs (py-pdf#2183) - Cross-link pdfly (py-pdf#2184) - Typos in ViewerPreferences docstrings (py-pdf#2169) ### Code Style (STY) - Apply ruff rule N806 for some file (py-pdf#2149) - Move functions within _xobj_to_image to a private module (py-pdf#2182) [Full Changelog](py-pdf/pypdf@3.15.5...3.16.0)
Version 3.15.5, 2023-09-03 ## What's new ### Bug Fixes (BUG) - Cope with missing /I in articles (py-pdf#2134) - Fix image look-up table in EncodedStreamObject (py-pdf#2128) - remove_images not operating in sub level forms (py-pdf#2133) ### Robustness (ROB) - Cope with damaged PDF (py-pdf#2129) ### Documentation (DOC) - How to take ownership (py-pdf#2123) ### Developer Experience (DEV) - Download PDFs before executing the tests to not run into timeouts (py-pdf#2143) - Add workflow_dispatch to CI (py-pdf#2145) - Automatically create release message / tag message (py-pdf#2127) - Ensure the REL commit message is consistently created (py-pdf#2126) ### Testing (TST) - Add test for correct rendering of watermarks (py-pdf#2130) [Full Changelog](py-pdf/pypdf@3.15.4...3.15.5)
Version 3.15.4, 2023-08-27 ## What's new ### Performance Improvements (PI) - Making pypdf as fast as pdfrw (py-pdf#2086) ### Maintenance (MAINT) - Relax typing_extensions version (py-pdf#2104) [Full Changelog](py-pdf/pypdf@3.15.3...3.15.4)