v1.12.0

laurent22/joplinv1.12.0Jul 30, 2024by adbar

AI Summary

Focused on improving extraction accuracy and speed while fixing several bugs in CLI, image handling, and XML-TEI output formatting.

Key Highlights

  • Enforced a fixed list of output formats in the CLI, deprecating the `-out` flag
  • Improved extraction accuracy by reviewing link and structure checks
  • Fixed `MemoryError` and `ValueError` during table conversion to text
  • Fixed image handling to use a length threshold on the `src` attribute

Breaking Changes

  • Enforced fixed list of output formats; deprecated `-out` on the CLI

New Features

  • Improved extraction accuracy and fallback mechanisms
  • Fixed XML-TEI output by replacing RelaxNG with DTD
  • Fixed CLI markdown formatting triggering `include_formatting`

Full Release Notes

Breaking change:
- enforce fixed list of output formats, deprecate `-out` on the CLI (#647)

Faster, more accurate extraction:
- review link and structure checks (#653)
- improve justext fallback (#652)
- baseline: prevent LXML error in JSON-LD (#643), do not use as backup extraction (#646)
- review XPaths for undesirable content (#645)

Bugfixes and maintenance:
- CLI fix: markdown format should trigger `include_formatting` (#649)
- images fix: use a length threshold on src attribute (#654)
- XML-TEI: replace RelaxNG by DTD, remove pickle, and update (#655)
- formatting & markdown fix: add newlines (#656)
- table fix: prevent `MemoryError` & `ValueError` during conversion to text (#658)

Documentation:
- update `crawls.rst`: `known` is an unexpected argument, by @tommytyc in #638