Skip to content

9.0.0

Latest
Compare
Choose a tag to compare
@darrenldl darrenldl released this 15 Jan 08:56
· 18 commits to main since this release

Notes:

  • Still some features and fixes in the backlog, and the test suite can use some improvement in its coverage, but won't be able to get to them any time soon. So just going to release this version so people can use it.
  • Have been using this version myself quite extensively, so somewhat battle tested, but there are known issues. Namely if you have Docfd up for a few hours, it freezes sometimes.

  • Swapped over to using SQLite for index

    • Memory usage is much slimmer/stays flat

      • For the sample of 1.4GB worth of PDFs used, after indexing, 9.0.0-rc1 uses
        1.9GB of memory, while 9.0.0-rc2 uses 39MB
    • Search is a bit slower

    • Added token length limit of 500 bytes to accommodate word table limit in index DB

      • This means during indexing, if Docfd encounters a very long token,
        e.g. serial number, long hex string, it will be split into chunks of
        up to 500 bytes
  • Added Ctrl+C exit key binding to key binding info on screen

  • Updated exit keys

    • To exit Docfd: q, Ctrl+Q or Ctrl+C

    • To exit other modes: Esc

  • Now defaults to not scanning hidden files and directories

    • This behaviour is now enabled via the --hidden flag
  • Changed to allow --add-exts and --single-line-add-exts to be specified multiple times

  • Changed return code to be 1 when there are no results for --sample or --search

  • Added --no-pdftotext and --no-pandoc flags

    • Docfd also notes the presence of these flags in error message if there
      are PDF files but no pdftotext command is available, and same with files
      relying on pandoc
  • Renamed drop path command to just drop

  • Added drop unselected key binding, and the associated command drop all except

  • Various key binding help info grid adjustments