Skip to content

Tags: arbitrarygit/pypdf

Tags

4.1.0

Toggle 4.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 4.1.0, 2024-03-03

## What's new

### New Features (ENH)
-  Add get_pages_from_field  (py-pdf#2494) by @pubpub-zz
-  Add reattach_fields function (py-pdf#2480) by @pubpub-zz
-  Automatic access to pointed object for IndirectObject (py-pdf#2464) by @pubpub-zz

### Bug Fixes (BUG)
-  missing error on name without leading / (py-pdf#2387) by @Rak424
-  encode_pdfdocencoding() always returns bytes (py-pdf#2440) by @sbourlon
-  BI in text content identified as image tag (py-pdf#2459) by @pubpub-zz

### Robustness (ROB)
-  Missing basefont entry in type 3 font (py-pdf#2469) by @pubpub-zz

### Documentation (DOC)
-  Amend robustness documentation (py-pdf#2479) by @j-t-1

### Developer Experience (DEV)
-  Fix changelog for UTF-8 characters (py-pdf#2462) by @stefan6419846

### Maintenance (MAINT)
-  Add _get_page_number_from_indirect in writer (py-pdf#2493) by @pubpub-zz
-  Remove user assignment for feature requests (py-pdf#2483) by @stefan6419846
-  Remove reference to old 2.0.0 branch (py-pdf#2482) by @stefan6419846

### Testing (TST)
-  Fix benchmark failures (py-pdf#2481) by @stefan6419846
-  Resolve file naming conflict in test_iss1767 (py-pdf#2445) by @sbourlon

[Full Changelog](py-pdf/pypdf@4.0.2...4.1.0)

4.0.2

Toggle 4.0.2's commit message

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 4.0.2, 2024-02-18

## What's new

### Bug Fixes (BUG)
-  Use NumberObject for /Border elements of annotations (py-pdf#2451) by @rsinger417

### Documentation (DOC)
-  Document easier way to update metadata (py-pdf#2454) by @stefan6419846
-  Typo `Polyline` \xe2\x86\x92 `PolyLine` in adding-pdf-annotations.md (py-pdf#2426) by @CWKSC

### Developer Experience (DEV)
-  Bump codecov/codecov-action from 3 to 4 (py-pdf#2430) by @dependabot[bot]

### Testing (TST)
-  Avoid catching not emitted warnings (py-pdf#2429) by @stefan6419846

[Full Changelog](py-pdf/pypdf@4.0.1...4.0.2)

4.0.1

Toggle 4.0.1's commit message

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 4.0.1, 2024-01-28

## What's new

### Bug Fixes (BUG)
-  layout mode text extraction ZeroDivisionError (py-pdf#2417) by @shartzog

### Testing (TST)
-  Skip tests using fpdf2 if it\'s not installed (py-pdf#2419) by @MartinThoma

[Full Changelog](py-pdf/pypdf@4.0.0...4.0.1)

4.0.0

Toggle 4.0.0's commit message

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
Version 4.0.0, 2024-01-19

## What's new

pypdf==4.0.0 is a big milestone forward:

* We finally have a layout-mode text extraction.
    This enables users who want to detect / extract tables
    with heuristics to give it a try.
* We deprecated a lot of the old PyPDF2 API that was either
    not following PEP8 naming styles or was not using a
    property. Users comming from PyPDF2 might want to switch
    first to pypdf<4.0.0 to get helpful error messages
    that show the new API in their speicific cases.

A big 'Thank you!' the the whole pypdf community for your
work. Thanks to you, pypdf is better than ever.

Kudos to @shartzog who added the layout-mode with his first
contribution!

### Deprecations (DEP)
-  Drop Python 3.6 support (py-pdf#2369) by @MartinThoma
-  Remove deprecated code (py-pdf#2367) by @MartinThoma
-  Remove deprecated XMP properties (py-pdf#2386) by @stefan6419846

### New Features (ENH)
-  Add "layout" mode for text extraction (py-pdf#2388) by @shartzog
-  Add Jupyter Notebook integration for PdfReader (py-pdf#2375) by @MartinThoma
-  Improve/rewrite PDF permission retrieval (py-pdf#2400) by @stefan6419846

### Bug Fixes (BUG)
-  PdfWriter.add_uri was setting the wrong type (py-pdf#2406) by @pmiller66
-  Add support for GBK2K cmaps (py-pdf#2385) by @stefan6419846

### Documentation (DOC)
-  Add pmiller66 for py-pdf#2406 as a contributor by @MartinThoma
-  Add missing expand parameter (py-pdf#2393) by @Atomnp
-  Resolve build warnings (py-pdf#2380) by @stefan6419846
-  Fix testing prerequisites (py-pdf#2381) by @stefan6419846
-  Improve formatting of contributors page (py-pdf#2383) by @stefan6419846
-  Add Tobeabellwether as a contributor for py-pdf#2341 by @MartinThoma

### Developer Experience (DEV)
-  Make dependabot aware of our PR prefixes (py-pdf#2415) by @stefan6419846
-  Fail on Sphinx issues (py-pdf#2405) by @stefan6419846
-  Move title check to own workflow (py-pdf#2384) by @MasterOdin
-  Write to temporary files instead of the working directory (py-pdf#2379) by @stefan6419846
-  Ensure that the PR titles have the correct format (py-pdf#2378) by @stefan6419846

### Maintenance (MAINT)
-  Return None instead of -1 when page is not attached (py-pdf#2376) by @MartinThoma
-  Complete FileSpecificationDictionaryEntries constants (py-pdf#2416) by @MartinThoma
-  Replace warning with logging.error (py-pdf#2377) by @MartinThoma

### Testing (TST)
-  Add missing pytest.mark.samples annotations (py-pdf#2412) by @kitterma
-  Correctly close temporary files (py-pdf#2396) by @stefan6419846
-  Fix  side effect py-pdf#2379 (py-pdf#2395) by @pubpub-zz
-  Add test for layout extraction mode (py-pdf#2390) by @MartinThoma

### Code Style (STY)
-  Use the UserAccessPermissions enum (py-pdf#2398) by @MartinThoma
-  Run black (py-pdf#2370) by @MartinThoma

[Full Changelog](py-pdf/pypdf@3.17.4...4.0.0)

3.17.4

Toggle 3.17.4's commit message

Verified

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

## What's new

### Bug Fixes (BUG)
-  Handle IndirectObject as image filter (py-pdf#2355) by @stefan6419846

### Documentation (DOC)
-  Quote specs in generate_file_identifiers (py-pdf#2363) by @exiledkingcc
-  Notes about form fields and annotations (py-pdf#1945) by @dmjohnsson23
-  Notes about update_page_form_field_values(auto_regenerate) (py-pdf#2359) by @dmjohnsson23
-  Fix stamping example (py-pdf#2358) by @dmjohnsson23
-  Stamp images directly on a PDF (py-pdf#2357) by @dmjohnsson23
-  Correct the example of adding highlight annotation (py-pdf#2341) by @Tobeabellwether

### Maintenance (MAINT)
-  Update upload-artifact and download-artifact actions from v3 to v4 (py-pdf#2352) by @stefan6419846

### Testing (TST)
-  Add xfail test for py-pdf#2336 (py-pdf#2365) by @MartinThoma
-  Increase test coverage for flate handling of image mode 1 (py-pdf#2339) by @stefan6419846

### Code Style (STY)
-  File identifier generation restructuring (py-pdf#2362) by @exiledkingcc
-  Add PdfWriter._ID attribute (py-pdf#2361) by @exiledkingcc
-  Variable naming convention (py-pdf#2360) by @MartinThoma

[Full Changelog](py-pdf/pypdf@3.17.3...3.17.4)

3.17.3

Toggle 3.17.3's commit message

Verified

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

## What's new

### Robustness (ROB)
-  Out-of-bounds issue in handle_tj (text extraction) (py-pdf#2342) by @rgwood-rely

### Developer Experience (DEV)
-  Make make_release.py easier to configure (py-pdf#2348) by @MartinThoma

### Maintenance (MAINT)
-  Bump actions/download-artifact from 3 to 4 (py-pdf#2344) by @dependabot[bot]

[Full Changelog](py-pdf/pypdf@3.17.2...3.17.3)

3.17.2

Toggle 3.17.2's commit message

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
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)

3.17.1

Toggle 3.17.1's commit message

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
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)

3.17.0

Toggle 3.17.0's commit message

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
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)

3.16.4

Toggle 3.16.4's commit message

Verified

This tag was signed with the committer’s verified signature.
MartinThoma Martin Thoma
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)