PyPDF2 v1.27.6 Release Notes

Release Date: 2022-04-18 // about 2 years ago
  • ๐Ÿ—„ Deprecations (DEP)

    • ๐Ÿšš Remove support for Python 2.6 and older (#776)

    ๐Ÿ†• New Features (ENH)

    • Extract document permissions (#320)

    ๐Ÿ› Bug Fixes (BUG)

    • ๐Ÿ”€ Clip by trimBox when merging pages, which would otherwise be ignored (#240)
    • โš  Add overwriteWarnings parameter PdfFileMerger (#243)
    • IndexError for getPage() of decryped file (#359)
    • Handle cases where decodeParms is an ArrayObject (#405)
    • โšก๏ธ Updated PDF fields don't show up when page is written (#412)
    • Set Linked Form Value (#414)
    • Fix zlib -5 error for corrupt files (#603)
    • Fix reading more than last1K for EOF (#642)
    • Acciental import

    Robustness (ROB)

    • Allow extra whitespace before "obj" in readObjectHeader (#567)

    ๐Ÿ“š Documentation (DOC)

    • Link to pdftoc in Sample_Code (#628)
    • Working with annotations (#764)
    • Structure history

    Developer Experience (DEV)

    • Add issue templates (#765)
    • Add tool to generate changelog

    ๐Ÿšง Maintenance (MAINT)

    • Use grouped constants instead of string literals (#745)
    • Add error module (#768)
    • Use decorators for @staticmethod (#775)
    • Split long functions (#777)

    โœ… Testing (TST)

    • ๐Ÿ‘ท Run tests in CI once with -OO Flags (#770)
    • Filling out forms (#771)
    • โœ… Add tests for Writer (#772)
    • Error cases (#773)
    • Check Error messages (#769)
    • โœ… Regression test for issue #88
    • โœ… Regression test for issue #327

    ๐Ÿ’… Code Style (STY)

    • โœ… Make variable naming more consistent in tests

    Full changelog