Skip to content

Releases: greenbone/autohooks

autohooks 22.8.1

16 Aug 10:05
Compare
Choose a tag to compare

22.8.1 - 2022-08-16

Added

  • Add a sphinx based documentation #340 25e65c2
  • Add new development dependencies for docs with sphinx 9dd0857
  • New CLI autohooks plugins for handling plugins #347 2ce2ba8
  • Add new CLI to add, remove and list autohooks plugins 54173b7
  • Easier setup by writing the settings during activation #345 5f352a8
  • Introduce a new from_dict method for AutohooksConfig db8783b
  • Introduce new dataclass for storing the autohooks settings 534b9e4
  • Add new testing function for writing content to a temporary file 045d9ac

Removed

  • Drop is_autohooks_enabled method from AutohooksConfig 029826c

Changed

  • Extract checking a plugin for validity to a separate function 7d92bdd
  • Raise a warning if activate is run with installed hook (#346) 10c3d14
  • autohooks activate CLI will now write the settings too 4cbe779
  • Refactor AutohooksConfig to use AutohooksSettings e28d990
  • Merge BaseToolConfig into AutohooksConfig 8a318e0

autohooks 22.8.0

02 Aug 12:07
Compare
Choose a tag to compare

22.8.0 - 2022-08-02

Added

  • Add an example for reporting progress to README f99c218
  • Add gif of using autohooks in the console to README b4556c1
  • Use rich library for improved UI #334 3c44e2a
  • Allow plugins to report a progress 2e80991
  • Implement rich progress class for displaying plugin progress 1fee198
  • Add rich as direct dependency 1d8de57

Changed

  • Update README to reflect new report_progress plugin argument 9f6f7e0
  • Use up-to-date build system for poetry in pyproject.toml 6e1bcc9

autohooks 22.7.2

06 Jul 09:05
Compare
Choose a tag to compare

22.7.2 - 2022-07-06

Bug Fixes

  • Update to terminal API from pontos 22.7.0 9797575

autohooks 22.7.1

06 Jul 06:48
Compare
Choose a tag to compare

22.7.1 - 2022-07-06

Changed

  • Mark autohooks as stable 7b3c443
  • Make autohooks API independent of pontos 882f80a
  • Update dependencies and only list direct dependencies 673c0c3

autohooks 22.7.0

05 Jul 08:24
Compare
Choose a tag to compare

22.7.0 - 2022-07-05

Added

  • Improve test coverage for plugin git API #295 1a611da

Changed

  • Remove direct dependency on packaging d28f86a
  • Update unstashing with applied changes in stash_unstaged_changes db2ae8d
  • Introduce stage_files API and deprecate stage_files_from_status_list 095b1a4
  • Use pontos terminal (#292) 622a8ab

autohooks 21.7.0

19 Jul 12:49
Compare
Choose a tag to compare

21.7.0 - 2021-07-19

Changed

  • Using Path.cwd() instead of os.environ['PWD'], to make autohooks more reliable for windows. #165

autohooks 21.6.0

13 Jun 11:36
Compare
Choose a tag to compare

21.6.0 - 2021-06-13

Fixed

  • Fix getting a value from the config with tomlkit >= 0.7.1 #132

autohooks 21.3.0

29 Mar 15:08
v21.3.0
18b780b
Compare
Choose a tag to compare

21.3.0 - 2021-03-29

Added

  • CI tests Python 3.9 now. #97

Deprecated

  • Dropped Python 3.5 and Python 3.6 support. Python 3.7+ is required now. #97

Fixed

  • Fix split-string (-S) to support all operating systems. #89

autohooks 2.2.0

28 Aug 10:51
v2.2.0
Compare
Choose a tag to compare

[2.2.0] - 2020-08-28

Added

  • Major style changes: Moved from textual status at the end of a line to an symbolic status in front of the text. #66

Removed

  • Use version handling via pontos and
    remove all version handling code again #57

autohooks 2.1.0

09 Apr 10:14
7ec85cf
Compare
Choose a tag to compare

2.1.0 - 2020-04-09

Added

  • Added tools for version handling in autohooks #51
  • Added static get_width method to Terminal class #53

Changed

  • Reworked Terminal class from terminal.py #45
  • Replaced pipenv with poetry for dependency management. poetry install works a
    bit different than pipenv install. It installs dev packages and also autohooks
    in editable mode by default. #51
  • Activation of the git hooks must be done manually with autohooks activate
    always. Using source distributions and a setuptools extension to activate the
    hooks isn't reliable at all #52
  • Recommend the poetry mode instead of the pipenv mode. poetry is more
    reliable than pipenv #55

Fixed

  • Windows Support, by exchanging the unmaintained blessing module through
    colorful
    #45
  • Fixed running autohooks check if no .git/hooks/pre-commit file exists
    #49

Removed

  • Removed code relying on setuptools and switched to a full poetry build
    process #54