Skip to content

v4.1.0

Compare
Choose a tag to compare
@mrossinek mrossinek released this 11 Jun 11:22
· 572 commits to master since this release
9a58966

[4.1.0] - 2023-06-11

Pypi: https://pypi.org/project/cobib/4.1.0/

Added

  • added the following settings which specify whether or not to preserve
    associated files during the respective commands being run:
    • config.commands.delete.preserve_files
    • config.commands.edit.preserve_files
    • config.commands.modify.preserve_files
  • added a confirmation prompt before deleting an entry (#110)
    • this prompt can be disabled by setting config.commands.delete.confirm to False
  • added the --no-ignore-case (-I for short) command line options to the
    list and search command (#116)
  • added the --no-preserve-files command line options to the delete, edit
    and modify command (#116)
  • added the config.commands.search.context setting which configures the
    default number of context lines to be provided for search query matches
  • added more options to configure the automatic download behavior:
    • the new config.commands.add.skip_download setting
    • the new --force-download option of the add command
    • the new config.commands.import_.skip_download setting
    • the new --force-download option of the import command
  • the user is asked for confirmation when quitting the TUI (!71)

Changed

  • refactored the TUI by leveraging textual's Screen concept (#111,!71)
    • this means the TUI will look slightly different but no real functional change has occurred
    • the view of an Entry can now be scrolled when the output exceeds the available space
  • switched from the BeautifulSoup HTML parser to lxml
    • this is supposed to give more accurate results but adds an extra dependency

Deprecated

  • The following shell helpers are no longer used with the zsh completion being
    removed. Thus, these methods will be removed in the future:
    • cobib _list_commands
    • cobib _list_filters
    • cobib _list_labels
    • If you see warnings because of this while you are using the CLI, you
      probably still have the (now removed) zsh completion script installed. You
      should remove the _cobib file which will be located in one of the
      directories listed in your $FPATH environment variable.

Fixed

  • the proper pre-population of the TUI prompt during the sorting action (#117)
  • preserves the value of config.commands.list_.default_columns and
    properly removes a field if it is no longer sorted by in the TUI (#117)
  • properly updates the list of entries in the TUI after changing the database contents;
    for example via add (#113) or delete (#113) or edit (#118)
  • an issue where file-accessing operations performed on a newly added entry within
    the same TUI session would fail because the path would not be iterated correctly
  • the live updating of the download progress bar inside the TUI (#112)

Removed

  • the crude and very slow zsh completion script