Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: py-pdf/pypdf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6.6.2
Choose a base ref
...
head repository: py-pdf/pypdf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6.7.0
Choose a head ref
  • 15 commits
  • 51 files changed
  • 4 contributors

Commits on Jan 26, 2026

  1. Configuration menu
    Copy the full SHA
    e844462 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2fedcc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf57294 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13630b2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb84ca5 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2026

  1. DEP: Deprecate support for abbreviations in decode_stream_data (#3617)

    The inline image abbreviations were previously supported in the
    publicly facing `decode_stream_data` function. Doing some analysis
    showed that this support was limited:
    
      * Our own code would always map to the "proper" names beforehand, thus
        we possibly never tested this variant and it has been incomplete.
      * Only abbreviations for the filter names were supported. Already
        using `/F` instead of `/Filter` for the filter names itself or
        specifying `/DP` instead of `/DecodeParams` would fail, as well as
        all other keys from table 91 and 92 of the PDF 2.0 specification.
    
    With this in mind, only external API users might have used this API in
    the full manner, although we never seem to have received specific
    reports about the not supported/mapped parameters. Thus, deprecating the
    abbreviations specific to inline images in this generic function seems
    like the best way to move forward.
    
    While I was working on this to analyze the current behavior, I wrote
    some basic inline image tests for the previously unsupported filter
    abbreviations CCF and DCT (at least in `decode_stream_data`). The new
    abbreviations were added for completeness (although deprecated
    directly), showing that using `PageObject.images` never errored out or
    would run into the deprecation now due to proper mapping in our own
    code.
    stefan6419846 authored Jan 27, 2026
    Configuration menu
    Copy the full SHA
    5d6d7f0 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2026

  1. Configuration menu
    Copy the full SHA
    14ef6b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2026

  1. MAINT: Reduce maximum code complexity to 30 (#3620)

    Closes #3372.
    
    Additionally improves readability and avoids unnecessary exception handling, as well as some side effects due to shadowing variable names in the affected methods which were refactored.
    stefan6419846 authored Jan 29, 2026
    Configuration menu
    Copy the full SHA
    8f1857d View commit details
    Browse the repository at this point in the history
  2. MAINT: Further refactoring of the Font and FontDescriptor classes and…

    … Core Font Metrics (#3606)
    
    ---------
    
    Co-authored-by: Stefan <96178532+stefan6419846@users.noreply.github.com>
    PJBrs and stefan6419846 authored Jan 29, 2026
    Configuration menu
    Copy the full SHA
    f6f8427 View commit details
    Browse the repository at this point in the history
  3. MAINT: Avoid code duplicates for test file directories (#3621)

    Includes some additional refactoring of test utilities.
    stefan6419846 authored Jan 29, 2026
    Configuration menu
    Copy the full SHA
    026e08a View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2026

  1. Configuration menu
    Copy the full SHA
    ecc23d8 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2026

  1. Configuration menu
    Copy the full SHA
    aab6585 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2026

  1. Configuration menu
    Copy the full SHA
    3b94ce8 View commit details
    Browse the repository at this point in the history
  2. ENH: Add ability to add font resources for 14 Adobe Core fonts in tex…

    …t widget annotations (#3624)
    
    We used to overwrite a text appearance stream's resource dictionary
    when we initiated it from an annotation. This would then overwrite
    a font resource if we had previously added it. Make sure that we
    merge our new font resource into the annotation's resources instead.
    PJBrs authored Feb 6, 2026
    Configuration menu
    Copy the full SHA
    cf33a60 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2026

  1. REL: 6.7.0

    ## What's new
    
    ### Deprecations (DEP)
    - Deprecate support for abbreviations in decode_stream_data (#3617) by @stefan6419846
    
    ### New Features (ENH)
    - Add ability to add font resources for 14 Adobe Core fonts in text widget annotations (#3624) by @PJBrs
    
    ### Bug Fixes (BUG)
    - Avoid invalid load for ICCBased FlateDecode images in mode 1 (#3619) by @stefan6419846
    
    ### Robustness (ROB)
    - Fix AESV2 decryption when /Length missing in encrypt dict (#3629) by @dmitry-kostin
    - Fix merging when annotations point to NullObject (#3613) by @stefan6419846
    - Check for `self._info` being None in `compress_identical_objects` (#3612) by @stefan6419846
    
    [Full Changelog](6.6.2...6.7.0)
    stefan6419846 committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    219153e View commit details
    Browse the repository at this point in the history
Loading