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: 3.6.0
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: 3.7.0
Choose a head ref
  • 15 commits
  • 32 files changed
  • 2 contributors

Commits on Mar 19, 2023

  1. Configuration menu
    Copy the full SHA
    31b2fa0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c101389 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e4086e View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. TST: Use fixtures to create files in temporary folders (#1730)

    This change should make tests easier to read and ensure that the cleanup-step cannot be forgotten.
    
    If the test run fails, you can see where the file was written. The file is not directly deleted.
    
    However, if the run does not fail (loudly) but you want to inspect the generated PDF, you have to 'assert False' or similar. That is  harder to figure out than commenting out a Path.unlink() line
    MartinThoma authored Mar 21, 2023
    Configuration menu
    Copy the full SHA
    27d0e99 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Configuration menu
    Copy the full SHA
    0331a7c View commit details
    Browse the repository at this point in the history
  2. ENH: Add clone_from parameter in PdfWriter constructor (#1703)

    This is a shortcut. It is syntactic sugar to prevent users from having to use `clone_document_from_reader`.
    pubpub-zz authored Mar 23, 2023
    Configuration menu
    Copy the full SHA
    0acf949 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2023

  1. ROB: Handle params NullObject in decode_stream_data (#1738)

    Multiple fiters in streams are not using their decodParms
    
    Closes #1737
    
    Co-authored-by: Martin Thoma <info@martin-thoma.de>
    pubpub-zz and MartinThoma authored Mar 25, 2023
    Configuration menu
    Copy the full SHA
    20ebcfd View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. DOC: Project scope (#1743)

    Co-authored-by: pubpub-zz <4083478+pubpub-zz@users.noreply.github.com>
    MartinThoma and pubpub-zz authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    ef203c9 View commit details
    Browse the repository at this point in the history
  2. TST: Add test for #1738 (#1744)

    pubpub-zz authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    3ecdedb View commit details
    Browse the repository at this point in the history
  3. ENH: Add AnnotationBuilder.popup (#1665)

    Fixes #1195
    
    See #107
    pubpub-zz authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    4fc0040 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3da3b25 View commit details
    Browse the repository at this point in the history
  5. MAINT: Add AnnotationFlag (#1746)

    BUG: /Flags should have been /F - typo. Was never released, though.
    MartinThoma authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    b0d92b3 View commit details
    Browse the repository at this point in the history
  6. SEC: Use secrets instead of random (#1748)

    The implication of this is that PDFs which were encrypted with pypdf before might be less secure than they should be.
    
    It's unclear to me if "less secure" means "insecure" or if it's just a theoretical advantage.
    MartinThoma authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    c75bb16 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2205e9f View commit details
    Browse the repository at this point in the history
  8. REL: 3.7.0

    Security (SEC):
    -  Use Python's secrets module instead of random module (#1748)
    
    New Features (ENH):
    -  Add AnnotationBuilder.highlight text markup annotation (#1740)
    -  Add AnnotationBuilder.popup (#1665)
    -  Add AnnotationBuilder.polyline annotation support (#1726)
    -  Add clone_from parameter in PdfWriter constructor (#1703)
    
    Bug Fixes (BUG):
    -  'DictionaryObject' object has no attribute 'indirect_reference' (#1729)
    
    Robustness (ROB):
    -  Handle params NullObject in decode_stream_data (#1738)
    
    Documentation (DOC):
    -  Project scope (#1743)
    
    Maintenance (MAINT):
    -  Add AnnotationFlag (#1746)
    -  Add LazyDict.__str__ (#1727)
    
    [Full Changelog](3.6.0...3.7.0)
    MartinThoma committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    050bca6 View commit details
    Browse the repository at this point in the history
Loading