Skip to content

Releases: 0xabu/pdfannots

Version 0.5

08 Jan 11:09
Compare
Choose a tag to compare

Added/Changed

  • Additional fields in JSON output:
  • Markdown output features:
    • Grouping highlights by color by @linozen in #79
    • --no-page-labels switch to ignore page labels in #82
  • --page-number-offset to change page numbers by @gvtulder in #90
  • Caret annotation support (caret for insertion, strikeout + caret for replacement) in #102, #105, #107

Fixed

  • ASCII escaping of JSON in a utf-8 encoded file in #85
  • Whitespace in strikeout context in #95
  • Avoided a buggy pdfminer release in #101
  • Improved page sequence calculation for annotations on the same line in #103
  • Misc fixes in #104

Removed

  • Python 3.7 support #93

Thanks

Full Changelog: v0.4...v0.5

Version 0.4

30 Mar 14:07
Compare
Choose a tag to compare

Added/Changed

  • Python 3.11 support (#71)
  • Markdown output for deletions from HTML <del>foo</del> to ~~foo~~ (#69)
  • Minor usability improvements with Skim PDF (#70)
  • New pdfminer, with type annotations and page labels (#56, #57)

Fixed

  • TypeError: '>=' not supported between instances of 'PSKeyword' and 'float' (#58)
  • Outlines without x/y coordinates (#55)
  • Outlines whose destination is a PDFObjRef (#72)

Removed

  • Support for Python 3.6 (#45)

Full Changelog: v0.3...v0.4

Version 0.3

08 Jan 01:06
Compare
Choose a tag to compare

This will be the last release to support Python 3.6.

Added

  • Support for "Square" and "FreeText" annotation types (#46, #50)

Fixed

  • Assertion failure on PDF pages with only an LTFigure and no LTTextBox/Line components (#48)
  • Spurious warnings for unsupported "Popup" annotations

Version 0.2

13 Nov 06:23
Compare
Choose a tag to compare

New features:

  • Strikeout annotations are rendered using surrounding context for the deletion.
  • Document layout is now inferred by default from pdfminer, --cols remains only as a fallback/override.
  • Support for alternative page numbers, when present in the PDF.
  • JSON output format, as an alternative to Markdown.
  • --keep-hyphens option.
  • Command-line options for custom layout analysis parameters.

Internal improvements:

  • Significant refactoring.
  • Type annotations.
  • Added support for pluggable output formats.

Fixed:

  • #42 crash on annotations with broken references
  • #44 UTF8 output on Windows

Version 0.1

13 Aug 22:15
Compare
Choose a tag to compare

This is the first "official" release of pdfannots. Binaries are available from PyPI, or:

pip install pdfannots